:root {    
    --center-width: 1068px;    
    --full-width: 1568px;
    --radius-1: 160px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--page-bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensures body spans full viewport height */
  font-family: "nudista-web", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #131213; 
  line-height: 1.4;
}

.main-content {
  flex-grow: 1; /* Expands to fill remaining space */
  padding-top: 2rem;  
  padding-bottom: 0;
  display: flex;
  flex-flow: column;  
}

.footer {
  background: var(--footer-bg);
  color: #131213; 
}

.footer h2 {
  font-size: 22px;  
  line-height: 25px;
  font-weight: bold;
  margin-bottom: 5px;
}

.footer a { text-decoration: none; color: #131213;}
.footer a:visited { color: #131213; }
.footer a:hover { text-decoration: underline; color: #131213;}

#inner-footer{
  max-width: var(--full-width);
  background: var(--footer-bg);
  margin-left: auto;
  margin-right: auto;    
}

#center {
  flex: 1 1 auto;
  width: var(--full-width);  
  margin-left: auto;
  margin-right: auto;  
  position: relative;
  display: flex;
  flex-flow: column;  
  min-height: 800px;
}

#content {  
        flex: 1 1 auto;
        width: var(--center-width);
        border-top-right-radius: var(--radius-1);
        background-color: var(--column-bg);
        margin-left: auto;
        margin-right: auto;  
        z-index: 10;;
        padding: 2em;
}

#menu1 { width: 900px;
    color: #A8A7A5;}
#menu1 ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 22px;
    font-weight: bold;
}

#menu1 ul li a {color: #6A6A6A; text-decoration: none; }
#menu1 ul li a:hover { text-decoration: underline; }
#menu1 ul li a:visited {color: #6A6A6A }
#menu1 ul li a.active { color: #050607;}   

#logo{
  position: absolute;
  top: 0px;
  left: 0px;
    width: 175px;
    height: 350px;    
    background-image: url('../pic/logo_navigace.png');
    background-repeat: no-repeat;
    background-size: contain;    
    z-index: 50;    
    cursor: pointer;
}

#logo2{    
    float: left;
    margin-right: 50px;
    margin-bottom: 0px;
    width: 90px;
    height: 150px;    
    background-image: url('../pic/logo_small.png');
    background-repeat: no-repeat;
    background-size: contain;    
    z-index: 50;    
    cursor: pointer;
}

.footer2 {    
    height: 100%;
    width: 100%;       
    padding-left: 1em;
    padding-right: 1em;

    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap ;

    justify-content: space-between; 
    align-items: stretch;
    align-content: stretch;
    row-gap: 2em;
    column-gap: 2em;
 
 /*   background-color: var(--color3);    */
    /*font-size: var(--fsize16);
    font-weight: 400;    
*/
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    padding-top: 2em;    
    padding-bottom: 2em;
    min-height: 160px;
    text-align: left;
    vertical-align: top;
    color: #131213;
}

.ft-flex-box {
    vertical-align: top;    
    margin-top: 0;
}

.fb0 { 
    flex-grow: 2; 
    max-width: 200px; 
    font-size: 22px;
    font-weight: bold;    
}

.fb1 { 
    flex-grow: 2; 
    max-width: 240px; 
}

.fb1 h2 {margin-top: 0;   
    font-size: 22px;
    font-weight: bold;    
}

.fb1 ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;    
    font-size: 18px;
    margin-top: 6px;
}

.fb1 ul li {
    margin-bottom: 6px;
}

.fb2 {
    flex-grow: 1;
    max-width: 80px;
}

.fb3 {
    flex-grow: 3;
    max-width: 500px;
    font-size: 18px;
}

.fb3 .mensi {
    font-size: 16px;
    margin-top: 10px;
}

h1{
    text-align: left;    
    font-weight: bold;
    margin-top: 1em;    
    margin-bottom: 1em;    
    /*
    width: 900px;
    background-color: #ffffff;
    border: 5px solid #FFF100;
    padding: 0.5em;
    padding-left: 1em;
    padding-right: 1em;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    */
    font-size: 33px;;
    display: block;
    clear: both;
    text-transform: uppercase;;
}

h2{
    text-align: left;    
    font-weight: bold;
    /*margin-top: 1em;    */
    margin-bottom: 0.25em;    
    font-size: 22px;;
    display: block;
    clear: both;
    break-after: avoid-column;
}

.flex1 a { color: #131213; text-decoration: none; }
.flex1 a:visited { color: #131213; text-decoration: none; }
.flex1 a:hover { color: #131213; text-decoration: underline; }

.col a { color: #131213; text-decoration: none; }
.col a:visited { color: #131213; text-decoration: none; }
.col a:hover { color: #131213; text-decoration: underline; }

.flex1 {column-count: 2; column-gap: 5em;  }
.flex1 div { margin-top: 2em; page-break-inside: avoid; }
.flex1 div:first-of-type { margin-top: 0; }
.flex1 { display: block;
    break-inside: avoid; }

p {
    font-size: 18px;
    margin-top: 0.25em;
}

p a {
    color: #131213;
    text-decoration: underline;
    font-weight: bold;
}

p a:visited {
    color: #131213;
}

.perex {
    font-size: 28px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 1em;
}

.perex a { text-decoration: underline;}

.text1 {
    column-count: 2;
    column-gap: 5em;
    /*
    column-rule-style: solid;
    column-rule-width: 1px;
    column-rule-color: var(--color2);
    */
}

.text1 h2{
    font-size: 22px;
    font-weight: bold;
    margin-top: 0.75em;
}

.abc div{
    font-size: 35px;
    color: #131213;
    font-weight: bold;    
    justify-content: center;
    align-content: center;
  display: inline-flex;
  border-radius: 50%;
  padding: 5px;
  line-height: 1.5em;    
  width: 1.7em;
  height: 1.7em;
  color: #131213; 
  font-weight: bold;
}

.abc a {
    text-decoration: none;    
  
 /* border: 1px #1947D1 solid;*/
}

.abc a:hover div{
    color: #FFFBCD; 
    background-color: #131213;
    
}

.abc a div.active{
    border: 3px #131213 solid;
    width: 1.8em;
  height: 1.8em;
}

.col-left {
    float: left;
    width: 48%;
    margin-right: 4%;
}

.col-right {
    float: right;
    width: 48%;    
}

.col-right::after {
    content: "";
    display: block;
    clear: both;
}


#prepinace {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 175px;    
    z-index: 100;    
    text-align: center;
}

#prepinace a { font-size: 16px; color: #131213; text-decoration: none; display: block; }
#prepinace a:hover { text-decoration: underline; }
#prepinace a:visited { color: #131213; }
#prepinace a.active { color:#131213; background-color: #D0CFCE; font-weight: medium;
    border-top-right-radius: 15px; border-bottom-right-radius: 15px; padding: 5px;
    cursor: default;
}
#prepinace a.active:hover {text-decoration: none; }

#prepinace button { font-size: 16px; color: #000000; text-decoration: none;
    background: none; border: none; cursor: pointer; padding: 0;
    font-family: "nudista-web", sans-serif;
    display: block; 
    height: 44px;
    width: 100%;
}
#prepinace button:hover { text-decoration: underline;}
#prepinace button.active { color:#000000; font-weight: 600; cursor: default;
    background-color: #D0CFCE; font-weight: medium;
    border-top-right-radius: 15px; border-bottom-right-radius: 15px; padding: 5px;
    cursor: default;
}

.db button { font-size: 20px; color: #000000; text-decoration: none;
    background: none; border: none; cursor: pointer; padding: 0;
    font-family: "nudista-web", sans-serif;
    display: inline-block; 
    font-weight: bold;
}
.db button:hover { text-decoration: underline;}




#prepinace2 { margin-top: 2em; margin-bottom: 1em; color: #707070; text-align: center;}

#prepinace2 button { font-size: 16px; color: #707070; text-decoration: none;
    background: none; border: none; cursor: pointer; padding: 0;
    font-family: "nudista-web", sans-serif;
}
#prepinace2 button:hover { text-decoration: underline;}
#prepinace2 button.active { color:#000000; font-weight: 600; cursor: default;
}


#prepinace2 a {
    font-size: 16px;
    color: #707070;
    text-decoration: none;
}

#prepinace2 a:hover {
    text-decoration: underline;
}

#prepinace2 a:visited {
    color: #707070;
}

#prepinace2 a.active {
    color:#000000;    
    font-weight: medium;
    cursor: default;
}

#prepinace2 a.active:hover {
    text-decoration: none;
}

.drobecky {
    font-size: 20px; 
    margin-top: 1em;
    font-weight: bold;;
}

.drobecky a { color: #131213; }
.drobecky a:visited { color: #131213; }
.drobecky-last {
    color: #6A6A6A;
}

.drobecky ol {
    list-style: none;
    margin-left: 0;
    padding-left: 0;    
}

.drobecky ol li {
    display: inline;
}

.drobecky ol li::after {    content: " → "; }
.drobecky ol li.drobecky-last::after {    content: none; }


ul.seznam2 {
    list-style: none;
    margin-left: 0;
    padding-left: 0;    
    font-size: 18px;
}

ul.seznam2 li { display: inline; }
ul.seznam2 li:after{ content: ", "; }
ul.seznam2 li:last-of-type:after{ content: ""; }

form.srch1 #srch {
    border: 3px solid #A9A7A7;
    font-size: 28px;
    padding: 5px;
    border-radius: 20px;
    height: 60px;
    display: inline-block;
    width: 50%;
    font-family: "nudista-web", sans-serif;
    font-weight: bold;
    padding-left: 0.75em;
    padding-right: 0.75em;

}
form.srch1 #srch:focus { border: 3px solid #A9A7A7; }
form.srch1 input[type="text"]:focus {
    border-color: #A9A7A7; /* Change to your desired color */
    outline: none; /* Remove default outline */
}
form.srch1 input[type="submit"] {
            background-image: url('../pic/lupa_.png');
            background-size: cover;
            background-position: center;
            background-color: transparent;
            background-size: 80px 80px;
            background-repeat: no-repeat;
            border: none;
            width: 100px; /* Reduced width */
            height: 100px;  /* Reduced height */            
            font-size: 0; /* Smaller font size */
            text-align: center;
            cursor: pointer;
            border-radius: 20px;
}
form.srch1 input[type="submit"]:focus{
    outline: none; /* Remove default outline */
}

ul.list1 {
    list-style: none;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 2em;
}
ul.list1 li { margin-bottom: 0.25em;}
ul.list1 li:before{ content: '→ '; }
ul.list1 li a { color: #131213; text-decoration: none;}
ul.list1 li a:visited { color: #131213; }
ul.list1 li a:hover { text-decoration: underline; }
ul.list1 li span.doplnek { font-weight: normal;}

ul.list2 {
    list-style: none;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 2em;
}
ul.list2 li { margin-bottom: 0.25em;}
ul.list2 li:before{ content: '→ '; }
ul.list2 li a { color: #131213; text-decoration: none;}
ul.list2 li a.rowHistory { font-weight: 400;}
ul.list2 li a.rowEmpty { font-weight: 300; font-style: italic; }
ul.list2 li a:visited { color: #131213; }
ul.list2 li a:hover { text-decoration: underline; }
ul.list2 li span.doplnek { font-weight: normal;}
.passedPerson:after { content: " (+)"; }


/* DETAIL PAGE */

.detail { font-size: 20px;}
.detail h1 { clear: none; }
.detail h2 { clear: none; text-transform: uppercase;}


.col-images {
    float: right;
    padding-left: 60px;
    margin-left: 60px;
    margin-top: 60px;
    text-align: right;
    color: var(--color4);
    font-size: var(--fsize16);
}

.col-images .image {
    text-align: left;
    padding: 0;
    margin: 0;
    margin-bottom: 2em;
    width: 200px;
    font-size: 12px;
}

.col-images .image img {
    border-top-right-radius: 20px;   
    border-bottom-right-radius: 20px;   
}


.table2019{ margin-bottom: 1em;}
.table2019 a { color: #131213; text-decoration: underline;}
.table2019 a:visited { color: #131213; }
.table2019 ul {
    list-style: none;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 2em;
    margin-left: 1em;
}
.table2019 ul li { margin-bottom: 0.25em;}
.table2019 ul li:before{ content: '→ '; }
.table2019 input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
    
}

ul.list3 {
    list-style: none;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2em;
    margin-left: 1em;
}
ul.list3 li { margin-bottom: 0.25em;}
ul.list3 li:before{ content: '→ '; }
ul.list3 li a { color: #131213; text-decoration: none;}
ul.list3 li a.rowHistory { font-weight: 400;}
ul.list3 li a.rowEmpty { font-weight: 300; font-style: italic; }
ul.list3 li a:visited { color: #131213; }
ul.list3 li a:hover { text-decoration: underline; }
ul.list3 li span.doplnek { font-weight: normal;}
.passedPerson:after { content: " (+)"; }

.gallery-item { float: left; text-align: center; margin: 5px; }
.gallery-item-extra img { border-top-right-radius: 10px;   
    border-bottom-right-radius: 10px;    }

.TellMeMore {
    margin: 1em;
    padding: 1em;
    border-top-right-radius: 30px;   
    border-bottom-right-radius: 30px;   
    border: 3px solid #A9A7A7;
}

.TellMeMore table { font-size: 18px; }
.TellMeMore input { border: 3px solid #A9A7A7; font-size: 18px; padding: 5px; border-radius: 10px; font-family: "nudista-web", sans-serif;
    font-weight: semi-bold; 
    padding-left: 0.75em;
    padding-right: 0.75em; 
    width: 100%;}
.TellMeMore input.cxwnn {width: 150px;}
.TellMeMore textarea { border: 3px solid #A9A7A7; font-size: 18px; padding: 5px; border-radius: 10px; font-family: "nudista-web", sans-serif;
    font-weight: semi-bold; 
    padding-left: 0.75em;
    padding-right: 0.75em; 
    width: 100%;}

.content {
    overflow-wrap: break-word;
}

.hideContent {
    overflow: hidden;
    height: 180px;
}

.showContent { height: auto; }

.show-more { color: #131213; font-size: 16px; font-weight: semi-bold; margin: 0.5em 0 0 0; text-align: right;}
.show-more::before { content: '⇲ '; }
.show-more a { color: #131213; font-weight: bold;}

.show-less { color: #131213; font-size: 16px; font-weight: semi-bold; margin: 0.5em 0 0 0; text-align: right; }
.show-less::before { content: '⇱ '; }
.show-less a { color: #131213; font-weight: bold;}

#legenda {
    font-size: 18px;    
    margin-bottom: 2em;    
}
#legenda a { color: #131213; font-weight: bold;}
#legenda a:visited { color: #131213; font-weight: bold;}

mark.hl-single { background-color: #131213; color: #FFFBCD; padding: 0.15em; border-radius: 5px;}

/* ACCESSIBILITY */
.skip-link {
            position: absolute;
            top: -40px;
            left: 6px;
            background: #000;
            color: #fff;
            padding: 8px;
            text-decoration: none;
            border-radius: 4px;
            z-index: 1000;
            transition: top 0.3s;
        }
.skip-link:focus {
            top: 6px;
        }
