/*------>>> TABLE OF CONTENTS <<<-------
	- FLEXNAV BASE STYLES [mobile menu]
	- BREAD CRUMBS
	- MEDIA QUERIES [desktop menu lives here]
	- OLD IE STYLES [don't style]
	
*/


/************************************
/*----------------------------------
/* FLEXNAV BASE STYLES
/*----------------------------------
/*************************************/


.primary-nav {
	display:block;
	position:relative;
	margin-top:-103px;
	margin-left:-0.625rem;
	margin-right:-0.625rem;
	z-index:-1;
}
.flexnav,
.flexnav ul {
	list-style: none;
} 
.flexnav {
	width:100%;	
	max-height:0;
	overflow:hidden;
	position:absolute;
	top:0;	
	margin:0 auto;
	padding:0;
	-webkit-transform-style:preserve-3d;
	transform-style:preserve-3d;
	-webkit-transition:all .5s cubic-bezier(0.77, 0, 0.175, 1);
	-moz-transition:all .5s cubic-bezier(0.77, 0, 0.175, 1);
	-ms-transition:all .5s cubic-bezier(0.77, 0, 0.175, 1);
	transition:all .5s cubic-bezier(0.77, 0, 0.175, 1);
	-webkit-box-shadow:0px 2px 10px 0px rgba(0,0,0,0.08);
	-moz-box-shadow:0px 2px 10px 0px rgba(0,0,0,0.08);
	box-shadow:0px 2px 10px 0px rgba(0,0,0,0.08);
}  
.flexnav.opacity {
	opacity:1;
}
.flexnav.flexnav-show {
	opacity:1;
	padding:0;	
	max-height:2000px;
	-webkit-transition:all .5s cubic-bezier(0.77, 0, 0.175, 1);
	-moz-transition:all .5s cubic-bezier(0.77, 0, 0.175, 1);
	-ms-transition:all .5s cubic-bezier(0.77, 0, 0.175, 1);
	transition:all .5s cubic-bezier(0.77, 0, 0.175, 1);
}
.flexnav.one-page {
	max-width:200px;
	position:fixed;
	top:50px;
	right:5%;
}
.flexnav li {
	overflow:hidden;
	position:relative;
	font-size:100%;
}
.flexnav li a {
	background:#152849;
	display:block;
	position:relative;
	overflow:hidden;
	padding:1rem;
	margin:0;
	font-family:'Rubik', sans-serif;
	font-size:1.375rem;
	font-weight:400;
	color:#fff;
	text-transform:uppercase;
	text-decoration:none;
	text-align:left;
	line-height:1.2;
	z-index:2;
}
.flexnav li:not(:last-of-type) a {
	border-bottom:1px solid rgba(255,255,255,0.1);
}
.flexnav > li:first-of-type {
	background:#152849;
	padding-top:110px;
} 
/*- nested UL -*/
.flexnav li ul {
	margin:0;
	width:100%;
	padding:0;
	background:#1c3561;
	-webkit-box-shadow:inset 0px 2px 10px 0px rgba(0,0,0,0.08);
	-moz-box-shadow:inset 0px 2px 10px 0px rgba(0,0,0,0.08);
	box-shadow:inset 0px 2px 10px 0px rgba(0,0,0,0.08);
}
.flexnav li ul li {
	background:transparent;
	position:relative;
	overflow:hidden;
	font-size:100%;
}
.flexnav li ul.flexnav-show li {
	overflow:visible;
}
.flexnav li ul li a {
	background:transparent;
	font-size:1.25rem;
	text-transform:none;
}
/*- drop down arrows -*/
.flexnav .touch-button {
	display:inline-block;
	width:58px;
	height:58px;
	position:absolute;
	top:0;
	right:0;
	background:rgba(0,0,0,0.2);
	text-align:center;
	z-index:999;
}
.flexnav > li:first-of-type .touch-button {
	top:110px;
}
.flexnav .touch-button:after {
	display:none;
}
.flexnav .touch-button .touch-button-svg {
	fill:#fff;
	width:25px;
	height:25px;
	position:absolute;
	left:50%;
	top:50%;
	transform:translate(-50%, -50%);
	-webkit-transition:all 0.2s ease-in-out;
	transition:all 0.2s ease-in-out;
}
.flexnav .touch-button.active .touch-button-svg {
	transform:translate(-50%, -50%) rotate(180deg);
}
.flexnav .touch-button:hover {
	cursor:pointer;
}
.flexnav .touch-button .navicon {
	display:none;
}
/*- menu button [bars?] -*/
.menu-button {
	display:block;
	margin:0.5rem 0 0;
	padding-right:0.5rem;
	width:110px;
	height:45px;
	position:relative;
	font-family:'Rubik', sans-serif;
	font-size:1.125rem;
	font-weight:700;
	color:#fff;
	text-transform:uppercase;
	letter-spacing:0.10em;
	text-align:right;
	line-height:45px;
	cursor:pointer;
	z-index:10000;
}
.menu-button.one-page {
	position:fixed;
	top:0;
	right:5%;
	padding-right:45px;
}
.menu-button .touch-button {
	display:block;
	width:30px;
	height:100%;
	position:absolute;
	left:0;
	top:0;
}
.menu-button .touch-button .navicon {
	display:block;
	height:2px;
	width:100%;
	position:absolute;
	top:50%;
	transform:translateY(-50%);
	left:0;
	right:0;
	margin:0 auto;
	background:#fff;
	-webkit-transition:background 0.2s;
	transition:background 0.2s;
	border-radius:3px;
}
.menu-button .touch-button .navicon:before {
	display:block;
	width:100%;
	height:2px;
	position:absolute;
	top:-8px;
	left:0;
	content:"";
	background-color:#fff;
	-webkit-transition-property:top, -webkit-transform;
	transition-property:top, transform;
	-webkit-transition-duration:.3s, .3s;
	transition-duration:.3s, .3s;
	-webkit-transition-delay:.3s, 0s;
	transition-delay:.3, 0s;
	border-radius:3px;
}
.menu-button .touch-button .navicon:after {
	display:block;
	width:100%;
	height:2px;
	position:absolute;
	left:0;
	bottom:-8px;
	content:"";
	background-color:#fff;
	-webkit-transition-property:bottom, -webkit-transform;
	transition-property:bottom, transform;
	-webkit-transition-duration:.3s, .3s;
	transition-duration:.3s, .3s;
	-webkit-transition-delay:.3s, 0s;
	transition-delay:.3s, 0s;
	border-radius:3px;
}
.menu-button .touch-button.active .navicon {
	background:transparent;
}
.menu-button .touch-button.active .navicon:before,
.menu-button .touch-button.active .navicon:after {
	-webkit-transition-duration:.3s, .3s;
	transition-duration:.3s, .3s;
	-webkit-transition-delay:.3s, 0s;
	transition-delay:0s, 0.3s;
}
.menu-button .touch-button.active .navicon:before {
	top:0;
	-webkit-transform:rotate(45deg);
	-ms-transform:rotate(45deg);
	transform:rotate(45deg);
}
.menu-button .touch-button.active .navicon:after {
	bottom:0;
	-webkit-transform:rotate(-45deg);
	-ms-transform:rotate(-45deg);
	transform:rotate(-45deg);
}


/************************************
/*----------------------------------
/* BREAD CRUMBS
/*----------------------------------
/*************************************/

.bread-crumbs {
}
nav.breadcrumb { /* Nav Class */
	padding:1.625rem 0;
}
nav.breadcrumb ol {
}
nav.breadcrumb ol li {
	position: relative;
	padding-left:0;
	margin-bottom:0;
	font-family:inherit;
	font-size:inherit;
	font-weight:inherit;
	color: inherit;
	font-style:inherit;
}
nav.breadcrumb ol li::before {
	display:none;
}
nav.breadcrumb ol li,
nav.breadcrumb ol li a {
	font-family:"Rubik", sans-serif;
	font-size:1.125rem;
	font-weight:400;
	text-decoration:none;
}
nav.breadcrumb ol li,
nav.breadcrumb ol li a:not(:hover):not(:active):not(:focus):not(:focus-visible) {
	color:#313131;
}
nav.breadcrumb ol li:last-of-type a {
	font-weight:700;
}


/************************************
/*----------------------------------
/* MEDIA QUERIES
/*----------------------------------
/*************************************/


@media all and (min-width:64rem) { /*- 1024px and up -*/
	/*---> Desktop Menu <---*/
	.primary-nav {
		margin:initial;
		width:100%;
		max-width:850px;
		float:right;
		z-index:initial;
	}
	.flexnav {
		position:relative;
		top:auto;
		max-width:none;
		height:100%;
		max-height:100%;
		margin:0 auto 0 auto !important;
		overflow:visible;
		background:transparent;
		display:-webkit-box;
		display:-moz-box;
		display:-ms-flexbox;
		display:-webkit-flex;
		display:flex;
		-webkit-box-pack:justify;
		-moz-box-pack:justify;
		-ms-flex-pack:justify;
		-webkit-justify-content:space-around;
		justify-content:space-around;
		-ms-flex-line-pack:center;
		-webkit-align-content:center;
		align-content:center;
		box-shadow:none;
		border-radius:0;
		transition:all 0.3s ease;
		-webkit-transition:all 0.3s ease;
		transition:all 0.3s ease;
	}
	body.one-page {
		padding-top:70px;
	}
	.flexnav.opacity {
		opacity:1;
	}
	.flexnav.one-page {
		max-width:1080px;
		top:0;
		right:auto;
	}
	.flexnav li {
		display:block;
		position:relative;
		list-style:none;
		float:left;
		overflow:visible;
		flex-grow:1;
		height:100%;
	}
	.flexnav > li:first-of-type {
		background:transparent;
		padding-top:initial;
	}
	.flexnav > li {
		margin:0.625rem 0.313rem;
	}
	.flexnav > li:last-of-type {
		margin-right:0;
	}
	.flexnav > li > a {
		padding:10px 5px;
		height:auto;
		display:-webkit-flex;
		display:flex;
		-webkit-align-items:center;
		align-items:center;
		-webkit-justify-content:center;
		justify-content:center;
		background:transparent;
		text-align:center;
		-webkit-transition: all 0.5s ease;
		transition: all 0.5s ease;
		border:0 !important;
	}	
	.flexnav li > a:before {
		content: "";
		display:block;
		width:0;
		height:100%;
		margin:0 auto;
		position:absolute;
		top:auto;
		bottom:0;
		left:0;
		right:0;
		background:#152849;
		transition: all 0.3s ease-in-out;
		z-index:-1;
	}
	.flexnav li > a:hover:before,
	.flexnav li.active > a:before {
		width:100%;  
	}
	.flexnav li > a:hover:before,
	.flexnav li.active > a:before {
		width:100%;  
	}
	/*- nested UL -*/
	.flexnav li ul {
		display:none;
	}
	.flexnav li > ul {
		width:calc(100% + 0.625rem);
		min-width:200px;
		max-width:250px;
		position:absolute;
		top:100%;
		right:-100%;
		left:-100%;
		margin:0 auto;
		background:#fff;
		padding:0 !important;
		-webkit-box-shadow:0px 2px 25px 0px rgba(0,0,0,0.08);
		-moz-box-shadow:0px 2px 25px 0px rgba(0,0,0,0.08);
		box-shadow:0px 2px 25px 0px rgba(0,0,0,0.08);	
	}
	.flexnav li > ul::after {
		position:absolute;
		content:'';
		display:block;
		width:0;
		height:0;
		top:-7px;
		left:50%;
		-webkit-transform:translateX(-50%);
		transform:translateX(-50%);
		-moz-transition:translateX(-50%);
		-o-transition:translateX(-50%);
		border:inset 0.5rem;
		border-color:transparent transparent #fff;
		border-bottom-style:solid;
		border-top-width:0;
		z-index:2;
	}
	.flexnav li > ul li {
		width:100%;
		height:auto;
		padding:0.313rem !important;
		margin:0 !important;
	}
	.flexnav li > ul li + li {
		margin-top:-0.313rem !important;
	}
	.flexnav li > ul li a	{
		padding:0.5rem 0 !important;
		background:transparent;
		text-align:center;
		border:0 !important;
		color:#1c3561;
	}
	.flexnav li > ul li a:before {
		content: "";
		display:block;
		width:0;
		height:100%;
		margin:0 auto;
		position:absolute;
		top:0;
		bottom:0;
		left: 0;
		right:0;
		background:#1c3561;
		transition:all 0.3s ease-in-out;
		z-index:-1;
	}
	.flexnav li ul li:hover > a,
	.flexnav li ul li > a.active {
		color:#fff; 
	}
	.flexnav li ul li:hover > a:before,
	.flexnav li ul li > a.active:before {
		width:100%; 
	}
	.flexnav li ul.open {
		display:block;
		opacity:1;
		visibility:visible;
		z-index:1;
	}
	.flexnav li ul.open li {
		max-height:100px;
		overflow:visible;
	}
	.flexnav li ul.open ul.open {
		margin-left:100%;
		top:0;
	}
	/*- drop down arrows -*/
	.no-touch .flexnav .touch-button,
	.touch .flexnav .touch-button{
		display:none;
	}
	.flexnav .touch-button {
		width:100%;
		height:14px;
		margin:0 auto;
		top:auto;
		left:0;
		right:0;
		bottom:15px;
	}
	.flexnav .touch-button:after {
		position:absolute;
		margin:0 auto;
		top:auto;
		left:0;
		right:0;
		bottom:0;
	}
	.flexnav .touch-button.active:after {
		-webkit-transform:rotate(180deg);
		transform:rotate(180deg);
	}
	.flexnav .touch-button:hover {
		cursor:pointer;
	}
	/*- menu button -*/
	.menu-button {
		display:none;
	}
	/*---> Sticky Header <---*/
	.masthead-stuck .flexnav > li:not(.active) > a:not(:hover) {
		color:#1C3561;
	}
}


/************************************
/*----------------------------------
/* OLD IE STYLES
/*----------------------------------
/*************************************/


.oldie body.one-page {
	padding-top:70px;
}
.oldie .flexnav {
	overflow:visible;
}
.oldie .flexnav.one-page {
	top:0;
	right:auto;
	max-width:1080px;
}
.oldie .flexnav li {
	position:relative;
	list-style:none;
	float:left;
	display:block;
	background-color:#a6a6a2;
	width:20%;
	min-height:50px;
	overflow:visible;
}
.oldie .flexnav li:hover > ul {
	display:block;
	width:100%;
	overflow:visible;
}
.oldie .flexnav li:hover > ul li {
	width:100%;
	float:none;
}
.oldie .flexnav li a {
	border-left:1px solid #acaca1;
	border-bottom:none;
	overflow:visible;
}
.oldie .flexnav li > ul {
	background:#acaca1;
	position:absolute;
	top:auto;
	left:0;
	display:none;
	z-index:1;
	overflow:visible;
}
.oldie .flexnav li ul li ul {
	top:0;
}
.oldie .flexnav li ul li a {
	border-bottom:none;
}
.oldie .flexnav li ul.open {
	display:block;
	width:100%;
	overflow:visible;
}
.oldie .flexnav li ul.open li {
	width:100%;
}
.oldie .flexnav li ul.open ul.open {
	margin-left:100%;
	top:0;
	display:block;
	width:100%;
	overflow:visible;
}
.oldie .flexnav ul li:hover ul {
	margin-left:100%;
	top:0;
}
.oldie .menu-button {
	display:none;
}
.oldie.ie7 .flexnav li {
	width:19.9%;
}