div#menus {
	width: 900px;
	/* background: #00477f; */
	background: #00477f;
	padding: 0;
	height: 24px;
}

#nav, #nav ul { /* all lists */
	padding: 5px 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	z-index: 9;
}

#nav a {
	display: block;
	color: #fff;
	text-decoration: none;
}

#nav a.selected {
	color: #C4E0F5;
	font-weight: bold;
}

/* for proper spacing of 2nd and 3rd level links */
#nav li ul li a, #nav li ul li a {
	width: 10em;
}

#nav li ul li a {
	color: #00477f;
}

#nav li { /* all list items */
	float: left;
	background-color: #00477f;
	background-repeat: repeat-y;
	line-height: 14px;
	text-align: center;
}

#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 */
	border: 1px solid #639ec8;
	/* margins are defined at the end of this stylesheet by named tab individually */
	background: #fff;
	padding: 0 0 5px 0;
}

#nav li ul li {
	background-color: #fff;
	padding: 4px 0 4px 0;
	margin: 0 2px 0 5px;
	_margin-left: 2px;
	border-bottom: 1px dashed #00477f;
	line-height: 14px;
	text-align: left;
	width: 11em;
}

/* third-and-above-level lists */
/*must specify each tab by ID individually because of custom li width */

#nav li#ask_chis ul ul,
#nav li#about_us ul ul,
#nav li#newsroom ul ul,
#nav li#design_methods ul ul,
#nav li#get_chis_data ul ul,
#nav li#publications ul ul  { 
	margin: -19px 0 0 11em;
	
}

#nav li#ask_chis ul li ul li,
#nav li#about_us ul li ul li,
#nav li#newsroom ul li ul li,
#nav li#design_methods ul li ul li,
#nav li#get_chis_data ul li ul li,
#nav li#publications ul li ul li {
	margin: 0 2px 0 5px;
	_margin-left: 2px;
	padding: 4px 0 4px 0;
}

/* this fixes the IE7 'sticky' bug */
#nav li:hover { background-position: 0 0; }

#nav li:hover ul ul, #nav li.sfhover ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}


.home li#ask_chis { width: 100px; }
.home li#about_us { width: 120px; }
.home li#newsroom { width: 120px; }
.home li#get_chis_data { width: 140px; }
.home li#design_methods { width: 150px; }
.home li#publications { width: 120px; }
.home li#join { width: 150px; }

.sub li#home { width: 80px; }
.sub li#ask_chis { width: 90px; }
.sub li#about_us { width: 110px; }
.sub li#newsroom { width: 100px; }
.sub li#get_chis_data { width: 125px; }
.sub li#design_methods { width: 145px; }
.sub li#publications { width: 100px; }
.sub li#join { width: 150px; }


li.bordered { background-image: url('images/white_dot.gif');} 

