/* 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:1260px; margin:0 auto;
}

body .row-slider {		
    /* width: 100%; */
    /* padding-top: 80px; */
}


body
{
	padding:0;
	background-image: url(images/main_bg.png);
	background-repeat: repeat;
	background-color: #b98a62; 
}

#podbody 
  {
	background-image: url(images/hd_img2.jpg);
	background-position: center 0px;
	background-repeat: no-repeat;
  background-size:100% 508px;  
}
#header #logo img {
	
	position: absolute;
	left: 336px;
	top: 61px;
	z-index: 100;
}

#header #logo::after {
    content: " Kubova Huť";
    
   color: #82684e;
font-size: 32px;
line-height: 32px;
font-weight: normal;
	position: absolute;
	left: 680px;
	top: 40px;
	 text-transform: uppercase;
	z-index:5;
}



#podbody .row-pageheader {
	/* background-color: #100f0f; */

/*	width: 100%; */
/*	height: 80px; */
/*	position: fixed; */
	z-index: 500;
	height: 134px;
	position: relative;
}

#header {
/*	background-image: url(images/header-vetsi.gif);
	background-repeat: no-repeat;
	background-position: 0px bottom; */
	width: 1260px;
	margin: auto;
}

.nextheader {
/*	background-image: url(images/header-vetsi.gif);
	background-position: 0px bottom;
	height: 48px;
	background-repeat: no-repeat;
	width: 100%; 
	position: absolute;
	bottom: 0;
	left: 0;*/
}

#dekor {
	
/*	display: block;
	background-image: url(images/dopln_10.png);
	background-repeat: no-repeat;
	position: absolute;
	height: 126px;
	width: 325px;
	left: 608px;
	top: 0px;
	z-index: 20; */
}

.flexslider {

	margin-bottom: 0px;
}

.flex-caption {
	display: none;
}


/* -------------- uvodni fotky v podstránkách --------------- */

body .row-headerfoto {
	width: 100%;
}

.headerfoto {
	height: 300px;
	background-size: 100%;
	background-image: url(slider/1.jpg);
	background-repeat: no-repeat;
	background-position: 0px bottom;
	position: relative;
}

@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: 3rem;
  line-height: 3rem;
  padding-left: 0px;
  
}

.headerfoto .headernadpis span.obal2 {
	padding: 5px;
	padding-left: 15px;
	padding-right: 15px;
	background-color: #414141;
	color: white;
	font-weight: bold;
	opacity: 0.7;
}

@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: 1.3rem;
	padding-bottom: 0rem;
}

body .row-bread a {
	text-decoration: underline;
}


#dekor {

	display: block;
	background-image: url(images/op_slider.png);
	background-repeat: no-repeat;
	position: absolute;
	height: 427px;
	width: 893px;
	left: 0px;
	top: 0px;
	z-index: 5;
	
}

	#titlefoto .vmini {
		display: block;
		float: none;
		padding-right: 0;
		margin-bottom: 0.7em;
	}
	
	#titlefoto .vsubj {
		clear: none;
	}

	#titlefoto footer {
		margin-top: 0.7em;
	}
	
	.flex-container {
	margin-top: 0px;
	margin-left: 100px;
	width: 893px;
	height: 428px;
	
   
}
section.slider {
	background-image: url(images/bezova.gif);
	background-repeat: repeat-x;
	background-position: 0px bottom;
	
	
   
}

#topnav {
	background: url(images/tmenu_tbg.png) 0 0 no-repeat;
width: 165px;
padding: 174px 0 0;
position: absolute;
top: 0;
right: 99px;
z-index: 111;
margin-top: -58px;
	
   
}

#topnav #rsmenu > ul {
   background: url(images/tmenu_bbg.png) 0 bottom no-repeat;
padding: 0 0 11px;
}

#topnav #rsmenu > ul > li {
    position: relative;
background: url(images/tmenu_libg.png) 0 0 no-repeat;
height: 44px;
font-size: 0;
line-height: 0;
display: block;
}

#topnav #rsmenu > ul > li.active,  #topnav #rsmenu > ul > li:hover {
  
background: url(images/tmenu_libg_hov.png) 0 0 no-repeat;

}
body .grid.grid-pad {
    padding-left: 98px;
    padding-right: 95px;
}

/* -------------------- max.rozlišení pod 1300 px ---------------- */

@media only screen and (max-width: 1299px) {
	
body .grid{width:950px; margin:0 auto;}

body .row-slider {			/* 100% banner */
    width: 100%;
    /* padding-top: 80px; */
}

#podbody .row-pageheader {
		
}

#dekor {
	
}

#header {
/*	background-image: url(images/header-mensi.gif);
	background-repeat: no-repeat;
	background-position: 0px bottom;
*/
	max-width: 100%;
	width: 950px;
/*	text-align: center; */
}

#topnav {
	float:right; 
	padding-left: 0;
	padding-right: 0;
	
	display: inline-block;

}

.nextheader {
	display: none;
}

#podbody {
	
}

/* #header #logo img {
	left: 15px;
	top: 90px;
} */

.flex-caption span.obal,
.headerfoto .headernadpis span.obal {
	width: 950px; 
}


	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;
	}

	.ftg_item {	
		width: 48%;
		height: auto;
	}
	
	.flex-container {
    margin-top: 0px;
    margin: auto;
    width: 893px;
    height: 428px;
   
}

section.slider {
   background-image: url(images/bezova2.gif);
	background-repeat: no-repeat;
	background-position: center bottom;
}
#topnav {
   
    right: 80px;
  
}

#header #logo img {
   
    left: 150px;
   
}

#header #logo::after {
   
    left: 494px;
   
}
body .grid.grid-pad {
    padding-left: 27px;
    padding-right: 29px;
}

}


/* -------------------- 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: 35px;
        position: absolute;
        left: 0px;
        top: 10px;
        width: auto;
	}

	body .row-slider {			/* 100% banner */
    width: 100%;
		padding-top: 51px;	// rsmenu má výšku 50 + 1
	}

	.flex-caption span.obal,
	.headerfoto .headernadpis span.obal {
		width: 100%;
		padding-bottom: 15px;
	  font-size: 2rem;
  	line-height: 3rem;
		/*margin-left: 15px;*/
		box-sizing:border-box;
		padding-left: 15px;
	}

	#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;
	}

#vlaj a.zvol {
	display: none;
}

#podbody.pglng-cz #vlaj #cz {
	display: none;
}

#podbody.pglng-cz #vlaj #de {
	right: 35px;
}

#podbody.pglng-cz #vlaj #en {
	right: 0px;
}

#podbody.pglng-de #vlaj #cz {
	right: 35px;
}

#podbody.pglng-de #vlaj #de {
	display: none;
}

#podbody.pglng-de #vlaj #en {
	right: 0px;
}

#podbody.pglng-en #vlaj #cz {
	right: 35px;
}

#podbody.pglng-en #vlaj #de {
	right: 0px;
}

#podbody.pglng-en #vlaj #en {
	display: none;	
}

.headerfoto {
	height: 200px;
}

.r-box-facebook {
	display: none;
}

.fblock-navigace {
	display: none !important;
}

.row-noheaderfoto {
	height: 50px;
}

.row-bread {
	display: none !important;
}
  /* ------Penzion Fiala ---------- */            
.flex-container {
   
    width: auto;
	height: auto;
	border: 19px solid transparent;
	border-right: none;
	border-left: none;
-webkit-border-image: url(images/border_img.png) 19 round;
-o-border-image: url(images/border_img.png) 19 round;
border-image: url(images/border_img.png) 19 round;
   
   
   
}

#dekor {
    display: none;
}

#header #logo::after {
    
    font-size: 18px;
    line-height: 18px;
   
    left: 225px;
    top: 2px;
   
}

body .grid.grid-pad {
    padding-left: 15px;
    padding-right: 15px;
}

}

/* -------------------- 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;
	}



}

/* -------------------- 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; 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: 7px;
	}

	#header #logo img {
		height: 28px;
        position: absolute;
        left: 0px;
        top: 13px;
        width: auto;
	}

	#header #logo::after {
    
    font-size: 16px;
    line-height: 16px;
   
    left: 190px;
    top: 6px;
   
}

.flex-container {
   
  
	
	border: none;
	
   
   
   
}


}

/* -------------------- 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 span.obal,
	.headerfoto .headernadpis span.obal {
	  font-size: 1rem;
  	line-height: 1.3rem;
	}
	
	.headerfoto {
		height: 150px;
	}
	
	#header #logo img {
		left: 0px;
	}

	#port-middle .s-vypis .vitem {
    clear: left;
    width: 100%;
	}

	.ftg_item {	
		width: 100%;
		height: auto;
	}
	#header #logo::after {
    
    display: none;
    
   
}
	
	
}

/* -------------------- 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) {


}
