/*** ESSENTIAL STYLES ***/
#mainNav ul, #mainNav ul * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
#mainNav ul {
	line-height:	1.0;
}
#mainNav ul ul {
	position:		absolute;
	top:			-999em;
	width:			238px; /* left offset of submenus need to match (see below) */
border: 1px solid #B5B5B5;
height:auto;
}
#mainNav ul ul li {
	width:			100%;
text-align: left;
height:25px;
border-top: 1px solid #B5B5B5;

}
#mainNav ul li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
#mainNav ul li {
	float:			left;
	position:		relative;
height:30px;
line-height:30px;
cursor:pointer;
}
#mainNav ul a {
	display:		block;
	position:		relative;
}
#mainNav ul li:hover ul,
#mainNav ul li.sfHover ul {
	left:			0px;
	top:			30px; /* match top ul list item height */
	z-index:		99;
}
#mainNav ul li:hover li ul,
#mainNav ul li.sfHover li ul {
	top:			-999em;

}
#mainNav ul li li:hover ul,
#mainNav ul li li.sfHover ul {
	left:			238px; /* match ul width */
	top:			-1px;
border-top: 0px solid;
}
#mainNav ul li li:hover li ul,
#mainNav ul li li.sfHover li ul {
	top:			-999em;

}
#mainNav ul li li li:hover ul,
#mainNav ul li li li.sfHover ul {
	left:			238px; /* match ul width */
	top:			0;
}

/*** DEMO SKIN ***/
#mainNav ul {
	float:			left;
    width:100%;
}
#mainNav ul a {
	border-left:	1px solid #fff;
	padding: 		0em 1em;
	text-decoration:none;
}

#mainNav ul ul a {
line-height:25px;
}

#mainNav ul a, #mainNav ul a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:			#959595;
}
#mainNav ul li {
width:240px;
text-align:center;
 background: url(../images/css/button.png) #EEEEEE no-repeat 0px 0px;
}
#mainNav ul li li {
	background:		#AABDE6;
width:238px;
color:#707070;
}
#mainNav ul li li li {
	background:		#9AAEDB;
}

#mainNav ul li li a {background: #EEEEEE; color:#959595; height:25px; text-align:left; padding: 0px 0px 0px 5px;}

#mainNav ul a:focus, #mainNav ul a:hover, #mainNav ul a:active {
color:#ff0000;
text-decoration:underline;
	outline:		0;
}

#mainNav ul li:hover, #mainNav ul li.sfHover {outline:		0;}

/*** arrows **/
#mainNav ul 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:			1px; /* IE6 only */
	width:			10px;
	height:			10px;
	text-indent: 	-999em;
	overflow:		hidden;
	background:		url('../images/arrows-ffffff.png') no-repeat 0px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}

ul ul .sf-sub-indicator { 
top:			5px; /* IE6 only */
}

li > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			10px;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}

ul ul a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			8px;
	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*/
}

a:hover .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
#mainNav ul ul .sf-sub-indicator { background-position:  -10px 0; }
#mainNav ul ul > .sf-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
#mainNav ul ul a:focus > .sf-sub-indicator,
#mainNav ul ul a:hover > .sf-sub-indicator,
#mainNav ul ul a:active > .sf-sub-indicator,
#mainNav ul ul li:hover > a > .sf-sub-indicator,
#mainNav ul 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/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;
} 
