/* Zalozil: Michal Boška; Zalozeno: 17.10.2020 */
* {
  box-sizing: border-box;
}
.obalObtekani::after {
  content: "";
  display: block;
  clear: both;
}
BODY {
  margin: 0em;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 1em;
  background-color: #FFFFFF;
}
@media (max-width: 500px) {
  BODY {
    font-size: 0.8em;
  }

}
SPAN.awm_antiSpamEmail {
  display: inline !important;
  font-size: 1em !important;
  padding: 0 !important;
  margin: 0 !important;
  font-weight: inherit !important;
}


/* -------------------------------- zahlavi ------------------------------------ */
HEADER {
  display: block;
  width: 90%;
  margin: 2em 5%;
  text-align: left;
}
HEADER IMG {
  width: 100%;
  max-width: 380px;
  height: auto;
  margin-top: 3em;
}
#rozbalovatko {
  display: none;
}
@media (max-width: 1000px) {
  HEADER IMG {
    margin-top: 0;
  }
  #rozbalovatko {
    display: inline-block;
    float: right;
    width: 40px;
    height: 40px;
    background-color: #b77f50;
    background-image: url(desimg/univerzalniRozbalovatko.png);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
  }
}
@media (max-width: 500px) {
  HEADER IMG {
    width: calc(100% - 50px);  /* mezera na rozbalovatko */
  }
}
/* -------------------------------- telo ------------------------------------ */
MAIN {
  display: block;
  width: 90%;
  margin: 0 5%;
  text-align: left;
}
MAIN #levyPanel {
  float: left;
  width: 380px;
}
MAIN #levyPanel H2,
MAIN #pravyPanel H1 {
  font-size: 1.5em;
  font-weight: bold;
  background-color: #F0DEC1;
  color: #ABA397;
  border: 1px solid #BEB6AA;
  text-transform: uppercase;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
  padding: 0.3em 0.6em;
}
MAIN #levyPanel DIV {
  border: 1px solid #BEB6AA;
  padding: 1em 1em;
  margin-bottom: 0.5em;
}
MAIN #levyPanel DIV H3 {
  margin-top: 0;
  margin-bottom: 1em;
}
MAIN #levyPanel DIV P {
  margin-bottom: 0.2em;
}
MAIN #levyPanel DIV P SPAN {
  display: inline-block;
  min-width: 8em;
}
MAIN #pravyPanel {
  float: right;
  margin-left: 1%;
  width: calc(99% - 380px);
}
@media (max-width: 1000px) {
  MAIN #levyPanel,
  MAIN #pravyPanel {
    float: none;
    width: 100%;
    margin: 0 auto;
  }
  MAIN #levyPanel {
    display: none;
    overflow: hidden;  /* kvůli slideToggle, aby neskákalo */
  }
}
@media (min-width: 1000px) {
  MAIN #levyPanel {
    display: inline-block !important;  /* important přebije js slideToggle */
  }
}
@media (max-width: 500px) {
  MAIN #levyPanel H2,
  MAIN #pravyPanel H1 {
    font-size: 1.2em;
  }
}
/* -------------------------------- zapati ------------------------------------ */
FOOTER {
  display: block;
  width: 100%;
  margin: 0;
  margin-top: 5em;
  padding: 3em 1em 5em 1em;
  text-align: center;
  background: linear-gradient(to bottom, #d7ac67, #cb9a58);
  font-size: 0.8em;
}
FOOTER P {
  text-align: center;
  color: #fff;
  margin-bottom: 1em;
}
FOOTER DIV {
  display: inline;
}
FOOTER DIV A {
  color: #fff;
  display: inline-block;
  margin: 0 1em;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 100%;
  padding-left: 1.5em;
}
FOOTER DIV.telefon A {
  background-image: url(desimg/telefon.png);
}
FOOTER DIV.posta A {
  background-image: url(desimg/posta.png);
}

/* -------------------------------- menu ------------------------------------ */
MAIN #levyPanel DIV#menu {
  padding: 0;
  border: none;
}
#menu NAV UL {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1em;
}
#menu NAV UL LI {
  display: block;
  position: relative;
  margin: 0;
  margin-bottom: 0.3em;
  padding: 0;
}
#menu NAV UL LI A {
  display: block;
  padding: 0.5em 0 0.5em 1.7em;
  color: #000;
  background-color: #FFF6EE;
  border: 1px solid #BEB6AA;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxMDAnIGhlaWdodD0nMTAwJz48cG9seWdvbiBwb2ludHM9JzAsMCA1MCw1MCAwLDEwMCcgc3Ryb2tlPSdub25lJyBmaWxsPSdyZ2IoMTgzLDEyNyw4MCknIC8+PC9zdmc+");  /*<rect fill='rgb(12,241,149)' width='100' height='100' />*/
  background-position: -0.5em center;
  background-repeat: no-repeat;
  background-size: auto 130%;
  text-decoration: none;
  transition: all 0.3s ease; 
}
#menu NAV UL LI A:hover {
  background-color: #FCE0BA;
  background-position: 0 center;
} 

#menu NAV UL LI.aktivni A {
  font-weight: bold;
}
/* --------------------------- info o cookies ------------------------------- */
@keyframes vysunutiCookies {
    0% {margin-bottom: -100%;} /* je to ze šířky rodiče, ale nic lepšího nemáme k dispozici */
   90% {margin-bottom: -100%;} /* je to ze šířky rodiče, ale nic lepšího nemáme k dispozici */
  100% {margin-bottom: 0;}
}  
#centralniSouhlasCookies {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding-bottom: 10px;
  margin-bottom: 0px;
  background-color: #333333;
  color: #ffffff;
  z-index: 1000000;
  animation-name: vysunutiCookies;
  animation-fill-mode: forwards;
  animation-duration: 5s;
}
#centralniSouhlasCookies > DIV {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  padding: 0 1em;
  box-sizing: border-box;
}
#centralniSouhlasCookies DIV.popis {
  float: left;
  width: 67%;
}
#centralniSouhlasCookies DIV.popis P {
  font-size: 1em;
  color: #ffffff;
}
#centralniSouhlasCookies DIV.popis P:first-of-type {
  margin-top: 20px;
  margin-bottom: 5px;
}
#centralniSouhlasCookies DIV.popis P:nth-of-type(2) {
  font-size: 0.8em;
}
#centralniSouhlasCookies DIV.popis P A {
  color: #cccccc;
}
#centralniSouhlasCookies A#centralniSouhlasCookiesAno,
#centralniSouhlasCookies A#centralniSouhlasCookiesNe {
  display: inline-block;
  float: right;
  width: 13%;
  margin: 0 1%;
  margin-top: 10px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  color: #fff;
}
#centralniSouhlasCookies A#centralniSouhlasCookiesAno {
  background-color: #439937;
}
#centralniSouhlasCookies A#centralniSouhlasCookiesNe {
  background-color: #C40000;
}
#centralniSouhlasCookies A:hover {
  text-decoration: none;
}
#centralniSouhlasCookies > DIV::after {
  content: " ";
  display: block;
  clear: both;
}

@media (max-width: 800px) {
  #centralniSouhlasCookies {
    height: auto;
  }
  #centralniSouhlasCookies DIV.popis {
    float: none;
    width: 100%;
    margin-bottom: 10px;
    padding-left: 5%;
  }
  #centralniSouhlasCookies A#centralniSouhlasCookiesAno,
  #centralniSouhlasCookies A#centralniSouhlasCookiesNe {
    width: 40%;
    margin: 0 5%;
    margin-bottom: 20px;
  }
}
@media (max-width: 600px) {
  #centralniSouhlasCookies DIV.popis {
    padding-left: 1%;
  }
  #centralniSouhlasCookies DIV.popis P {
    text-align: left;
  }
  #centralniSouhlasCookies A#centralniSouhlasCookiesAno,
  #centralniSouhlasCookies A#centralniSouhlasCookiesNe {
    width: 48%;
    margin: 0 1%;
    margin-bottom: 20px;
  }
}