/* Horizontal Flyout Menus
 * Requires: 	js/flyouts.js 
 * 				styles/base.css 
 */

#nav, #nav ul { 										/* all lists */
	list-style: none;									/* DO NOT REMOVE */
	font-family: arial, arial, helvetica, serif;		/* Font for your items */
	font-size: 1em;										/* Font size for your nav items */
	padding-left: 131px; 
}

#nav li { 												/* main nav items */
	float: left;										/* DO NOT REMOVE */
	font-size: 1.1em;										/* DO NOT REMOVE */
	background: url(../images/nav_off.gif);				/* Background of main nav items */
	width: 95px; 										/* = desiredWidth - padding-left - padding-right */
	height: 23px;										/* = desiredHeight - padding-top  - padding-bottom */
	padding: 22px 0 0 0px;								/* Used to position your text within main nav items */
	text-align: center;
}

#nav li.nav_active{ background: url(../images/nav_active.gif);	}

#nav li#end{ width: 19px; background: url("../images/rightside.gif"); }
#nav li#end:hover, #nav li#end.sfhover{ background: url("../images/rightside.gif"); }

#nav li ul { 											/* drop down boxes */
	position: absolute;									/* DO NOT REMOVE */
	left: -999em;										/* DO NOT REMOVE */
	width: 165px;										/* Width of drop down box */
	border-top: 1px solid #666;							/* Color of your box border */
	padding-left: 0;
	z-index: 5; 
	margin-top: -6px; 			
}

* html li ul{ margin-left: -47px; }

#nav li ul li{ 											/* drop down items */
	position: relative;									/* DO NOT REMOVE */
	background: #b4ecec;								/* Background for drop-down items */
	border-width: 0 1px 1px 1px;						/* sets the borders for your drop downs */
	border-style: solid;								/* The style of the border */
	border-color: #666666;									/* color of the border for your drop downs */
	padding: 0 0 0 5px;							/* used to position text in the drop down item */
	width: 160px;										/* = nav li ul width - padding-left - padding-right */
	height: 1.6em;										/* height for the list items */
	line-height: 1.6em;
	text-align: left;
}

#nav li ul ul { 										/* third-and-above-level lists */
	margin-top: -2.2em;									/* = neg(parent height + parent vert. pad. + parent vert. border */									
	margin-left: 160px;									/* = parent width */
}

#nav a {
	display: block;										/* DO NOT REMOVE */
	text-decoration : none;								/* DO NOT REMOVE */
	background-color : transparent;						/* DO NOT REMOVE */
	width: 100%;										/* DO NOT REMOVE */	
	height: 100%;										/* DO NOT REMOVE */
	color: #264772;										/* text link color */
	font-weight: normal;
}

#nav ul ul a{ color: #666666; }

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;										/* DO NOT REMOVE */
}

#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;											/* DO NOT REMOVE */
}

#nav li:hover, #nav li.sfhover {
	background: url(../images/nav_on.gif);			/* Background for main nav items when hovered */
}

#nav li ul li:hover, #nav li ul li.sfhover{
	background: #79e3e3;								/* Background for flyout items when hovered */
}