

/* Flexnav Base Styles */
.flexnav {
	-webkit-transition: none;
	-moz-transition: none;
	-ms-transition: none;
	transition: none;
	-webkit-transform-style: preserve-3d;
	overflow: hidden;
	margin: 0 auto;
	width: 100%;
	font-family: "Raleway",sans-serif;
	padding: 0px;
}
.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;
	margin-bottom: 10px;
}
.flexnav.one-page {
	position: fixed;
	top: 50px;
	right: 5%;
	max-width: 200px;
}
.flexnav li {
	font-size: 100%;
	position: relative;
	overflow: hidden;
}

.flexnav li.item-with-ul a {
	padding-right: 26px; }

.flexnav li.item-with-ul:hover span i {
	color: #EB0000; }
	
.flexnav li.item-with-ul:hover a {
	color: #EB0000;
	background: #F9F9F9; }

.flexnav li a {
	position: relative;
	display: block;
	z-index: 2;
	overflow: hidden;
	padding: 14px 30px 14px;
	color: #fff;
	background: #256CAE;
	border-top: 3px solid transparent;
}

.flexnav.sm-screen li a {
	padding: 15px 20px 15px; }

.flexnav li a:hover {
	border-top: 3px solid #d3a400;
}

.flexnav li a.active {
	color: #333;
	border-top: 3px solid #d3a400;
	background: #f5c200;
}

.flexnav li ul {
	width: 100%;
	padding: 0px;
}
.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: #256CAE;
	padding: 10px 20px;
	text-transform: uppercase;
}
.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: 10px;
	display: inline-block;
	text-align: center;
}
.flexnav .touch-button:hover {
	cursor: pointer;
}
.flexnav .touch-button .navicon {
	position: relative;
	top: 17px;
	font-size: 15px;
	color: #fff;
}
.menu-button {
	position: absolute;
	display: block;
	padding: 1em;
	cursor: pointer;
	width: 40px;
	height: 30px;
	right: 0;
	background: url(../images/sm-menu-button.png) no-repeat;
}
.menu-button.one-page {
	position: fixed;
	top: 0;
	right: 5%;
	padding-right: 45px;
}
.menu-button .touch-button {
	background: transparent;
	position: absolute;
	z-index: 999;
	top: 0;
	right: 0;
	width: 40px;
	height: 30px;
	display: inline-block;
	text-align: center;
}
.menu-button .touch-button .navicon {
	font-size: 16px;
	position: relative;
	top: 1em;
	color: #666;
	display: none;
}

.sm-screen {
	padding: 0;}


@media all and (min-width: 980px) {
body.one-page {
	padding-top: 70px;
}
.flexnav {
	margin-top: -3px;
    overflow: visible;
    position: relative;
    width: auto;
}
.flexnav.opacity {
	opacity: 1;
}
.flexnav.one-page {
	top: 0;
	right: auto;
	max-width: 1080px;
}
.flexnav li {
	position: relative;
	list-style: none;
	float: left;
	display: block;
	overflow: visible;
}
.flexnav li:last-child {
    margin-right: 0;
}
.flexnav li a {
	border-bottom: none;
	background: none;
	color: #333;
	font-family: "Oswald",Arial,Helvetica,sans-serif;
	text-transform: uppercase;
	
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
}
	
.flexnav li > ul {
	position: absolute;
	top: auto;
	left: 0;
	z-index: 99;
	padding: 0px;
	width: 250px;
}
.flexnav li > ul li {
	width: 100%;
}
.flexnav li ul li > ul {
	margin-left: 100%;
	top: 0;
}
.flexnav li ul li a {
	border-bottom: none;
}

.flexnav li ul li a:hover {
	background: #256CAE !important;
	color: #fff !important;
}

.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;
}
.menu-button {
	display: none;
}


.navigation > li > a > span.label-nav-sub {
	color: #bcbcbc !important; }
	
.navigation > li > a > span.label-nav-sub.active {
	color: #00ACEC !important; }
	
.navigation > li:hover > a > span.label-nav-sub::before {
	font-style: normal !important;
}

}





.navigation > li > a > span.label-nav-sub {
	float: left;
	line-height: 20px;
	width: 100%;
	clear: both;
	font-size: 12px;
	color: rgba(255,255,255,0.5);
	display: inline-block;
	position: relative;
	-webkit-transition: -webkit-transform 0.3s;
	-moz-transition: -moz-transform 0.3s;
	transition: transform 0.3s;
	-webkit-transform-origin: 50% 0;
	-moz-transform-origin: 50% 0;
	-ms-transform-origin: 50% 0;
	-o-transform-origin: 50% 0;
	transform-origin: 50% 0;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-perspective: 1000px;
	-moz-perspective: 1000px;
	-ms-perspective: 1000px;
	perspective: 1000px;
	text-transform: capitalize;
}
.navigation > li > a > span.label-nav-sub::before {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 100%;
	content: attr(data-hover);
	-webkit-transition: opacity 0.3s;
	-moz-transition: opacity 0.3s;
	transition: opacity 0.3s;
	-webkit-transform: rotateX(-90deg);
	-moz-transform: rotateX(-90deg);
	-ms-transform: rotateX(-90deg);
	transform: rotateX(-90deg);
	-webkit-transform-origin: 50% 0;
	-moz-transform-origin: 50% 0;
	-ms-transform-origin: 50% 0;
	-o-transform-origin: 50% 0;
	transform-origin: 50% 0;
	opacity: 0;
}
.navigation > li:hover > a > span.label-nav-sub {
	-webkit-transform: rotateX(90deg) translateY(-22px);
	-moz-transform: rotateX(90deg) translateY(-22px);
	-ms-transform: rotateX(90deg) translateY(-22px);
	-o-transform: rotateX(90deg) translateY(-22px);
	transform: rotateX(90deg) translateY(-22px);
	-ms-transform: none;
}

.navigation > li:hover > a > span.label-nav-sub::before {
	color: #00ACEC;
	opacity: 1;
	opacity: 0\9;
	font-style: oblique;
}

.label-nav-sub.active {
	color: #00ACEC !important;
}

.label-nav {
	display: block;
	font-size: 16px; }
	
.label-nav i {
	margin-top: 0px;
    font-size: 20px;
	/*color: #666;*/ }
	
.navigation > li > .activelink span.label-nav-sub {
	color: #00ACEC;}


	
