/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

@font-face {
    font-family: 'eurosteeblaregular';
    src: url('../fonts/ee04006t-webfont.eot');
    src: url('../fonts/ee04006t-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/ee04006t-webfont.woff') format('woff'),
         url('../fonts/ee04006t-webfont.ttf') format('truetype'),
         url('../fonts/ee04006t-webfont.svg#eurosteeblaregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
	font-family: arial;
	font-size: 15px;
	line-height: 1.6;
	color: #4b4b4b;
	margin: 0;
	padding: 0;
}

p {
	font-family: Arial;
	line-height: 19px;
	text-align: center;
	font-size: 16px;
	padding-bottom: 19px;
}

header {
	width: 100%;
	height: 72px;
	background: #fff;
	padding-top: 36px;
	position: relative;
	z-index: 10;
	box-shadow: 0px 10px 20px 0px rgb(194 194 194 / 50%);
}

header nav {
	/* width: 910px; */
	width: 90%;
    height: 50px;
    margin: 0 auto;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

header nav a {
	font-size: 20.5px;
	color: #ea7026;
	text-decoration: none;
	font-family: 'eurosteeblaregular';
	/* padding: 9px 22px 16px 18px; */
	/* margin-right: 94px; */
	/* background-repeat: no-repeat; */
}

header nav a.open {
	display: none;
}

header nav a.active {
	color: #ea7026;
	text-decoration: underline;
}

header nav a.active:hover {
	text-decoration: none;
}

header nav a:hover {
	text-decoration: underline;
}

header nav .navBlock.text {
	width: 35%;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

header nav .navBlock.text.last {
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
}

header nav .navBlock.text a {
	margin: 0 30px;
	text-align: center;
}

header nav img {
	min-width: 115px;
}

/* header nav a#oprojektu {
	padding-right: 23px;
	margin-right: 0px;
} */

/* header nav a#homepage:hover {
	background-image: url('../images/menu_sapamapa.png');
	text-decoration: underline;
}

header nav a#homepage.active {
	background-image: url('../images/menu_sapamapa_active.png');
	text-decoration: underline;
}

header nav a#suroviny:hover {
	background-image: url('../images/menu_suroviny.png');
	text-decoration: underline;
}

header nav a#suroviny.active {
	background-image: url('../images/menu_suroviny_active.png');
	text-decoration: underline;
}

header nav a#doprava:hover {
	background-image: url('../images/menu_doprava.png');
	text-decoration: underline;
}

header nav a#doprava.active {
	background-image: url('../images/menu_doprava_active.png');
	text-decoration: underline;
}

header nav a#oprojektu:hover {
	background-image: url('../images/menu_oprojektu.png');
	text-decoration: underline;
}

header nav a#oprojektu.active {
	background-image: url('../images/menu_oprojektu_active.png');
	text-decoration: underline;
} */

header .facebook {
	width: 46px;
	height: 46px;
	display: block;
	background: url("../images//facebook.png") no-repeat;
	position: absolute;
	top: 25px;
	right: 30px;
}

header .facebookSmall {
	display: none;
	margin-left: 10px;
}

header .facebookSmall:hover {
	background-image: url('../images/menu_suroviny.png');
}


header .footer {
	display: none;
	position: absolute;
	top: 106px;
	background: url('../images/zub.png') repeat-x transparent;
	width: 100%;
	height: 11px;
}

header .footer.hp {
	background: url('../images/zub_hp.png') repeat-x transparent;
	height: 14px;
	display: none;
}

.mobileHeader {
	display: none;
}

#mapContainer {
	position: absolute;
	top: 108px;
	left: 0;
	right: 0;
	bottom: 0;
}

#map {
	width: 100%;
	height: 100%;
	min-height: 100%;
}

h1 {
	text-align: center;
	font-size: 35px;
	color: #ea7026;
	font-family: 'eurosteeblaregular';
	text-transform: uppercase;
	margin: 0;
	margin-top: 55px;
}

h2 {
	color: #ea7026;
	font-size: 28px;
	font-weight: bold;
	font-family: 'eurosteeblaregular';
	text-transform: uppercase;
	margin-top: 0px;
	margin-bottom: 15px;
	text-align: center;
}

#ajax-spinner {
	margin: 15px 0 0 15px;
	padding: 13px;
	background: white url('../images/spinner.gif') no-repeat 50% 50%;
	font-size: 0;
	z-index: 123456;
	display: none;
}

div.flash {
	color: black;
	background: #FFF9D7;
	border: 1px solid #E2C822;
	padding: 1em;
	margin: 1em 0;
}

a[href^="error:"] {
	background: red;
	color: white;
}

form tr, form td {
	vertical-align: top;
	font-weight: normal;
}

form .required label {
	font-weight: bold;
}

form .error {
	color: #D00;
	font-weight: bold;
}

#itemDetail {
	width: 316px;
	position: absolute;
	z-index: 5;
	display: none;
}

#itemDetail .close, #materialDetail .close {
	position: absolute;
	width: 18px;
	height: 18px;
	display: block;
	background: url("../images/detail_close.png") no-repeat;
	top: 20px;
	right: 22px;
}

#itemDetail .content {
	width: 268px;
	background: #fff;
	padding: 24px 24px 24px 24px;
	margin: 0;
}

#itemDetail .content h2 {
	margin: 0px;
	color: #ea7026;
	font-size: 18px;
	font-family: 'Arial';
	text-transform: none;
	text-align: left;
}

#itemDetail .content p {
	font-size: 13px;
	line-height: normal;
	text-align: left;
	padding-bottom: 0;
}

#itemDetail .content a.foursquare {
	display: none;
}

#itemDetail .footer {
	width: 316px;
	height: 15px;
	background: url("../images/detail_footer.png") no-repeat;
}

p.tip {
	text-align: center;
	font-size: 16px;
	margin: 0;
	margin-top: -10px;
	margin-bottom: 8px;
	line-height: 1.6;
}

p.tip span {
	color: #f76a7a;
	font-weight: bold;
}

.content {
	width: 835px;
	margin: 0 auto 80px auto;
}

.content .material {
	width: 390px;
	float: left;
	margin-right: 53px;
	margin-top: 42px;
}

.content .material.even {
	margin-right: 0;
}

.content .material h2, #materialDetail h2 {
	color: #ea7026;
	font-size: 23px;
	font-weight: bold;
	margin-top: 0px;
	margin-bottom: 15px;
	font-family: 'Arial';
	text-transform: none;
	text-align: left;
}

#materialDetail h2 {
	margin-top: -10px;
	margin-bottom: 20px;
}

.content .material h2 a {
	color: inherit;
	text-decoration: none;
}

.content .material .materialImage {
	position: relative;
	cursor: pointer;
}

.content .material .noImage {
	cursor: default;
}

.content .material .imageHover {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 7px;
	background: url("../images/zoom_bg.png") repeat;
	overflow: hidden;
}

.content .material .imageHover .zoomIcon {
	width: 46px;
	height: 46px;
	background: url("../images/icon_zoom.png") no-repeat;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-top: -23px;
	margin-left: -23px;
}

.content .material .imageHover a {
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}

.content .material .imageFooter, #materialDetail .imageFooter {
	width: 100%;
	height: 9px;
	background: url("../images/material_zub.png") repeat-x;
	position: relative;
	top: -16px;
	z-index: 1;
	/* display: none; */
}

#materialDetail .imageFooter {
	top: -9px;
}

.content .material p {
	font-size: 16px;
	margin: 0;
	margin-top: 11px;
	line-height: 19px;
	text-align: left;
}

.content .material h2 .gray, #materialDetail h2 .gray {
	color: #4b4b4b;
}

.content .boxes {
	margin: 43px auto 0 auto;
	width: 770px;
}

.content .boxes .box {
	width: 33%;
	float: left;
}

.content .boxes .box.boxtwo {
	width: 50%;
	margin-bottom: 20px;
}

.content .boxes .box h2 {
	margin: 0;
	margin-bottom: 10px;
	line-height: 1.1;
}

.content .boxes .box p {
	font-family: "Helvetica";
	margin: 0;
}

.clear {
	clear: both;
}

#noClickOverlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 5;
	display: none;
	width: 100%;
	height: 100%;
	background: url("../images/transparent.png") transparent repeat;
}

#mobileMenu {
	position: absolute;
	left: 20px;
	bottom: 20px;
	display: block;
	z-index: 6;
}

header #mobileMenu {
	position: absolute;
	left: auto;
	right: 20px;
	bottom: -70px;
	display: block;
	width: 47px;
	height: 47px;
}

#mobileMenu a {
	display: none;
	margin: 0;
	line-height: 0;
}

#mobileMenu img {
	width: 47px;
	height: 47px;
}

.mapPage #mobileMenu a.changeMap {
	display: block;
}

.content a {
	/* color: #F46C78; */
	color: #ea7026;
}


#materialDetailBg {
	z-index: 10;
	position: fixed;
	width: 100%;
	height: 100%;
	background: url('../images/overlay.png') repeat;
	top: 0;
	left: 0;
	display: none;
}

#materialDetail {
	background: #fff;
	position: absolute;
	z-index: 11;
	display: none;
	width: 514px;
	height: 823px;
	padding: 43px;
}

#materialDetail .close {
	right: 43px;
	top: 36px;
}

#materialDetail img {
	width: 100%;
	height: auto;
	margin: 0 auto;
	display: block;
}

@media only screen and (max-width: 1025px) {
	header nav {
		width: 695px;
		margin: 0 auto;
	}
	
	header nav a {
		margin-right: 25px;
	}
	
	header .facebook  {
		right: 5px;
	}
	
	header.ipad .facebook {
		top: 30px;
		right: 15px;
	}
	
	#itemDetail.ipad .content h2 {
		font-size: 22px;
	}
	
	#itemDetail.ipad .content p {
		font-size: 16px;
	}
	
	.content {
		width: 745px;
		margin: 0 auto;
	}
	
	.content .material {
		width: 365px;
		margin-right: 15px;
	}
	
	.content .material img {
		width: 100%;
		height: auto;
	}
	
	#materialDetail {
		width: 80%;
		height: 100%;
		top: 0;
		left: 0;
		position: fixed;
		margin: 0;
		padding: 0 10%;
	}
	
	#materialDetail h2 {
		width: 80%;
		margin-top: 10px;
		margin-bottom: 15px;
	}
	
	#materialDetail .close {
		top: 22px;
		right: 5px;
	}
	
	#materialDetail .imageWrapper {
		width: auto;
		height: 85%;
		position: absolute;
		left: 50%;
	}
	
	#materialDetail img {
		width: auto;
		height: 100%;
		display: block;
	}
	
	.content .boxes .box {
		width: 31%;
	}
}

@media only screen and (max-width: 750px) {
	header {
		width: 100%;
		height: 100%;
		padding: 0;
		position: fixed;
		top: 0;
		left: -100%;
		background-color: transparent;
	}

	.navWrapper .mobileHeader {
		-webkit-box-shadow: unset;
		box-shadow: unset;
	}

	.navWrapper .mobileHeader svg {
		width: 50px;
	}

	.mobileHeader {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
		    -ms-flex-pack: justify;
		        justify-content: space-between;
		background-color: #fff;
		-webkit-box-shadow: 0px 10px 20px 0px rgb(194 194 194 / 50%);
		box-shadow: 0px 10px 20px 0px rgb(194 194 194 / 50%);
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		padding: 0 1em;
		margin-bottom: 2em;
	}

	.mobileHeader .logo {
		width: 90px;
	}

	.mobileHeader svg {
		width: 60px;
	}

	.navWrapper {
		background-color: #fff;
		width: 100%;
		height: 100%;
		padding-bottom: 25%;
		overflow: hidden;
		border-right: 1px solid #E6E5E2;
	}
	
	.boxshadow .navWrapper {
		border: none;
		-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
		box-shadow:         0px 1px 3px rgba(0, 0, 0, 0.3);
	}
	
	header nav {
		width: 100%;
		height: auto;
		position: relative;
		/* top: 50%;
		left: 50%;
		
		margin-top: -7em;
		margin-left: -4.8em; */
		background-color: transparent;
		margin: 0 0;
		top: 10%;
		left: 0;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}

	header nav .navBlock {
		display: none;
	}

	header nav .navBlock.text {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
		width: 100%;
	}

	header nav .navBlock.text a {
		padding: 10px 0;
	}
	
    header nav a {
		margin: 0;
		margin-bottom: 10px;
		display: block;
		padding: 4px 22px 4px 18px;
	}
	/* 
	header nav a#homepage {
		margin-left: 5px;
	}

	header nav a#suroviny {
		margin-left: 9px;
	}

	header nav a#doprava {
		margin-left: 16px;
	}

	header nav a#homepage.active, header nav a#homepage.active:hover {
		background-image: url('../images/mob/menu_sapamapa_active.png');
	}

	header nav a#suroviny.active, header nav a#suroviny.active:hover {
		background-image: url('../images/mob/menu_suroviny_active.png');
	}

	header nav a#doprava.active, header nav a#doprava.active:hover {
		background-image: url('../images/mob/menu_doprava_active.png');
	}

	header nav a#oprojektu.active, header nav a#oprojektu.active:hover {
		background-image: url('../images/mob/menu_oprojektu_active.png');
	} */
	
	header nav a#homepage:hover {
		background-image: none;
	}

	header nav a#suroviny:hover {
		background-image: none;
	}

	header nav a#doprava:hover {
		background-image: none;
	}

	header nav a#oprojektu:hover {
		background-image: none;
	}
	
	header .facebook {
		display: none;
	}
	
	header .facebookSmall {
		display: block;
	}
	
	header .facebookSmall:hover {
		background-image: none;
	}

	header .footer {
		display: none;
	}
	
	header #mobileMenu {
		position: absolute;
		left: auto;
		right: -23%;
		bottom: 1%;
		display: block;
		width: 20%;
		height: auto;
	}
	
	header #mobileMenu img {
		width: 100%;
		height: auto;
	}
	
	header #mobileMenu a {
		display: block;
		line-height: 24px;
	}
	
	header #mobileMenu a.changeMap {
		margin-top: 10%;
		margin-left: 11%;
		display: none;
	}
	
	header #mobileMenu a.navBtn {
		margin-top: 10%;
		margin-left: 11%;
		display: none;
		position: relative;
	}
	
	header #mobileMenu #navLoading {
		width: 60%;
		position: absolute;
		top: 18%;
		left: 18%;
		display: none;
	}
	
	.mapPage #mobileMenu a.changeMap, .mapPage #mobileMenu a.navBtn {
		display: block;
	}
	
	h1 {
		margin-top: 0px;
	}
	
	#mapContainer {
		top: 80px;
		z-index: -1;
	}
	
	#itemDetail {
		position: fixed;
		width: 100%;
		z-index: 11;
		top: 0 !important;
	}
	
	#itemDetail, #itemDetail .content {
		width: auto;
	}
	
	#itemDetail, #itemDetail .content p {
		width: 100%;
	}

	#itemDetail .footer {
		display: none;
	}
	
	.content {
		width: auto;
		margin: 0 10px;
	}
	
	.content .material {
		width: auto;
		margin-right: auto !important;
		margin-left: auto;
		float: none;
		margin-top: 0;
	}
	
	.content .boxes {
		width: auto;
	}
	
	.content .boxes .box.boxtwo {
		width: 100%;
		float: none;
		margin-bottom: 30px;
	}
	
	p.tip {
		margin-bottom: 18px;
	}
	
	#materialDetail {
		width: 100%;
		padding: 0;
	}
	
	#materialDetail .close {
		right: 22px;
		top: 22px;
	}
	
	#materialDetail h2 {
		margin-left: 22px;
	}
	
	#materialDetail .imageWrapper {
		position: static;
		height: 85%
	}
	
	#materialDetail .imageWrapper.longTitle {
		height: 77%;
	}
}

@media only screen and (max-device-width: 640px) {
	
	/* header nav {
		margin-top: -8em;
		margin-left: -5.5em;
	} */
	
	header #mobileMenu {
		width: 17%;
		right: -21%;
	}
	
	header nav a {
		margin-bottom: 5px;
	}
	
}

@media only screen and (orientation: landscape) {
	#itemDetail.ipad .content h2 {
		font-size: 22px;
	}
	
	#itemDetail.ipad .content p {
		font-size: 16px;
	}
}

@media only screen and (orientation: landscape) and (max-width: 750px) {
	header {
		width: 80%;
		left: -80%;
	}
	
	header nav {
		margin-top: -7em;
	}
	
	header #mobileMenu {
		width: 11%;
		right: -14%;
	}
	
	header nav a {
		margin-bottom: 2px;
	}
	
	#materialDetail .imageWrapper {
		height: 85%;
		margin-top: -10px;
	}
}

@media only screen and (orientation: portrait) {
	#itemDetail.ipad .content h2 {
		font-size: 21px;
	}
	
	#itemDetail.ipad .content p {
		font-size: 16px;
	}
}

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}