* {box-sizing: border-box;}
/*font-family: 'Comfortaa', cursive;
font-family: 'Raleway', sans-serif;
font-family: 'Anton', sans-serif;
font-family: 'Poiret One', cursive;
*/
html {
	height: 100%;
}
body {
	margin: 0;
	font-family: 'Raleway', sans-serif;
	color: #181818;
	font-size: 1.2em;
	height: 100%;
	font-weight: 400;
	line-height: 1.3em;
	background-color: #f7f7f7;
}
.bg-img {
 background-image: url(images/top4.jpg);
padding-top: 0;
  height: 100%;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
video {
    -moz-transform: translateX(50%) translateY(50%);
    -webkit-transform: translateX(50%) translateY(50%);
    -ms-transform: translateX(50%) translateY(50%);
    transform: translateX(50%) translateY(50%);
    bottom: 50%;    
    height: auto;
    min-height: 100%;
    min-width: 100%;
    overflow: hidden;
    position: fixed;
    right: 50%;
    width: auto; }
 .bg-img:before {
    transition: opacity 3s ease;
    transition-delay: 1.25s;
    background: #fff;
    content: '';
    display: block;
    height: 100%;
    left: 0;
    opacity: 0.2;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1; }
.bg-img:after {
  /*background: linear-gradient(135deg, #ce1b28 0%, #111111 74%);  */
  /* background-image: url(images/bg.png) ;   */
 background-color: #000;           
    content: ' ';
    display: block;
    height: 100%;
    left: 0;
    opacity: 0.3;
    position: absolute;
    top: 0;
    webkit-linear-gradientidth: 100%;
    width: 100%;
    z-index: 1; }
.down {
	position: absolute;
	bottom: 25%;
	width: 100%;
	text-align: center;
	 animation-name: visual2;
    animation-duration: 3s;
    z-index: 4;
    opacity: 0.7;
}
.down i {
	color: #ea2227;
	font-size: 2em;
}
/* The navbar */
.container {
  position: absolute;
  bottom: 0em;
  width: 100%;
  z-index: 10;
}
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

/*navigace z w3schools   */

.topnav a {
  width: 14%;
  
  color: #0c0b0c;
  text-align: center;
  padding: 14px 0;
  text-decoration: none;
  font-size: 17px;
}
 a.schovat {
 display: none}
.topnav a:hover {
  background-color: rgba(255,255,255,0.3);
   color: #ea2227;
}

.topnav .icon {
  display: none;
}
.social img {height: 1.5em;
              margin: 0 0.3em}
.social { width: 12em;
    vertical-align: middle;
    text-align: center;
    padding-top: 0.7em;
}
.flag img {height: 1.2em;
              margin: 0 0.3em}
.flag { width: 10em;
    vertical-align: middle;
    text-align: center;
    padding-top: 0.8em;
}
.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 70%;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup h2 {
  margin-top: 0;
  color: #ea2227;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #ea2227;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}

@media screen and (max-width: 900px){
  .box{
    width: 90%;
  }
  .popup{
    width: 90%;
  }
}
/*hamburger*/
.topnav {
position: relative;
top: 0;
overflow: hidden;
	background-color: rgba(255,255,255,0.9);
	width: 100%;
	z-index: 9;
	font-weight: 400;
	 box-shadow: 0 1px 3px rgba(0,0,0,0.1);
   transition: top 0.3s;
}
.topnav .icon {
  display: none;
}

.wrapper2 {
	/*max-width: 1000px;   */
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.vypl1 {
	padding: 3em 3em 0.5em 3em;
}
.vypl2 {
	padding: 0.1em 3em 0.5em 3em;
}
/*.wrapper {
	width: 100%;
  border-top: 2px solid #ea2227;
  position: relative;
  background-color: #0c0b0c;
} */  
.wrapper {
	width: 100%;
  border-top: 2px solid #ea2227;
  position: relative;
  background-color: #f7f7f7;
  display: flex;
  flex-wrap: wrap;

}
a {color: #fff}
/* Hlavička*/
.hlavicka {
	position: absolute;
  z-index: 3;
 background-color: rgba(255,255,255,0.2);   
    top: 35%;
    padding: 3em 0;
    text-align: center;
    width: 100%;
    animation-name: visual2;
    animation-duration: 3s;
    opacity: 0.7;
	 }
@keyframes visual {
     from {opacity: 0;}
     to {opacity: 1;}
}
@keyframes visual2 {
     from {opacity: 0;}
     to {opacity: 0.7;}
}
.obrazovka {}
.mobil {display: none!important;
       }

a.mob {display: none;}
}
h1 {
		font-weight: 300;
	font-size: 7em;
	line-height: 1em;
	font-family: 'Anton', sans-serif;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.1);
}
h2 {
	color: #7ccdc7;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.8em;
	background-color: #444444;
	padding: 0.6em;
	display: inline;
}
h3 {
  border: 2px solid #ea2227;
  padding: 0.6em;
  display: inline-block;
	margin: 0 0 0.8em 0;
}
h4 {
  border: 2px solid #ea2227;
  font-size: 1em;
  font-weight: normal;
  padding: 0.6em;
  display: inline-block;
	margin: 0 0 0.8em 0;
}
 ul {  list-style: square inside url("images/zubr_li.png");
 list-style-position: outside;
 margin-left: 0
 }
 li::before { /* add the new bullet point 
  display: inline-block;
    content: '>';*/
    font-size: 0.8em;
    margin-right: 1em;
    }
.kat {
	border-top: 1px solid #fff;
	font-size: 0.5em;
	margin-top: 0.3em;
	font-weight: 400;
	line-height: 1.1em;
	padding-top: 0.2em;
	display: block;
}
/*
.pulky {
	display: inline-block;
  background-image: url(images/pozadi.jpg) ;
  background-size: 100% auto;
  background-repeat: no-repeat;
  vertical-align: top;
	width: 50%;
	margin: 0 -2px -4px -2px;
}
*/
.pulky {
flex: 50%;
background-image: url(images/pozadi.jpg) ;
  background-size: 100% auto;
  background-repeat: no-repeat;
   position: relative; /*kvůli bookmarku*/
}
.pulky img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	
}
.bookmark {position: absolute;
            bottom: 1.5em;
           /* background-color: red; bylo to pěkné, ale co na plat*/}
   .ctvrtky {
flex: 25%;
  
  position: relative;
  padding-TOP: 25%;
}

.mezery {
	padding: 3em;
}
  /*galerie*/
.galerie_uvod {
position: relative;
/*background: linear-gradient(135deg, #ce1b28 0%, #111111 74%);     */
background-color: rgba(255,255,255,0.3);
      text-align: center;
      padding: 2em 3em;
}
/*loga partnerů ve 4 sloupcích*/
.vnitrek {
 display: flex;
    position: relative;
    text-align: center;
    align-items: center;

    }

 .sloupce img {width: 80%;
                padding: 1em} 
 
/*.galerie_uvod h3 {color: #0c0b0c}   */
    .galerie {
    display: flex;
    position: relative;
    text-align: center;
    background-color: #fff;
  }

 .ctvrtky img {
 position: absolute;
  transform: translateX(50%) translateY(50%);
    bottom: 50%;    
 right: 50%   ;
 vertical-align: middle;
 width: 80%;
 display: block;
 
 /*box-shadow: 0px 0px 10px rgba(0,0,0,0.5) ;        */
 height: auto}
 .bila {background-color: #fff;}
 .cerna {background-color: #0c0b0c;}

.sloupec:nth-child(2) {
	border-left: 1px solid #dddddd;
	border-right: 1px solid #dddddd;
} 

iframe {
	width: 100%;
}
.ico {
	color: #7ccdc7;
	font-weight: 600;
	font-size: 0.8em;
	background-color: #444444;
	padding: 0.6em;
	display: inline-block;
	width: 2.9em;.
	height: 2.3em;
	text-align: center;
	vertical-align: middle;
	margin-right: 1.5em
}
.polozka {
	margin-top: 0.5em;
}
.kontakty {
	position: relative;
	padding: 2em;
	color: #000;
  text-align: left;
  background-color: #f7f7f7;
  border-top: 2px solid #ea2227;
}
.prihlaska {
	position: relative;
    max-width: 700px;
	padding: 2em;
	color: #000;
  text-align: center;
  background-color: #f7f7f7;
  
}
.justify {
  width: 100%;
  display: grid;
  background: #red;
  grid-template-columns: auto auto;
  margin-top: 10px;
}
.column {
  padding: 0.5em;
  text-align: center;
  color: #2E2C08;
  background: #e5e3de; 
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
}

footer {
  background-color: #181818;
  position: relative;
  width: 100%;
	padding: 2em;
	color: #cfcecf;
	text-align: center;
	font-size: 0.7em;
  line-height: 1em;
}
a {
	color: #000;
	text-decoration: none;
	font-weight: 600;
}
a:hover{
    color: #ea2227 }
.nastred {
	text-align: center;
	padding: 0 3em;
}



.podcarou {
	padding: 2em 3em;
}
.kontakty img {width: 50%;
              height: auto;}
@media screen and (max-width: 1090px) {

.pulky img {
	object-fit: cover;
}
.topnav a {
	font-size: 0.8em;
}

}

 @media screen and (max-width: 950px) {
 .sloupce img {width: 90%;
                padding: 0.5em}
}

@media screen and (max-width: 800px) {

.topnav a {
	font-size: 0.7em;
}
 
  .pulky {
	flex: 100%;
	height: auto;
}
 .obrazovka {display: none!important;
  }
.mobil {display: block!important;}

.obra {display: none}
a.mob {display: inline}
  }
@media screen and (max-width: 900px) {

h1 {
	font-size: 2.3em;
}

.bg-img {
	min-height:600px;
}
ul {padding: 0;
margin: 0;}
.mezery {padding: 1.5em}

.wrapper2 {display: block;}
  .topnav a {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
 .topnav.responsive a.schovat {
 display: block}
  .topnav.responsive {position: fixed;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a, .topnav.responsive a.mob  {
    float: none;
    display: block;
    text-align: left;
    width: 100%;
    padding-left: 2em
  }
 .obra {display: none!important;
  }
  
.vnitrek {display: block}
.sloupce img {width: 80%}
}

.pf {
    position: fixed;
    width: 1000px;
    max-width: 80%;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}
.pf img {max-width:100%; height:auto}
.pf span {
    background: #fff;
    display: block;
    width: 20px;
    height: 20px;
    margin: 0 0 0 auto;
    text-align: center;
    cursor:pointer;
}
