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



#nav a {
	display: block;
	width: 100px;
	text-decoration:none;
	overflow-x:hidden;	
}

.mainmenu a{
xpadding:2px;
width: 100px; /* width needed or else Opera goes nuts */
color:black;
xborder-right:1px solid white;
text-align:center;
}

.mainmenusel a{
xpadding:2px;
width: 100px; /* width needed or else Opera goes nuts */
color:#07085B;
xbackground-color:#2F3D3E;
xborder-right:1px solid white;
text-align:center;
}

.mainmenu ul, .mainmenusel ul{
xborder-left:1px solid #e9e9e9;
xborder-right:1px solid #e9e9e9;
}

.mainmenu a:hover{
xbackground: #07085B;
xcolor:white;
}

.subdd a{
background-color:#D1D1C2;
border-top:1px solid #F8F8F8;
border-right:0px;
text-transform:none;
font-size:10px;
width: 180px; /* width needed or else Opera goes nuts */
color:black;
text-align:left;
padding:2px;
}


.subdd a:hover{
background: #BABBA4;
}

.subdd2{
border-top:0px solid #e9e9e9;
}

#nav li { /* all list items */
xbackground-color:black;
	float: left;
	font-size:10px;
	width: 100px; /* width needed or else Opera goes nuts */
}

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

#nav li ul ul { margin: -19px 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;
}


}
