#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}

#nav a {
	padding: 7px 20px 5px 20px;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	display: block;
	border-right: #fff 1px dashed;
}
#nav a:hover {
	padding: 7px 20px 5px 20px;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: underline;
	color: #fff;
	display: block;
	border-right: #fff 1px dashed;
}

#nav li ul a:hover {
	color: white;
	background: black;
	background-image: none;
	border: 0;
}

#nav li { /* all list items */
	float: left;
	/*width: 10em;*/ /* width needed or else Opera goes nuts */
}
#nav li ul a {
	background: black;
	width: 13em;
	border: 0;
}

#nav li ul { /* second-level lists */
	position: absolute;
	z-index: 10000000;
	border-bottom: 0px solid #efefef;
	width: 11.7em;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}
#nav li ul ul { /* third-and-above-level lists */
	margin: -20px 0 0 145px;
}
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}
#nav .active1 {
	color: white;
	background-image: url(../gfx/hover.gif);
}

#nav li:hover, #nav li.hover {
    position: static;
}