/* MS úprava - http://msdn.microsoft.com/en-gb/library/ie/hh869615%28v=vs.85%29.aspx */
@-ms-viewport{
	width:device-width;
} 

/* ------ společné nastavení --------- */

body .grid {
	width:1200px; margin:0 auto;
}

body .row-slider {			/* 100% banner */
    width: 100%;
    padding-top: 124px;
		position: relative;
}

body .row-slider .socsite-obal {
	position: absolute;
left: 50%;
top: 140px;
text-align: center;
width: 50%;
z-index: 1000;

}

body .row-slider .socsite-obal2 {
	width:1200px; margin:0 auto;
	text-align: right;
	display:none;
}

body .row-slider .socsite {
	display: inline-block;
	padding-left: 8px;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-right: 0;
	opacity: 0.7;
	background-color: #0c544b;
	
	border-radius: 22px 22px 22px 22px;
	-moz-border-radius: 22px 22px 22px 22px;
	-webkit-border-radius: 22px 22px 22px 22px;
	border: 1px solid #000000;
	
}

body .row-slider .socsite li {
    margin-right: 8px;
}

body
{
	padding:0;
/*	background-image: url(images/bacg_02.gif);
	background-repeat: repeat-x;
	background-color: #b98a62; */
}

#podbody 
  {
/*	background-image: url(images/bacg_10.jpg);
	background-position: center 153px;
	background-repeat: no-repeat;
   background-size:100% auto;
*/   
}
#header #logo img {
	
	position: absolute;
	left: 0px;
	top: 10px;
	z-index: 100;
}


#podbody .row-pageheader {
	/* background-color: #100f0f; */
	background: url(images/teplarna1_02.gif) repeat-x;
width: 100%;
height: 124px;
position: fixed;
z-index: 500;

}

#header {
/*	background-image: url(images/header-vetsi.gif);
	background-repeat: no-repeat;
	background-position: 0px bottom; */
	width: 1200px;
	margin: auto;
}

/* -------------- uvodni fotky v podstránkách --------------- */

body .row-headerfoto {
	width: 100%;
}

.headerfoto {
	height: 300px;
	background-size: 100%;
	background-image: url(user/header/3.jpg);
	background-repeat: no-repeat;
	background-position: 0px bottom;
	position: relative;
}

.pgkt-pk .headerfoto {
	background-image: url(user/header/pokoje.jpg);
}
.pgkt-we .headerfoto {
	background-image: url(user/header/relax.jpg);
}
.pgkt-fi .headerfoto {
	background-image: url(user/header/firmy.jpg);
}
.pgkt-re .headerfoto {
	background-image: url(user/header/restaurace.jpg);
}
.pgkt-ak .headerfoto {
	background-image: url(user/header/2.jpg);
}
.pgkt-f6 .headerfoto {
	background-image: url(user/header/fotogalerie.jpg);
}
.pgkt-rz .headerfoto {
	background-image: url(user/header/rezervace.jpg);
}
.pgkt-ko .headerfoto {
	background-image: url(user/header/2.jpg);
}



@keyframes caption-pojezd-headerfoto {
  0%   {background-position: 0px bottom;}
  33% {background-position: 0px center;}
  66% {background-position: 0px top;}
  100% {background-position: 0px center;}
}

.headerfoto {
	animation: caption-pojezd-headerfoto 20s linear;
	animation-delay: 0s;
	animation-fill-mode: forwards; 
}


/* --------- nadpis na podstránkách -------- */

.headerfoto .headernadpis {
	width: 100%;
	margin:0 auto;
  position: absolute;
  bottom: 0;
  left: 0;
  margin: auto;
}

.headerfoto .headernadpis span.obal {
	display: block;
	margin: auto;
	width:1200px; 
	
	padding-bottom: 30px;
	
  /* text-shadow: 0 -1px 0 rgba(0,0,0,.3); */
  font-size: 2rem;
  line-height: 3rem;
  padding-left: 0px;
  
}

.headerfoto .headernadpis span.obal2 {
	padding: 5px;
	padding-left: 15px;
	padding-right: 15px;
	color: white;
	font-weight: bold;
	opacity: 0.7;
	background-color: #000042;
	display: in-line block;
	position: relative;
	border: 1px solid #FFFFFF;
	
}

@keyframes headernadpis-pojezd {
  0%   {opacity: 0;}
  50% {opacity: 0.35;}
  100% {opacity: 0.7;}
}

.headerfoto .headernadpis span.obal span.obal2 {
	animation: headernadpis-pojezd 1s linear;
	animation-delay: 0s;
	animation-fill-mode: forwards;
}


h3.obsnadpis {
	display: none;
}

body .row-bread {
	padding-top: 0.3rem;
	padding-bottom: 0.3rem;
}

body .row-bread a {
	text-decoration: underline;
}


#dekor1 {

	display: block;
	background-image: url(images/podk2_04.gif);
	background-repeat: no-repeat;
	position: absolute;
	height: 6px;
	width: 321px;
	left: 0px;
	top: 0px;
	z-index: 20;
	
}

	#titlefoto .vmini {
		display: block;
		float: none;
		padding-right: 0;
		margin-bottom: 0.7em;
	}
	
	#titlefoto .vsubj {
		clear: none;
	}

	#titlefoto footer {
		margin-top: 0.7em;
	}


/* -------------------- max.rozlišení pod 1300 px ---------------- */

@media only screen and (max-width: 1299px) {
	
body .grid{width:100%; margin:0 auto;}


body .grid.grid-pad {
    padding-left: 15px;
    padding-right: 15px;
}



body .row-slider {			/* 100% banner */
    width: 100%;
    padding-top: 80px;
}

#dekor {
	display: none;
}

#header {
	background-image: none;
/*	background-repeat: no-repeat;
	background-position: 0px bottom;
*/
	max-width: 100%;
	width: 100%;
	
}

#header #logo img {
	left: 15px;
	top: 6px;
}



/* ----------	menitko - tabulkové  --------  */ 
#topnav {
	float:none; 
	padding-left: 0;
	margin-top: 5px;
/*	display: inline-block;  */    /* vykomentováno v Pivovar Modrava - aby se odkazy roztáhly po celé délce - jsou v procentech */
	background-image: none;
	width: auto;
margin-left: 290px;
background-color: #0c3195;	
}



#topnav #rsmenu > ul > div > li {
   
    width: 33.3%;
  
}

#topnav #rsmenu > ul > div > li > a {
   /*   padding: 1px 20px 2px;*/
    text-decoration: none;
    font-size: 18px;
    font-weight: normal;
   
    line-height: 17px;
    vertical-align: bottom;
    margin-top: 1px;
	background-color: #325caa;
	border-right-color: #325caa;
border-left-color: #0c3195;
padding: 7px 0px 4px;
	
}

#topnav #rsmenu > ul > div > li > ul {
    top: 0px;
    padding-top: 0px;
    border-top: 1px solid #ffffff;
   margin-top: -3px;
}

#topnav #rsmenu > ul > div > li:hover > a, #topnav #rsmenu > ul > div > li > a:hover, #topnav #rsmenu > ul > div > li.active > a {
   
    border-right: none;
    border-left: none;
	background: #ff3200 url(images/but4_03.jpg);
   
}


#topnav #rsmenu > ul > div > li.has-sub > a::after {

   
    top: 12px;

}
/* ---------- slider --------  */ 
.flex-caption span.obal,
.headerfoto .headernadpis span.obal {
	width: 100%; 
}
.flex-caption span.obal {
   
    font-size: 1.8rem;
    line-height: 2.7rem;
}
.flex-caption span.obal span.obal-abs2 {
   
    font-size: 1.4rem;
    line-height: 2.2rem;
  
}
/* ----------  --------  */ 
body .row-slider .socsite-obal2 {
	width:100%; 
}


	table.resp-table, table.ubyt_form {
    width:100% !important;
    border-collapse: collapse !important;
    border: none !important;
	}

	table.resp-table col,
	table.ubyt_form col {
    width:auto !important;
    height: auto !important;
	}
	
	table.resp-table tr,
	table.ubyt_form tr {
    display:table !important;
    width:100% !important;
    border: none !important;
    height: auto !important;
    margin-bottom: 0.1em;
	}
	
	table.resp-table td, 
	table.ubyt_form td {
    display:table-row !important;
    border: none !important;
		height: auto  !important;
		width:auto !important;
	}

	table.resp-table th, 
	table.ubyt_form th {
    display:table-row !important;
    border: none !important;
    height: auto  !important;
    width:auto !important;
	}

#topnav #rsmenu > ul > li:hover > a, #topnav #rsmenu > ul > li > a:hover, #topnav #rsmenu > ul > li.active > a {
   
  
}

#topnav #rsmenu > ul > li > a {
	
	
	


	
}
#header #logo img {
    height: 62px;
   
   
    width: auto;
   
}

}


/* -------------------- max.rozlišení pod 1023 px ---------------- */

@media only screen and (max-width: 1023px) {

	body .grid{width:100%; }

	#podbody .row-pageheader {
		height: 0;
		position: relative;
	}

	#topnav{
		display: none;
	}

	#header {
		background-image: none;
		padding-bottom: 0;
	}
	
	#header #logo img {
		height: 50px;  
		position: absolute;
		left: 0px;
		top: 0px;
		width: auto;
		border-left: 3px solid white;
	}

	body .row-slider {			/* 100% banner */
    width: 100%;
		padding-top: 51px;	// rsmenu má výšku 50 + 1
	}
	
	.flex-caption span.obal span.obal2 {
   
    margin-left: 46%;
    
}
	
	

	.flex-caption span.obal,
	.headerfoto .headernadpis span.obal {
		width: 100%;
		padding-bottom: 15px;
	 font-size: 1.6rem;
line-height: 2.4rem;
		/*margin-left: 15px;*/
		box-sizing:border-box;
		padding-left: 15px;
	}
	
	.flex-caption span.obal span.obal-abs2 {
    font-size: 1.2rem;
    line-height: 2.0rem;
}
	
	
	

	#podbody {
		background-image: none;
	}

	.grid #titlefoto [class^="col-"], .grid #titlefoto [class*=" col-"], .grid #titlefoto [class^="col-"].nogutter, .grid #titlefoto [class*=" col-"].nogutter{display:block; float:none; width:auto; margin:0 0 40px 0; padding:0;}

	#titlefoto .vmini {
		display: inline;
		float: left;
		padding-right: 1em;
	}
	
	#titlefoto .vsubj {
		clear: left;
	}
	
	#vlaj {
/*		top: 14px;
		right: 160px;
		width: 80px; */
		display: none;
	}

#vlaj a.zvol {
	display: none;
}

body .row-slider .socsite-obal {
	display: none;
}

#podbody.pglng-cz #vlaj #cz {
	display: none;
}

#podbody.pglng-cz #vlaj #de {
	right: 49px;
}

#podbody.pglng-cz #vlaj #en {
	right: 11px;
}

#podbody.pglng-de #vlaj #cz {
	right: 49px;
}

#podbody.pglng-de #vlaj #de {
	display: none;
}

#podbody.pglng-de #vlaj #en {
	right: 11px;
}

#podbody.pglng-en #vlaj #cz {
	right: 49px;
}

#podbody.pglng-en #vlaj #de {
	right: 11px;
}

#podbody.pglng-en #vlaj #en {
	display: none;	
}

.headerfoto {
	height: 200px;
}

.r-box-facebook {
	display: none;
}

.fblock-navigace {
	display: none !important;
}

#dekor1 {
    display: none;
}   

}

/* -------------------- max.rozlišení pod 720 px ---------------- */

@media only screen and (max-width: 720px) {

	#titlefoto .vmini {
		display: block;
		float: none;
		padding-right: 0;
		margin-bottom: 0.7em;
	}
	
	#titlefoto .vsubj {
		clear: none;
	}

	.headerfoto {
		height: 150px;
	}

.flex-caption {
	  display: none;
	}

.headerfoto {
    animation: none;
      
}


	table.resp-table {
    width:100% !important;
    border-collapse: collapse !important;
    border: none !important;
	}

	table.resp-table col{
    width:auto !important;
    height: auto !important;
	}
	
	table.resp-table tr{
    display:table !important;
    width:100% !important;
    border: none !important;
    height: auto !important;
    margin-bottom: 0.7em;
    border: 1px solid silver;
	}
	
	table.resp-table td{
    display:table-row !important;
    border: none !important;
		height: auto  !important;
		width:auto !important;
	}

	table.resp-table th{
    display:table-row !important;
    border: none !important;
    height: auto  !important;
    width:auto !important;
	}


}

/* -------------------- max.rozlišení pod 615 px ---------------- */

@media only screen and (max-width: 615px) {

	.imgl, .imgr{display:inline-block; float:none; margin:auto;}

	.grid [class^="col-"], .grid [class*=" col-"], .grid [class^="col-"].nogutter, .grid [class*=" col-"].nogutter{display:block; float:none; width:auto; margin:0 0 40px 0; padding:0;}
	.grid.grid-pad [class^="col-"], .grid.grid-pad [class*=" col-"], .grid.grid-pad [class^="col-"].nogutter, .grid.grid-pad [class*=" col-"].nogutter{display:block; float:none; width:auto; margin:0 0 40px 0; padding:0;}

	#header{text-align:center;}
	#header #logo, #header nav{
	/*display:block; */     /* pokusně zakomentováno - nešlo rozklapovat menu    */
	float:none;}
	
	#titlefoto .vmini {
		display: inline;
		float: left;
		padding-right: 1em;
	}
	
	#titlefoto .vsubj {
		clear: left;
	}
	
	.page-footer div{margin-bottom:5%;}
	.grid.grid-pad .page-footer .footer_gallery [class^="col-"], .grid.grid-pad .page-footer .footer_gallery [class*=" col-"] {display:inline; position:relative; float:left; margin:0 0 0 2.5641%; list-style:none; box-sizing:border-box;}
	.grid.grid-pad .page-footer .footer_gallery [class^="col-"]:first-child, .grid.grid-pad .page-footer .footer_gallery [class*=" col-"]:first-child {margin-left:0;}
	
	#copyright div{float:none;}
	#sumavanet div{float:none;}

	.flex-caption span.obal,
	.headerfoto .headernadpis span.obal {
	  font-size: 1.3rem;
  	line-height: 1.6rem;
  	padding-bottom: 15px;
	}


}

/* -------------------- max.rozlišení pod 480 px ---------------- */
/* treba iPhone7Plus má 414, iPhone6 a 7 375 */

@media only screen and (max-width: 480px) {

	#titlefoto .vmini {
		display: block;
		float: none;
		padding-right: 0;
		margin-bottom: 0.7em;
	}
	
	#titlefoto .vsubj {
		clear: none;
	}
	
	.flex-caption {
	  display: none;
	}

	.flex-caption span.obal,
	.headerfoto .headernadpis span.obal {
	  font-size: 1rem;
  	line-height: 1.3rem;
	}
	
	.headerfoto {
		height: 150px;
	}
	
	#header #logo img {
		left: 0px;
	}

	#podbody #portmain .vitem {
		width: 100% !important;
		clear: left !important;;
		padding: 0;
		padding-top: 10px;
	}	
	
	#header #logo img {
		
	}

#header #logo img {
		height: 40px;  
		position: absolute;
		left: 0px;
		top: 0px;
		
		border-left: 3px solid white;
	}

}

/* -------------------- max.rozlišení pod 360 px ---------------- */
/* treba LG G3 a Samsungy mají 360, iPhone5 320 */

@media only screen and (max-width: 360px) {

	#vlaj a.zvol {			/* ušetříme místo - nezobrazujeme vybrany jazyk */
		display: none;
	}
	
	#copyright{text-align:center;}
	
	.headerfoto {
		height: 110px;
	}
	
}

/* -------------------- max.rozlišení pod 320 px ---------------- */
/* treba iPhone5 má 320 */

@media only screen and (max-width: 320px) {


}
