﻿#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}

#nav a 
{
	display: block;
	width:110px;
	text-decoration:none;
	padding-top:13px;
	padding-bottom:6px;
	color:#ccc;
	text-align:center;
	border-bottom:0;
	background:url(/images/template/menu_bg.gif) no-repeat;
}

#nav a:hover
{
	color:#FFF;
	
}

#nav li { /* all list items */
	float: left;
	/* width: 110px;  /* width needed or else Opera goes nuts */
}

#nav li.on a { /* Selected top menu text item */
	color:#336;
	background:url(/images/template/menu_on_bg.gif) no-repeat;
}

#nav li.off a { /* Selected top menu text item */
	color:#336;
	background:none;
}

#nav li ul { /* second-level lists */
	position: absolute;
	width: 12em;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	padding-top:0px;
}
#nav li ul li /* Sub menu items */
{
	margin:0px;
	width: 12em;
	border-bottom:solid 1px #000; /* Overides top level css */
	background: #669;
}

#nav li ul li a /* Sub menu anchor items */
{
	background-image:none;
	color:#ccc;
	width: 12em;
	text-align:left;
	padding:5px;
}

#nav li ul li a:hover, #nav li.on ul li a:hover
{
	color:#fff;
	background: none;
}

#nav li:hover, #nav li.hover { /* Fix for IE7 sub item sticking after page click */
    position: static;
}

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}


