#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	background: #1F2B51;
}

#nav a {
	color: white;
	display: block;
	/*width: 10em;*/
}

#nav li a {
	font-size: 12px;
}

#nav li ul li a {
	border-top: 1px solid white;
	font-size: 11px;
	color: black;
}

#nav li ul li a:hover {
	color: white;
}

#nav li ul { /* second-level lists */
	z-index: 1000;
	position: absolute;
	background: #A3A3A3;
	width: 14em;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#nav li ul li:hover {
	background: #1F2B51;
}

#nav li:HOVER {
	background: #666666;
}

#nav li { /* all list items */
	font-weight: bold;
	font-size: 13px;
	line-height: 1.6em;
	float: left;
	padding-right: 11px;
	border-right: 1px solid white;
	/*margin-left: 2px;*/
	/*width: 10em;*/ /* width needed or else Opera goes nuts */
}

#nav li ul li {
	border-right: none;
	font-weight: bold;
	font-size: 11px;
	/*border-top: 1px solid white;*/
	line-height: 1.8em;
	padding: 0px;
	float: left;
	width: 14em;
}

#nav li a {
	padding-left: 12px;
}

#nav li ul li a {
	padding-left: 5px;
}

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

.sfHover { background-color: rgb(31,43,81); }
