/*** 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: 12em; /* allow long menu items to determine submenu width */
	*width: 12em; /* 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,.1);
		padding: .75em 0.7em;
		text-decoration: none;
		zoom: 1; /* IE7 */
	}
	.sf-menu a {
		color: #13a;
		font-size: 18px;
	}

	.sf-menu > li > a {
		height: 62px;
		line-height: 62px;
		padding: 0px 0.7em 0px 0.7em;
	
	}
		.sf-menu li {
		background: #ffffff;
		/*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 li > a {
		color: #000000;
		
	}
	.sf-menu ul li {
		background: #536689;
		min-width: 250px;
		max-width: 350px;

	
	}
	.sf-menu ul ul li {
		background: #536689;
	}


	.sf-menu li:hover, .sf-menu li.sfHover {
		background: #7689A7;
		/* only transition out, not in */
		-webkit-transition: none;
		transition: none;
	}
	.sf-menu > li:hover,
	.sf-menu > li.sfHover {
		background: #536689;
	}

	.sf-menu li:hover a,
	.sf-menu li.sfHover a {
		color:#ffffff
	}

/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
	padding-left: 2.5em;
	*padding-left: 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: 30%;
		left: 1em;
		margin-top: 7px;
		margin-left:-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:14px;
	}



.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
	background-image: url('../../../../images/arrow_hover.png');
}


.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: -1px;
	margin-left: -8px;
	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;
}

.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
	border-right-color: white;
	background-image: url('../../../../images/arrow_left.png');
	background-size: 8px;
}



/*	li.home {
		background-color: #FED201;
	}



		li.home a {
			color: #13a;
			background-color:#FED201
		}

			li.home:before{
			content: '';
			background-color:#FED201;position:absolute;top:-5px;width:100%;height:5px;
			}

			li.home a:hover {
				color: #ffffff;
			}*/




	

.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;
	}
}