
/* Just a few basic page styles */
body {
	font-size: 76%;
	font-family: Arial, Helvetica, sans-serif;
}
#mainnav {
	width: 800px;
	height: 25px;
	color: #ddd;
	
}
/* -------------------------- */
/* We begin by styling the main navigation on the page... */
/* -------------------------- */
/* Overall main navigation styles */
#nav, #nav ul {
	float: middle;
	list-style: none;
	line-height: 1em;
	color: #ddd;
	background-color: transparent;
	font-weight: bold;
	padding: 0;
	margin: 0;
}
/* -------------------------- */
/* The top main navigation links */
#nav a {
	display: block;
	padding: 5px 15px;
	color: #1a6600;	
	background-color:#ccc;
	background: url(/images/line.jpg) no-repeat top right; /* puts a "bar" on right of the main nav links */
	text-decoration: none;
}
/* I'm targeting the last main navigation link to have no "bar" on the right side */
#nav a.last {
	background-image: none;
}
#nav a.one, #nav a.two, #nav a.three #nav a.four #nav a.five #nav a.six #nav a.seven #nav a.eight{
	text-align: left;
	font-size: 1em;
}
#nav li {
	float: left;
	padding: 0;
}
/* -------------------------- */
/* The dropdown links lists */
#nav li ul {
	position: absolute;
	left: -999em;
	height: auto;
	width: 140px; 
	font-weight: normal;
	border: 1px solid #999;
	background-color: #ccc;
	margin: 0;
}
#nav li li {
	padding: 0;
	width: 140px; 
}
#nav li ul a {
	padding: 5px 10px;
	width: 120px;
	* html width: 100px;
}
/* This controls the flyout location of the second level dropdowns */
#nav li ul ul {
	margin: -2em 0 0 70px;
}
#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 {
	left: auto;
}
/* -------------------------- */
/* Here is the background of the main nav link while looking at the dropdown */
#nav li:hover, #nav li.sfhover {
	background-color: #ccc;
}
/* -------------------------- */
/* The dropdown links list colors */
#nav li ul.under a {
	color: #1a6600;
	background-image: none;
}
#nav li ul.under a:hover {
	background: #ccc;
	color: #fff;
}
/* -------------------------- */
/* The background of the second level links while looking at the dropdown under it... */
#nav li ul.under li:hover a.daddy, #nav li ul.under li.sfhover a.daddy {
	color: #fff;
}
#nav li ul.under li:hover, #nav li ul.under li.sfhover {
	color: #fff;
	background-color: #ccc;
}
/* -------------------------- */

/* -------------------------- */

</style>
