/* Based partially on Matthew Carroll's keyboard accessible flavor of Suckerfish 
 * Dropdowns by Patrick Griffiths and Dan Webb. 
 * http://carroll.org.uk/sandbox/suckerfish/bones2.html
 */

/* ----[ LINKS ]----*/

/* all menu links */
#hnav a, #hsubMenusContainer a{
}

/* Just main menu links --[for non-javascript users this applies to submenu links as well]*/
#hnav a{
	display: block;
	margin: 0px 0px 10px 0px;
	text-align: center;
	padding-right: 8px;
	padding-left: 8px;
	padding-bottom: 5px;
	padding-top: 15px;
	font-size: 12px;
	background-image: url(../../../images/menu_bg.jpg);
	background-position: top;
	background-repeat: repeat-x;
}

/* Just sub menu links */
#hsubMenusContainer a, #hnav li li a{
	display: block;
	background-color: Transparent;
	padding-right: 10px;
	padding-left: 10px;
	padding-bottom: 10px;
	padding-top: 10px;
	font-size: 11px;
	border-bottom: 1px solid #D3D3D3;
}

/* All menu links on hover or focus */
#hnav a:hover, #hnav a:focus, #hsubMenusContainer a:hover, #hsubMenusContainer a:focus, #hnav a.mainMenuParentBtnFocused, #hsubMenusContainer a.hsubMenuParentBtnFocused{
	color: #0091D8;
}

/* sub menu links on hover or focus */
#hsubMenusContainer a:hover, 
#hsubMenusContainer a:focus, 
#hnav a.hmainMenuParentBtnFocused, 
#hsubMenusContainer a.hsubMenuParentBtnFocused,
#hnav li a:hover,
#hnav li a:focus{
	color: #0091D8;
}

/* Parent Sub Menu Links ---[javascript users only]*/
.hsubMenuParentBtn{
	background: url(arrow_right.gif) right center no-repeat;
}

/* Parent Sub Menu Links on hover or focus ---[javascript users only]*/
.hsubMenuParentBtnFocused{
	background: url(arrow_right_over.gif) right center no-repeat;
}

/* Parent Main Menu Links ---[javascript users only]*/
.hmainMenuParentBtn{
	 background: url(arrow_down.gif) right center no-repeat;
}

/* Parent Main Menu Links on hover or focus ---[javascript users only]*/
.hmainMenuParentBtnFocused{
	background: url(arrow_down_over.gif) right center no-repeat;
}

/* ----[ OLs ULs, LIs, and DIVs ]----*/

/* Submenu Outer Wrapper - each submenu is inside a div with this class - javascript users only */
.smOW{ 
	display:none; 
	position: absolute; 
	overflow:hidden; 
	/*the 2px left & right padding lets you have a 1px border 
	  on the ul or ol inside since overflow is set to hidden*/
	padding:0 2px;
	margin:0 0 0 -2px;
}


/* All ULs and OLs */
#hnav, #hnav ul, #hnav ol, #hsubMenusContainer ul, #hsubMenusContainer ol { 
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1em;
}

/* All submenu OLs and ULs */
#hnav ol, #hnav ul, #hsubMenusContainer ul, #hsubMenusContainer ol {	
	/*border around submenu goes here*/	 
	background: White;	
	border: 1px solid #D3D3D3;
	left:0;
}


/* List items in main menu --[for non-javascript users this applies to hsubMenus as well]  */
#hnav li { 
	/*great place to use a background image as a divider*/
	display:block;
	list-style:none;
	position:relative;
	float:left;
}

#hsubMenusContainer li{
	list-style: none;
}

/* main menu ul or ol elment */
#hnav{
	display:block;
	list-style:none;
	margin:0 0 0 0;
	z-index:5;
	text-align: left;
}

#hsubMenusContainer{	display:block; 	position:absolute;	top:0;	left:0;	width:100%;	height:0;	overflow:visible;	z-index:1000000000; }


/* --------------------------[ The below is just for non-javscript users ]--------------------------*/
#hnav li li{	float:none; }

#hnav li li a{ /* Just submenu links*/	
	position:relative;
	float:none;
}

#hnav li ul { /* second-level lists */
	position: absolute;
	width: 10em;
	margin-left: -1000em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	margin-top:2.2em;
}
