﻿#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}

#nav a 
{
	display: block;
	text-decoration:none;
	padding-bottom:6px;
	padding-top:12px;
	color:#ccc;
	text-align:center;
	border-bottom:0;
}

#nav a.top
{
	display: block;
	text-decoration:none;
	padding: 13px 8px 10px 8px;
	color:#fff;
	text-align:center;
	border-bottom:0;
	background: url(/Images/Template/menu_tab_bg.gif) repeat-x;
	border-left:1px solid #d53131; 
}

#nav a:hover
{
	color:#FFF;
	background: #f00;
	
}

#nav li { /* all list items */
	float: left;
	/* width: 110px;  /* width needed or else Opera goes nuts */
}

#nav li.on, #nav li.on a:hover { /* Selected top menu item */
	background: #F00;
}

#nav li.on a { /* Selected top menu text item */
	color:#00392C;
	background: #F00;
}

#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: 14em;
	border-bottom:solid 1px #D00; /* Overides top level css */
	background: #F00;
}

#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;
}


