body {
 -moz-opacity: .999; //to defeat firefox redraw problem with fade effect
}
	
/* link styles */

	
.nav a, .nav a:link, .nav a:visited {
	text-decoration: none;
	display: block;
	padding: 7px 7px;
	color: #000;
	width: 100px;
	font-weight: normal;
	font-size: 12px;
	background-color: #fff;
	border-left: 1px solid #CCC;
  	margin: 0;
  	text-align: center;
}

.nav a.wide, .nav a.wide:link, .nav a.wide:visited{
	width: 250px;
	}

.nav a.firstitem {
	border-left: none;
	}
	


.nav li li a, .nav li li a:visited {
  	text-align: left;
  	border-bottom: 1px solid #ccc;
  	border-left: 1px solid #ccc;
 	border-right: 1px solid #ccc;
  	background-color: #555;
  	color: #fff;
	line-height: 1.3;
}

.nav li li li a {
	/* style for second level menu links */
}

.nav a:hover{
	background-color: #999;
	color: #FFF;
}

.nav li li a:hover{
	background-color: #111;
	}

/* main nav bar */
.nav {
	margin: 0;
	padding: 0;
	line-height: 1;
}

/* all list items */
.nav  li {
	margin:0 !important;
	padding:0 !important;
	list-style: none; /* remove bullets */
	float: left; /* place buttons side by side */
  	position: relative;
  }


/* pop-up subnav */
.nav ul {
	margin: 0;
	padding: 0;
	position: absolute;
  	left: 0;
  	top: 26px; /* change when you change height of links */
	display: none;
}


/* list items in pop-up subnav */
.nav ul li {
	float: none; /* so links line up one above the other for drop-downs */
}

/*3rd level menu position*/
.nav ul ul {
	position: absolute;
  	left: 10.8em; /* change when you change width of links */
  	top: -1px;
  	z-index: 99;
  	border-top: 1px solid #FFF;
	border-right: 1px solid #FFF;
}

.nav ul ul li {
	z-index: 100;
}



/* look for buttons that have menus */
.nav .sub {
	background-image: url(../images/arrow_down.png);
  	background-repeat:no-repeat;
  	background-position: 2px 3px;
}

.nav .subsub {
	background-image: url(../images/arrow_left.png);
  	background-repeat: no-repeat;
  	background-position: 4px 7px;
}
