/* horizontal drop down menu, based upon son of suckerfish
	requires sfHover javascript function to be included on page 
	for IE menus to work
*/
div#nav {
	background-image: url('images/menu_horz_bg.gif');
	background-repeat: repeat-x;
	background-color: #545454;
	border-style: solid;
	border-color: #262626;
	border-width: 1px 0px 1px 0px;
	height: 30px;
	/*overflow: hidden;*/
}

div#nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}

#nav a {
	display: block;
	/*width: 10em;*/

	/* custom, all links */
	color: white;
	text-decoration: none;
	text-align: center;
	border-right: solid #555555 1px;
	font-size: 13px;
	font-weight: bold;
	padding-top: 9px;
	padding-bottom: 8px;
}
#nav li ul a {
	/* custom, drop links only */
	font-size: 12px;
	text-align: left;
	padding: 6px 0px 6px 8px;
	/*background-image: url('images/icons/arrow_right.gif');
	background-repeat: no-repeat;*/
}

#nav li { /* all list items */
	float: left;
	width: 10em; /* width needed or else Opera goes nuts */
}

#nav li li {
	width: 12em;
}

#nav li ul { /* second-level lists */
	position: absolute;
	background-color: #545454;
	width: 12em;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	
	/* custom */
	border-style: solid;
	border-width: 0px 1px 1px 1px;
	border-color: #545454 #262626 #262626 #838383;
	
	background-image: url('images/dropshadow_01.png');
	background-repeat: repeat-x;
}
#nav li ul ul { /* third-level lists */
	background-image: none;
	border-top: solid #838383 1px;
}

#nav li ul ul { /* third-and-above-level lists */
	margin: -1.4em 0 0 12em;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

#nav li ul a:hover { /* links nested under hovered list items */
	background-image: url('images/menu_horz_bg.gif');
	background-repeat: repeat-x;
}

#nav li ul li.dir { /* lists that have sublevels */
	background-image: url('images/icons/arrow_right.gif');
	background-repeat: no-repeat;
	background-position: 11em 50%;
}

#nav li li.active, #nav li li.active li.active {
	font-style: italic;
}
#nav li li.active li {
	font-style: normal;
}
