/* -------------------------------------------------------------- 
	Header
-------------------------------------------------------------- */
.nav--primary {
	font-weight: 600;
	text-transform: uppercase;
	list-style: none;
	text-align: center;
	padding: 0 0 8px;
}
.nav--primary li {
	display: inline-block;
	margin: 0 0 0 60px;
	padding: 0;
}
.nav--primary li:first-child { 
	margin-left: 0;
}
.nav--primary li {
	margin-left: calc(30px + (60 - 30) * ((100vw - 731px) / (1000 - 731)));
}
@media screen and (min-width: 1000px) {
	.nav--primary li {
		margin-left: 60px;
	}
}
@media screen and (max-width: 731px) {
	.nav--primary li {
		margin-left: 30px;
	}
}

.nav--primary a.active {
	border-bottom: 2px solid #013ca6;
	color: #013ca6;
}
.nav--primary .child-wrap {
    display: none;
}

#menu-overlay {
	display: none;
	background: #73809b;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: -1;
}


@media ( max-width : 730px) {
	header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 100;
		padding: 0;
		height: 60px;
	    box-sizing: border-box;
		border-bottom: 2px solid #ebebeb;
		background: #fff;
	}
	#secondary, 
	.homepage-masthead {
		margin-top: 60px;
	}
	header .mainWidth {
    	position: static;
	}
	header .phone-number {
		display: none;
	}
	.logo-wrapper {
		position: absolute;
	    left: 50%;
	    top: 50%;
	    -webkit-transform: translate(-50%,-50%);
	            transform: translate(-50%,-50%);
	    margin: 0;
	}
	.logo-wrapper > * {
	    width: 125px;
	    height: 44px;
	}
	.menu {
		position: fixed;
		top: 0;
		left: 0;
		right: 100%;
		z-index: 20;
		margin: 0;
		padding: 0;
		height: 100%;
		-webkit-backface-visibility: hidden;
		        backface-visibility: hidden;
		overflow: hidden;
	}
	.menu>.menu__inner {
		height: 100%;
		padding: 18px 15px 0 65px;
		box-shadow: 6px 0 19px rgba(0, 0, 0, .35);
		min-width: 270px;
		-webkit-transform: translateX(-100%);
		        transform: translateX(-100%);
		-webkit-transition: -webkit-transform 200ms ease 0s;
		transition: -webkit-transform 200ms ease 0s;
		transition: transform 200ms ease 0s;
		transition: transform 200ms ease 0s, -webkit-transform 200ms ease 0s;
		position: relative;
		z-index: 10;
		background: #fff;
		border-top: 2px solid #013ca6;
	}
	.menu ul {
		padding-top: 10px;
		padding-bottom: 10px;
		overflow: visible;
	}
	.menu a {
		color: #898989;
		text-transform: uppercase;
		padding: 10px 0 10px;
		display: block;
		position: relative;
		font-size: 24px;
		line-height: 1.1;
		margin: 0 auto;
		text-align: left;
	}
	.nav--primary,
	a.phone-number-mobile {
		position: static;
		max-width: 320px;
		margin: 0 auto;
		padding-left: 20px;
		padding-right: 20px;
		display: block;
	}
	.nav--primary li {
		-webkit-transition: none;
		transition: none;
		margin-left: 0;
		position: relative;
		display: block;
	}
	.nav--primary a.active {
		border-bottom: none;
	}
	.nav--primary .child-wrap, 
	.nav--primary .child-wrap .child-wrap {
		position: relative;
		max-height: none;
		top: auto;
		opacity: 1;
		left: auto !important;
		right: auto !important;
		width: auto;
		font-weight: 400;
	}
	.nav--primary .child-wrap li {
		padding: 0;
	}
	.nav--primary .child-wrap.active {
		display: block;
	}
	.nav--primary .child-wrap ul {
		width: auto;
		margin: 0;
		border: none;
		padding: 0 0 0 1.2em;
	}
	.nav--primary .child-wrap a {
		text-transform: none;
		padding: 10px 0;
	}
	.nav--primary .child-wrap .child-wrap ul {
		padding: 0 0 0 15px;
		position: relative;
		margin: 0;
	}
/* 	.nav--primary>ul>li:hover { */
/* 		margin-top: 0; */
/* 	} */
/* 	.nav--primary li:hover .child-wrap { */
/* 		max-height: none; */
/* 		overflow: hidden; */
/* 		z-index: 10; */
/* 		top: auto; */
/* 		transition: none; */
/* 	} */
/* 	.nav--primary li:hover .child-wrap, .nav--primary li:hover .child-wrap .child-wrap, */
/* 		.nav--primary .node:hover .child-wrap .child-wrap { */
/* 		opacity: 1; */
/* 	} */
	.nav--primary .child-wrap:before {
		display: none;
	}
	.nav--primary .has-child:before {
		content: "\e908";
		position: absolute;
		left: -1em;
		top: 8px;
		display: block;
		font: 31px/1 iconFont;
		-webkit-transform: rotate(0deg);
		        transform: rotate(0deg);
		-webkit-transition: all 100ms ease 0ms;
		transition: all 100ms ease 0ms;
		height: auto;
	}
	.nav--primary .has-child.open:before {
		-webkit-transform: rotate(90deg);
		        transform: rotate(90deg);
	}
	.nav--primary .has-child.active:before,
	.nav--primary .has-child:hover:before,
	.nav--primary .has-child:focus:before,
	.nav--primary .has-child.open:before {
		color: #013ca6;
	}
	.menu a:before {
		display: none;
	}
	#menu-overlay {
		padding: 0;
		display: block;
		height: 0;
		opacity: 0;
		-webkit-transition: opacity 400ms ease 0ms;
		transition: opacity 400ms ease 0ms;
	}
	#menu:target, 
	.menu-open {
		right: 0;
		padding: 0;
		-webkit-transition: right 0ms ease 0ms;
		transition: right 0ms ease 0ms;
	}
	#menu:target .menu__inner, 
	.menu-open .menu__inner {
		-webkit-transform: translateX(-50px);
		        transform: translateX(-50px);
		overflow-y: auto;
	}
	#menu:target #menu-overlay, 
	.menu-open #menu-overlay {
		height: 100%;
		opacity: .8;
		-webkit-transition: opacity 400ms ease 0ms;
		transition: opacity 400ms ease 0ms;
		z-index: 1;
	}
}

@media ( max-width : 465px) {
	.menu a {
		font-size: 18px;
	}
	.nav--primary .has-child::before {
		left: -1em;
		top: 11px;
		font: 18px/1 iconFont;
	}
}

@media ( max-width: 400px ) {
	.logo-wrapper {
		left: 20px;
		-webkit-transform: translate(0,-50%);
		        transform: translate(0,-50%);
	}
}

@media ( max-width : 360px) {
	.menu a {
		font-size: 16px;
	}
	.nav--primary .has-child::before {
		left: -1em;
		top: 10px;
		font: 16px/1 iconFont;
	}
}

/* 	Nav: Triggers
-------------------------------------------------------- */
.triggers {
	z-index: 20;
    color: #012f85;
	display: none;
}

.trigger {
	text-decoration: none;
	position: absolute;
	padding: 0;
	top: 0;
}

.trigger .label {
	position: relative;
	display: inline-block;
	line-height: 43px;
	font-size: 12px;
	overflow: hidden;
	vertical-align: middle;
	-webkit-transition: max-width 1000ms ease 0ms;
	transition: max-width 1000ms ease 0ms;
}

.trigger[class*="menu-"] {
	opacity: 1;
	-webkit-transition: opacity 100ms ease 0ms;
	transition: opacity 100ms ease 0ms;
	
	right: 10px;
	top: 50%;
	-webkit-transform: translateY(-50%);
	        transform: translateY(-50%);
}

.trigger[class*="menu-"] [class^="icon-"] {
	display: inline-block;
	left: 0;
	vertical-align: middle;
	font-size: 20px;
	margin: 0 10px 0;
}
.trigger[class*="menu-"] [class^="icon-close"] {
	margin-left: 5px;
}

.trigger[class*="menu-open"] .label {
	max-width: 0;
}

.trigger[class*="menu-close"] {
	opacity: 0;
	margin-left: -160px;
	left: 100%;
	max-width: 0;
	overflow: hidden;
	right: 20px;
}

@media ( max-width : 350px) {
	.trigger[class*="menu-close"] {
		margin-left: -130px;
	}
}

.trigger[class*="menu-"] .label {
	max-width: 0;
}

.trigger[class*="menu-close"] .label, .scrolled .trigger[class*="menu-"] .label { 
	max-width: 100px;
}

/* state: no-JS */
.no-js .triggers .trigger[class*="menu-close"] .label {
	max-width: 100px;
}

#menu:target+.triggers .trigger[class*="menu-close"] {
	-webkit-transition: opacity 100ms ease 200ms;
	transition: opacity 100ms ease 200ms;
}

#menu:target+.triggers .trigger[class*="menu-open"] {
	opacity: 0;
}

#menu:target+.triggers .trigger[class*="menu-close"] {
	opacity: 1;
	left: 100%;
	max-width: none;
}

/* state: JS */
.menu-open+.triggers .trigger[class*="menu-close"] {
	-webkit-transition: opacity 100ms ease 200ms;
	transition: opacity 100ms ease 200ms;
}

.menu-open+.triggers .trigger[class*="menu-open"] {
	opacity: 0;
}

.menu-open+.triggers .trigger[class*="menu-close"] {
	opacity: 1;
	left: 100%;
	max-width: none;
	z-index: 20;
}

@media ( max-width : 730px ) {
	.triggers {
		display: block;
	}
}