﻿#nav a, #subMenusContainer a{
	font-family:Arial, Helvetica, sans-serif;
	display:block;

	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	font-size: 21px;
	line-height: 26px;
	color:#000000;
	text-decoration: none;
}
#nav a:visited, #subMenusContainer a:visited{
}
#nav a:hover , #subMenusContainer a:hover {
	color: #990000;
}

/* Just main menu links --[for non-javascript users this applies to submenu links as well]*/
#nav a{
	margin:0;
	height: 16px;
	padding-top: 0px;
	padding-right: 40px;
	padding-bottom: 10px;
	padding-left: 40px;
	text-align: center;
}

/* Just sub menu links */
#subMenusContainer a, #nav li li a{
	text-align:left;
	font-size: 14px;
	color: #000;
	height: 26px;
	width: 250px;
	padding: 16px;
}



/* All ULs and OLs */
#nav, #nav ul, #nav ol, #subMenusContainer ul, #subMenusContainer ol { 
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1px;
}

/* All submenu OLs and ULs */
#nav ol , #nav ul, #subMenusContainer ul, #subMenusContainer ol {
	background-color: #fff;
	border-top-width: 2px;
	border-right-width: 1px;
	border-bottom-width: 2px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: none;
	border-left-style: solid;
	border-top-color: #000;
	border-right-color: #000;
	border-bottom-color: #000;
	border-left-color: #000;
	text-indent: 10px;
}

/* List items in main menu --[for non-javascript users this applies to submenus as well]  */
#nav li { 
	/*great place to use a background image as a divider*/
	display:block;
	list-style:none;
	position:relative;
	float:left;
}



/* main menu ul or ol elment */
#nav{
	display:block;
	position: relative;
	list-style:none;
	margin:0 0 0 0;
	z-index:5;
	text-align: center;
	display:block;
}


#nav li ul { /* second-level lists */
	position: absolute;
	width: 250px;
	margin-left: -1100em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	margin-top:0px;
}

/* third-and-above-level lists */
#nav li ul ul { margin: -1em 0 0 -1100em;}
#nav li:hover ul ul {	margin-left: -1100em; }

 /* lists nested under hovered list items */
#nav li:hover ul{	margin-left: 0; }
#nav li li:hover ul {	margin-left: 250px; margin-top:-2.5em;}
