
.navHeader {
	overflow-x: visible;
}
.mobileMenuButton{
	display: none;
}
nav > ul {
	font-size: 0;
	white-space: nowrap;
}
.menuItem {
	display: inline-block;
	vertical-align: top;
	height: 60px;
	font-size: 16px;
	position: relative;
}
.menuItem.activeMenu {
	cursor: default;
	border-color: transparent;
}
nav a {
	display: block;
}
.menuItem > a {
	height: 60px;
	padding: 0 24px;
	color: #fff;
	line-height: 55px;
}
.hasSubmenu {
	z-index: 10;
}
.menuItem.hasSubmenu > a {
	padding-right: 44px; 
}
.menuItem.hasSubmenu > a:after {
	border: 5px solid transparent;
	border-top-color: #fff;
	top: 27px;
	right: 25px;
}
.submenu {
	visibility: hidden;
	width: 216px;
	border: 1px solid #d0d9dd;
	background: #fff;
	box-shadow: 0 2px 8px 0 rgba(0,0,0,.17);
	position: absolute;
	left: 0;
	white-space: normal;
	transform:	translateY(-50%) scaleY(0);	
	transition: transform .1s ease-out 0s,
				visibility 0s linear .1s;
}
.menuItem > .submenu {
	top: 100%;
}
.submenu > li > .submenu {
	left: 100%;
	top: -1px;
}
.hasSubmenu:hover > .submenu {
	visibility: visible;
	transform: translateY(0) scaleY(1);
	transition: transform .1s ease-out 0s;
}
.submenu > li + li {
	border-top: 1px solid #d0d9dd;
}
.submenu > .hasSubmenu:after {
	width: 8px;
	height: 12px;
	right: 13px;
	top: 15px;
	background: no-repeat 1px 1px;
	background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAKCAYAAACXDi8zAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFxJREFUeNpiTEtL62BgYFgNxGcZkAATEAsC8W4gNkaWYAHidCgbJOkK08kCFcSQZEHSnY5krAkTkgTIDheoQ+4xIQnuhgqmw1yFIQiTWIUuCHMVyBX3GNAAQIABAPrFEvuEX7M+AAAAAElFTkSuQmCC');
}
.submenu a {
	padding: 12px 25px 17px;
	color: #666;
	font-size: 14px;
}
.submenu a:hover {
	background: #f1f4f6;
}


@media (min-width: 981px){
	.navHeader.smallNav nav > ul {
		display: flex;
		flex-wrap: wrap;
	}
	.navHeader.smallNav .menuItem {
		display: flex;
		align-items: center;
	}
	.navHeader.smallNav .menuItem > a {
		height:auto;
		font-size: 14px;
		white-space: initial;
		line-height: 1.1em;
	}
}

@media (max-width: 980px){
	.mobileMenuButton {
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 0;
		bottom: 0;
		margin: auto 0;
		width: 36px;
		height: 36px;
		border: none;
		background: #fff;
		color: #000;
		cursor: pointer;
		font-size: 24px;
		padding: 0 0 2px;
		line-height: 1;
	}
	.mobileMenuButton:before {
		content: '';
		position: absolute;
		height: 50px;
		width: 1px;
		background-color: #d8d8d8;
		left: -15px;
		top: 0;
		bottom: 0;
		margin: auto 0;
	}
	.mobileMenuButton:hover + ul,
	nav > ul:hover {
		right: 0;
	}
	nav > ul {
		position: fixed;
		top: 0;
		bottom: 0;
		right: -100%;
		max-width: 75%;
		height: 100%;
		background-color: #2c4a64;
		transition: right .5s;
		z-index: 20;
		overflow-y: auto;
		overflow-x: hidden;
	}
	.menuItem {
		display: block;
		font-size: 14px;
	}
	.menuItem:hover{
		height: auto;
	}
	.submenu {
		position: static;
		width: 100%;
	}
	.submenu a{
		padding: 12px 15px 17px;
	}
	.menuItem > a {
		overflow: hidden;
		padding: 0 10px;
	}
	.menuItem.hasSubmenu {
		position: relative;
	}
	.menuItem.hasSubmenu > a {
		margin-right: 60px;
		padding-right: 10px;
	}
	.menuItem.hasSubmenu > a:after {
		display: none;
	}
	.menuItem.hasSubmenu:after,
	.menuItem.hasSubmenu:before {
		content: '';
		position: absolute;
	}
	.menuItem.hasSubmenu:after {
		border: 5px solid transparent;
		border-top-color: #fff;
		top: 27px;
		right: 25px;
	}
	.menuItem.hasSubmenu:before {
		width: 60px;
		height: 20px;
		top: 20px;
		right: 0;
		border-left: 1px solid #d8d8d8;
	}
}