/* -------------------------- */
/* We begin by styling the main navigation on the page... */
/* -------------------------- */
/* Overall main navigation styles */
#nav, #nav ul {	/* general setting all lists */
	float: left;
	list-style: none;
	line-height: 1em;
	color: #999;
	background-color: transparent;
	font-weight: bold;
	padding: 0;
	margin: 0;
}
/* -------------------------- */
/* The top main navigation links */
#nav a {		/* all link properties*/
	display: block;	/*	expand the menu at the maximum lenght */
	text-decoration: none;
	background: #f2b504 url('../img/corner.gif') no-repeat top right; /* puts a "bar" on right of the main nav links */
	font-weight: bold;
	color: #fff;
	/* space around link*/
	padding: 4px 10px;
	margin-right: 2px;	
}
/* 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 {
	text-align: left;
	font-size: 1em;
}
#nav li {
	float: left;
	padding: 0;
	line-height: 1.4em;
	list-style-type: none;
	/* display: inline; 	 put the li list in line (not one bellow another) */
}
/* -------------------------- */
/* The dropdown links lists */
#nav li ul {
	position: absolute;
	left: -999em;
	height: auto;
	width: 140px; 
	font-weight: normal;
	/*
	border: 2px solid #999;
	*/
	border: 2px solid #ddecfa;
	background-color: #ddecfa;
	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 140px;
}
#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: #660000;
	background-image: none;
}
#nav li ul.under a:hover {
	background: #9b0f02;
	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: #f00;
}
/* -------------------------- */


