

/* ===================================================================
 *  09. header styles - (_layout.scss)
 *
 * ------------------------------------------------------------------- */
header {
	width: 100%;
	background: #fff;
	background-size: 46px 29px;
	/*height: 130px;*/
	border-bottom: 1px solid #E5E5E5;	
}

header .header-content {
	width: 100%;
	max-width: 1170px;	
	margin:0 auto;
	background:#fff;
	position: relative;
	top: 10px;
	left: 0;
	right: 0;
	z-index:3;	
}

header a {
	border: none;
}


.short-header{
 position:relative;
}


.headertop{
	position:absolute; 
	top:0px; 
	left:0; 
	right:0; 
	width:100%; 
	height:100px; 
	background:#fff; 
	border-bottom:1px solid #ebebeb;
	z-index:3;
}



@media only screen and (max-width:400px) {
	header {
		height: 118px;
	}

}

/* ------------------------------------------------------------------- 
 * header logo - (_layout.css) 
 * ------------------------------------------------------------------- */
header .logo {
	position: absolute;
	left: 20px;
	top: 0px;
	z-index: 601;
	padding:0;
}

header .logo a {
	display: block;
	margin: 0;
	padding: 0;
	outline: 0;
	border: none;
	width: 180px;
	height: 78px;
	background: url("../images/logo.png") no-repeat center;
	background-size: 180px 45px;
	font: 0/0 a;
	text-shadow: none;
	color: transparent;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	-webkit-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}

/* responsive:
 * header logo
 * ------------------------------------------------------------------- */
@media only screen and (max-width:767px) {
	header .logo {
		left: 25px;
	}

}

@media only screen and (max-width:600px) {
	header{
		height:120px;
	}
	header .logo {
		left:15px;
		top:20px;
	}

	header .logo a {
		width: 120px;
		height: 32px;
		background-size: 120px 32px;
	}

}

@media only screen and (max-width:400px) {
	header .logo {
		left:15px;
		top:20px;
	}

	header .logo a {
		width: 120px;
		height: 32px;
		background-size: 120px 32px;
	}

}

/* ------------------------------------------------------------------- 
 * navigation - (_layout.css) 
 * ------------------------------------------------------------------- */
.triggers {
	position: absolute;
	right: 35px;
	top: 18px;
}

.triggers .search-trigger {
	display: inline-block;
	font-size: 17px;
	color: #000000;
}

.triggers .menu-toggle {
	display: none;
}

/* responsive:
 * triggers
 * ------------------------------------------------------------------- */
@media only screen and (max-width:768px) {
	.triggers {
		right: 40px;
		top: 12px;
	}

}

@media only screen and (max-width:600px) {
	.triggers {
		right: 30px;
	}

}

@media only screen and (max-width:400px) {
	.triggers {
		right: 20px;
	}

}

/* ------------------------------------------------------------------- 
 * main navigation - (_layout.css) 
 * ------------------------------------------------------------------- */
#main-nav-wrap {
	position:relative;
	display: table;
	float: right;
	padding-right: 50px;
	/*font-family: "montserrat-regular", sans-serif;*/
	font-size: 15px;
	height: 78px;
	padding:0;
}

.main-navigation {
	display: table-cell;
	vertical-align: middle;
	list-style: none;
}

.main-navigation li {
	display: inline-block;
	padding: 0 15px 0 30px;
	cursor:pointer
}


.main-navigation li:last-child {
	margin-right: 0;
}

.main-navigation li a {
	display: block;
	padding-bottom: 9px;
	color: #000;
	border: none;
	height:79px;
	line-height:79px;
	padding:0 15px;
}


.main-navigation li a:hover {
	color: #000;
}

.main-navigation li > a {
	border-bottom: 2px solid transparent;
}

.main-navigation li.has-children > a:hover {
	border-bottom: 2px solid #333;
}

.main-navigation li.current > a {
	border-bottom: 2px solid #151515;
	color: #000000;	
}

.main-navigation ul.sub-menu {
	position: absolute;
	top: 60px;
	margin: 0 0 0 -5px;
	padding:20px 0 0 0;	
	font-size: 11px;
	z-index: 500;
	display: none;	
	background:#fff;
	border-radius:5px;
	border:0px solid #fafafa;
	box-shadow: 0px 0px 0px 0px #ebebeb;
}


.main-navigation ul ul {
	position: absolute;
	top: 0;
	left: 100%;
	left: calc(100% + 1px);
	border-radius: 0 3px 3px 3px;
}

.main-navigation ul li {
	display: block;
	padding: 0;
	margin: 0;
	
}

.main-navigation ul li:last-child {
	border: none;
}

.main-navigation ul li a {
	height:45px;
	white-space: nowrap;
	padding:0 20px 0 20px;
	/*font-family: "muli-regular", sans-serif;*/
	font-size: 14px;
	line-height:20px;
	display: block;
	color: #000;
}


.main-navigation ul li a:hover {
	color: #000000;
}



/* -------------------------------------------------------------------
 * main navigation - mobile view
 * ------------------------------------------------------------------- */
@media only screen and (max-width:767px) {
	.triggers {
		z-index: 601;
	}

	.triggers .menu-toggle {
		display: block;
		width: 40px;
		height: 40px;
		position: absolute;
		top: 50%;
		right: 0;
	}

	.triggers .search-trigger {
		position: absolute;
		top: 50%;
		right: 45px;
		font-size: 21px;
		margin-top: 5px;
		display: block;
		height: 3rem;
		line-height: 3rem;
		width: 2.6rem;
		text-align: left;
	}

	#main-nav-wrap {
		display: block;
		width: 100%;
		float: none;
		position: absolute;
		margin: 0;
		padding: 0;
		top: -24px;
		right: 0;
		z-index: 600;
		background:#fff;
	}

	.menu-toggle span {
		display: block;
		width: 24px;
		height: 3px;
		margin-top: -1.5px;
		position: absolute;
		right: 8px;
		top: 50%;
		bottom: auto;
		left: auto;
		background-color: black;
		-moz-transition: background 0.2s ease-in-out;
		-o-transition: background 0.2s ease-in-out;
		-webkit-transition: background 0.2s ease-in-out;
		-ms-transition: background 0.2s ease-in-out;
		transition: background 0.2s ease-in-out;
		font: 0/0 a;
		text-shadow: none;
		color: transparent;
	}

	.menu-toggle span::before,
	.menu-toggle span::after {
		content: '';
		width: 100%;
		height: 100%;
		position: absolute;
		background-color: inherit;
		left: 0;
		-moz-transition-duration: 0.2s, 0.2s;
		-o-transition-duration: 0.2s, 0.2s;
		-webkit-transition-duration: 0.2s, 0.2s;
		-ms-transition-duration: 0.2s, 0.2s;
		transition-duration: 0.2s, 0.2s;
		-moz-transition-delay: 0.2s, 0s;
		-o-transition-delay: 0.2s, 0s;
		-webkit-transition-delay: 0.2s, 0s;
		-ms-transition-delay: 0.2s, 0s;
		transition-delay: 0.2s, 0s;
	}

	.menu-toggle span::before {
		top: -8px;
		-moz-transition-property: top, transform;
		-o-transition-property: top, transform;
		-webkit-transition-property: top, transform;
		-ms-transition-property: top, transform;
		transition-property: top, transform;
	}

	.menu-toggle span::after {
		bottom: -8px;
		-moz-transition-property: bottom, transform;
		-o-transition-property: bottom, transform;
		-webkit-transition-property: bottom, transform;
		-ms-transition-property: bottom, transform;
		transition-property: bottom, transform;
	}

	.menu-toggle.is-clicked span {
		background-color: transparent;
	}

	.menu-toggle.is-clicked span::before,
	.menu-toggle.is-clicked span::after {
		background-color: black;
		-moz-transition-delay: 0s, 0.2s;
		-o-transition-delay: 0s, 0.2s;
		-webkit-transition-delay: 0s, 0.2s;
		-ms-transition-delay: 0s, 0.2s;
		transition-delay: 0s, 0.2s;
	}

	.menu-toggle.is-clicked span::before {
		top: 0;
		-webkit-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
	}

	.menu-toggle.is-clicked span::after {
		bottom: 0;
		-webkit-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}

	.main-navigation {
		display: none;
		background: #FFFFFF;
		padding: 112px 45px 54px 45px;
		margin: 0;
		width: 100%;
		height: auto;
		clear: both;
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.15);
	
	}


	.main-navigation li {
		float: none;
		clear: both;
	}

	.main-navigation li.has-children {
		display: block;
		text-align: left;
		margin-right: 0;
		border-bottom:1px solid #ebebeb;
		min-height: 50px;
		padding:0;
	}
	
	.main-navigation li a {
		display: block;
		width: auto;
		height:50px;
		color: #000;
		padding: 0;
		line-height: 50px;
		/*border-bottom:1px solid #ebebeb;*/
		
	}

	.main-navigation li a:hover {
		color: #000000;
		border: none;
	}

	.main-navigation li.current > a {
		color: #000000;
		border: none;
	}

	
	.main-navigation li.has-children a {
		position: relative;
		border:0;
	}

	.main-navigation li.has-children > a:after {
		content: "+";
		display: inline;
		padding-left: 10px;
		color: #000000;
		font-size: 20px;
		height: 20px;
		width: 20px;
		line-height: 20px;
		margin-top: -10px;
		position: absolute;
		left: auto;
		right: 0;
		top: 50%;
		background: none;
		-moz-transition: all 0.2s ease-in-out;
		-o-transition: all 0.2s ease-in-out;
		-webkit-transition: all 0.2s ease-in-out;
		-ms-transition: all 0.2s ease-in-out;
		transition: all 0.2s ease-in-out;
	}

	.main-navigation li.has-children:hover > a:after {
		content: "-";
	}
	.main-navigation li.has-children > a:hover {
	border-bottom: 0px solid #fff;
}

	.main-navigation li.has-children .sub-menu {
		width:auto;
		overflow:hidden;
		position: static;
		background: #FFFFFF;
		box-shadow: none;
		margin-top: -6px;
		border:0;
		left:0;
		padding:0 0 10px 20px;		
	}

	.main-navigation li.has-children ul ul {
		margin-bottom: 0;
	}

	.main-navigation li.has-children li {
		width:100%;
		border: none;
		/*padding-left: 12px;*/
		margin: 0;
		min-height: 48px;
	}

	/*.main-navigation li.has-children li a {
		padding: 18px 25px 18px 0;
	}*/

	.main-navigation li.has-children li::last-child {
		margin-bottom: 18px;
	}
	
		
	.main-navigation li.has-children .sub-menu a {
		height:48px;
		padding:0;
		line-height:48px;
		color:#2d5ac8;
    }

	.main-navigation li.has-children .sub-menu a::before{
		content:"·  ";
		font-weight:bold;
		color:#6893da;
	}

}

/* make sure the menu is visible on larger screens
 * ------------------------------------------------------------------- */
@media only screen and (min-width:769px) {
	#main-nav-wrap ul.main-navigation {
		display: table-cell !important;
	}

}



@media  (max-width: 1199px) {
	header .header-content{
		top:0;
	}

	.headertop{
		height:80px;
	}

	header .logo a{
		background-size:150px 40px;
	}
}



@media (max-width: 991px) { 

	.headertop{
		height:80px;
	}

	header .logo a{
		background-size:150px 40px;
	}
	

	.main-navigation li{
		padding:0 10px 0 10px;
	}


}



@media (max-width: 767px) {

	.top_wrapper{
		margin-top:0;
	}

	
	.headertop{
		height:70px;
	}

	header{
		height:70px;
	}
   
}

@media (max-width: 600px){
	
	header .header-content{
		top:0;
	}

	.headertop{
		height:70px;
	}

	header{
		height:70px;
	}

	header .logo a{
		background-size:120px 32px;
	}

}






