/*
///	 Navigation  ///
*/

/* first do main navigation */
#mainnav {
	clear: both;
	margin-right: 4px;
}

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

#nav a {
	background: #fff url(p/tab_off-bg.gif) repeat-x top left;
	background-color: #fff;
	border-top: 1px solid #999;
	border-right: 1px solid #999;
	border-left: 1px solid #999;
	color: #333;
	display: block;
	margin: 0;
	padding: 5px 0;
	text-align: center;
	text-decoration: none;
	width: 100%;
}

#nav li { /* all list items */
	float: left;
	width: 8em; /* width needed or else Opera goes nuts -- example has an em value though */
	font-family: verdana, tahoma, arial, sans-serif;
	font-size: 95%;
}

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

#nav li ul a { /* second-level list links */ 
	background: #fff url(p/tab_off-bg.gif) repeat-x top left;
	text-align: left;
	padding: 5px 0px 5px 5px;
}

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

#nav {
	float: right;
	padding: 90px 0 0 0;
	list-style: none;
}

#nav a:hover {
	background: #d70000 url(p/tab_on-bg_red.gif) repeat top left;
	color: #fff;
}

/*
/// start top navigation ///
*/

#topnav {
	float: right;
	display: inline;
	text-align: right;
}


#topnav ul {
	float: right;
	margin: 0;
	padding: 3px 2px 0 0;
	list-style-type: none;
}

#topnav li { 
	display: inline;
	margin: 0;	
	padding: 0 3px;
	text-align: right;
}

#topnav li+li {
	border-left: 1px solid #ccc;

}
#topnav a {
	color: #333;
	background-color: transparent;
	font-family: verdana, tahoma, arial, sans-serif;
	font-size: 75%;
	font-weight: normal;
	text-decoration: none;
	padding: 5px 6px;
}

#topnav a:hover, body#contact #n-contact a {
	color: #d70000;
	padding-bottom: 5px;
	border-color: #d70000;
	text-decoration: underline;
}