
#nav a span{
	float:left;
	display:block;
	background: transparent;
	padding:3px 9px 3px 6px;
}
#nav a:hover{
	background-color: #3366CC;
	cursor: hand;
}
#nav a:hover span{
	background-color: #3366CC;
}
#nav #current a span{
	/*width: auto; width needed or else Opera goes nuts */
	text-align: center;
}
#nav #current a, #nav #current span{ /*currently selected tab*/
	background-color: #3366CC;
}
#nav #current a:hover, #nav #current a:hover span{ /*currently selected tab*/
	background-color: #6699FF;
}
/* --------------------------------------------------------------------------- */
#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	font: bold 11px Arial, Verdana, Helvetica, sans-serif;
}

#nav a {
	display:block;
	float:left;
	color: #fff;
	background: #6699FF;
	
	padding:0 0 0 3px;
	text-decoration:none;
	letter-spacing: 1px;
}

#nav li { /* all list items */
	float: left;
	position: relative;
	margin:0 2px 0 0;
}

#nav li ul { /* second-level lists */
	position: absolute;
	width: 150px;
	/*left: -999em;  using left instead of display to hide menus because display: none isn't read by screen readers */
	display: none;
	top: 20px;
	left: 0px;
}
#nav li>ul { /* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */
	left: 0px;
	top: 20px;
	width: 150px;
}
#nav li:hover ul, #nav li.over ul { /* lists nested under hovered list items */
	display: block;
}
#nav #current .underlinks a {
	color: #fff;
	background: #3366CC;
	width: 150px;
	text-align: left;
	margin: 0;
	padding:3px 0px 3px 6px;
	border-top: 1px solid #FFF;
}
#nav #current .underlinks a:hover {
	color: #FFF;
	background: #6699FF;
	width: 150px;
	border-top: 1px solid #FFF;
}