body {
 -moz-opacity: .999; //to defeat firefox redraw problem with fade effect
}

/* link styles */
.nav a {
	text-decoration: none;
	display: block;
	color: #FFF;
	width: 140px;
	font-weight: bold;
	background-color: #036;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	text-align: center;
	padding-top: 5px;
	padding-right: 7px;
	padding-bottom: 4px;
	padding-left: 17px;
	height: 17px;
	vertical-align: middle;
	margin: 0;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	border-top-color: #CCC;
	border-right-color: #CCC;
	border-bottom-color: #CCC;
	border-left-color: #CCC;
}

.nav a:hover{
	color: #FC0;
	border-bottom-style: none;
	border-bottom-color: #FFF;
	border-top-style: none;
	border-right-style: none;
	border-left-style: none;
	border-top-color: #FFF;
	border-right-color: #FFF;
	border-left-color: #FFF;
}

.nav li li a {
	background-color: #069;
	color: #FFF;
	text-align: left;
  /* style for links on pop-up menus */
}

.nav li li a:hover {
	background-color: #9CF;
	color: #036;  /* style for links on pop-up menus */
}

.nav li li li a {
	/* style for second level menu links */
}

/* main nav bar */
.nav {
	margin: 0;
	padding: 0;
	line-height: 1;
	text-align: left;
	width: 100%;
}

/* 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: 1.72em; /* change when you change height of links */
	display: none;
	background-color: #069;
}


/* list items in pop-up subnav */
.nav ul li {
	float: none; /* so links line up one above the other for drop-downs */
	margin-top: 2px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	background-color: #069;
}

/*3rd level menu position*/
.nav ul ul {
	position: absolute;
	left: 10.4em; /* 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: 140px center;
	padding-right: 5px;
}

.nav .subsub {
	background-image: url(../images/arrow_left.png);
	background-repeat: no-repeat;
	background-position: right center;
}
