#mainnav {
	width: 970px;
	height: 31px;
	background-color: #2d4b87;
	background-image: url(../images/layoutFinal/topnavBg.gif);
	background-repeat: no-repeat;
	background-position: top;
	border-top-width: 1px;
	border-bottom-width: 1px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #384b68;
	border-bottom-color: #384B68;
	/*padding-top: 5px;*/ /*positions text vertically within bar*/
}
#topnav {
	width: 780px;
}
#topnav ul li, #topnav li a { /*a style is essential for IE positioning*/
	display: block;
	text-decoration: none;
	color: #FFFFFF;
	margin: 0px;
	padding: 0px;/*width: 100px;*/
}
#topnav li { /* ALL LIST ITEMS */
	float: left;
	display: block;
	text-align:left; /*must stay left to position popout menus*/
}
ul#topnav li {
	font-size: 14px;
	font-weight: bold;
	float: left;
	/*inheritance issues:*/
	/*width: 100px;*/
	/*background-color: #FFFFFF;*/
	/*padding-top: 4px;
	padding-bottom: 4px;*/
	/*padding-left: 25px;*/ 
	/*height: 18px;*/
	/*padding-top: 5px;*/
}
ul#topnav li a {
	color: #FFFFFF;
	text-decoration: none;
	padding-top: 4px;
	padding-bottom: 7px; /*orig 8px: reduced for IE bugginess: counteract w/top border on hover ul to fake vertical alignment*/
}
ul#topnav li a#request {
	/*margin-left: 28px;*/
	padding-left: 25px;
}
ul#topnav li a:hover {
	color: #eebc35;
}
/*styles for top nav drop-down menu */
#topnav, ul#topnav {
	width: 970px;
	/*height: 15px;*/
	display:inline;
	float:left;
	margin: 0px;
	/*margin-right: 3%;*/ /* helps "clear" subsequent elements in IE */
	padding: 0px;
	list-style: none;/* line-height: 1; */
}
/* top nav bar styles based on "Son of Suckerfish" CSS menu + Javascript to get IE to show hover on li tag */


/* img style css
#topnav #navareas {
	height: 26px;
	background-image: url(../images/navimages/topnav_eresources.gif);
	background-repeat: no-repeat;
	background-position: left top;
}
#navareas a.navreas {
	display: block;
	width: 125px;
	height: 26px;
	background-repeat: no-repeat;
	background-position: left top;
	
}
#navareas a.navreas:hover {
	hover image on here
}
*/


#navabout, #navareas, #navresources, #naveducation, #navfunding, #navrequest {
	padding-top: 4px;
}
#navabout, #navareas, #navresources, #naveducation, #navfunding {
	padding-right: 12px;
}
#navareas, #navresources, #naveducation, #navfunding {
	padding-left: 12px;
	padding-top: 4px;
}
#navabout {
	padding-left: 12px;
	margin-left: 10px;
}
#navrequest {
	padding-left: 45px;
}

/*#navrequest {
	padding-left: 30px;
}*/
/*messes up ie 6
#navfunding {
	margin-right: 11px;
}*/
#navabout a.navabout:hover, #navfunding a.navfunding:hover, #naveducation a.naveducation:hover, #navareas a.navareas:hover, #navresources a.navresources:hover, #request #navrequest a.navrequest:hover {
	color:#eebc35;
}
/*you are here style for top nav: sets tab to "on" when body id set to "topnav #idname"*/
#about #navabout a.navabout, #areas #navareas a.navareas, #education #naveducation a.naveducation, #funding #navfunding a.navfunding, #resources #navresources a.navresources, #request #navrequest a.navrequest {
	color:#eebc35;
}
/*works with a only (without a.class) but then submenu items pick up the style too.*/


	

#topnav li ul {
	display: block;
	position: absolute;
	font-family: Arial, Helvetica, sans-serif;
	/*width: 160px;*/
	left: -999em;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-color: #2d4b87;
	border-bottom-color: #2d4b87;
	border-left-color: #2d4b87;
        /*fake vertical alignment with navbar container bottom via margin = same color*/
	border-width: 1px;
	border-top-color: #2d4b87;
	border-top-style: solid;
}
#topnav li:hover ul, #topnav li.sfhover ul { /* lists nested under hovered list items */
	position: absolute;
	left: auto;
	display:block;
	width: 153px;
	/*background-color:#F9DA89;*/
	background-color:#FFFFFF;
	padding: 0px;
	margin: 0px;
}
#topnav li ul li {
	display:block;
	width: 153px; /*this couteracts the global #topnav a style above that must be in place for IE positioning*/
	text-align: left;
	font-size: 11px;
	/*background-color:#F9DA89;*/
	
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CCCCCC;
}
#topnav li ul li a {
	display:block;
	width: 145px; /*this couteracts the global #topnav a style above that must be in place for IE positioning*/
	text-align: left;
	font-size: 11px;
	/*background-color:#F9DA89;*/
	color: #415089;
	padding: 4px;
	margin: 0px;
	font-weight: normal;
}
#topnav li ul li a:hover {
	background-color:#F9DA89;
	color:#000066;
	display:block;
}

