/*------>>> 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
/*----------------------------------
/*************************************/

.flexnav,
.flexnav ul {
	list-style: none;
} 
.flexnav {
	width:100%;	
	max-height:0;
	overflow:hidden;
	position:absolute;
	top:100%;	
	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);
}  
.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);	
	box-shadow: /*-2px 6px 13px 0px rgba(0, 0, 0, 0.55)*/none;  
}
.flexnav.one-page {
	max-width:200px;
	position:fixed;
	top:50px;
	right:5%;
}
.flexnav li {
	overflow:hidden;
	position:relative;
	font-size:100%;
}
.flexnav li a {
	display:block;
	position:relative;
	overflow:hidden;
	padding:0.688rem 1.25rem;
	background:rgba(0,0,0,0.65);
	margin:0;
	font-family: 'Koulen', sans-serif;
	font-size:1.5rem;
	font-weight:500;
	color:#fff;
	text-align:left;
	line-height:1.2;
	z-index:2;
	text-transform:uppercase;
}
.flexnav > li:not(:last-of-type) > a {
	border-bottom:1px solid rgba(255,255,255,0.1);
}
.flexnav > li:last-of-type > a {
	color:#eab51f;
}
/*- nested UL -*/
.flexnav li ul {
	margin:0;
	width:100%;
	padding:0;
	background:transparent; 
}
.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 {
	font-size:1.25rem;
	display:block;
	padding-left:2.750rem;
}
.flexnav li ul > li > a {
	border-bottom:1px solid rgba(255,255,255,0.1);
}
/*- Third Level -*/
.flexnav li ul li ul li a {
	padding-left:3.750rem;
}
/*- drop down arrows -*/
.flexnav .touch-button {
	display: inline-block;
	width:40px;
	height:44px;
	position: absolute;
	top: 0;
	right:0;
	text-align:center;
	z-index:999;
}
.flexnav .touch-button:after {
	display:inline-block;
	content:"";
	margin:0.875rem auto 0;
	width:15px;
	height:15px;
	background:url(../images/icon-nav-arrow.svg) center center no-repeat;
	background-size:15px 15px;
	-webkit-transition:all 0.2s ease-in-out;
	transition:all 0.2s ease-in-out;
	cursor:pointer;
}
.flexnav .touch-button.active:after {
	transform:rotate(180deg);
}
.flexnav .touch-button:hover {
	cursor:pointer;
}
.flexnav .touch-button .navicon {
	display:none;
}
/*- menu button [bars?] -*/
.menu-button {
	display:block;
	width:30px !important;
	height:30px !important;
	font-size:0;
	font-weight:600;
	color:transparent;
	line-height:1;
	cursor:pointer;
	padding:0;
	z-index:10000;
	position:relative;
}
.menu-button.one-page {
	position:fixed;
	top:0;
	right:5%;
	padding-right:45px;
}
.menu-button .touch-button {
	display:inline-block;
	width:30px;
	height:30px;
	position:absolute;
	top:50%;
	transform:translateY(-50%);
	left:auto;
	right:0;
	margin:0;
}
.menu-button .touch-button .navicon {
	display:block;
	height:3px;
	width:30px;
	position:absolute;
	top:50%;
	transform:translateY(-50%);
	left:0;
	right:0;
	margin:0 auto;
	background:#fff;
	-webkit-transition:background 0.2s;
	transition:background.2s;
}
.menu-button .touch-button .navicon:before {
	display:block;
	width:100%;
	height:3px;
	position:absolute;
	top:-9px;
	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;
}
.menu-button .touch-button .navicon:after {
	display:block;
	width:100%;
	height:3px;
	position:absolute;
	left:0;
	bottom:-9px;
	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;
}
.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);
}


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


@media all and (min-width:64rem) { /*- 1024px and up -*/
	/*---> Desktop Menu <---*/
	.primary-nav {
		float:right;
	}
	.flexnav {
		position:relative;
		overflow:visible;
		top:auto;
	}
	body.one-page {
		padding-top:70px;
	}
	.flexnav.opacity {
		opacity:1;
	}
	.flexnav.one-page {
		max-width:1080px;
		top:0;
		right:auto;
	}
	.flexnav li {
		list-style:none;
		display:block;
		overflow:visible;
		position:relative;
		float:left;
		background:none;
		text-align:center;
		margin:0;
	}
	.flexnav li a {
		position:relative;
		height:100%;
		padding:1.375rem 0.625rem;
		margin:0 0.313rem;
		background:none;
		border:none !important;
		-webkit-transition:all 0.5s ease-in-out;
		transition:all 0.5s ease-in-out;
		color:#fff;
	}
	.flexnav li a:hover {
		color:#eab51f;
	}
	.flexnav > li > a,
	.flexnav li ul li a {
		font-size:1.125rem;
	}
	/*- nested UL -*/
	.flexnav li ul {
		display:none;
	}
	.flexnav li > ul {
		min-width: 225px;
		position: absolute;
		top:100%;
		left: -100%;
		right: -100%;
		background:#fff;
		padding:0.5rem;
		margin: 0 auto;
		box-shadow: -1.953px 5.673px 13px 0px rgba(0,0,0,0.2);
	}
	.flexnav li > ul::before {
		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;
	}	
	.flexnav li > ul li {
		width:100%;
		height:auto;
		padding:0 !important;
		margin:0.063rem 0 !important;
		background:transparent;
	}
	.flexnav li > ul li a	{
		padding:0.625rem 0.5rem !important;
		background:transparent;
		text-align:center;
		color:#2d2a29;
		border:0;
		margin:0 !important;
	}	
	.flexnav li > ul li a.active,
	.flexnav li > ul li a:hover {
		color:#2d2a29;
	}
	.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;
	}
    /*- Third Level -*/
	.flexnav li > ul li ul {
		top:0; /* adjust for padding on ul */
		right:auto;
		left:100%;
	}
    .flexnav li > ul li:first-of-type ul {
        top:-0.563rem;
    }
    .flexnav li > ul li ul::before {
		/*display:none;*/

        top:1.625rem;
        left:auto;
		right:calc(100% - 0.250rem);
        -webkit-transform:rotate(-90deg);
		transform:rotate(-90deg);
		-moz-transition:rotate(-90deg);
		-o-transition:rotate(-90deg);
		border-color: transparent transparent #eab51f;
	}
	/*- drop down arrows -*/
	.no-touch .flexnav .touch-button,
	.no-touch .touch-button .navicon,
	.no-touch .touch-button:after {
		display:none;
	}
	.touch .flexnav .touch-button{
		display:block;
	}
	.flexnav .touch-button {
		width:15px;
		height:100%;
		top:0;
		right:-0.313rem
	}
	.flexnav .touch-button:after {
		margin:0;
		font-size: 1rem;
		position: absolute;
		left:auto;
		right:0;
		top:50%;
		-webkit-transform:translateY(-50%) rotate(90deg);
		transform:translateY(-50%) rotate(90deg);
		color:#fff;
	}
	.flexnav .touch-button.active:after {
		-webkit-transform:translateY(-50%) rotate(180deg);
		transform:translateY(-50%) rotate(180deg);
	}
	.flexnav .touch-button:hover {
		cursor:pointer;
	}
	/*- menu button -*/
	.menu-button {
		display:none;
	}	
}
@media all and (min-width:65.625rem) { /*- 1050px and up -*/
	.flexnav li > a:before {
		content: "";
		position: absolute;
		bottom:0.875rem;
		left: 0;
		right:0;
		-webkit-transform:translateY(0);
		transform:translateY(0);		
		margin: 0 auto;
		background:#eab51f;
		width: 0;
		height:3px;
		transition: all 0.3s ease-in-out;
		z-index:-1;
	}
	.flexnav li > a:hover:before,
	.flexnav li.active > a:before {
		width:50%;  
	}
	.flexnav li > ul li a:before {
		content: "";
		position: absolute;
		bottom:0;
		left: 0;
		right:0;
		-webkit-transform:translateY(0);
		transform:translateY(0);		
		margin: 0 auto;
		background:#eab51f;
		width: 0;
		height:3px;
		transition: all 0.3s ease-in-out;
		z-index:-1;
	}
	.flexnav li ul li:hover > a:before,
	.flexnav li ul li > a.active:before {
		width:50%; 
	}	
}
@media all and (min-width:1075px) {
	.flexnav > li > a,
	.flexnav li ul li a {
		font-size:1.25rem;
	}
}
@media all and (min-width:1180px) {
	.flexnav > li > a {
		font-size:1.5rem;
	}
}
/************************************
/*----------------------------------
/* 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%;
}