/*========= obecně písma a prvotní vzhled ==============================================*/
/* latin */
@font-face {
   font-family: 'Roboto';
   font-style: italic;
   font-weight: 400;
   font-display: swap;
   src: url(/img/roboto/roboto-400i-lat.woff2) format('woff2');
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
   font-family: 'Roboto';
   font-style: italic;
   font-weight: 400;
   font-display: swap;
   src: url(/img/roboto/roboto-400i-lex.woff2) format('woff2');
   unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
   font-family: 'Roboto';
   font-style: italic;
   font-weight: 700;
   font-display: swap;
   src: url(/img/roboto/roboto-700i-lat.woff2) format('woff2');
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
   font-family: 'Roboto';
   font-style: italic;
   font-weight: 700;
   font-display: swap;
   src: url(/img/roboto/roboto-700i-lex.woff2) format('woff2');
   unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
   font-family: 'Roboto';
   font-style: italic;
   font-weight: 900;
   font-display: swap;
   src: url(/img/roboto/roboto-900i-lat.woff2) format('woff2');
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
   font-family: 'Roboto';
   font-style: italic;
   font-weight: 900;
   font-display: swap;
   src: url(/img/roboto/roboto-900i-lex.woff2) format('woff2');
   unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
   font-family: 'Roboto';
   font-style: normal;
   font-weight: 400;
   font-display: swap;
   src: url(/img/roboto/roboto-400r-lat.woff2) format('woff2');
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
   font-family: 'Roboto';
   font-style: normal;
   font-weight: 400;
   font-display: swap;
   src: url(/img/roboto/roboto-400r-lex.woff2) format('woff2');
   unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
   font-family: 'Roboto';
   font-style: normal;
   font-weight: 700;
   font-display: swap;
   src: url(/img/roboto/roboto-700r-lat.woff2) format('woff2');
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
   font-family: 'Roboto';
   font-style: normal;
   font-weight: 700;
   font-display: swap;
   src: url(/img/roboto/roboto-700r-lex.woff2) format('woff2');
   unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
   font-family: 'Roboto';
   font-style: normal;
   font-weight: 900;
   font-display: swap;
   src: url(/img/roboto/roboto-900r-lat.woff2) format('woff2');
   unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
   font-family: 'Roboto';
   font-style: normal;
   font-weight: 900;
   font-display: swap;
   src: url(/img/roboto/roboto-900r-lex.woff2) format('woff2');
   unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

html {font-size: 16px; background: #fff; }
body {font-family: 'Roboto' ,'Arial', sans-serif; line-height: 1.3; }
input,select,textarea,button {font-family: 'Roboto' ,'Arial', sans-serif;font-size: 1rem;box-sizing:border-box;}

/*========= obecné =====================================================================*/
body { margin:0; }
#container { min-height: 100%; }
img {max-width: 100%;}
a img {border:0;text-decoration: none;}
a {text-decoration: underline;}

p {margin-top: 0;}

h1 {font-size: 34px;}
.uvodni h1 {font-size: 54px;}
h2 { margin-bottom: .6em; font-size: 28px; font-weight: normal;}
h2.nomarginb {margin-bottom: 0;}
h3 {font-size: 22px; font-weight: normal; margin-bottom: .4em;}
h2 a { text-decoration: none; }
h3 a { text-decoration: none; }
h4 a { text-decoration: none; }

ul{ padding: 0 0 0 2em; overflow: hidden; }
ul li{ padding:0; margin-bottom: .5em;}
blockquote { background: #eee; border: 1px solid #ddd; margin: 0 0 1.5em; padding: .25em 1em;}
blockquote p { font-size: 1.2em; margin: .5em;}
hr { width: 100%; height: 1px; margin:.75em 0;  }

table {max-width:100%; border-collapse: collapse; }
table td,table th { padding-right: 1em; }
table.ramovana { border: 1px solid;}
table.ramovana td,table.ramovana th { border: 1px solid; padding-left: .5em; padding-right: .5em; }

template {display:none;}

/*========= globální třídy a modifikátory ==============================================*/
/* Případně doplněny s konkrétními identifikátory podstránek a sekcí */
.hid {display: none!important;}

.chyba,.msgOk {padding: .5em 1em .5em; border: 2px solid;margin-bottom: 2em;}
.chyba {font-size: 1.2em; background: #fdd; color:#d00; font-weight: bold; border-color: #eaa; }
.msgOk {background: #dfd; color:#242; border-color: #aea; }
.chyba p,.msgOk p {margin-bottom: .5em!important; margin-top: .5em!important; }

.left {float:left!important;}
.right {float:right!important;}
.cleaner {display: block; width: 100%; clear: both!important;}

.nalevo {text-align: left!important;}
.nastred {text-align: center!important;}
.napravo {text-align: right!important;}
.navse {text-align: justify!important;}

.tucny  { font-weight: bold;}
.italika { font-style: italic }
.podtrzeny { text-decoration: underline!important; }
.preskrtnute {text-decoration: line-through!important; }

.mensi-pismo { font-size: .8em; }
.vetsi-pismo { font-size: 1.25em;  }
.velke-pismo { font-size: 1.5em;  }
.pismo2x { font-size: 2em; }

.kurzor-sipka { cursor: default; }
.kurzor-otaznik { cursor: help; }
.kurzor-ruka { cursor: pointer; }

.transparent { -moz-opacity:.5; opacity:.5; }
.full {width: 100%;}

.semantic {display: none!important}

.topMsg {background: #ecc; color:#f33; font-weight: bold; font-size: 1.1em; padding: .25em 10%; text-align: center;}
form .post {display: none!important;}
form .bblcntnr {}
form .bblcntnr .bubble { display: block; text-align: left; }
form .bblcntnr .bubble span { border:1px solid #eaa; background: #fdd; color:#d00; font-weight: bold; display: inline-block; padding: .1em .5em;margin: .1em; }
form .bblcntnr label::after{content:'*';}
form .js_error_list { opacity:1; display: block; text-align: left; border:1px solid #eaa; background: #fdd; color:#d00; font-weight: bold; padding: .1em .5em;margin: .1em;}
form .js_error_list:empty { display: none;}
@keyframes fadeOut {  from { opacity: 1; }  to { opacity: .25; } } form .js_error_list.diss {opacity: .25; animation: fadeOut 10s}

.max-sirka {width: 100%; max-width: 1200px; margin: auto; position: relative;}

.slflex {--mezery:calc( var(--sloupce) - 1 ); column-gap: var(--rozestup); row-gap: var(--rozestup); display: flex; flex-wrap: wrap; }
.slflex > * { display: block; flex: 0 0 calc( calc( 100% - var(--mezery) * var(--rozestup) ) / var(--sloupce) ); }

.tlacitko {color:var(--mainbarva); background: transparent; border:2px solid var(--mainbarva); border-radius: 6px; font-size: 1rem; padding: .65em 1.4em; line-height: 1em; font-weight: bold; text-decoration: none; cursor: pointer; display: inline-block;}
button.tlacitko,input[type=submit].tlacitko {}
.tlacitko:hover,.tlacitko.filled { background:var(--mainbarva); color: #fff; }
button.tlacitko:hover,input[type=submit].tlacitko:hover {}

:root {--wastemenu-color: #000; --wastemenu-xcolor: #000; --wastemenu-lwidth: 9%; --wastemenu-border: 9%; }
span.wasteofspace{  height: 1.5rem; min-width: 1.5rem; font-size: 0; display: inline-block; vertical-align: middle; overflow: hidden; margin: .25rem;
   background: linear-gradient(to bottom, 
         transparent 0% var(--wastemenu-border), 
         var(--wastemenu-color) var(--wastemenu-border) calc( var(--wastemenu-border) + var(--wastemenu-lwidth) ), 
         transparent calc( var(--wastemenu-border) + var(--wastemenu-lwidth) ) calc( 50% - var(--wastemenu-lwidth) / 2 ), 
         var(--wastemenu-color) calc( 50% - var(--wastemenu-lwidth) / 2 ) calc( 50% + var(--wastemenu-lwidth) / 2 ), 
         transparent calc( 50% + var(--wastemenu-lwidth) / 2 ) calc( 100% - var(--wastemenu-border) - var(--wastemenu-lwidth) ), 
         var(--wastemenu-color) calc( 100% - var(--wastemenu-border) - var(--wastemenu-lwidth) ) calc( 100% - var(--wastemenu-border) ), 
         transparent calc( 100% - var(--wastemenu-border) ) 100% 
      );
}
span.wasteofspace.waste-x {
   background: linear-gradient(45deg, 
         transparent 0% calc( 50% - var(--wastemenu-lwidth) / 2 ), 
         var(--wastemenu-xcolor) calc( 50% - var(--wastemenu-lwidth) / 2 ) calc( 50% + var(--wastemenu-lwidth) / 2 ), 
         transparent calc( 50% + var(--wastemenu-lwidth) / 2 ) 100%
      ), linear-gradient(-45deg, 
         transparent 0% calc( 50% - var(--wastemenu-lwidth) / 2 ), 
         var(--wastemenu-xcolor) calc( 50% - var(--wastemenu-lwidth) / 2 ) calc( 50% + var(--wastemenu-lwidth) / 2 ), 
         transparent calc( 50% + var(--wastemenu-lwidth) / 2 ) 100%
      );
}

/*========= společné definice (barvy, chování apod.) ===================================*/
:root {--mainbarva:#902d0e; }
h1:first-letter,h2:first-letter,h3:first-letter,p.h2:first-letter,p.h3:first-letter {text-transform: uppercase}
a,.mainbarva { color:var(--mainbarva) }
h1,h2,h3 { color:var(--mainbarva) }
.uvodni h1 { color:#fff; }
#naseptavac .naseppolozka:focus { background: var(--mainbarva);}
.gbg {background: #f3f3f3;}
.mainbg {background: var(--mainbarva); color:#000;}
.mainbg a {color:#fff;}

.hoverline,.nohoverline,.hoverparent {text-decoration: none;}
.hoverline:hover,.hoverbase:hover .hoverparent {text-decoration: underline;}

/*========= prvky hlavičky =============================================================*/
#hlavickabg {background: #fff; padding: 1em 0; }
#hlavicka {display: grid; column-gap: 3%; align-items: center; grid-template: auto / 190px 1fr auto; grid-template-areas: 
              'logo . menu';
}
#hlogo { display: block; grid-area: logo; }
#nhmenu { grid-area: menu; }
#xhmenu { grid-area: xmenu; }

/*========= menu =======================================================================*/
.hmenu { font-size: 1.15em; }
.hmenu a { display: block; text-decoration: none; color:#000; }
.hmenu .radic { position: relative; }
.hmenu .msp { display: grid; align-content: center; line-height: 1.25em; }
.hmenu .radic a:hover,.hmenu .radic.active > a { text-decoration: underline; color:var(--mainbarva); }

#nhmenu { display: flex; --menubrdclr:#ddd; }
#nhmenu a {}
#nhmenu .msp { min-height: 2.5em; padding: 0 1em; }
#nhmenu .radic a:hover .msp,#nhmenu .radic.active > a > .msp{ }

#nhmenu .podmenu {position: absolute; top:100%; left:0; display: none; background: #fff; white-space: nowrap; width: auto; min-width: 100%;z-index: 100; border-radius: 10px; border: 1px solid var(--menubrdclr); }
#nhmenu .podmenu::before { border-left: 10px solid transparent;border-right: 10px solid transparent; border-bottom: 10px solid var(--menubrdclr); position: absolute; left:40px; top:-10px; z-index: 1; width: 0; height: 0; content: ''; }
#nhmenu .podmenu::after { border-left: 10px solid transparent;border-right: 10px solid transparent; border-bottom: 10px solid #fff; position: absolute; left:40px; top:-9px; z-index: 1; width: 0; height: 0; content: ''; }
#nhmenu .radic:hover .podmenu, #nhmenu .radic .podmenu.shown { display: block; }

#xhmenu {z-index: 1000; display: inline-block; }
#xhmenu .extrawrap {display: block; background: #F1EDCC; position: fixed; top:0; padding: 1em 12% 8em; left:0; width: 100vw; bottom: 0; overflow: auto; z-index: 999; box-sizing: border-box;}
#xhmenu .radic{ display: block; text-align: left; z-index: 1000;}
#xhmenu .msp { padding:1em 0; }
#xhmenu .msp.l2 {padding: .8em 0;}
#xhmenu .radic a:hover .msp,#xhmenu .radic.active > a > .msp{ }
#xhmenu .overline { border-top: 1px solid #ddd; padding: .5em 0; }
#xhmenu .podmenu { padding-left: 2em; font-size: .95em;}

/*========= prvky stránky ==============================================================*/
#strankabg {background: #fff; padding: 2em 0; }
#stranka { }

#uvodnikbg { background: url(/img/uvodnikbg.webp) center center no-repeat; background-size: cover; min-height: 520px; display: grid; align-content: end; }
#uvodnik { color:#fff; padding-bottom: 1em; font-size: 20px; }
#uvodnik_limit {width: 480px;}

#poutacebg { padding: 1em 0 2em; }
#poutace {  }
#poutaceflex { --sloupce:4; --rozestup: 2em; }
#poutace .poutacitem { background: var(--poutacgfx) left 10px no-repeat; background-size: auto 52px; padding-top: 62px; }
#poutace h3 { margin-top: .5em; }

#anotacebg { background: #F1EDCC; padding: 1em 0 2em; }
#anotace { }
.uvodni #anotace { background: var(--bgurl) right center no-repeat; background-size: 60% auto; min-height: 200px; }
.uvodni #anotacelimit {padding-right: 70%; }

#novinkybg { padding: 1em 0 2em; }
#novinky {  }
#novinkyflex { --sloupce:3; --rozestup: 3em; margin-bottom: 2em; }
#novinky .datum { color:#999; }

#vyletybg { padding: .5em 0 1.5em; background:#eee;  }
#vylety {  }
#vyletynav.gridize { display: grid; grid-template: auto 1fr / 50px 1fr 50px; column-gap: 1em; grid-template-areas: 'top top top' 'left center right'; align-content: stretch; }
#vyletynav .bx-pager { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: .25em; padding: 1.5em 0; row-gap: 2em;}
#vyletynav .bx-pager-link { padding: .5em 1em; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font-size: 1.15em; white-space: nowrap; }
#vyletynav .bx-pager-link.active { background: var(--mainbarva); color:#fff; }
#vyletynav .bx-pager-link:not(.active):hover { border-color: #ccc; }
#vyletynav h3 a { text-decoration: underline; }
#vyletyswitch { grid-area: top; }
#vyletyleft { grid-area: left; align-self: center; }
#vyletyright { grid-area: right; text-align: right; display: grid; align-self: center; }
#vyletyslides { grid-area:center; }
#vyletyslides .vyletypolozka {display: grid; grid-template: auto / 1fr auto; align-items: center; column-gap: 2.5em; margin-top:1.5em; }
#vyletyslides .vyletypolozka img {max-width: 40vw; }
#vyletyslides .subgrid {display: grid; }

#recenzebg { padding: 1em 0 2em; }
#recenze {  }
#recenzeflex { --sloupce:3; --rozestup: 3em; align-items: stretch; }
#recenze .recenzepolozka { display: grid; grid-template: 1fr auto auto / 1fr; }
#recenze .recenzepolozka blockquote { border:0; background: transparent; margin-bottom: 0; }
#recenze .recenzepolozka blockquote::before { content: open-quote; }
#recenze .recenzepolozka blockquote::after { content: close-quote; }
#recenze .kdo_jmeno { text-align: right; margin-top: .75em; margin-right: 1em; margin-bottom: 0; }
#recenze .kdo_blize { text-align: right; margin-right: 1em; margin-top: 0; color:#999; }

#upozornit { border: 1px solid #C1D2DC; background: #fafbfc; padding: .5em 4em; margin-top: .5em; margin-bottom: 1em; position: relative; line-height: 1.5; box-sizing: border-box; }
#upozornit p:last-child{ margin-bottom: 0; }
#upozornit::before { position: absolute; left:.5em; top:.5em; content: 'i'; display: block; width: 1.5em; height: 1.5em; border-radius: .75em; border: 1px solid #C1D2DC; text-align: center; font-weight: bold; }
#upoz_rm { position: absolute; right:.5em; top:.5em; display: block; width: 1.5em; height: 1.5em; border-radius: 5px; border: 1px solid #C1D2DC; text-align: center; font-weight: bold; cursor: pointer; }

/*========= obsah ======================================================================*/
#telo {padding: 0; margin:0;}

.obsah { line-height: 1.5em; position: relative; }
.obsah p { margin-top: 0;}
.obsah img.left,.obsah iframe.left,.obsah div.left {margin: .75em 1em; margin-left: 0;}
.obsah img.right,.obsah iframe.right,.obsah div.right {margin: .75em 1em; margin-right: 0;}
.obsah iframe {max-width: 100%;}

.obsah div.left,.obsah div.right, .obsah div.full {text-align: center; padding:1em;}
.obsah div.full{ margin: .75em 0;}
.obsah div.left > :last-child,.obsah div.right > :last-child,.obsah div.full > :last-child {margin-bottom:0; }

.anotacka { font-size: 1.1em; }

/*========= drobečková =================================================================*/
.drobnav {line-height: 1.75em; font-size: .8em; color:#888; margin: 1em 0; }
.drobnav a {color:#888;}
.drobnav span { padding:0; margin:0; display: inline-block;}
.drobnav span.odd {margin: 0 .75em;}

/*========= podstránky =================================================================*/
.podkat { margin: 2em 0; align-items: stretch; --sloupce:3; --rozestup:1em; }
.podkat a {font-size: 1.1em; border: 1px solid #ccc; padding: .33em 1%; position: relative; box-sizing: border-box; }
.podkat a:not(:hover) {border-color: #eee; text-decoration: none; }
.podkat a.wpix { display:grid; grid-template: 1fr auto / 1fr; grid-template-areas: 'text' 'pic'; }
.podkat .text { grid-area: text; }
.podkat .pic { grid-area: pic; margin-top: .5em; text-align: right; max-height: 100px; }
.podkat .pic img { max-height: 100%; object-fit: contain; }

/*========= fotky ======================================================================*/
.gallery { margin: 2em 0; align-items: stretch; --sloupce:4; --rozestup: 1em; }
.gallery .box { vertical-align: top; }
.gallery .box a {display: grid; min-height: 150px; align-items: center; justify-content: center; }
.gallery img { padding:2%; border: 1px solid #fafafa; box-sizing: border-box; }
.gallery .text { display: block; padding: 0 2%; margin-top: .15em; text-align: center;  }

/*========= soubory ====================================================================*/
.files {display:table; max-width: 700px; width: 100%; margin-top: 1em;}
.files a {display: table-row; text-decoration: none}
.files span {display:table-cell; vertical-align: middle; text-align: left; padding: .5em 0; border-bottom: 1px solid #eee;}
.files img {float:left; margin: 0 .5em;}
.files .tail {text-align: right;}

/*========= články =====================================================================*/
.clanky {}
.clanky .clanek { margin-bottom: 2em; }
.clanky .h3 { font-weight: bold; font-size: 1.1em; margin-bottom: 0;}
.clanky .datum {font-size: .9em; color:#777; margin: 0 0 .5em;}

/*========= novinky ====================================================================*/
.novinky {}
.novinky .novinka {margin-bottom: 2em;}
.novinky .h3 {font-weight: bold; font-size: 1.1em; margin-bottom: 0;}
.novinky .datum {font-size: .9em; color:#777; margin: .5em 0 .75em;}

/*========= kalendář ===================================================================*/
.monthflex { --sloupce:4; --rozestup:1.5em; }
.monthflex .month { margin-bottom: 1em;}
.monthflex .month h3 {margin-top: 0; margin-bottom: 0;}
.monthflex .month .monthname {font-weight: bold;}
.monthflex .month .monthdays {display: flex; flex-wrap: wrap; justify-content: space-between; cursor: default; position: relative; z-index: 1;}
.monthflex .month .monthdays span { display: block; width: calc(100% / 7); margin: .1em 0; text-align: center; }
.monthflex .month .monthdays span.red { background: var(--mainbarva); color: #fff; }
.monthflex .month .monthdays span.startred { position: relative; background: linear-gradient(120deg,#000 0, #000 30%, #fff 35%, #fff 100%); background-clip: text; color:transparent; }
.monthflex .month .monthdays span.startred::before { background: linear-gradient(120deg,transparent 0, transparent 30%, var(--mainbarva) 35%, var(--mainbarva) 100%); position: absolute; left:0; top:0; width: 100%; height:100%; content:''; z-index: -1; }
.monthflex .month .monthdays span.endred { position: relative; background: linear-gradient(120deg,#fff 0, #fff 30%, #000 35%, #000 100%); background-clip: text; color:transparent; }
.monthflex .month .monthdays span.endred::before { background: linear-gradient(120deg,var(--mainbarva) 0, var(--mainbarva) 30%, transparent 35%, transparent 100%); position: absolute; left:0; top:0; width: 100%; height:100%; content:''; z-index: -1; }
.calhelp { position: relative; z-index: 1; }
.calhelp span { padding: .5em 1em; border: 1px solid #ddd; }
.calhelp span.red { background: var(--mainbarva); color: #fff; }
.calhelp span.startred { position: relative; background: linear-gradient(120deg,#000 0, #000 30%, #fff 35%, #fff 100%); background-clip: text; color:transparent; }
.calhelp span.startred::before { background: linear-gradient(120deg,transparent 0, transparent 30%, var(--mainbarva) 35%, var(--mainbarva) 100%); position: absolute; left:0; top:0; width: 100%; height:100%; content:''; z-index: -1; }
.calhelp span.endred { position: relative; background: linear-gradient(120deg,#fff 0, #fff 30%, #000 35%, #000 100%); background-clip: text; color:transparent; }
.calhelp span.endred::before { background: linear-gradient(120deg,var(--mainbarva) 0, var(--mainbarva) 30%, transparent 35%, transparent 100%); position: absolute; left:0; top:0; width: 100%; height:100%; content:''; z-index: -1; }
h2.calsun { margin-top: 1.5em;}

/*========= šablony ====================================================================*/
.respgbg,.respgbg tbody {width: 100%; border-collapse: collapse;}
.respgbg tr td:first-of-type {background:#f3f3f3;}
.respgbg tr td {border-bottom: 1px solid #eee;border-top: 1px solid #eee; padding: 0 .5em;}

.flexcols {display: flex; width:100%; flex-wrap: wrap; justify-content: space-around; align-items: flex-start; }
.flexcols.verticentr {align-items: center;}
.flexcols > div {padding: .5em; box-sizing: border-box; margin-bottom: 1em; }
.flexcols > div > p:last-child {margin-bottom: 0;}
.column2 > div {width: 50%; }
.column3 > div {width: 33.3%; }
.column4 > div {width: 25%; }
.column5 > div {width: 20%; }

/*========= kontaktní formulář =========================================================*/
.kform { text-align: left; }
.kform p {margin: 0 0 1em; }
.kform .sloup {display: inline-block; vertical-align: top; width: 48%; }
.kform .l { padding-right: 2%; }
.kform .r { padding-left: 2%; }
.kform label {display: block; line-height: 1.5em; padding: 0;}
.kform label.readerhelp {width: 0; height: 0; overflow: hidden; display: block; }
.kform .stretch {width: 100%; padding: .5em; border:1px solid #ddd; border-radius: 5px; background: #fff; }
.kform textarea.stretch { height: 4.25em;}
.kform .tlacitko {}
.kform ::placeholder { font-style: italic; color:#777; opacity: 1;}
.kform .star label::after { content:'*'; color:#d40000; }
.kform input:user-invalid { border: 2px solid #d40000; }

.rezform { }
.rezform fieldset { border:0; background: none; display: grid; column-gap: 1.5em; row-gap: 1em; padding-left: 0; padding-right: 0; }
.rezform .comm { grid-template: auto / 1fr 1fr 1fr; }
.rezform .oddo { grid-template: auto / 1fr 1fr 1fr; }
.rezform .ppls { grid-template: auto / 1fr 1fr 1fr; }

/*========= normální formuláře =========================================================*/
.simpleform {width: 100%;}
.simpleform p {margin: .5em 0;}
.simpleform p label {display: inline-block; vertical-align: middle; width: 22%; }
.simpleform p input,.simpleform p select {display: inline-block; vertical-align: middle; width: 45%; margin:0; padding: 0 .5em; }
.simpleform p input[type=checkbox],.simpleform p input[type=radio] {width: auto; margin: initial; }
.simpleform p .tlacitko {vertical-align: middle; }

/*========= prvky patičky ==============================================================*/
#patickabg {background: #fff; border: 1px solid var(--mainbarva); border-left: 0; border-right: 0; padding: 1.5em 0;}
#zakoncenibg {background: #fff; padding: 1.5em 0;}
#paticka h3 { font-size: 20px}

#paticka {display: grid; grid-template: auto / auto auto 1fr; row-gap: 1.5em; column-gap: 4em; grid-template-areas: 'loga kontakt odkazy'; }
#p_loga {grid-area: loga;}
#p_kontakt {grid-area: kontakt;}
#p_linky {grid-area: odkazy;}
#p_linkyflex {--sloupce:3; --rozestup: 2em; }
#p_linkyflex p { margin-bottom: .5em; }
#p_linkyflex a:not(:hover) { text-decoration: none; }

#zakonceni { padding: 1em 0 4em; position: relative;}
#zakonceni a { }

.socs { margin-top: 2em; }
.socs img { width: 36px; }
.socs a:not(:first-child) { margin-left: 1.5em;}

/*========= pro výměnu odkazů ==========================================================*/
.xch p {border-bottom: 1px solid #ddd; margin: 0; padding: .5em; width: auto;}
#xchlink {}

/*========= ostatní zbytečnosti ========================================================*/
@media (min-width: 689px){
   #cm.cloud {max-width: 800px; padding: 2em; }
   .cc_div .cloud #c-inr {display: flex;}
   .cc_div .cloud #c-inr-i {width: auto; flex-shrink: 1;}
   .cc_div .cloud #c-bns {max-width: 225px; width: 40%; font-size: 1.25em; text-align: center; }
   #cm.cloud #c-bns button + button.c-bn {display: inline-block; font-size: .82em; margin: 1.5em auto; float:none; padding: 0; background: #fff; width: auto; }
   #cm.cloud #c-bns button + button:hover {text-decoration: underline; cursor:pointer; }
}
@media (max-width: 689px){
   .cc_div .cloud #c-bns {display: flex; flex-direction:row; justify-content: space-between;}
   #cm.cloud .c-bn {width:auto; box-sizing: border-box;margin: 0; display: block; flex-basis: 45%; }
   #cm.cloud .c-bn:first-child {margin: 0; order:2}
   #cm.cloud #c-bns button + button.c-bn { background: #fff; order: 1; }
   #cm.cloud #c-bns button + button:hover {text-decoration: underline; cursor:pointer; }
}
:root {--cc-btn-primary-bg:var(--mainbarva); --cc-btn-secondary-hover-bg:#fff; }

.babish { text-align: left;}

#modalbase {position: fixed; top:0; left:0; width: 100vw; bottom: 0; background: rgba(0,0,0,.6); z-index: 10000; }
#modaldialog {background: #fff; padding: 1.5em; box-sizing: border-box; position: absolute; width: 80vw; left: 0; right: 0; text-align: center; max-width: 500px;margin-left: auto; margin-right: auto; overflow:auto; }
#modaldialog .dialogclose {position: absolute; display: block; color:transparent; background: url(/img/ikona-smaz.png) center center no-repeat; right:0; top:0; width: 1.5em; height: 1.5em; }
#modaldialog .tlacitko { margin: 0 1.5em 1em;pointer-events: auto; }

#modaldialog.dialogkosik { top:20vh; }

#modaldialog.dialogparcelshop { top:5vh;bottom:5vh; max-width: none; width: 90vw; }
#modaldialog.dialogparcelshop .pplmapcontain{ height: 100%; box-sizing: border-box; position: relative; }
#modaldialog.dialogparcelshop #ppl-parcel-shop-map { height:100%; }
#modaldialog.dialogparcelshop #ppl-parcelshop-map .ppl-parcelshop-map {height:100%;}
#modaldialog.dialogparcelshop #ppl-parcelshop-map .control-panel {padding-top: 0;}
#modaldialog.dialogparcelshop #ppl-parcelshop-map .control-panel__logo-holder {padding: 20px 0; margin:0;}

#modaldialog.dialogdpdpickup { top:5vh;bottom:5vh; max-width: none; width: 90vw; }
#modaldialog.dialogdpdpickup .iframecontain {position: relative; width: 100%; height: 100%;}
#modaldialog.dialogdpdpickup iframe { width: 100%; height: 100%; border:0; }

#modaldialog.dialogbalikovnapickup { top:5vh;bottom:5vh; max-width: none; width: 90vw; }
#modaldialog.dialogbalikovnapickup .iframecontain {position: relative; width: 100%; height: 100%;}
#modaldialog.dialogbalikovnapickup iframe { width: 100%; height: 100%; border:0; }

#modaldialog.dialogpaymentgateway { top:5vh;bottom:5vh; max-width: none; width: 90vw; }
#modaldialog.dialogpaymentgateway .iframecontain {position: relative; width: 100%; height: 100%;}
#modaldialog.dialogpaymentgateway iframe { width: 100%; height: 100%; border:0; }

/*========= responzivity ===============================================================*/

/* per-web header transformations */
@media (max-width:999px) { 
   #hlavicka {grid-template: auto / 100px 1fr auto; grid-template-areas: 'logo . xmenu'; }
   #nhmenu {display:none;}
   .hmenu .hider { display:none!important; }
}

@media (min-width:1000px) {
   #xhmenu {display:none;}
}

/* general CMS rules */
@media (max-width:1249px) { /* max-sirka + 50px */
   .max-sirka {width: 91%; }
}

@media (max-width:1049px) {
   #vyletynav .bx-pager-link { font-size: 1em; }
}

@media (max-width:1099px) {
   #paticka { grid-template: auto 1fr / auto 1fr; grid-template-areas: 'loga kontakt' 'odkazy odkazy'; }
}

@media (max-width:999px) {
   #poutaceflex {--sloupce:2; }
   #poutace .poutacitem {padding-top: 0; padding-left: 70px; background-position: left 15px; box-sizing: border-box; }
   .gallery { --sloupce:3; }
}

@media (max-width:949px) {
}

@media (max-width:899px) {
   #vyletynav .bx-pager {display: grid; grid-template-columns: repeat(4,auto);}
}

@media (max-width:849px) {
   .podkat { --sloupce:2; }
   .gallery { --sloupce:2; }
}

@media (max-width:799px) {
   .monthflex { --sloupce:2; }
}

@media (max-width:749px) {
   #uvodnikbg {position: relative; background-position: 65% top; }
   #uvodnikbg::before {position: absolute; bottom:0; left:0; width: 100%; height: calc(100% - 80px); background: linear-gradient(to bottom,transparent,#000000a0); content: ''; }
   #uvodnik { font-size: 16px; }
   .uvodni h1 {font-size: 30px; }
   #uvodnik_limit {width: auto; padding-top: 100px;  }
   .uvodni #anotace { background-position: center bottom; background-size: auto 200px; }
   .uvodni #anotacelimit {padding-bottom: 200px; padding-right: 0; }
   #novinkyflex { --sloupce:1; --rozestup: 0; }
   #recenzeflex { --sloupce:1; --rozestup: 2em; }
   .rezform .comm { grid-template: auto 1fr / 1fr 1fr; }
   .rezform .comm > p:first-child { grid-area: 1/1/2/3; }
}

@media (max-width:699px) {
   #vyletyslides .vyletypolozka {display: grid; grid-template: 1fr auto / 1fr; margin-top: 0; padding-bottom: 1px; }
   #vyletyslides .vyletypolozka img {max-width: 100%; }
   #vyletyslides .subgrid {display: grid; }
   .obsah .left,.obsah .right { margin:.5em 0!important; float:none!important; display: block;}
}

@media (max-width:649px) {
   #vyletynav .bx-pager { grid-template-columns: repeat(3,auto);}
}

@media (max-width:599px) {  
h1 { line-height: 1.1 }
h2 { line-height: 1.1 } 
}

@media (max-width:549px) {
   #uvodnikbg { background: url(/img/uvodnikbg_small.webp) center top no-repeat; background-size: cover; }
   #poutaceflex {--sloupce:1; }
   .rezform .ppls { grid-template: auto 1fr / 1fr 1fr; }
   .rezform .ppls > p:first-child { grid-area: 1/1/2/3; }
   .rezform .oddo { grid-template: 1fr auto / 1fr 1fr; }
   .rezform .oddo > p:last-child { grid-area: 2/1/3/3; }
   .simpleform p label {width: 42%;}
   .simpleform p.cb label { width: 75%; }
}

@media (max-width:499px) {
   #paticka { grid-template: auto auto 1fr / 1fr; grid-template-areas: 'kontakt' 'loga' 'odkazy'; }
   .podkat { --sloupce:1; }
}

@media (max-width:449px) {
   #vyletynav .bx-pager { grid-template-columns: repeat(2,auto);}
   #vyletyslides .vyletypolozka img {display: none; }
}

@media (max-width:399px) {
   #p_linkyflex {--sloupce:2; --rozestup: 2em; }
   .gallery { --sloupce:1; }
   .rezform fieldset { display: block; padding: 0; }
   .kform .sloup {width: 100%;padding:0; }
}

@media (max-width:379px) {
   .monthflex { --sloupce:1 }
}


/* special block rules */
@media (max-width:849px) and (min-width:750px), (max-width:549px) {
   .respgbg,.respgbg tbody,.respgbg tr,.respgbg td {display: block; width: 100%;}
}

@media (max-width: 999px) {
   .column5 > div {width: 33%; }
}
@media (max-width: 899px) {
   .column4 > div {width: 50%; }
}
@media (max-width:599px) {
   .column3 > div {width: 50%; }
   .column5 > div {width: 50%; }
}
@media (max-width:499px) {
   .column2 > div {width: 100%; }
}
