html, body, ul, ol, li, p, h1, h2, h3, h4, h5, h6 {
    padding: 0;
    margin: 0;
    list-style: none;
}
body {
    font-size: 62.5%;
    color: black;
    font-family: sans-serif;
    background: #8C7862;
}
#content {
    width: 1200px;
    background: #B9A086;
    position: relative;
    margin: 0 auto;
}
#left-col {
    width: 260px;
    float: left;
    background: #8C7862;
}
#main {
    width: 900px;
    background: #baa187;
    float: left;
    position: relative;
    padding: 0 10px;
    min-height: 300px;

}
#homepage h1 {
    display: none;
}
#side {
    width: 245px;
    float: left;
    position: relative;
    left: -720px;
}
#otherside {
    background: none;
    clear: both;
}
#breadcrumb {
    position: absolute;
    top: 20px;
    left: 270px;
}
#breadcrumb li {
    display: inline;
    font-size: 100%;
}
#breadcrumb li strong {
    display: none;
}
#header {
    background: #8C7762;
    height: 240px;
    width: 255px;
    overflow: hidden;
    position: relative;
}

#menu h2{
    display: none;
}

#homepage #side {
    height: 430px;
}

/* Základní styl */

/* Hamburger */
#hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    margin: 40px 0 20px 0;
}

/* Menu */
/* Menu */
.hlavni-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block; /* Změněno z flex pro zobrazení položek pod sebou */
}

.hlavni-menu li {
    display: block; /* Každá položka bude pod sebou */
    margin-bottom: 3px; /* Přidání mezer mezi položkami */
}

.hlavni-menu li a {
    display: block;
    padding: 8px 12px;
    background: #51463a;
    color: white; /* Barva textu */
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
}

.hlavni-menu li a:hover {
    background: #a58b70;
}

/* Aktuální položka */
#menu ul.hlavni-menu li.current a, #menu ul.hlavni-menu li.current-menu-item a, #menu ul.hlavni-menu li.current-menu-parent a, #menu ul.hlavni-menu li.current-post-ancestor a {
    color: #51463a; /* Barva pro aktuální položku */
     background: #a58b70;
}

/* Responzivita */
@media (max-width: 768px) {
    #hamburger {
        display: block;
    }

    .hlavni-menu {
        display: none;
        flex-direction: column;
    }

    .hlavni-menu.active {
        display: block; /* Umožní zobrazení menu na mobilních zařízeních */
    }
}


#header a strong {
    display: none;
}
#current a {
    width: 0;
    height: 240px;
    padding-left: 255px;
    overflow: hidden;
    display: block;
    background: url(/wp-content/themes/default/images/logo.jpg) no-repeat 45px -180px;
}
#current a:hover, #homepage #current a {
    background-position: 45px 40px
}
a#menujump {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}
#other {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    background: black;
}
#other a {
    color: white;
}
#respond {
    margin: 3em 0 0 0;
}
form, fieldset, legend {
    margin: 0;
    padding: 0;
    border: none;
}
form {
    font-size: 110%;
    width: 600px;
    margin: 0 0 0 20px;
    overflow: hidden;
}
fieldset {
    margin: 1em 0;
}
fieldset legend {
    font-size: 140%;
    font-weight: bold;
    color: #333;
}
fieldset fieldset legend {
    font-size: 130%;
}
form label{
    font-weight: bold;
    display: block;
    padding: .5em 0 0 0;
    font-size: 100%;
}
form input, form select, form textarea {
    width: 550px;
}
form label input {
    width: 2em;
}
form input, form textarea {
    padding: .5em;
    border: 1px solid #8c7861;
    background: #b9a086;
    color: #4e4335;
    font-size: 20px;
}
form textarea {
    height: 10em
}
form input#submit {
    width: 10em;
    background: #e9f1c1;
    font-size: 90%;
    margin: 1em 0;
    color: black;
}
#footer {
    clear: both;
    text-align: right;
    position: relative;
    top: -5px;
    margin: 0 10px 0px 0;
}
#footer, #footer strong, #footer a {
    color: white;
    text-decoration: none;
}
#footer a:hover {
    text-decoration: underline
}
h1, h2, h3, h4, h5, h6 {
    font-family: sans-serif;
    font-weight: bold;
    padding: .4em 0 0 0;
    color: #FFE68F;
}
h1 {
    font-size: 260%;
    color: #301414;
    padding: 0;
}
h2 {
    font-size: 180%;
}
h3 {
    font-size: 160%;
}
h4 {
    font-size: 150%;
}

#main p {
    font-size: 120%;
    margin: 0.5em 0;
    line-height: 1.3em;
}
#main ul, #main ol {
    margin: 0.5em 0;
}
#main ul li, #main ol li {
    list-style: none ;
    margin-left: 0em;
    background: url(/wp-content/themes/default/images/bg_li.gif) no-repeat left 2px;
    padding: 0 0 .5em 1.2em;
    font-size: 120%;
    position: relative;
}
#main ol li {
    list-style: decimal url()
}
#main li li {
    font-size: 110%;
}
#main table {
    margin: .5em auto;
    width: 95%;
    font-size: 120%;
    border-collapse: collapse;
    clear: both;
}
#main table th {
    text-align: right;
}
#main table th, #main table td {
    vertical-align: middle;
}
#main table thead th, #main table th.right, #main table th.left {
    text-align: center;
    float: none;
}
#main table td.right {
    text-align: right;
    float: none;
}
#main table td.left {
    text-align: left;
    float: none;
}
#main table tr, #main table td {
    padding: .7em;
    border: 1px solid black;
    background: #e6e1db url(/wp-content/themes/default/images/bg_main.gif) repeat-x;
}
#main table thead th, #main table thead td {
    border-bottom: black double;
    padding: .7em;
    background: #c8c7c3;
}
#main table tfoot th, #main table tfoot td {
    border-top: black double;
}
#main table tbody th {
    border-right: black double;
    padding: .7em;
}
#main table caption {
    caption-side: bottom;
    font-style: italic;
    text-align: left;
}
.hidden {
    display: none!important;
}
a {
    text-decoration: underline;
    color: /*#7c6e5d*/white;
}
a:hover {
    text-decoration: none;
}
a img {
    border: none;
}
.left {
    float: left
}
.right {
    float: right;
}
img.left {
    margin-right: 1em;
}
img.right {
    margin-left: 1em;
}
#main img {
    margin-top: 1em;
}
.cleaner {
    clear: both;
}
.linklove {
    display: none !important;
}
#main #sloupec1 {
    float: left;
    margin: 10px 25px 0 0px;
}
#main #sloupec2 {
    float: left;
    margin: 10px 25px 0 0;
}
#main #sloupec3 {
    float: left;
    margin: 10px 0 0 0;
}
.category  h2, .category h1 {
    font-size: 180%;
    color: black;
    display: block;
    margin: 30px 0 0 0;
}
.category h1 {
}
.category h2 a {
    color: #8c7862;
    text-decoration: none;
}
.category h2 a:hover {
    text-decoration: underline;
}
.category .item {
    border-bottom: 0px solid #7c6e5d;
    padding: 0 0 .1em 0;
    margin: 0 0 .4em 0;
}
.category .item h3 {
    font-size: 140%;
    padding: .5em 0 0 0;
}
.category .item h3 a{
    color: /*#f8c300*/#FFF1BF;
    text-decoration: none;
}
.category .item h3 a:hover{
    text-decoration: underline;
}
.category .item img {
    max-width: 180px;
    margin: 10px 0 .5em 0
}
.category .podkategorie .item {
    float: left;
    padding: 0 0 20px 0;
    border: 0;
    overflow: hidden;
    width: 100%;
}
.category .item p.informace {
    text-align: right;
    color: #7c6e5d;
    border-bottom: 3px solid #7c6e5d;
    padding-bottom: .5em;
    font-size: 110%!important;
}
.category .item .informace a {
    text-decoration: none;
}
.category .item .informace a:hover {
    text-decoration: underline;
}
.single #main img, .single #main p.attachment img {
    max-width: 600px;
    margin: 10px 0 .5em 0;
    min-width: 150px;
}
ol.commentlist {
    margin: 0;
    padding: 0;
}
ol.commentlist li{
    margin: 1em 0;
    padding: .3em 0;
    list-style-type: none!important;
    font-size: 100%!important;
}
ol.commentlist li em {
    font-weight: bold;
    font-style: normal;
    font-size: 120%;
}
ol.commentlist li span{
    font-size: 100%;
}
ol.commentlist li span a{
    text-decoration: none;
}
ol.commentlist li span a:hover{
    text-decoration: underline;
}
.single .info {
    float: right;
    color: /*#705f4b*/white;
    margin-bottom: 10px;
}
.single #main p {
    font-size: 130%;
    line-height: 1.3em;
    margin: .8em 0;
}


.ngg-gallery-thumbnail-box {
    float: left;
    margin: 0 10px 10px 0;
}
.ngg-galleryoverview {
    width: 100%;
    float: left;
}




/* ---------------------- */
/* RESPONSIVE + FONT SIZE */
/* ---------------------- */

/* Globální zvětšení fontu */
body {
    font-size: 16px; /* místo 62.5% */
    line-height: 1.6;
}

/* Nadpisy */
h1 {
    font-size: 2.2em;
}
h2 {
    font-size: 1.8em;
}
h3 {
    font-size: 1.5em;
}
h4 {
    font-size: 1.3em;
}
h5, h6 {
    font-size: 1.1em;
}

/* Texty */
#main p, #main li, #main table {
    font-size: 1.1em;
}

/* Lepší mezery */
#main p {
    margin: 1em 0;
}

#main ul li, #main ol li {
    padding: 0 0 0.7em 1.5em;
}

/* Responsivita */
@media (max-width: 1024px) {
    #content, #main, #side {
        width: 90%;
        float: none;
        position: static;
        left: 0;
        top: 0;
        margin: 0;
        padding: 10px;
    }

    #main {
        background-size: cover;
        min-height: auto;
        margin-bottom: 20px;
    }

    #left-col {
        width: 100%;
        margin: 0 0 30px 0;
    }
    #header {
        width: 40%;
        float: left;
        display: block;
    }
    #menu {
        width: 50%;
        float: right;
    }
    
     /* Menu hamburger */
    #hamburger {
        display: block;
    }

    .hlavni-menu {
        display: none;
        flex-direction: column;
    }

    .hlavni-menu.active {
        display: flex;
    }

    .hlavni-menu li a {
        font-size: 1.1em;
    }
    
    #menu li a {
        font-size: 30px;
    }
}


/* Responsivita pod 480px (mobil) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.5em;
    }
    h3 {
        font-size: 1.2em;
    }

    #main, #side {
        padding: 10px;
    }
}





/* Základní styly pro celé tělo stránky */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Vycentrování obsahu */
#content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

#logo img {
    max-width: 100%;
    height: auto;
    width: 150px; /* Upravte velikost podle potřeby */
}

/* Menu */
#menu {
    color: white;
    padding: 10px;
}

#menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#menu ul li {
    margin: 5px 0 0 0;
}

#menu ul li a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    display: block;
}

/* Main content */
#main {
    padding: 20px;
}

/* Footer */
#footer {
    color: white;
    padding: 20px 0 0 0;
    text-align: right;
}

#toppagelink {
    margin: 20px 0;
}
#toppagelink form {
    width: 100%;
    margin: 0;
}
#toppagelink form :is( a, span )  {
    font-size: 25px;
    padding: .3em .3em .1em .3em;
}
#toppagelink .jumpnav {
    display: none;
}