/* ============================================================================================================================= */
/* ======== HORNI MENU - KLASICKE ======= */
/* ============================================================================================================================= */

input[type=checkbox]
{
	position: absolute;
	display: none;
}


label
{
	position: absolute;
	right: 0;
	display: none;
	width: 48px;
	height: 48px;
	transition: color .3s ease-in-out;
	cursor: pointer;
	-webkit-user-select: none;
	margin: 0;
}




@media only screen and (min-width:1024px) {

/* horni menu */
nav[role="hornimenu-box"]
{
	width: 100%;
	min-width: 320px;
	height: 100px; 
	margin: 0 auto 20px auto;
	position: relative;
	z-index: 10000;
	clear: both;
}







#hornimenu-box
{
	width: 980px;
	height: 100px;
	margin: 0 auto;
	position: relative;
	z-index: 9999999;
}


#logo
{
	width: 127px;
	height: 100px;
	position: relative;
	margin: 0 auto;
	background-image: url("../grafika/logo/logo.svg");
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: auto 80px;
		-webkit-transition: all .2s ease;
		-moz-transition: all .2s ease;
		-ms-transition: all .2s ease;
		-o-transition: all .2s ease;
		transition: all .2s ease;
}




/* nastaveni tlacitek v hornim menu */
nav[role="hornimenu"] ul 			{ margin: -100px 150px 0 110px; position: relative; text-align: center; }
nav[role="hornimenu"] ul li 		{ display: inline; list-style-type: none; }
nav[role="hornimenu"] ul li a 	
{
	color: rgb(248,248,248);     
	font-size: 16px;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 600;
	font-style: bold;
	letter-spacing: 0.7px;
	padding: 30px 0 5px 0;

		-webkit-transition: all .2s ease;
		-moz-transition: all .2s ease;
		-ms-transition: all .2s ease;
		-o-transition: all .2s ease;
		transition: all .2s ease;
}

li#hm-hlavni a,
li#hm-onas a
{
	float: left;
	margin: 0 60px 0 0;
}

li#hm-nabidka a,
li#hm-kontakt a
{
	float: right;
	margin: 0 0 0 60px;
}




/* tlacitka prejety mysi */
nav[role="hornimenu"] ul li#hm-hlavni a:hover,
nav[role="hornimenu"] ul li#hm-onas a:hover,
nav[role="hornimenu"] ul li#hm-nabidka a:hover,
nav[role="hornimenu"] ul li#hm-kontakt a:hover
{ 		
	color: white;
	border-bottom: 2px solid white;
}




/* stisknuta tlacitka */
nav[role="hornimenu"] ul li#hm-hlavni a:active,
nav[role="hornimenu"] ul li#hm-onas a:active,
nav[role="hornimenu"] ul li#hm-nabidka a:active,
nav[role="hornimenu"] ul li#hm-kontakt a:active
{ 
	color: white;
	border-bottom: 2px solid white;
}

	/* stisknuta aktualni stranka */
	#home ul li#hm-hlavni a,
	#onas ul li#hm-onas a,
	#nabidka ul li#hm-nabidka a,
	#obchodnipodminky ul li#hm-nabidka a,
	#cenik ul li#hm-nabidka a,
	#kontakt ul li#hm-kontakt a
	{ 
		color: white !important;
		border-bottom: 2px solid white !important;
	}

	li#hm-kontakt
	{
		display: block;
	}

	li#hm-kontaktm
	{
		display: none;
	}

/* ============================================================================================================================= */
/* ======== PATICKA  ======= */
/* ============================================================================================================================= */

footer 
{
	width: 100%;
	min-width: 980px;
	position: relative;
	margin: 0 auto;
	display: table;
}


body#home footer 
{
	width: 100%;
	min-width: 980px;
	position: absolute;
	margin: 0 auto;
	display: table;
	bottom: 0;
}






/* ==== copyright === */
#copyright
{
	width: 100%;
	line-height: 65px;
	position: relative;
	margin: 0 auto;
	text-align: center;
	font-size: 11px;
	font-weight: normal;
	color: white;
		-webkit-transition: all .2s ease;
		-moz-transition: all .2s ease;
		-ms-transition: all .2s ease;
		-o-transition: all .2s ease;
		transition: all .2s ease;
}







#copyright a
{
	color: white;
	text-decoration: none;
		-webkit-transition: all .2s ease;
		-moz-transition: all .2s ease;
		-ms-transition: all .2s ease;
		-o-transition: all .2s ease;
		transition: all .2s ease;
}





#copyright a:hover
{
	color: white;
}









}


/* ============================================================================================================================= */
/* ======== HORNI MENU MOBILE  ======= */
/* ============================================================================================================================= */

@media only screen and (min-width:320px) and (max-width:1023px) {

	#hornimenu-box
	{
		min-width: 320px;
		width: 100%;
		height: 54px;
		margin: 0 auto;
		position: relative;
		z-index: 9999999;
	}


	#logo
	{
		width: 70px;
		height: 44px;
		float: left;
		position: relative;
		margin: 5px 0 0 12px;
		background-image: url("../grafika/logo/logo.svg");
		background-repeat: no-repeat;
		background-position: left center;
		background-size: auto 44px;
		-webkit-transition: all .2s ease;
		-moz-transition: all .2s ease;
		-ms-transition: all .2s ease;
		-o-transition: all .2s ease;
		transition: all .2s ease;
	}





	nav[role="hornimenu"]
	{
		position: fixed;
    	top: 0;
		left: 0;
		right: 0;
		bottom: 100%;
		height: 100%;
		display: none;
		opacity: 0;
		background: #8F7865;
		-webkit-backdrop-filter: saturate(180%) blur(24px);
		backdrop-filter: saturate(180%) blur(24px);
		transition: background 10.35s linear, height 0.35s ease-in 200ms;
	}
  
  
	nav[role="hornimenu"] ul > li
	{
    	height: 44px;
    	position: relative;
    	text-align: left;
    	margin: 0;
    	padding: 0;
    	list-style-type: none;
    	color: white;
		text-transform: uppercase;
		font-weight: 600;
		font-style: bold;
		letter-spacing: 1px;    	
    	border-bottom: 1px solid rgba(255,255,255,0.15);
    	opacity: 0;
  		transition-duration: .3s;
		transition-timing-function: ease-in-out;
        transition-property: box-shadow, color, opacity, padding-left;
  	}


	nav[role="hornimenu"] ul > li:last-of-type
	{
		border-bottom: 0px solid transparent;
	}


	nav[role="hornimenu"] ul
	{
    	margin: 48px;
    	padding: 0;
    	z-index: 999999;
	}

  
	nav[role="hornimenu"] ul > li a
	{
    	color: white;
    	text-decoration: none;
    	font-size: 16px;
    	display: table-cell;
    	transition:color .3s ease-in-out;
    	vertical-align: middle;
    	width: 100%;
    	left: 0;
    	right: 0;
    	position: absolute;
    }
  
    
	nav[role="hornimenu"] ul > li a:hover
	{
  		color: #FCF0D6;
  	}


	label
	{
		display: block;
		z-index: 999999999;
	}


	label:after
	{
		position: absolute;
		right: 12px;
		width: 24px;
    	top: 21px;
    	height: 2px;
    	content: "";
		background-color: white;

    	-webkit-transition: all .5s ease-in-out;
    	-moz-transition: all .5s ease-in-out;
    	-ms-transition: all .5s ease-in-out;
    	-o-transition: all .5s ease-in-out;
    	transition: all .5s ease-in-out;	
	}


	label:before
	{
    	position: absolute;
    	right: 12px;
    	width: 24px;
    	top: 31px;
    	height: 2px;
    	content: "";
		background-color: white;

    	-webkit-transition: all .5s ease-in-out;
    	-moz-transition: all .5s ease-in-out;
    	-ms-transition: all .5s ease-in-out;
    	-o-transition: all .5s ease-in-out;
    	transition: all .5s ease-in-out;	
	}


	label:hover,
	input:checked ~ label
	{
    	color: #000;
  	}


	input:checked ~ label:after
	{
		position: fixed;
		right: 12px;
		top: 26px;
		height: 2px;
		width: 24px;
		content: "";
		background-color: white;
		transform: rotate(-225deg);
		-webkit-transition: all .5s ease-in-out;
		-moz-transition: all .5s ease-in-out;
		-ms-transition: all .5s ease-in-out;
		-o-transition: all .5s ease-in-out;
		transition: all .5s ease-in-out;
	}


	input:checked ~ label:before
	{
		position: fixed;
		right: 12px;
		top: 26px;
		height: 2px;
		width: 24px;
		content: "";
		background-color: white;
		transform: rotate(225deg);
		-webkit-transition: all .5s ease-in-out;
		-moz-transition: all .5s ease-in-out;
		-ms-transition: all .5s ease-in-out;
		-o-transition: all .5s ease-in-out;
		transition: all .5s ease-in-out;
	}

	@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio : 3) {

		@media screen and (orientation: landscape) {

			input:checked ~ label:after
			{
				position: fixed;
				right: 56px;
				top: 26px;
				height: 2px;
				width: 24px;
				content: "";
				background-color: white;
				transform: rotate(-225deg);
				-webkit-transition: all .5s ease-in-out;
				-moz-transition: all .5s ease-in-out;
				-ms-transition: all .5s ease-in-out;
				-o-transition: all .5s ease-in-out;
			transition: all .5s ease-in-out;
			}


			input:checked ~ label:before
			{
				position: fixed;
				right: 56px;
				top: 26px;
				height: 2px;
				width: 24px;
				content: "";
				background-color: white;
				transform: rotate(225deg);
				-webkit-transition: all .5s ease-in-out;
				-moz-transition: all .5s ease-in-out;
				-ms-transition: all .5s ease-in-out;
				-o-transition: all .5s ease-in-out;
				transition: all .5s ease-in-out;
			}
		}
	}


	input:checked ~ nav[role="hornimenu"]
	{
		display: block;
		opacity: 1;
		bottom: 0;
		padding: 36px;
		-webkit-transition: all 3.5s ease-in-out;
    	-moz-transition: all 3.5s ease-in-out;
    	-ms-transition: all 3.5s ease-in-out;
    	-o-transition: all 3.5s ease-in-out;
    	transition: all 3.5s ease-in-out;	
	}


	input:checked ~ nav[role="hornimenu"] ul > li
	{
		line-height: 44px;
		opacity: 1;
	}
	
	
	input:checked ~ nav[role="hornimenu"] ul > li:hover
	{
		color: #FCF0D6;
	}


	/* stisknuta aktualni stranka */
	#home ul li#hm-hlavni a,
	#onas ul li#hm-onas a,
	#nabidka ul li#hm-nabidka a,
	#nabidka ul li#hm-nabidka a,
	#obchodnipodminky ul li#hm-nabidka a,
	#kontakt ul li#hm-kontaktm a
	{ 
		color: #FCF0D6 !important;
	}

	li#hm-kontakt
	{
		display: none;
	}

	li#hm-kontaktm
	{
		display: block;
	}
	
/* ============================================================================================================================= */
/* ======== PATICKA  ======= */
/* ============================================================================================================================= */

footer 
{
	width: 100%;
	min-width: 320px;
	position: relative;
	margin: 0 auto;
	z-index: 20000;
	overflow: hidden;	
	display: block;
	clear: both;	
}


/*body#home footer 
{
	width: 100%;
	min-width: 320px;
	position: absolute;
	margin: 0 auto;
	z-index: 20000;
	overflow: hidden;	
	display: block;
	clear: both;	
	bottom: 0;
}
*/



/* ==== copyright === */
#copyright
{
	line-height: 15px;
	position: relative;
	margin: 0 auto;
	padding: 15px 10px;
	text-align: center;
	font-size: 9px;
	font-weight: normal;
	color: white;
		-webkit-transition: all .2s ease;
		-moz-transition: all .2s ease;
		-ms-transition: all .2s ease;
		-o-transition: all .2s ease;
		transition: all .2s ease;
}


#copyright a
{
	color: white;
	text-decoration: none;
		-webkit-transition: all .2s ease;
		-moz-transition: all .2s ease;
		-ms-transition: all .2s ease;
		-o-transition: all .2s ease;
		transition: all .2s ease;
}


#copyright a:hover
{
	color: white;
}






}










/* ============================================================================================================================= */
/* ===== PODMENU ===== */
/* ============================================================================================================================= */

@media screen and (max-width: 1023px) {

	#podmenu-container
	{
		width: 100%;
		position: relative;
		margin: 15px auto 25px auto;
		display: table;
	}


	#podmenu-menu-box
	{
		position: relative;
		margin: 0 auto;
		display: table;
	}


	/* nastaveni polozek */
	#podmenu-menu-box #podmenu-menu			{ margin: 0 auto; padding: 0; }
	#podmenu-menu-box #podmenu-menu li 		{ display: inline; text-align: center; }
	#podmenu-menu-box #podmenu-menu li a 
	{
		font-size: 14px;
		text-decoration: none;
		font-weight: 600;
		color: #8F7865;
		margin: 0 10px;
		padding: 0 0 5px 0;
		line-height: 30px;

		-webkit-transition: all .2s ease;
		-moz-transition: all .2s ease;
		-ms-transition: all .2s ease;
 		-o-transition: all .2s ease;
 		transition: all .2s ease;
	}


	#podmenu-menu-box #podmenu-menu a:hover
	{ 
		text-decoration: none;
		color: #8F7865;
		border-bottom: 1px solid #8F7865;
	}



	/* zvyrazněná polozka, kdyz jsou aktivni */
	#nabidka #podmenu-menu-box #podmenu-menu li#n-nabidka a,
	#obchodnipodminky #podmenu-menu-box #podmenu-menu li#n-obchodnipodminky a,
	#cenik #podmenu-menu-box #podmenu-menu li#n-cenik a
	{
		color: #8F7865 !important;
		border-bottom: 1px solid #8F7865 !important;
	}


	/* zvyraznění se polozka po kliknuti */
	#nabika #podmenu-menu-box #podmenu-menu li#n-nabidka a:active,
	#nabika #podmenu-menu-box #podmenu-menu li#n-obchodnipodminky a:active,
	#nabika #podmenu-menu-box #podmenu-menu li#n-cenik a:active
	{
		color: #8F7865 !important;
		border-bottom: 1px solid #8F7865 !important;
	}

}




@media screen and (min-width: 1024px) {

	#podmenu-container
	{
		width: 100%;
		position: relative;
		margin: 25px auto 0 auto;
		display: table;
	}


	#podmenu-menu-box
	{
		position: relative;
		margin: 0 auto;
		display: table;
	}


	/* nastaveni polozek */
	#podmenu-menu-box #podmenu-menu			{ margin: 0 auto; padding: 0; }
	#podmenu-menu-box #podmenu-menu li 		{ display: inline; text-align: center; }
	#podmenu-menu-box #podmenu-menu li a 
	{
		font-size: 16px;
		text-decoration: none;
		font-weight: 600;
		color: #8F7865;
		margin: 0 25px;
		padding: 0 0 5px 0;
		line-height: 40px;

		-webkit-transition: all .2s ease;
		-moz-transition: all .2s ease;
		-ms-transition: all .2s ease;
 		-o-transition: all .2s ease;
 		transition: all .2s ease;
	}


	#podmenu-menu-box #podmenu-menu a:hover
	{ 
		text-decoration: none;
		color: #8F7865;
		border-bottom: 1px solid #8F7865;
	}



	/* zvyrazněná polozka, kdyz jsou aktivni */
	#nabidka #podmenu-menu-box #podmenu-menu li#n-nabidka a,
	#obchodnipodminky #podmenu-menu-box #podmenu-menu li#n-obchodnipodminky a,
	#cenik #podmenu-menu-box #podmenu-menu li#n-cenik a
	{
		color: #8F7865 !important;
		border-bottom: 1px solid #8F7865 !important;
	}


	/* zvyraznění se polozka po kliknuti */
	#nabika #podmenu-menu-box #podmenu-menu li#n-nabidka a:active,
	#nabika #podmenu-menu-box #podmenu-menu li#n-obchodnipodminky a:active,
	#nabika #podmenu-menu-box #podmenu-menu li#n-cenik a:active
	{
		color: #8F7865 !important;
		border-bottom: 1px solid #8F7865 !important;
	}

}







