/* Flexnav Base Styles */
.flexnavwrap {
	position: relative;
	margin: 10px 0 20px 0;
}
.flexnav {
	-webkit-transition: none;
	-moz-transition: none;
	-ms-transition: none;
	transition: none;
	-webkit-transform-style: preserve-3d;
	overflow: hidden;
	margin: 0 auto;
	width: 100%;
	max-height: 0;
	z-index: 999;

}
.flexnav.opacity {
	opacity: 0; 
}
.flexnav.flexnav-show {
	max-height: 2000px;
	opacity: 1;
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	-ms-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out; 
}
.flexnav.one-page {
	position: fixed;
	top: 50px;
	right: 5%;
	max-width: 200px; 
}
.flexnav li {
	font-size: 100%;
	position: relative;
	overflow: hidden;
	line-height: inherit;
}
.flexnav li a {
	position: relative;
	text-decoration: none;
	display: block;
	padding: .96em;
	z-index: 2;
	overflow: hidden;
	color: #333;
	background: #a6a6a2;
	border-bottom: 1px solid rgba(0, 0, 0, 0.15); 
}
.flexnav li ul {
	width: 100%;
	margin: 0;
	padding: 0;
}
.flexnav li ul li {
	font-size: 100%;
	position: relative;
	overflow: hidden; 
}
.flexnav li ul.flexnav-show li {
	overflow: visible; 
}
.flexnav li ul li a {
	display: block;
	background: #b2b2af; 
}
.flexnav ul li ul li a {
	background: #bfbfbc; 
}
.flexnav ul li ul li ul li a {
	background: #cbcbc9; 
}
.flexnav .touch-button {
	position: absolute;
	z-index: 999;
	top: 0;
	right: 0;
	width: 50px;
	height: 47px;
	display: inline-block;
	background: #acaca1;
	background: rgba(0, 0, 0, 0.075);
	text-align: center; 
}
.flexnav .touch-button:hover {
	cursor: pointer; 
}
.flexnav .touch-button .navicon {
	position: relative;
	top: 1.4em;
	font-size: 12px;
	color: #666; 
}
.menu-button {
	position: absolute;
	display: block;
	background: transparent;
	color: #222222;
	cursor: pointer;
	border: 2px solid #fff;
	top: 8px;
	right: 8px;
	z-index: 999;
	height: 50px;
	width: 50px;
}
.menu-button .touch-button {
	background: transparent;
	position: absolute;
	z-index: 999;
	top: 0;
	right: 0;
	width: 50px;
	height: 50px;
	display: inline-block;
	text-align: center; 
}
.menu-button .touch-button .navicon {
	font-size: 16px;
	position: relative;
	top: 1em;
	color: #666; 
	display: none;
}
.menu-button img {
	height: 46px;
	width: auto;
}
@media all and (min-width: 768px) {
.menu-button {
	top: 6px;
	right: 8px;
	height: 38px;
	width: 38px;
	}
.menu-button img {
	height: 35px;
	width: auto;
	}
}

@media all and (min-width: 992px) {
	.flexnavwrap { 
		margin: 0; 
		}
	.flexnav {
		overflow: visible;
		width: auto;
		max-height: 0;
		margin: 78px 0 0 0;
		padding: 0; 
		}
	.flexnav.opacity {
		opacity: 1; 
		}
	.flexnav li {
		position: relative;
		list-style: none;
		float: none;
		display: block;
		background-color: transparent;
		overflow: visible;
		width: auto; 
		}
	.flexnav li a {
		padding: 5px 0px 5px 0;
		font-size: 14px;
		border: none;
		background: transparent; 
		color: #5b5b5b
		}
	.flexnav li a:hover {
		color:#151515;
	}
	.flexnav li.nav-last a {
		padding-right: 0; 
		}
	.flexnav li a.nav-selected {
		color: black;
	}
	.flexnav li ul {
		display: none;
	}
	.flexnav li.nav-path-selected > ul {
		display: block !important;
	}/*makes the sublevel visible if selected*/
	
	/*
.flexnav li > ul {
		position: absolute;
		top: auto;
		left: 0; }
*/
/*
	.flexnav li ul:before {
		content: '';
		display: inline-block;
		border-left: 7px solid transparent;
		border-right: 7px solid transparent;
		border-bottom: 7px solid #3f3f3f;
		border-bottom-color: rgba(0, 0, 0, 0.7);
		position: absolute;
		top: -7px;
		left: 9px; } 
*/     
	.flexnav li > ul li {
		width: 100%; }
	.flexnav li ul li > ul {
		margin-left: 100%;
		top: 0; }
	.flexnav li ul li a {
		border-bottom: none;
		padding: 4px 20px 5px 8px;
		background: transparent;
		}
	.flexnav li ul li a:hover {
		text-decoration: none;
		}
	.flexnav li ul.open {
		display: block;
		opacity: 1;
		visibility: visible;
		z-index: 1; }
	.flexnav li ul.open li {
		overflow: visible;
		max-height: 100px; }
	.flexnav li ul.open ul.open {
		margin-left: 100%;
		top: 0; }
	.flexnav .touch-button {
		width: 0px;
		height: 0px;
		visibility: hidden; }   
	.menu-button {
		display: none; } 
}

