/*** ESSENTIAL STYLES ***/html {
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-o-font-smoothing: antialiased;
	-ms-font-smoothing: antialiased;
	font-smoothing: antialiased;
}
.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%;
	left: 0;
	z-index: 99;
}
.sf-menu > li {
	float: left;
	/*background:url('../../images/msplit.png') no-repeat right top;*/
	padding:0;
}
.sf-menu > li:last-child { background:none; }
.sf-menu > li:last-child >ul{ left: auto; right: 0; min-width: auto; }

.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
	display: block;
}

.sf-menu a {
	display: block;
	position: relative;
		-webkit-font-smoothing: antialiased;

}
.sf-menu ul ul {
	top: 0;
	left: 100%;
}


/*** SKIN ***/
.sf-menu {font-size:14px;height:30px; float:left;
}
.sf-menu ul {
		/*-webkit-border-radius: 0 5px 5px 5px;
		-moz-border-radius: 0 5px 5px 5px;
		border-radius:0 5px 5px 5px;*/
		padding:0;
		background:#EEE;
		margin-top:0px;
		margin-left:0px;
		
	box-shadow: 2px 6px 6px rgba(0,0,0,.2);
	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 a {
		/*-webkit-border-radius: 5px 5px 0 0;
		-moz-border-radius: 5px 5px 0 0;
		border-radius:5px 5px 0 0;*/
	height:30px;
	line-height:30px;
	padding:0px 15px;
	text-decoration: none;
	zoom: 1; /* IE7 */
	color: #1F125F;
}

.sf-menu li.me a{
	background:url('../../images/me.png') no-repeat left top;
	padding-left:28px;
}
.sf-menu li.home a{
	background:url('../../images/mhome.png') no-repeat center top;
	text-indent:-99em;
	width:56px;
	padding:0;
	border-radius:10px 0 0 10px;
}
.sf-menu li.home:hover{ background-color:transparent;}


.sf-menu ul li a {
	height:18px;
	line-height:18px;
}

/*.sf-menu li a.active { text-decoration:none; color:#fff; background:url(../../images/menu/01.png) no-repeat center top; background-size:100% 100%; }*/

.sf-menu li {
	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;
}
.sf-menu ul li {
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
}
	.sf-menu ul li a { 
			text-decoration:none;
			color:#232323;
		padding:10px 16px; }
	.sf-menu ul li a:hover { 
			text-decoration:none;
			color:#232323;
			background:rgba(0, 0, 0, 0.09);
			 }
	.sf-menu ul li a.active { 
			text-decoration:none;
			color:#232323;
			background:rgba(0, 0, 0, 0.09);
			 }
		
/*.sf-menu ul ul li {
	background: #596067;
}*/
.sf-menu >li:hover,
.sf-menu >li.sfHover {
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
	background-color:#EEE;
}


/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
	padding-right: 20px;
	*padding-right: 20px; /* no CSS arrows for IE7 (lack pseudo-elements) */
}
.sf-arrows ul li a.sf-with-ul { padding-right:30px; }
.sf-menu ul li.sfHover .sf-with-ul { background:rgba(0, 0, 0, 0.09); }


.sf-menu ul:before{
	content: '';
	position: absolute;
	height: 0;
	width: 0;
	display:block;
	border-style:solid;
	border-color:transparent transparent transparent transparent;
	border-width:7px;
	
	margin-top: -22px;
	margin-left:20px;
	
}

.sf-menu ul li ul:before { border:0; }

/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 0.5em;
	margin-top: 0;
	margin-right:0;
	height: 0;
	width: 0;
	/* order of following 3 rules important for fallbacks to work */
	border: 3px solid transparent;
	/*border-top-color: #257DFE;  edit this to suit design (no rgba in IE8)  border-top-color: rgba(37,125,254,1.5);*/
	border-top-color: #232323;
}

.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: #232323; /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
	margin-top: -5px;
	margin-right: -6px;
	border-color: transparent;
	border-left-color: #232323; /* edit this to suit design (no rgba in IE8) */
	border-left-color: #232323;
}
.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-left-color: #232323;
}
