#nav, #nav ul { /* all lists */
padding: 0 20px;margin: 0;list-style: none;}
#nav a {display: block;}
#nav li { /* all list items */
float: left;width: 140px; /* width needed or else Opera goes nuts */}
#nav li a,#nav li ul li a {
color : #000000;text-decoration : none;
padding : 0 0.7em;font-size : 0.8em;
display: block;
		 height:42px;
		 line-height:42px;
	}
	
#nav li a:hover {
color : #ff0000;
background-color:transparent;
}
#nav li ul { /* second-level lists */
	position: absolute;
	background: orange;
	width: 10em;
	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: -1em 0 0 10em;
}

#nav li:hover ul ul, #nav li.sfhover ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}
