#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}

#nav {
	position: absolute;
	top: 130px;
	margin-left: 5px;	
}

#nav a {
	display: block;
	text-decoration: none; 
	font-weight: bolder; 
	height: 20px; 
	line-height: 20px; 
	padding-left: 10px; 
	padding-right: 10px;
	color: white;
	float: left;
}

#nav a:hover {
background-color: #4058DE;
}

#nav li { /* all list items */
	list-style: none;
	float: left;
}

#nav li ul { /* second-level lists */
	clear: left;
	position: absolute;
	top: 20px;
	background: #ddd;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	
}
#nav li ul li{
	clear: left;
	width: 200px;
	text-decoration: none; 
	line-height: 25px; 
	height: 25px; 
}

#nav li ul li a { color: #505050; }
#nav li ul li a:hover { background: #9b9b9b; }

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}
