/*** NAV STYLING ***/

#nav li ul {
	width:			160px; /*IE6 soils itself without this*/
	padding: 0;

}

#nav li ul#long {
	width:			250px; /*IE6 soils itself without this*/
	padding: 0;

}

#nav li li {
	position:		relative;
}
#nav ul li {
	width:			auto;
	float:			left;
}
#nav a, #nav a:visited {
	border:			none;
}
ul#nav .current ul,
ul#nav ul li:hover ul,
ul#nav ul li.sfHover ul {
	left:			0;
	top:			40px; /* match top ul list item height */
}
ul#nav .current ul ul {
	top: 			-999em;
}

#nav li li.current > a {
	font-weight:	bold;
}


/*** ESSENTIAL STYLES ***/
#nav * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
#nav ul {
	line-height:	1.0;
}
#nav ul {
	position:		absolute;
	top:			-999em;
	width:			180px; /* left offset of submenus need to match (see below) */
}
#nav ul li {
	width:			100%;
}
#nav li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
#nav li {
	float:			left;
	position:		relative;
}
#nav a {
	display:		block;
	position:		relative;
}
#nav li:hover ul,
#nav li.sfHover ul {
	left:			0px;
	top:			40px; /* match top ul list item height */
	z-index:		99;
}
ul#nav li:hover li ul,
ul#nav li.sfHover li ul {
	top:			-999em;
}
ul#nav li li:hover ul,
ul#nav li li.sfHover ul {
	left:			110px; /* match ul width */
	top:			0;
}
ul#nav li li:hover li ul,
ul#nav li li.sfHover li ul {
	top:			-999em;
}
ul#nav li li li:hover ul,
ul#nav li li li.sfHover ul {
	left:			110px; /* match ul width */
	top:			0;
}

/*** DEMO SKIN ***/
#nav ul li:first-child { border:0; }
#nav ul li { border-top:1px solid #4BC1DE; background: #2D2D2D; }
#nav ul li a {
	display: block;
	padding: 8px 16px;
	background:	none;
	color:#fff;
	font-weight: normal;
}
#nav ul a:focus, #nav ul a:hover, #nav ul a:active {
	color: #ccff99;
	text-decoration: underline;
	outline:		0;
}

/*** shadows for all but IE6 ***/
#nav.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;
}
