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

#nav a {
	text-decoration: none;
}

#nav li { /* all list items */
	float: left;
	width: 20em; /* width needed or else Opera goes nuts */
	width:auto;
	border-left: 1px solid #000;
	padding-left:15px;
	padding-right: 15px;
	padding-top:3px;
	height:20px;
}

#nav li ul { /* second-level lists */
	position: absolute;
	background: lightblue;
	width: 20em;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

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

#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.active {
	font-weight: bold;
	background-color: #CDCFCC;
}

ul#nav li.activeClose {
	background-image: url(../../image/navitemActive.gif);
	background-repeat: no-repeat;
	background-position: left top;
}

ul#nav li#navitemEmpty.activeClose {
	border-left: 1px none #000;
}

.last {
	border-right: 1px solid #000;
}


#submenu {
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}

#submenu li { /* all list items */
	float: left;
	width: 20em; /* width needed or else Opera goes nuts */
	width:auto;
	padding-left:15px;
	padding-right: 15px;
	padding-top:4px;
	height:20px;
	background-position: left bottom;
	background-repeat: no-repeat;
	background-image: url(../../image/subitem.gif);
}

#submenu a {
	text-decoration: none;
	color: #333;
}

#submenu li.active a {
	font-weight: bold;
	color: #000;
}
