/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sf-menu li {
	position: relative;
}
.sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	right: 0;
	z-index: 99;
}
.sf-menu > li {
	float: right;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
	display: block;
}

.sf-menu a {
	display: block;
	position: relative;
}
.sf-menu ul ul {
	top: 0;
	right: 100%;
}


/*** DEMO SKIN ***/
.sf-menu {
	float: right;
	margin-bottom: 1em;

}
.sf-menu ul {
	    
	min-width: 15em; /* allow long menu items to determine submenu width */
	*width: 15em; /* no auto sub width for IE7, see white-space comment below */

}

	.sf-menu .m3 ul {
		min-width: 14em; /* allow long menu items to determine submenu width */
		*width: 14em; /* no auto sub width for IE7, see white-space comment below */
	}

	.sf-menu a {
		/*border-left: 1px solid rgba(255,255,255,.3);
		border-top: 1px solid #dFeEFF;*/ /* fallback colour must use full shorthand */
		/*border-top: 1px solid rgba(255,255,255,.5);*/
		padding: 1.5em 1.0em;
		text-decoration: none;
		text-transform:uppercase;
		zoom: 1; /* IE7 */
	}

	.sf-menu ul li {
		border-left: 1px solid rgba(255,255,255,.3);
		border-bottom: 1px solid #dFeEFF; /* fallback colour must use full shorthand */
		border-bottom: 1px solid rgba(255,255,255,.5);	
		

	}

	.sf-menu ul li:first-child {
		right: 1px solid rgba(255,255,255,.3);
		border-top: 1px solid #dFeEFF; /* fallback colour must use full shorthand */
		border-top: 1px solid rgba(255,255,255,.5);
	}

	.sf-menu a {
		color: #233776;
	}
	.sf-menu li {
		background: rgba(255,255,255);
		white-space: nowrap; /* no need for Supersubs plugin */
		*white-space: normal; /* ...unless you support IE7 (let it wrap) */
		-webkit-transition: background .2s;
		transition: background .2s;
		font-size: 14px;
	
	}
	.sf-menu ul li {
		background: #ebebeb;
	}
	.sf-menu ul ul li {
		background: #ebebeb;
	}
	.sf-menu li:hover,
	.sf-menu li.sfHover {
		background: #ebebeb;
		/* only transition out, not in */
		-webkit-transition: none;
		transition: none;
	}

/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
	padding-right: 2.5em;
	*padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */
}
/* styling for both css and generated arrows */
	.sf-arrows .sf-with-ul:after {
		content: '';
		position: absolute;
		top: 22%;
		right: 1em;
		margin-top: 7px;
		margin-right:-5px;
		height: 20px;
		width: 20px;
		/* order of following 3 rules important for fallbacks to work */
		/*border: 5px solid transparent;
	border-top-color: #dFeEFF;*/ /* edit this to suit design (no rgba in IE8) */
		/*border-top-color: rgba(255,255,255,.5);*/
		background-image: url('../../../../images/arrow.png');
		background-position: center center;
		background-repeat: no-repeat;background-size:10px;
	}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
	border-top-color: white; /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
	margin-top: -5px;
	margin-left: -3px;
	border-color: transparent;
	border-right-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
	border-right-color: rgba(255,255,255,.5);
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
	border-right-color: white;
}

.m0, .m1, .m2, .m3, .m4, .m5, .m6 {
	height: 65px;
	padding-right: 0px;
	padding-left: 0px;
}

	.m1.current {
		background-color: #233776;
	}



		.m1.current a {
			color: #ffffff;
			background-image: url('../../../../images/home.png');
			background-position: center 10px;
			background-repeat: no-repeat;
			background-size: 28px
		}

		.m1.current a:hover {
			color: #ffffff;
			
		}

	.m0 > a, .m1 > a, .m2 > a, .m3 > a, .m4 > a, .m5 > a, .m6 > a {
		border-top: none;
		padding-top: 38px;
		color: #ffffff;
		font-size: 18px;
		font-weight: 500;
		border-left: none;
	}
/*
	.m2:before, .m3:before, .m4:before, .m5:before {
		content: '';
		width: 1px;
		height: 60px;
		background-color: #ffffff;
		position: absolute;
		left: 0px;
		top: 10px;
	}*/

	.m0 > a {
		background-image: url('../../../../images/moi_icon.png');
		background-position: center 10px;
		background-repeat: no-repeat;
		background-size: 23px
	}

	.m2 > a {
		background-image: url('../../../../images/news.png');
		background-position: center 10px;
		background-repeat: no-repeat;
		background-size: 26px
	}

	.m3 > a {
		background-image: url('../../../../images/media.png');
		background-position: center 10px;
		background-repeat: no-repeat;
		background-size: 27px
	}

	.m4 > a {
		background-image: url('../../../../images/mag.png');
		background-position: center 10px;
		background-repeat: no-repeat;
		background-size: 28px
	}

	.m5 > a {
		background-image: url('../../../../images/archives.png');
		background-position: center 10px;
		background-repeat: no-repeat;
		background-size: 23px
	}

	.m6 > a {
		background-image: url('../../../../images/contact.png');
		background-position: center 10px;
		background-repeat: no-repeat;
		background-size: 23px
	}

	.m1.current:hover  {
		background-color: #233776;
	}

	.m1.current:before {
		content: '';
		width: 100%;
		height: 10px;
		background-color: #233776;
		position: absolute;
		left: 0px;
		top: -10px;
	
	}

	.m1.current:after {
		content: '';
		width: 50%;
		height: 2px;
		background-color: #ffffff;
		position: absolute;
		left: 25%;
		bottom: -2px;

	}

.innermenus a {
	padding-right: 22px;color:#ffffff;
}



@media screen and (max-width: 1024px) {


	.m1, .m2, .m3, .m4, .m5, .m6 {
		
		/*padding-right: 10px;
		padding-left: 10px;*/
	}

	.innermenus a {
		padding-right: 22px;
		color: #183f5c;
	}
}