/*
 * jQuery FlexSlider v2.6.1
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 and later license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 *
 */
/* ====================================================================================================================
 * FONT-FACE
 * ====================================================================================================================*/
/*
@font-face {
  font-family: 'flexslider-icon';
  src: url('fonts/flexslider-icon.eot');
  src: url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('fonts/flexslider-icon.woff') format('woff'), url('fonts/flexslider-icon.ttf') format('truetype'), url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
  font-weight: normal;
  font-style: normal;
}*/

/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
.flex-container a:hover,
.flex-slider a:hover {
  outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.flex-pauseplay span {
  text-transform: capitalize;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
  margin: 0;
  padding: 0;
}
.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}
.flexslider .slides img {
  width: 100%;
  display: block;
}
.flexslider .slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .flexslider .slides {
  display: block;
}
* html .flexslider .slides {
  height: 1%;
}
.no-js .flexslider .slides > li:first-child {
  display: block;
}
/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/
.flexslider {
  margin: 0 0 0px;
  background: #fff;
  border: 0px solid #fff;
  position: relative;
  zoom: 1;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
}
.flexslider .slides {
  zoom: 1;
}
.flexslider .slides img {
  height: auto;


  -moz-user-select: none;
/* max-height: calc(100vh - 70px);   /*zajištuje roztažení po celé titulce*/
 
}

.flexslider .slides img {
/*height: calc(100vh - 70px);*/
	position: fixed;

/*height: 100vh;*//* pokud se bude moc deformovat - zakomentovat*/
/* width: calc(100vh*1.5);*/
 
}


.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.loading .flex-viewport {
  max-height: 300px;
}
.carousel li {
  margin-right: 5px;
}
.flex-direction-nav {
 
  position: absolute;
top: 25vw;
width: 100%;
}
.flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 60px;
  height: 60px;
  margin: -20px 0 0;
  position: absolute;
  top: 50%;
  z-index: 10;
  overflow: hidden;
 /* opacity: 0;*/
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  font-size: 0px;
}
.flex-direction-nav a:before {
  font-family: "flexslider-icon";
  font-size: 60px;
  display: inline-block;
  content: '\f001';
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  content: '\f0d9';
font-family: "Font Awesome 5 Free";
font-weight: 900;
}
.flex-direction-nav a.flex-next:before {
 content: '\f0da';
}
.flex-direction-nav .flex-prev {
  left: 10px;
}
.flex-direction-nav .flex-next {
  right: 10px;
  text-align: right;
}
.flexslider:hover .flex-direction-nav .flex-prev {
  opacity: 0.7;
  left: 20px;
}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
  opacity: 1;
}
.flexslider:hover .flex-direction-nav .flex-next {
  opacity: 0.7;
  right: 20px;
}
.flexslider:hover .flex-direction-nav .flex-next:hover {
  opacity: 1;
}
.flex-direction-nav .flex-disabled {
  opacity: 0!important;
  filter: alpha(opacity=0);
  cursor: default;
  z-index: -1;
}
.flex-pauseplay a {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 5px;
  left: 10px;
  opacity: 0.8;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  color: #000;
}
.flex-pauseplay a:before {
  font-family: "flexslider-icon";
  font-size: 20px;
  display: inline-block;
  content: '\f004';
}
.flex-pauseplay a:hover {
  opacity: 1;
}
.flex-pauseplay a.flex-play:before {
  content: '\f003';
}
.flex-control-nav {
  width: 100%;
  position: absolute;
  bottom: -40px;
  text-align: center;
  display: none;
}
.flex-control-nav li {
  margin: 0 6px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
.flex-control-paging li a {
  width: 11px;
  height: 11px;
  display: block;
  background: #666;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  text-indent: -9999px;
  -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.flex-control-paging li a:hover {
  background: #333;
  background: rgba(0, 0, 0, 0.7);
}
.flex-control-paging li a.flex-active {
  background: #000;
  background: rgba(0, 0, 0, 0.9);
  cursor: default;
}
.flex-control-thumbs {
  margin: 5px 0 0;
  position: static;
  overflow: hidden;
}
.flex-control-thumbs li {
  width: 25%;
  float: left;
  margin: 0;
}
.flex-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  opacity: .7;
  cursor: pointer;
  -moz-user-select: none;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.flex-control-thumbs img:hover {
  opacity: 1;
}
.flex-control-thumbs .flex-active {
  opacity: 1;
  cursor: default;
}






/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 10px;
  }
  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 10px;
  }
}

/********************************* Moje - dekorace *******************************************/
.flex-container {
	position: relative;
}
#dekor {
	display: none;
}

/******************************* POPISKY ************************************** */

.flex-caption {
	width: 100%;
	margin:0 auto;
  position: absolute;
top: 25vw;
  left: 0;
  margin: auto;

}

.flex-caption span.obal {
	display: block;
	margin: auto;
	width:1200px; 
	
	padding-bottom: 30px;
	
  /* text-shadow: 0 -1px 0 rgba(0,0,0,.3); */
  font-size: 1.5rem;
  line-height: 3rem;
  padding-left: 0px;
  
 
  
}

@keyframes caption-pojezd {
  0%   {opacity: 0;}
  50% {opacity: 0.5;}
  100% {opacity: 0.85;}
}

.flex-caption span.obal span.obal2 {
	padding: 5px 0px 5px 35px;

color: #1c2244;

display: block;

margin-left: 63%;

position: relative;


}

.flex-caption span.obal span.obal2 a {
	color: #FFFFFF;

	
}

li.flex-active-slide .flex-caption span.obal span.obal2 {
	
}


.flex-container span.fa {
	padding-left: 30px;
	display: block;
	position: absolute;
	right: 10px;
	font-size: 2rem;
	line-height: 3rem;
	bottom: 0px;
	padding-bottom: 3px;




}
/******************************* ANIMACE - Iveta - PIVOVAR ************************************** */

.flex-caption span.obal span.obal2 span.obal-abs1 {
    background-color: rgba(255, 255, 255, 0.8);
    padding-right: 1rem;
    padding-left: 1rem;
    margin-bottom: 0.3rem;
   
    opacity: 1;
    position: relative;
    left: 0px;
    top: 0px;
    border: 1px solid #fff;
	line-height: 2.5rem;
display: inline-block;
margin-right: 150px;
font-size: 1.4rem;
}
.flex-caption span.obal span.obal-abs2 {
    background-color: rgba(255, 255, 255, 0.8);
    display: inline-block;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
   font-size: 1.2rem;

line-height: 2.5rem;
    opacity: 1;
    position: relative;
    left: 0px;
    top: 0px;
    border: 1px solid #fff;
}

.flexslider .slides > .flex-active-slide .flex-caption span.obal span.obal-abs1 {
 -webkit-animation-name: ivetamove3; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 4s; /* Safari 4.0 - 8.0 */
    animation-name: ivetamove1  2s linear;
	animation-fill-mode: forwards;
    animation-duration: 4s;
}

li.flex-active-slide .flex-caption span.obal span.obal2  span.obal-abs2 {
	animation: ivetamove4 2s linear;
	
	animation-fill-mode: forwards;
	 animation-duration: 4s;
}
}


/* změna ve 2. slideru - PIVOVAR MODRAVA */
/*       
.flexslider .slides > li:nth-of-type(2) .flex-caption span.obal span.obal-abs1 {
 background-color: #143d25;
	
}
.flexslider .slides > li:nth-of-type(2) .flex-caption span.obal span.obal-abs2 {
 background-color: #726b21;
	
}

*/

/* Chrome, Safari, Opera */
@-webkit-keyframes ivetamove1 {

  0%   {opacity: 0; left:-200px; top:0px;}
  
    100% {opacity: 1.00; left:0px; top:0px;}
  
}

/* Standard syntax */
@keyframes ivetamove1 {


   0%   {opacity: 0; left:-200px; top:0px;}
  
    100% {opacity: 1.00; left:0px; top:0px;}
   
}

@-webkit-keyframes ivetamove2 {
  

  0%   {opacity: 0; left:200px; top:0px;}
  
    100% {opacity: 1.00; left:0px; top:0px;}
   
}

/* Standard syntax */
@keyframes ivetamove2 {

     0%   {opacity: 0; left:200px; top:0px;}
  
    100% {opacity: 1.00; left:0px; top:0px;}
   
}

/* změna ve 2. slideru - PIVOVAR MODRAVA */
      
.flexslider .slides > li:nth-of-type(2).flex-active-slide .flex-caption span.obal span.obal-abs1 {
	animation: ivetamove1 2s linear;
	
	animation-fill-mode: forwards;
	 animation-duration: 4s;
	
}
.flexslider .slides > li:nth-of-type(2).flex-active-slide .flex-caption span.obal span.obal-abs2 {
	animation: ivetamove2 2s linear;
	
	animation-fill-mode: forwards;
	 animation-duration: 4s;
	
}
/* ---------------------------------------------------------- */

/* HACK - pridano kvuli Exploreru - nehýbal 1. bannerem v 1. a 3. snímku */

.flexslider .slides > li:nth-of-type(1).flex-active-slide .flex-caption span.obal span.obal-abs1 {
	animation: ivetamove3 2s linear;
	
	animation-fill-mode: forwards;
	 animation-duration: 4s;
	
}
.flexslider .slides > li:nth-of-type(3).flex-active-slide .flex-caption span.obal span.obal-abs1 {
	animation: ivetamove3 2s linear;
	
	animation-fill-mode: forwards;
	 animation-duration: 4s;
	
}
/*---------------------------------------------------------- */

@-webkit-keyframes ivetamove3 {

  0%   {opacity: 0; left:0px; top:-150px;}
  
    100% {opacity: 1.00; left:0px; top:0px;}
  
}




/* Standard syntax */
@keyframes ivetamove3 {


   0%   {opacity: 0; left:0px; top:-150px;}
  
    100% {opacity: 1.00; left:0px; top:0px;}
   
}

@keyframes ivetamove4 {


   0%   {opacity: 0; left:0px; top:150px;}
  
    100% {opacity: 1.00; left:0px; top:0px;}
   
}