#header {
	position: relative;
	width: 100%;
	padding: 1em 0 1em 0;
	background-color: white;
}

#header a {
	font-size: 1.25em;
	color: black;
}

#header a:hover {
	text-decoration: none;
}

/* Logo & Slogan */

#header .logo-wrapper {
}

#header .logo {
	width: 100%;
	height: 3em;
	cursor: pointer;
	text-align: center;
}

#header .logo img {
	max-width: 100%;
	max-height: 100%;
}

#header .logo .item {
	position: relative;
	top: -12%;
	font-size: 0.75em;
}

/* Main menu */

#header .main-menu {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-webkit-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-justify-content: space-around;
	-ms-flex-pack: distribute;
	justify-content: space-around;
	-webkit-align-content: center;
	-ms-flex-line-pack: center;
	align-content: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}

#header .main-menu .item {
	white-space: nowrap;
	padding: 0.5em;
}

/* Contacts */

#header .contacts {
	text-align: center;
}

#header .contacts .phone {
	margin-bottom: 0.5em;
	font-size: 1.25em;
}

#header .contacts .address {
	text-align: center;
}

#header .contacts .address img {
	height: 2em;
	vertical-align: middle;
}

/* Responsive CSS */

@media (min-width: 0) and (max-width: 800px) {
	#header .logo-wrapper {
		width: 95%;
	}
	#header .main-menu {
		width: 95%;
	}
	#header .contacts {
		width: 95%;
	}
}

@media (min-width: 801px) and (max-width: 1400px) {
	#header .logo-wrapper {
		width: 95%;
	}
	#header .main-menu {
		width: 95%;
	}
	#header .contacts {
		width: 95%;
	}
}

@media (min-width: 1401px) {
	#header {
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
		-webkit-flex-wrap: nowrap;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-justify-content: space-around;
		-ms-flex-pack: distribute;
		justify-content: space-around;
		-webkit-align-content: center;
		-ms-flex-line-pack: center;
		align-content: center;
		-webkit-align-items: center;
		-ms-flex-align: center;
		align-items: center;
	}

	#header .logo-wrapper {
		width: 35%;
	}
	#header .main-menu {
		width: 35%;
	}
	#header .contacts {
		width: 35%;
	}
}
