/*ZAKLADY*/

html{
	margin: 0 auto;
	margin-top: 10px;
	background-image: url("../pics/bg.jpg");
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}

body{
	width: 80%;
	margin: 0 auto;
}

img.bg{
	position: fixed;
	height: 100%;
	opacity: 0.5;
	margin: 0 auto;
}

article{
	background-color: rgba(255, 255, 255, 0.7);
}





/*HEADER*/

header{
	position: fixed;
	display: block;
	background-color: #000;
	width: 80%;
	height: 50px;
	z-index: 2;
}

img.logo{
	border: solid 5px #000;
	height: 16%;
	width: 33%;
	min-height: 40px;
	min-width: 80px;
	max-height: 100%;
}

div.logo{
	position: absolute;
	top: 0px;
	width: 33%;
	max-width: 500px;
}

div.menu{
	margin-top: -16px;
	margin-bottom: -66px;
	text-align: right;
}

div.menu li{
	display: inline;
}

div.menu button{
	background-color: #000;
	border: 1px #fff solid;
	color: #fff;
	height: 50px;
	width: 15%;
	font-size: 100%;
	font-family: "Comic Sans MS", cursive, sans-serif;
}

button#problemovy{
	position: relative;
	top: -12px;
}

div#dropdownMenu{
	text-align: right;
	display: none;
	position: relative;
	top: 38px;
	right: 0px;
}

div#dropdownMenu button{
	margin-top: 4px;
	background-color: #000;
	border: 1px #fff solid;
	height: 50px;
	width: 15%;
	color: #fff;
	font-size: 100%;
	font-family: "Comic Sans MS", cursive, sans-serif;
}

div.menu button:hover,
div#dropdownMenu button:hover{
	background-color: #fff;
	border: 1px #fff solid;
	color: #000;
	font-family: "Comic Sans MS", cursive, sans-serif;
	cursor: pointer;
}

/*MENU MOBIL*/

div#mobileMenuIcon{
	height: 50px;
	width: 50px;
	display: none;
	padding-top: 1px;
	position: absolute;
	top: 0;
	right: 0;
}

div#mobileMenuIcon:hover{
	cursor: pointer;
}

div.hamburger{
	background-color: #fff;
	height: 7px;
	width: 40px;
	margin-top: 7px;
	border-radius: 7px;
}

div#mobileMenu{
	display: none;
	margin-left: 50%;
	position: relative;
	top: -40px;	
}

div#mobileMenu ul{
	padding: 0;
}

div#mobileMenu button{
	height: 50px;
	width: 100%;
	color: #fff;
	border: none;
	font-family: "Comic Sans MS", cursive, sans-serif;
	font-size: 15px;
	text-align: left;
}

div#mobileMenu button:hover{
	background-color: #aaa;
	color: #000;
	cursor: pointer;
}

button.neparne{
	background-color: #444;
}

button.parne{
	background-color: #222;
}





/*BODY*/

div#topspace,
div#firstspace,
div#secondspace{
	display: block;
	height: 100px;
}

main{
	margin-top: 50px;
}





/*O NAS*/

article.about{
	padding-bottom: 3%;
}

h1.about,
h1.cooperation,
h1.contact{
	border-top: 3px solid #000;
	margin-top: 0px;
	margin-bottom: 0px;
	text-align: center;
	font-family: "Comic Sans MS", cursive, sans-serif;
	font-size: 46px;
}

p.about{
	margin-top: 10px;
	padding-right: 25px;
	padding-left: 25px;
	text-align: center;
	font-size: 30px;
	font-family: "Comic Sans MS", cursive, sans-serif;
}





/*SPOLUPRACA*/

article.cooperation{
	text-align: center;
	padding-bottom: 3%;
}

div#lavyStlpec,
div#pravyStlpec{
	position: relative;
	transform: translate(0%, 0%);
	text-align: center;
	margin-top: 50px;
	display: inline-block;
	width: 49.75%;
	min-width: 400px;
}

article.cooperation a{
	color: #00f;
	font-size: 20px;
}

article.cooperation a:hover{
	color: #a0a;
}

div.cooperation{
	margin-top: 10px;
	text-align: center;
}

div#c2{
	margin-top: 50px;
}

div#c4{
	margin-top: 50px;
}





/*KONTAKT*/

article.contact{
	padding-bottom: 15px;
}

article.contact h2{
	margin-top: 20px;
	margin-bottom: 20px;
}

div.contact{
	text-align: center;
	display: inline-block;
	width: 100%;
	height: 100%;
}

div#boss,
div#dispatching{
	margin-top: 50px;
}

div#udaje{
	margin-top: -50px;
	display: inline-block;
	text-align: center;
	width: 49.75%;
}

div#info{
	margin-top: 50px;
	width: 49.75%;
	transform: translate(-0px, -35px);
	display: inline-block;
	text-align: center;
}

div#info h2{
	margin-top: 0px;
}

a.mail{
	color: #00f !important;
	font-size: 20px;
}

a.mail:hover{
	color: #a0a !important;
}

a.mobil{
	color: #000 !important;
	display: block;
	margin-top: 20px;
	font-size: 15px;
}

a.mobil:hover{
	color: #a0a !important;
}

h3{
	margin-top: 50px;
	text-align: center;
}





/*MAPA*/
iframe.map{
	height: 100%;
	width: 100%;
	text-align: center;
}

div.map{
	text-align: center;
	display: block;
	margin: 0 auto;
	border: 5px solid #000;
	width: 70%;
	height: 250px;
}






/*FOOTER*/

footer{
	color: #fff;
	display: block;
	width: 100%;
	height: 100px;
	background-color: rgba(0, 0, 0, 0.5);
}

div.footercontent{
	margin-top: 20px;
	display: block;
	height: 75px;
}

div.contact a{
	color: #fff;
}

div.copyright{
	display: block;
	height: 25px;
	border-top: 1px #fff solid;
}

p.copyright{
	display: inline;
	margin-top: 2px;
	margin-left: 25px;
}

p#rok,
p#mttCopyright{
	margin-left: 0px;
}





/*MEDIA QUERY*/

@media only screen and (min-width: 1370px) {
	button#problemovy{
		top: 0px;
	}

	div#dropdownMenu{
		top: 50px;
	}
}

@media only screen and (max-width: 1045px) {
	li a{
		font-size: 12px;
	}

	button#problemovy{
		font-size: 12px;
		position: relative;
		top: -8px;
	}

	div.logo{
		position: absolute;
		top: 0px;
	}

	div#dropdownMenu{
		top: 42px;
	}
}

/*@media only screen and (max-width: 821px) {
	div.logo{
		position: relative;
		top: -8px;
	}
}*/

@media only screen and (max-width: 650px) {
    html{
    	overflow-x: hidden;
    }

    html{
    	margin-top: 0px;
    }

    body{
        width: 100%;
        position: absolute;
    }

    header{
    	width: 100%;
    }

    div.logo{
    	position: relative;
    	top: 0;
    }

    div.menu{
    	display: none;
    }

    div#mobileMenuIcon{
    	display: initial;
    }

    h1.about,
	h1.cooperation,
	h1.contact{
		font-size: 32px;
	}

	p.about{
		font-size: 24px;
	}

	div#topspace{
		height: 50px;
	}

	div#firstspace,
	div#secondspace{
		height: 50px;
	}

	div#lavyStlpec h2,
	div#pravyStlpec h2{
		font-size: 18px;
	}

	div#lavyStlpec div,
	div#pravyStlpec div{
		margin: 0 auto;
	}

	div.cooperation a{
		font-size: 12px;
	}

	div.cooperation{
		text-align: center;
		margin-left: 0px;
	}

	div#pravyStlpec{
		margin-top: 15px;
	}

	div#lavyStlpec,
	div#pravyStlpec{
		min-width: 0px;
		width: 50%;
	}

	div#dispatching{
		margin-top: 15px;
	}

	div#udaje{
		margin-bottom: 25px;
	}

	div.map{
		border: none;
		width: 100%;
	}
}





/*GALERIA*/

article.galeria{
	margin-bottom: 4%;
}

img.obrazok{
	width: 96%;
	position: relative;
	margin-left: 2%;
	margin-top: 2%;
	padding-bottom: 1%;
}