/*----------------------------------------------------------*/
/* Gearin' Up												*/
/* CSS name: nav.css										*/
/* Developer: MindPick Software LLC							*/
/* Date: 4/18/2009											*/
/*															*/
/* Description: Style sheet for elements of the navigation 	*/
/* 		menu with all media.								*/
/*----------------------------------------------------------*/

/*--------------------------------------------------------------*/
/* The navigation menu items will have slightly smaller text.	*/
/* Put a graphic round cap on either end of the menu. IE		*/
/* before v7 needs a width of 100% to keep the caps "attached"	*/
/* to the menu bar, and to avoid the menus "jumping" on			*/
/* rollover. Min and max height on the caps keep the graphic	*/
/* looking good.												*/
/*--------------------------------------------------------------*/
#nav_menu {
	position: relative;
	font: .9em Verdana, Arial, sans-serif;
}

* html #nav_menu {
	width: 100%;
}

#nav_left_cap, #nav_right_cap {
	position: absolute;
	top: 0;
	width: 3px;
	height: 2em;
	min-height: 28px;
	max-height: 35px;
}

#nav_left_cap {
	left: 0;
	background: url(../images/nav-caps.gif) no-repeat scroll left center;
}

#nav_right_cap {
	right: 0;	
	background: url(../images/nav-caps.gif) no-repeat scroll right center;
}

/*--------------------------------------------------------------*/
/* Links in the nave menu will be purple normally, red when		*/
/* hovered over.												*/
/*--------------------------------------------------------------*/
#nav_menu a {
	color:  #660099;
}

#nav_menu a:hover {
	color: red;
}

/*--------------------------------------------------------------*/
/* The top-level navigation menu is a horizontal bar, so its	*/
/* items float left. Give the menu bar a 3D gold background		*/
/* and set its dimensions. The margins allow room for the end	*/
/* caps so resizing text doesn't show the menu bar surrounding	*/
/* them (seems to only be an issue with IE6). Width of each		*/
/* menu item added together is slightly less than 100% because	*/
/* otherwise IE's rounding will someimes put the menu on two	*/
/* lines. Max height on the ul element keeps the menu from		*/
/* expanding beyond the size of the background image on text	*/
/* resizes and min height keeps the menu bar from getting so	*/
/* small the end caps look odd.									*/
/*--------------------------------------------------------------*/
#nav_menu ul {
	list-style-type: none;
	height: 2em;
	min-height: 28px;
	max-height: 35px;
	margin: 0 3px;
	background: #ffcd10 url(../images/menu-bkgd.gif) repeat-x scroll;
}

#nav_menu ul li {
	position: relative;
	float: left;
	width: 24%;
	margin: 0;   /* Remove default left margin (bullet). */
	white-space: nowrap;
}

/*--------------------------------------------------------------*/
/* Submenus drop down vertically from top-level menu items so	*/
/* remove the float. Also, remove the inherited height, max		*/
/* height, min height, and margin and align the text to the		*/
/* left. Give the submenu a background. Set the width so that	*/
/* it is consistent (not based on the length of the content)	*/
/* and slightly smaller than the title. Finally, position the	*/
/* menu off the display until it's selected.					*/
/*--------------------------------------------------------------*/
#nav_menu li ul {
	position: absolute;
	left: -999em;
	width: 95%;
	height: auto;
	min-height: 0;
	max-height: none;
	margin: 0;
	padding: .3em 0;
	background-color: #fee483;
	background-image: none;
	text-align: left;
}

#nav_menu li li {
	float: none;
	width: auto;    	/* Reset inherited value. */
}
	
/*--------------------------------------------------------------*/
/* Links in the navigation menus are not underlined.  In the	*/
/* menu bar, the set the height and line height to the same		*/
/* value so the text is centered vertically. The min and max	*/
/* heights here keep the dropdowns immediately below the menu	*/
/* bar. Display block is required for IE to position the		*/
/* dropdown below the menu bar instead of overlaying it.		*/
/*--------------------------------------------------------------*/
#nav_menu li a {
	display: block;
	height: 2em;
	min-height: 28px;
	max-height: 35px;
	line-height: 2em;
	text-decoration: none;
}

/*--------------------------------------------------------------*/
/* In dropdown menus, unset inherited min and max height and	*/
/* line height. Make the font and height smaller than normal	*/
/* and indent the text for esthetic reasons.					*/
/*--------------------------------------------------------------*/
#nav_menu li li a {
	height: 1.6em;
	min-height: 0;
	max-height: none;
	padding: 0 0 0 5%;
	font-size: .9em;
	line-height: normal;
}

/*--------------------------------------------------------------*/
/* Hovering over the list items in the menu bar brings the		*/
/* dropdowns back into view just below them. iehover is a		*/
/* class added to the li elements by a javascript for IE.		*/
/*--------------------------------------------------------------*/
#nav_menu li:hover ul, #nav_menu li.iehover ul {
	left: 0%;
}

