/* písmo Montserrat uložené na webu (místo Google Fonts) – jeden soubor pro všechny tloušťky; latin-ext nese české znaky */
@font-face{font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/montserrat-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/montserrat-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

*{margin:0;padding:0;}
html{scroll-behavior: smooth;}
body{font-size: 12px; text-align: center;font-family: "Montserrat", sans-serif;}
a img{border:none;}
ul{padding-left: 15px;}
.cl, .cleaner{clear: both;}
input[type="button"],
input[type="submit"],
input[type="text"],
textarea{-webkit-appearance:none;font-family: "Montserrat", sans-serif;}
.fx{-webkit-transition:all 0.5s ease;-moz-transition:all 0.5s ease;-o-transition:all 0.5s ease;transition:all 0.5s ease;}
body .gallery .empty-list{display: none;}
body.user-logged .gallery .empty-list{display: block;}

.dev-component{display: inline-block;}
.dev-component component-admin-hover{z-index:10;}
.mce-content-body {background: #fff !important;}
.mce-content-body a{color:#000;}
.dynamic-page .dev-html-block a{color:#000;}
.dynamic-page .dev-html-block table{border-collapse:collapse; width: 100%;}
.dynamic-page .dev-html-block table td{padding:6px; border:1px solid #dedede;}
.dynamic-page .dynamic-page-block .dev-html-block{margin-bottom: 80px;}
.dynamic-page .dynamic-page-block:last-child .dev-html-block{margin-bottom: 0px;} 

.hw{font-family: "Pacifico", cursive;}

/* horní pruh */
.top-bar{width: 100%; height: 90px; background-color: #14191f; position: fixed;z-index:350; left:0; top:0;}
.pod-top{width: 100%; height: 90px;}
.o{width: 1300px; margin:0px auto; text-align: left;}
.logo{float: left; margin-top: 16px;}
.top-right{float: right;}
.menu{display: inline-block; vertical-align: top; margin-top: 36px;}
.menu a{font-size: 14px; color:#fff; text-decoration: none; display: inline-block; vertical-align: top; margin-right: 25px;}
.menu a.home-ico{width: 19px; height: 15px; background-image: url(images/ico-home.png);}
.menu a:hover{text-decoration: underline;}
a.phone{display: inline-block; padding-left: 25px; padding-right: 25px; background-color: #ea202e; height: 90px; color:#fff; text-decoration: none; font-size: 24px; vertical-align: top;}
a.phone span{display: inline-block; margin-top: 30px;}
a.phone:hover{background-color: #ff404d;}

/* theme obrázek a texty */
.theme{width: 100%; height: 640px; background-image: url(images/theme.webp); background-size: cover; background-position: center; position: relative;}
.theme .o{text-align: center;}
/* zoom fotky v pozadí jednou při načtení, pak zůstane přiblížená; text a tlačítka stojí */
.theme{overflow: hidden;}
.theme::before{content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-image: url(images/theme.webp); background-size: cover; background-position: center; animation: theme-zoom 5s ease-out forwards; will-change: transform;}
@keyframes theme-zoom{
  from{transform: scale(1);}
  to{transform: scale(1.12);}
}
/* kdo má v systému vypnutý pohyb, vidí fotku v klidu */
@media (prefers-reduced-motion: reduce){
  .theme::before{animation: none;}
}
.theme-over{width: 100%; height: 640px; left:0; top:0; position: absolute; z-index:50; background-color: rgba(0,0,0,0.6); color:#fff;}
.theme-over h1{font-size: 47px; font-weight: 500; margin-top: 130px; display: inline-block;}
.theme-over h2{font-size: 33px; font-weight: 400; display: inline-block; margin-top: 40px; margin-bottom: 60px;}
.theme-over p{font-size: 17px; font-weight: 500; display: inline-block; line-height: 25px; margin-bottom: 70px;}
.tlacitka{font-size: 0;}
.tlacitka a{display: inline-block; vertical-align: top; color:#fff; text-decoration: none; font-size: 17px; padding:20px 40px; margin-left: 10px; margin-right: 10px;}
.btn-red{background-color: #ea202e;}
.btn-blue{background-color: #537e8f;}
.btn-red:hover{background-color: #ff404d;}
.btn-blue:hover{background-color: #2a94bd;}

/* boxy pod theme */
.boxy{width: 100%; padding-top: 80px; padding-bottom: 80px; background-color: #22201e;}
.box{display: inline-block; width: calc(33.333% - 24px); margin-right: 30px; background-color: #151413; vertical-align: top; color:#fff; text-align: center;} 
.box.box-3{margin-right: 0;}
.box .box-img{margin-bottom: 25px; width: 100%; height: 165px; background-size: cover; background-position: center;}
.box.box-1 .box-img{background-image: url(images/box-1.webp);}
.box.box-2 .box-img{background-image: url(images/box-2.webp);}
.box.box-3 .box-img{background-image: url(images/box-3.webp);}
.box h2{font-size: 18px; font-weight: 400; display: inline-block; margin-bottom: 15px; margin-left: 25px; margin-right: 25px;}
.box .box-txt{padding-bottom: 25px; margin-left: 25px; margin-right: 25px;}

/* jednotlivé sekce */
.sekce{width: 100%; height: auto; display: table;}
.sekce-left{display:table-cell;width: 50%; text-align: left;}
.sekce-right{display:table-cell;width: 50%; text-align: left;}
.odsazeni-sekce{padding-top: 70px; padding-bottom: 70px;}
.sekce-right .odsazeni-sekce{padding-left: 70px; width: calc((1300px / 2) - 70px);}
.sekce-left .odsazeni-sekce{margin-left: calc((100vw - 1300px) / 2); width: calc((1300px / 2) - 70px); padding-right: 70px;}
.odsazeni-sekce h2{font-size: 30px; font-weight: 700; margin-bottom: 40px; display: inline-block;}
.odsazeni-sekce .sekce-txt{font-size: 16px; line-height: 22px;}
.odsazeni-sekce .tabulka{width: 100%; border-bottom: 1px solid #f05c67;}
.odsazeni-sekce .tabulka .radek{padding-top: 15px; padding-bottom: 15px; border-top: 1px solid #f05c67; font-size: 0px;}
.odsazeni-sekce .tabulka .radek .sl{display: inline-block; vertical-align: top; font-size: 16px;}
.odsazeni-sekce .tabulka .radek .sl-1{width: 190px;}
.odsazeni-sekce .tabulka .radek .sl-2{width: calc(100% - 190px);}

/* autojeřáb */
.sekce.autojerab .sekce-left{background-size: cover; background-position: center; background-image: url(images/autojerab.webp);}
.sekce.autojerab .sekce-right{background-color: #ea202e; color:#fff;}
.dokumenty{margin-top: 20px; margin-bottom: 30px;}
.dokumenty a{color:#fff; font-size: 14px; display: block;}
.sekce.autojerab .tlacitka a{background-color: #2c2d2e; margin-left: 0; padding:15px 30px; font-weight: 600;}

/* lokality */
.sekce.lokality .sekce-left{background-color: #2c2d2e; color:#fff;}
.sekce.lokality .sekce-right{background-size: cover; background-position: center; background-image: url(images/lokality.webp);}

/* cena a podmínky */
.sekce.cena .sekce-left{background-size: cover; background-position: center; background-image: url(images/cena.webp);}
.sekce.cena .sekce-right{background-color: #537e8f; color:#fff;}
.sekce.cena .odsazeni-sekce .tabulka{border-bottom: 1px solid #82a1ad;}
.sekce.cena .odsazeni-sekce .tabulka .radek{border-top: 1px solid #82a1ad;}
.sekce.cena .tlacitka a{background-color: #2c2d2e; margin-left: 0; padding:15px 30px; font-weight: 600;}

/* faq */
.sekce.faqbar .sekce-left{background-color:#2c2d2e; color:#fff;}
.sekce.faqbar .sekce-right{background-color:#464646; color:#fff;}
.faq{width:100%; background-image:url(images/ico-plus.png); background-repeat:no-repeat; background-position:right top 6px; border-bottom:1px solid #4b4c4d; padding-bottom:4px; margin-bottom:14px;}
.otazka{font-size:16px; line-height:23px; cursor:pointer;width:calc(100% - 20px);}
.otazka:hover{text-decoration:underline;}
.faq .odpoved{display:grid;  grid-template-rows:0fr;  overflow:hidden;  max-height:0;  opacity:0;  transition:max-height 0.3s ease,opacity 0.3s ease;  font-size:14px;   line-height:22px;  font-weight:300;  margin-top:10px;}
.faq.open{background:none;}
.faq.open .odpoved{max-height:500px;  opacity:1;  margin-bottom:14px;}

/* galerie */
.galerie{font-size: 0;}
.galerie .image{background-color: #2c2d2e; width: calc(33.333% - 8px); margin-right: 10px; margin-bottom: 10px; overflow: hidden; height: 120px; display: inline-block; vertical-align: top;} 
.galerie .image:nth-child(3n){margin-right: 0;}
.galerie .image img{width: 100%; height: auto;}

/* kontakty */
.sekce.kontakty{width: 100%; background-image: url(images/kontakty.webp); background-size: cover; background-position: center;}
.sekce.kontakty .sekce-left{color:#fff;}
.sekce.kontakty .sekce-right .odsazeni-sekce{padding-left: 0px; width: calc(1300px / 2);}
.adresa{font-size: 14px; line-height: 22px; margin-bottom: 50px;}
.adresa a{color:#73bedc; white-space: nowrap;}
.kontakty-odkazy{margin-top: 35px; margin-bottom: 35px; font-size: 34px;}
.kontakty-odkazy a{color:#73bedc; font-weight: 700;}
.poptavka{background-color: rgba(0,0,0,0.8); padding:50px; color:#Fff;}
.poptavka-box{margin-top: 15px;}
.poptavka h3{font-size: 24px;}
.poptavka input[type='text'],
.poptavka textarea{font-size: 14px; padding:12px; border:1px solid #353535; width: calc(100% - 38px); background: none; color:#fff; margin-bottom: 8px;}
.poptavka textarea{height: 90px;}
.poptavka button[type="submit"]{float:left;border:none;cursor:pointer;margin-top:20px;background-color:#ea202e;color:#fff;text-transform:uppercase;font-size:14px;padding:10px 15px;font-weight:600;width:160px;margin-right:40px;}
.form-txt{float:left;width:calc(100% - 210px);margin-top:23px;color:gray;}

/* pata */
.foot{width: 100%; background-color: #000; padding-top: 40px; padding-bottom: 40px;}
.foot-left{float: left; color:#fff;}
.foot-left a{color:#fff;}
.foot-right{float: right;}
.foot-right a{color:#fff; text-decoration: none;}
.foot-right a span{display: inline-block; vertical-align: top; margin-top: 1px; margin-right: 5px;}
.foot-right a img{display: inline-block; vertical-align: top;}

.kotva{position: absolute; margin-top: -90px; font-size: 0; width: 1px; height: 1px;}
/* lightbox – zvětšení fotek z galerie („náš lightbox“, šablona C:/Claude/sablony/web/lightbox/) */
.galerie .image a{display: block; cursor: zoom-in;}
.lightbox{display: flex; visibility: hidden; opacity: 0; transition: opacity 0.4s ease, visibility 0s linear 0.4s; position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 500; background-color: rgba(0,0,0,0.92); align-items: center; justify-content: center;}
/* plynulé objevení (fade in); při zavření stejně plynule zmizí a teprve pak se schová */
.lightbox.open{visibility: visible; opacity: 1; transition: opacity 0.4s ease, visibility 0s;}
.lb-foto{display: block; max-width: calc(100% - 160px); max-height: calc(100% - 120px); width: auto; height: auto; transition: opacity 0.25s ease;}
/* při listování stará fotka zmizí a nová se objeví (prolnutí); délku 0.25s drží i skript (lbProlnuti) */
.lb-foto.mizi{opacity: 0;}
.lightbox button{position: absolute; width: 50px; height: 50px; padding: 0; border: none; background-color: rgba(0,0,0,0.5); color: #fff; font-size: 36px; line-height: 50px; cursor: pointer; font-family: "Montserrat", sans-serif;}
.lightbox button:hover{background-color: #ea202e;}
.lightbox button:focus-visible{outline: 2px solid #fff; outline-offset: 2px;}
.lb-zavrit{right: 15px; top: 15px;}
.lb-predchozi{left: 15px; top: 50%; margin-top: -25px;}
.lb-dalsi{right: 15px; top: 50%; margin-top: -25px;}
.lb-pocet{position: absolute; left: 0; bottom: 20px; width: 100%; color: #fff; font-size: 16px;}
body.lb-open{overflow: hidden;}
/* kdo má v systému vypnutý pohyb, vidí lightbox hned */
@media (prefers-reduced-motion: reduce){
  .lightbox,
  .lightbox.open,
  .lb-foto{transition: none;}
}
