 
/* Navigation */
.nav, .nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
 
.nav {
  font-family: Arial, Helvetica, sans-serif;
  z-index: 100;
  position: relative;
  display:block;
}
.nav li {
  border-left: 3px solid #838383; /*Here lies the color inbetween tabs. Apply pad-right to the far right tag.*/
  float: left;
  margin: 0;
  padding: 0;
  position: relative;
}
.nav li a, .nav li a:link, .nav li a:active, .nav li a:visited { /*All text properties?*/
	background: #415a91; /*inactive horizontal bg*/
	color: #fff; /*text color*/
	display: block;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	padding: 0 1.565em; /*padding horiz = 20px = 1.6 * (.8*16px)*/
	line-height: 25px;
	font-weight: 900;
}

.nav li a:hover {
  background: #ccc;
  color: #000;	
 
}
#nav-one li:hover a, 
#nav-one li.sfHover a {
  background: #fff; /*active horizontal bg*/
  color: #838383; /*active horizontal text*/
}
#nav-one li:hover ul a, 
#nav-one li.sfHover ul a {
  background: #415a91; /*Vertical bg color*/
  color: #fff;	/*Vertical text color*/
}
#nav-one li:hover ul a:hover, 
#nav-one li.sfHover ul a:hover {
  background: #fff; /*vertical hover bg color*/
  color: #838383;	/*vertical hover text color*/
}
 
.nav ul { /*Behind the Vertical menus, the only thing perceptible is the bottom border*/
  background: #F0F;
  border-bottom: 1px solid #000;
  list-style: none;
  margin: 0;
  width: 167px; /*Affects the bottom border*/
  position: absolute;
  top: -999em;
  left: -1px;
}
.nav li:hover ul,
.nav li.sfHover ul {
  top: 25px;
}
.nav ul li {
  border: 0;
  float: none;
}
#nav_custom {
	width: 940px;
	background-color: #838383;
	height: 28px;
	margin-left: 10px;
}
#nav_container {
	width: 960px;
	height: 28px;
	background-image: url(image/navbg.gif);
	background-repeat: repeat-x;
}

.nav ul a { /*On top of Vertical menus*/
  border: 1px solid #000;
  border-bottom: 0;
  padding-right: 20px;
  width: 125px; /*Width of top menu*/
  white-space: nowrap;
}
.nav ul a:hover { 
  background: #ccc;
  color: #000;
}

