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

input#menu
{
	position: absolute;
	display: none;
}


label#menulabel
{
	position: absolute;
	right: 5px;
	display: none;
	width: 48px;
	height: 48px;
	top: 5px;
	cursor: pointer;
	-webkit-user-select: none;
}


.hlavni #hm-kontakt,
.koupelny #hm-kontakt-koupelny,
.dvere #hm-kontakt-dvere
{
	display: block !important;
}

#hm-kontakt,
#hm-kontakt-koupelny,
#hm-kontakt-dvere
{
	display: none;
}


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

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



	#hornimenu-hlavicka-conteiner
	{
		width: 100%;
		min-width: 320px;
		height: 100px; 
		margin: 0 auto;
		position: relative;
		z-index: 10000;
		clear: both;
		background-color: #ffffff;
	}



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



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


	#hornimenu-hlavicka-odkazy-box
	{
		width: 370px;
		height: 25px;
		position: relative;
		margin: 44px 0 0 0;
		float: right;
		content: "";
		-webkit-transition: all .2s ease;
		-moz-transition: all .2s ease;
		-ms-transition: all .2s ease;
		-o-transition: all .2s ease;
		transition: all .2s ease;		
	}


	#hlavicka-fb,
	#hlavicka-mapa
	{
		width: 25px;
		height: 25px;
		position: relative;
		float: right;
		content: "";
		background-repeat: no-repeat;
		background-position: left center;
		background-size: auto 25px;
		-webkit-transition: all .2s ease;
		-moz-transition: all .2s ease;
		-ms-transition: all .2s ease;
		-o-transition: all .2s ease;
		transition: all .2s ease;
	}


	#hlavicka-fb
	{
		margin: 0 0 0 0;
		background-image: url("../grafika/ico/fb.svg");
	}


	#hlavicka-mapa
	{
		margin: 0 0 0 25px;
		background-image: url("../grafika/ico/mapa.svg");
	}


	#hornimenu-conteiner
	{
		width: 100%;
		min-width: 320px;
		height: 40px; 
		margin: 0 auto;
		position: relative;
		z-index: 10000;
		clear: both;
		background-color: #003880;		
	}


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



	nav[role="hornimenu"]
	{
		position: relative;
		margin: 0 auto;
	}


	/* nastaveni tlacitek v hornim menu */
	nav[role="hornimenu"] ul 			{ position: relative; margin: 0 auto; text-align: left; }
	nav[role="hornimenu"] ul li 		{ display: inline; list-style-type: none; }
	nav[role="hornimenu"] ul li a 	
	{
		line-height: 40px;
		color: #ffffff;     
		font-size: 15px;
		text-decoration: none;
		text-transform: uppercase;
		font-weight: 800;
		font-style: bold;
		margin: 0 0 0 0;
		padding: 0 30px 0 30px;
		position: relative;
		float: left;
		-webkit-transition: all .2s ease;
		-moz-transition: all .2s ease;
		-ms-transition: all .2s ease;
		-o-transition: all .2s ease;
		transition: all .2s ease;
	}
	

	
	/* tlacitka prejety mysi */
	nav[role="hornimenu"] ul li#hm-hlavni a:hover,
	nav[role="hornimenu"] ul li#hm-stavebniny a:hover,
	nav[role="hornimenu"] ul li#hm-koupelny a:hover,
	nav[role="hornimenu"] ul li#hm-dvere a:hover,
	nav[role="hornimenu"] ul li#hm-terasy a:hover,
	nav[role="hornimenu"] ul li#hm-kontakt a:hover,
	nav[role="hornimenu"] ul li#hm-kontakt-koupelny a:hover,
	nav[role="hornimenu"] ul li#hm-kontakt-dvere a:hover
	{
		color: #ffffff;
		background-color: #E0001B;
		text-shadow: rgba(0,0,0,0.40) 0 1px 2px;
		box-shadow: inset rgba(0,0,0,0.4) 0 0 1px;
	}



	/* stisknuta tlacitka */
	nav[role="hornimenu"] ul li#hm-stavebniny a:active,
	nav[role="hornimenu"] ul li#hm-koupelny a:active,
	nav[role="hornimenu"] ul li#hm-dvere a:active,
	nav[role="hornimenu"] ul li#hm-terasy a:active,
	nav[role="hornimenu"] ul li#hm-kontakt a:active,
	nav[role="hornimenu"] ul li#hm-kontakt-koupelny a:active,
	nav[role="hornimenu"] ul li#hm-kontakt-dvere a:active
	{ 
		color: #ffffff;
		background-color: #E0001B;
		text-shadow: rgba(0,0,0,0.40) 0 1px 2px, rgba(255,255,255,0.75) 0 1px 4px;
	}



	/* stisknuta aktualni stranka */
	#hlavni ul li#hm-hlavni a,
	#stavebniny ul li#hm-stavebniny a,
	#koupelny ul li#hm-koupelny a,
	#prodejna ul li#hm-koupelny a,
	#realizace ul li#hm-koupelny a,
	#vyprodej ul li#hm-koupelny a,
	#sortiment ul li#hm-koupelny a,
	#napsalionas ul li#hm-koupelny a,
	#navrhykoupelen ul li#hm-koupelny a,
	#e-katalog ul li#hm-koupelny a,
	#dvere ul li#hm-dvere a,
	#dvererealizace ul li#hm-dvere a,
	#dverezamereni ul li#hm-dvere a,
	#dveresortiment ul li#hm-dvere a,
	#terasy ul li#hm-terasy a,
	#kontakt ul li#hm-kontakt a,
	#kontakt-koupelny ul li#hm-kontakt-koupelny a,
	#kontakt-dvere ul li#hm-kontakt-dvere a
	{ 
		color: #ffffff !important;
		background-color: #E0001B !important;
		text-shadow: rgba(0,0,0,0.40) 0 1px 2px !important;
	}





	.hm-podmenu
	{
		display: none;
	}



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


	.hm-podmenu
	{
		display: none !important;
	}

	#hpc-koupelny,
	#hpc-dvere
	{
		display: none;
	}


	.koupelny #hpc-koupelny,
	.dvere #hpc-dvere
	{
		display: block !important;
	}


	.koupelny #hpc-koupelny .hornimenu-podmenu-conteiner,
	.dvere #hpc-dvere .hornimenu-podmenu-conteiner,
	{
		width: 100%;
		height: 36px;
		position: relative;
		margin: 0 auto;
		display: none !important;
	}


	.koupelny #hpc-koupelny .hornimenu-podmenu-conteiner,
	.dvere #hpc-dvere .hornimenu-podmenu-conteiner,
	{
		display: block !important;
	}

	.hornimenu-podmenu-box
	{
		max-width: 980px;
		width: 100%;
		height: 36px;
		position: relative;
		margin: 0 auto;
	}



	nav[role="hornimenu-podmenu"]
	{
		position: relative;
		margin: 0 auto;
	}	



	nav[role="hornimenu-podmenu"] ul 			{ position: relative; margin: 0 auto; text-align: center; }
	nav[role="hornimenu-podmenu"] ul li 		{ display: inline; list-style-type: none;}
	nav[role="hornimenu-podmenu"] ul li a 	
	{
		line-height: 36px;
		color: #003880;     
		font-size: 14px;
		text-decoration: none;
		text-transform: uppercase;
		font-weight: 600;
		font-style: bold;
		margin: 0 auto;
		padding: 8px 30px 8px 30px;
		position: relative;
		-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#hmp-vyprodej a
	{
		background-color: #FFC107 !important;
		border-radius: 3px;
	}



	/* tlacitka prejety mysi */
	nav[role="hornimenu-podmenu"] ul li#hmp-prodejna a:hover,
	nav[role="hornimenu-podmenu"] ul li#hmp-e-katalog a:hover,
	nav[role="hornimenu-podmenu"] ul li#hmp-realizace a:hover,
	nav[role="hornimenu-podmenu"] ul li#hmp-vyprodej a:hover
	{
		color: #E0001B;
	}



	/* stisknuta tlacitka */
	nav[role="hornimenu-podmenu"] ul li#hmp-prodejna a:active,
	nav[role="hornimenu-podmenu"] ul li#hmp-e-katalog a:active,
	nav[role="hornimenu-podmenu"] ul li#hmp-realizace a:active,
	nav[role="hornimenu-podmenu"] ul li#hmp-vyprodej a:active
	{ 
		color: #E0001B;
	}



	/* stisknuta aktualni stranka */
	#prodejna ul li#hmp-prodejna a,
	#e-katalog ul li#hmp-e-katalog a,
	#realizace ul li#hmp-realizace a,
	#vyprodej ul li#hmp-vyprodej a
	{ 
		color: #E0001B;
	}



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

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


	/* ==== copyright === */
	#copyright
	{
		width: 100%;
		max-width: 980px;
		line-height: 40px;
		position: relative;
		margin: 0 auto;
		text-align: left;
		font-size: 11px;
		color: #ffffff;
		font-weight: 600;
		font-style: bold;
		-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: #ffffff;
		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: #ffffff;
	}

}


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

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

	#hornimenu-box
	{
		min-width: 320px;
		width: 100%;
		height: 60px;
		margin: 0 auto;
		position: relative;
		z-index: 1;
		border-bottom: 6px solid #003880;
	}


	#hornimenu-hlavicka-conteiner
	{
		position: relative;
		margin: 0;
		float: left;
	}

	#logo
	{
		display: none;
	}

	#logo2
	{
		z-index: 2;
		display: block;
		content: "";
		width: 223px;
		height: 60px;
		float: left;
		position: relative;
		margin: 0 0 0 10px;
		background-image: url("../grafika/logo/logo.svg");
		background-repeat: no-repeat;
		background-position: left center;
		background-size: auto 60px;
		-webkit-transition: all .2s ease;
		-moz-transition: all .2s ease;
		-ms-transition: all .2s ease;
		-o-transition: all .2s ease;
		transition: all .2s ease;
	}


	#hornimenu-hlavicka-odkazy-box
	{
		display: none;
	}




	nav[role="hornimenu"]
	{
		position: fixed;
    	top: 0;
		left: 0;
		right: 0;
		bottom: 100%;
		height: 100%;
		display: none;
		opacity: 0;
		overflow: scroll;
		background: rgba(26,61,134,0.9);
		-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: #ffffff;     
		font-size: 15px;
		text-decoration: none;
		text-transform: uppercase;
		font-weight: 800;
		font-style: bold;
    	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;
  	}
	

	  span.hma
	  {
		padding: 0 24px 0 24px;
	  }

	  .hm-podmenu span.hma
	  {
		padding: 0 24px 0 36px;
	  }

	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: #ffffff;
    	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: #ffffff;
		background-color: rgba(255,255,255,0.15);
		text-shadow: rgba(0,0,0,0.40) 0 1px 2px;
		
  	}


	
	  label#menulabel
	  {
		  display: block;
		  z-index: 999999999;
	  }
  
  
  
	  label#menulabel:after
	  {
		  position: absolute;
		  right: 12px;
		  width: 24px;
		  top: 15px;
		  height: 3px;
		  content: "";
		  background-color: #003880;
		  border-radius: 2px;
		  -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;
		  transform: rotate(-180deg);
	  }
	  
	  
	  label#menulabel span
	  {
		  position: absolute;
		  right: 12px;
		  top: 23px;
		  width: 24px;
		  height: 3px;
		  content: "";
		  background-color: #003880;
		  display: block;
		  z-index: 999999999;
		  border-radius: 2px;  		    	
		  -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#menulabel:before
	  {
		width: 24px;
		position: absolute;
		right: 12px;
		top: 31px;
		height: 3px;
		content: "";
		border-radius: 2px;
		  background-color: #003880;	
		  -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#menu:checked ~ label#menulabel:after
	  {
		  position: absolute;
		  top: 23px;
		  right: 12px;
		  height: 2px;
		  width: 24px;
		  content: "";
		  transform: rotate(45deg);
		  background-color: #ffffff;
	  }
  
  
  
  
  
  
	  input#menu:checked ~ label#menulabel:before
	  {
		  position: absolute;
		  top: 23px;
		  right: 12px;
		  height: 2px;
		  width: 24px;
		  content: "";
		  transform: rotate(-225deg);
		  border-radius: 2px;	
		  background-color: #ffffff;
	  }
  
  
  
  
	input#menu:checked ~ label#menulabel span
	{
		opacity: 0;
		transform: scaleX(0);
	}
  
  
  
	  input#menu:checked ~ nav[role="hornimenu"]
	  {
		display: block;
		opacity: 1;
		bottom: 0;
		z-index: 9999999 !important;
		-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;
	  }
  
	  
  
  
  
  
	  
  
  
	  
  
  
  @keyframes pruhlednost2 {
	  from {
			height: 0;
		  opacity: 0;
	  }
	
	  to {
		  height: 100%;
		  opacity: 1;
		  -webkit-backdrop-filter: saturate(180%) blur(24px);
		  backdrop-filter: saturate(180%) blur(24px);
	  }
  }
  
  
  
  
  
  @keyframes rotace1 {
	 0% {
		  transform: rotate(0deg);  
		  animation-timing-function: cubic-bezier(0.4, 0.01, 0.165, 0.99);
		   right: 0;
		  top: 8px;
	  }
  
	  40% {
	  
		  top: 0px;
		  transform: rotate(0deg);  
	  }
	  100% {
		  transform: rotate(-45deg); 
		  right: 0;
		  top: 0;
	   }
  }
  
  
  
  @keyframes rotace1zpet {
	  0% {
		  transform: rotate(-45deg); 
		  right: 0;
		  top: 0;
	   }
	  60% {
	  
		  top: 0px;
		  transform: rotate(0deg);  
	  }
  
  
	 100% {
		  transform: rotate(0deg);  
		  animation-timing-function: cubic-bezier(0.4, 0.01, 0.165, 0.99);
		   right: 0;
		  top: 8px;
	  }
  
  }
  
  
  @keyframes rotace2 {
	  0% {
		  transform: rotate(0deg);  
		  animation-timing-function: cubic-bezier(0.4, 0.01, 0.165, 0.99);
		   right: 0;
		  top: -8px;
	  }
  
	  40% {
	  
		  top: 0px;
		  transform: rotate(0deg);  
	  }
	  
	  100% {
		  transform: rotate(45deg); 
		  right: 0;
		  top: 0;
	  }
  }
  
  
  
  @keyframes rotace2zpet {
	  100% {
		  transform: rotate(0deg);  
		  animation-timing-function: cubic-bezier(0.4, 0.01, 0.165, 0.99);
		   right: 0;
		  top: -8px;
	  }
  
	  60% {
	  
		  top: 0px;
		  transform: rotate(0deg);  
	  }
	  
	  0% {
		  transform: rotate(45deg); 
		  right: 0;
		  top: 0;
	  }
  }
  
  
  @keyframes rotace3 {
	  0% {
		  background-color: #003880;
	  }
  
	  100% {
		  background-color: transparent;
	  }
  }
  
  
  
  
  @keyframes polozky {
	  0% {
		   opacity: 0;
		   transform: scale(2);
   
		  }
	  
  
	  
  
  
	  100% {
		  opacity: 1;
		  transform: scale(1);
	  }
  }
  





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

		@media screen and (orientation: landscape) {

			input#menu:checked ~ label:after
			{
				position: fixed;
				right: 56px;
				top: 36px;
				height: 2px;
				width: 24px;
				content: "";
				background-color: #ffffff;
				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#menu:checked ~ label:before
			{
				position: fixed;
				right: 56px;
				top: 36px;
				height: 2px;
				width: 24px;
				content: "";
				background-color: #ffffff;
				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#menu:checked ~ nav[role="hornimenu"] ul > li
	{
		line-height: 44px;
		opacity: 1;
	}
	
	
	input#menu:checked ~ nav[role="hornimenu"] ul > li:hover
	{
		color: #ffffff;
	}

	


	/* stisknuta aktualni stranka */
	#hlavni ul li#hm-hlavni a,
	#stavebniny ul li#hm-stavebniny a,
	#koupelny ul li#hm-koupelny a,
	#sortiment ul li#hm-koupelny a,
	#prodejna ul li#hmp-prodejna a,
	#realizace ul li#hmp-realizace a,
	#vyprodej ul li#hmp-vyprodej a,
	#e-katalog ul li#hmp-e-katalog a,
	#dvere ul li#hm-dvere a,
	#dvererealizace ul li#hm-dvere a,
	#dverezamereni ul li#hm-dvere a,
	#dveresortiment ul li#hm-dvere a,
	#terasy ul li#hm-terasy a,
	#kontakt ul li#hm-kontakt a,
	#kontakt-koupelny ul li#hm-kontakt-koupelny a,
	#kontakt-dvere ul li#hm-kontakt-dvere a
	{ 
		color: #ffffff;
		background-color: #E0001B;
		text-shadow: rgba(0,0,0,0.40) 0 1px 2px;
		
	}


	.hornimenu-podmenu-conteiner
	{
		display: none !important;
	}




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

	footer 
	{
		width: 100%;
		position: relative;
		margin: 0 auto;
		display: table;
		background-color: #003880;
	}
	


	#copyright-box
	{
		margin: 0 10px;
	}

	/* ==== copyright === */
	#copyright
	{
		width: 100%;
		line-height: 36px;
		position: relative;
		margin: 0 auto;
		text-align: left;
		font-size: 9px;
		color: #ffffff;
		font-weight: 600;
		font-style: bold;
		-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: #ffffff;
		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: #ffffff;
	}

}


















