/*------------------------------------*\
    MENU
\*------------------------------------*/

	
header#header nav { 
	width: 100%;
	}
	

header#header nav ul {
	display: flex;
	display: -ms-flexbox;
	display: -webkit-flex;
	justify-content: flex-end;
	-webkit-justify-content: flex-end;
	-webkit-flex-flow: row wrap;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	margin: 0;
}

header#header nav ul li a {
	display: block;
}

#header-row nav ul li a,
.shiftnav-menu li.menu-item a {
	font-family: "Barlow Condensed";
    text-transform: uppercase;
	font-weight: 600;
	font-size: 1.2em;
	letter-spacing: -0.02em;
}


/* mouseover underline for top-level menu items */
#header-row nav.menu > ul > li > a:after {
	content: "";
	display: block;
	margin: auto;
	width: 0;
	height: 3px;
	background: #39DBF3;
	transition: all 0.2s !important;
}
#header-row nav.menu > ul > li:hover > a:after,
#header-row nav.menu > ul > li.current-menu-item > a:after,
#header-row nav.menu > ul > li.current-menu-parent > a:after {
	width: 100%;
}


	

/* styles for dropdown menus */
#header nav ul li.menu-item-has-children:after { 
	content: '\f105';
	font-family: FontAwesome;
	position: absolute;
	top: 0.8em;
	right: -15px;
	transition: all 0.2s;
}

#header nav ul li.menu-item-has-children { 
	position: relative;
	}
#header nav ul li.menu-item-has-children:hover:after {
	transform: rotate(90deg);
}
#header nav ul li.menu-item-has-children ul.sub-menu { height: 0; overflow: hidden; }
#header nav ul li.menu-item-has-children:hover ul.sub-menu,
#header nav ul li.menu-item-has-children ul.sub-menu:hover { 
	visibility: visible; 
	transition: ease-in-out 0.2s;
	opacity: 1;
	height: auto;
	}
#header nav ul li.menu-item-has-children ul.sub-menu { 
	position: absolute; 
	transition: ease-in-out 0.2s;
	opacity: 0;
	z-index: 999;
	display: flex;
	flex-direction: column;
	min-width: 180px;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 
				0 1px 3px rgba(0, 0, 0, 0.1) ; 
	line-height: 0.9;
	}

#header .menu > ul > li { margin: 0 20px; }
#header .menu > ul > li > a { padding: 10px 0; }

#header .menu > ul > li > ul.sub-menu > li > a {
	padding: 10px 20px;                                                                                                                                                                                                                                    
	color: #2e2e2e;
}



@media screen and (max-width: 1140px) {
	#desktop-header nav ul li a {
		font-size: 10pt;
	}
}



/* hide mobile menu & toggle button on larger displays */
@media only screen and (min-width:790px) {
	#mobileMenu,
	#mobile-header	{ display: none; }
}

/* hide the "MENU" text on mobile screens */
@media only screen and (max-width: 360px) {
	#mobile-header #toggle-button label { display: none; }
}

/* the mobile menu is Shiftnav */
@media only screen and (max-width:789px) {
	
	body {
		border-top: 56px solid #2e2e2e;
	}
	
	#header-row { display: none; }
	
	#mobile-header { 
		display: flex;
		display: -ms-flexbox;
		display: -webkit-flex;
		height: 56px;
	}
	
	#mobile-header #mobile-logo-link { display: inline; }
	#mobile-header #mobile-logo-link img { 
		padding: 6px;
		width: 100px !important;
	}
	
		
	.shiftnav ul.shiftnav-menu li.menu-item a:hover,
	.shiftnav ul.shiftnav-menu li.menu-item a:active,
	.shiftnav ul.shiftnav-menu li.menu-item a:focus {
		background: #39DBF3 !important;
	}
	
	li.shiftnav-sub-accordion > ul > li {
		font-size: 0.8em;
	}
	
	li.shiftnav-sub-accordion li::before {
		content: "";
		display: block;
		width: 15px;
		height: 15px;
		background: #2e2e2e;
		transform: rotate(45deg);
		position: absolute;
		left: -10px;
		top: 1.9em;
		z-index: 40;
	}
}