/*** ESSENTIAL STYLES ***/
#MainNav ul {
	position: absolute;
	top: -999em;
	width: 15em; /* left offset of submenus need to match (see below) */
	margin: 0;
	line-height: auto;
}
#MainNav ul li {
	margin: 0 !important;
	float: none;
	background: #F3F3F3  !important;
}
#MainNav ul li a, #MainNav li.Active li a {
	background: #d6d6d6;
	font-weight: normal;
	color: #3C3C3C ;
	border: none;
	margin: 0;
	float: none;
    padding: 3px 8px;
}
#MainNav li li a:hover {
	visibility: inherit; /* fixes IE7 'sticky bug' */
	text-decoration:none;
    background: #c6c6c6 !important;
}
#MainNav li:hover ul,
#MainNav li.sfHover ul {
	left: 			0;
	top: 			2.20em; /* match top ul list item height */
	z-index: 		99;
}
ul#MainNav li:hover li ul,
ul#MainNav li.sfHover li ul {
	top: 			-999em;
}
ul#MainNav li li:hover ul,
ul#MainNav li li.sfHover ul {
	left: 			15em; /* match ul width */
	top: 			0;
}
ul#MainNav li li:hover li ul,
ul#MainNav li li.sfHover li ul {
	top: 			-999em;
}
ul#MainNav li li li:hover ul,
ul#MainNav li li li.sfHover ul {
	left: 			15em; /* match ul width */
	top: 			0;
}

/*** DEMO SKIN ***/
#MainNav {
}
#MainNav a {
}
#MainNav li li {
	background: 		#E8E8F8;
	font-size: 100%;
}
#MainNav li li li {
	background: 		#9AAEDB;
}
#MainNav li:hover, #MainNav li.sfHover,
#MainNav a: focus, #MainNav a:hover, #MainNav a: active {
	outline: 		0;
}

/*** arrows **/
#MainNav a.sf-with-ul {
	padding-right: 	2.25em;
	min-width: 		1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
	position: 		absolute;
	display: 		block;
	right: 			.75em;
	top: 			1.05em; /* IE6 only */
	width: 			10px;
	height: 			10px;
	text-indent: 	-999em;
	overflow: 		hidden;
	background: 		url('../_images_gen/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top: 			1.6em;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a: focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a: active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
#MainNav ul .sf-sub-indicator { background-position: -10px 0; }
#MainNav ul a > .sf-sub-indicator { background-position: 0 0; }
/* apply hovers to modern browsers */
#MainNav ul a: focus > .sf-sub-indicator,
#MainNav ul a:hover > .sf-sub-indicator,
#MainNav ul a: active > .sf-sub-indicator,
#MainNav ul li:hover > a > .sf-sub-indicator,
#MainNav ul li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
	background: 	url('../_images_gen/shadow.png') no-repeat bottom right;
	padding: 0 8px 9px 0;
	-moz-border-radius-bottomleft: 17px;
	-moz-border-radius-topright: 17px;
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
	background: transparent;
}
