/* cmsms stylesheet: ovp_modal modified: pátek 11. prosince 2020 15:23:49 */
#modal {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 99999;
  height: 100%;
  width: 100%;
}
.modalcontent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #BA0F0F;
  padding: 7px;
  border-radius: 10px;
  border: 2px solid #FCDB00;
}
#button, #buttonOF {
/*  margin: 5px 0; */
/*  padding: 5px; */
/*  font-size: 15px; */
/*  color: #fff; */
  background: #f00;
  color: #666;
  line-height: 40px;
  position: absolute;
  right: -20px;
  text-align: center;
  top: -15px;
  width: 50px;
  text-decoration: none;
  font-weight: bold;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
  -moz-box-shadow: 1px 1px 3px #000;
  -webkit-box-shadow: 1px 1px 3px #000;
  box-shadow: 1px 1px 3px #000;
  border: 2px solid #FCDB00;  
}
.modalcontent #button a {
  font-size: 20px;
  padding: 5px;
  display: block;
  text-decoration: none;
}
.modalcontent { 
  max-height: 90vh;
  width: auto;
}
.modalcontent img {
  max-height: 90vh;
  max-width: 90vw; 
  width: auto;
}

@media all and (max-width: 780px) {
  .modalcontent {
    width: 90vw;
  }
}
/* cmsms stylesheet: ovp_resp modified: pondělí 20. července 2026 18:45:33 */
/* - - respoon - - */

@media (min-aspect-ratio: 16/9) {
  .fullscreen-bg__video {
    height: 300%;
    width: 120%;
    top: -100%;¨
  }
}

@media (max-aspect-ratio: 16/9) {
  .fullscreen-bg__video {
    width: 300%;
    left: -100%;
  }
}

@media screen and (max-width: 980px) {
  body {position: relative; left: 0; transition: left .2s;}
  html {overflow-x: hidden}  
  #home2017 {
    margin-top: 80px;
  }  
  #stranka {
    width: 99.9%;
  }
  .obsah { 
  }
  #content {
    padding: 0 10px;
    margin: 0;
  }
  .logo_m {
    margin-left: 80px;
  }
  #content img {
    width: 98%;
    height: auto;
  }
  h1, h2, h3 { line-height: 1.05em; }
  textarea, input, fieldset, iframe {
    width: 98%;
  }
  input#cntnt01fbrp_captcha_phrase { width: 150px !important; }
  .foot-socs {
   position: fixed;
   top: 35px;
   left: 70px;
/*   opacity: 0.5; */
   filter: alpha(opacity=50);
  }
  .foot-socs img {
    width: 20px;
    height: 20px;
  }
  .vlajka {
    position: absolute;
    left: 70px;
    top: 5px;
  }
  .vlajka a, .vlajka a:hover {
    background: none;
    padding: 0 !important;
    margin: 0 !important;
  }
  #header { background: #000; }
  .jine {
    left: 0;
    float: right;
  }
  p.homep {
    text-align: center;
    margin: 0;
  }
  p {
    padding: 7px 5px;
    text-indent: unset;
  } 

@media screen and (max-width: 520px) {
  #obal {
    background-size: contain !important;
  }
  .top270 {
    margin-top: 120px;
  }
  .tretina, .ctvrtka {
    max-width: 46%;
    margin-bottom: 30px;
  }
  .pulka, .kapela.tretina {
    width: 98%;
    max-width: 99%;
    margin-bottom: 30px;
  }
}


/* - - - - MENU.respoon - - - - */

  nav button {
    display: block;
    position: absolute;
    left: 0;
  }
  nav button:hover, .menu button:focus {
    background: #000;
  }
  .zobrazit {
    transition: top 1.2s;
    z-index: 8000;
  }
  nav#menu.zobrazit ul {
    display: block;
    background: #000;
    z-index: 9888;
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    border-bottom: 10px solid #333;
  }
  nav#menu.zobrazit ul li {
    display: block;
  }
  nav#menu.zobrazit ul li a {
    padding: 10px 50px;
    margin-left: -50px;
    display: block;
  }

  nav#menu ul {display: none;}

}

@media (max-width: 630px) {
  .fullscreen-bg {
  }
  .fullscreen-bg__video {
  }
  .box, .box2 { 
    width: 100% !important;
    text-align: center;
  } 
  img { max-width: 100%; }
  .foot-fix { display: none; }
  #home2017 p img {
    margin-top: 40vh !important;
  } 
  #prilepit h1, #prilepit h2, #prilepit h3 {
    font-size: 20px;
/*    line-height: 20px; */
    padding: 0;
    margin: 0 0 7px 0;
  }
}
