.header {
	box-shadow: 0px 3px 5px rgba(51,51,51,0.4);
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 9999;
}

.header-top { 
	background: #1E3A4C;
	transition: height 0.1s linear;
	padding: 1em 0;
}

.header.crush .header-top .logo {
	display: block;
	margin: 0 auto;
	height: 80px;
	width: auto;
}

.header-top .row {
	position: relative;
}

.header-top .row > div {
	position: static;
}

.header-top .row > div .navbar-nav {
	left: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.header-top .row > div .navbar-nav.pull-right {
	left: auto;
	right: 15px;
}

.header-top .row > div .navbar-nav a {
	color: #fff;
	font-size: 2em;
	margin-left: 0.5em;
}

.header-bottom .navbar-default {
	border: none;
}



.header-bottom .navbar-nav li:nth-child(1) > a { color: #1E3A4C; }
.header-bottom .navbar-nav li:nth-child(2) > a { color: #B4611E; }
.header-bottom .navbar-nav li:nth-child(3) > a { color: #518328; }
.header-bottom .navbar-nav li:nth-child(4) > a { color: #711573; }
.header-bottom .navbar-nav li:nth-child(5) > a { color: #27856E; }

.header-bottom .navbar-nav li > a:hover,
.header-bottom .navbar-nav li.active > a,
.header-bottom .navbar-nav li.active > a:hover,
.header-bottom .navbar-nav li.current-page-ancestor > a,
.header-bottom .navbar-nav li.current-page-ancestor > a:hover  { color: #fff; }


.header-bottom .navbar-nav li:nth-child(1) > a:hover,
.header-bottom .navbar-nav li:nth-child(1).active > a,
.header-bottom .navbar-nav li:nth-child(1).current-page-ancestor > a { background-color: #1E3A4C; }

.header-bottom .navbar-nav li:nth-child(2) > a:hover,
.header-bottom .navbar-nav li:nth-child(2).active > a,
.header-bottom .navbar-nav li:nth-child(2).current-page-ancestor > a { background-color: #B4611E; }

.header-bottom .navbar-nav li:nth-child(3) > a:hover,
.header-bottom .navbar-nav li:nth-child(3).active > a,
.header-bottom .navbar-nav li:nth-child(3).current-page-ancestor > a { background-color: #518328; }

.header-bottom .navbar-nav li:nth-child(4) > a:hover,
.header-bottom .navbar-nav li:nth-child(4).active > a,
.header-bottom .navbar-nav li:nth-child(4).current-page-ancestor > a { background-color: #711573; }

.header-bottom .navbar-nav li:nth-child(5) > a:hover,
.header-bottom .navbar-nav li:nth-child(5).active > a,
.header-bottom .navbar-nav li:nth-child(5).current-page-ancestor > a { background-color: #27856E; }


.header-top .row > div .navbar-nav a:hover {
	opacity: 0.6;
}

.header-bottom .navbar-default {
	background: #fff;
	margin-bottom: 0;
}

.header-bottom .navbar-nav {
	width: 100%;
}

.header-bottom .navbar-nav li {
	width: 20%;
}

.header-bottom .navbar-nav li a {
	font-family: 'Dosis', sans-serif;
	font-size: 1.1em;
	font-weight: 700;
	text-align: center;
	text-transform: uppercase;
}

#menu-main li a {
	position: relative;
}

#menu-main li a:before {
	background-size: cover;
	content: "";
	display: block;
	height: 40px;
	left: 5px;
	margin-top: -20px;
	position: absolute;
	top: 50%;
	width: 40px;
}

/*
#menu-main li.menu-item-21 a:before { background-image: url('../img/icons/icon-about.png'); }
#menu-main li.menu-item-20 a:before { background-image: url('../img/icons/icon-business.png'); }
#menu-main li.menu-item-19 a:before { background-image: url('../img/icons/icon-site.png'); }
#menu-main li.menu-item-18 a:before { background-image: url('../img/icons/icon-resources.png'); }
#menu-main li.menu-item-17 a:before { background-image: url('../img/icons/icon-location.png'); }
*/

@media (max-width: 1199px){
	#menu-main li a:before {
		display: none;
	}
	
	.slideshow-container {
		margin-top: 175px;
	}
}

@media (max-width: 991px){
	.header-top .row > div .navbar-nav a {
		font-size: 1.4em;
	}
	
	.header-bottom .navbar-nav li a {
		font-size: 0.8em;
	}
}

@media (max-width: 767px){
	.logo {
		height: 60px;
		width: auto;
	}
	
	.header-top .row > div .navbar-nav {
		left: auto;
		right: 30px;
	}
	
	.header-bottom .navbar-nav li {
		width: auto;
	}
}