#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}

#nav {
	font-size: 0.9em;
	padding-left: 10px;
}

#nav a {
	display: block;
	font-size: 0.9em;
	font-weight: bold;
	text-decoration:none;
	color: #ffffff;
	padding: 4px 18px 3px 5px;
}

#nav a:hover {
	color: #ffffff;
	text-decoration: underline;
}

#nav a.last {
	padding-right: 0;
}

#nav li { /* all list items */
	float: left;
}

#nav li ul { /* second-level lists */
	position: absolute;
	width: 10em;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}


#nav ul a {
	background: #4da5ad;
	font-size: 0.8em;
	color: #ffffff;
	padding: 5px;
	width: 150px;
	text-align: left;
}

#nav ul a:hover {
	background: #017475;
	color: #ffffff;
	text-decoration: none;
}