/* 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 */


/* Just main menu links --[for non-javascript users this applies to submenu links as well]*/



#nav li{
	float:left;
}
#nav li a{
	background:url(../../../images/gnav.png) no-repeat;
	text-indent:-9999px;
	display:block;
}
#nav .no1 a{ background-position: 0 0; width: 114px; height: 55px; } 
#nav .no2 a{ background-position: 0 -550px; width: 112px; height: 55px; } 
#nav .no1 a:hover{ background-position: 0 -445px; width: 114px; height: 55px; } 
#nav .no2 a:hover{ background-position: 0 -995px; width: 112px; height: 55px; } 

#subMenusContainer ul li  a{
	background:url(../../../images/gnav.png) no-repeat;
	display:block;
	text-indent:-9999px;
}
#subMenusContainer ul li.no1-1  a{ background-position: 0 -105px; width: 114px; height: 35px; } 
#subMenusContainer ul li.no1-2  a{ background-position: 0 -275px; width: 114px; height: 35px; } 
#subMenusContainer ul li.no2-1  a{ background-position: 0 -655px; width: 112px; height: 35px; } 
#subMenusContainer ul li.no2-2  a{ background-position: 0 -825px; width: 112px; height: 35px; } 
#subMenusContainer ul li.no1-1  a:hover{ background-position: 0 -190px; width: 114px; height: 35px; } 
#subMenusContainer ul li.no1-2  a:hover{ background-position: 0 -360px; width: 114px; height: 35px; } 
#subMenusContainer ul li.no2-1  a:hover{ background-position: 0 -740px; width: 112px; height: 35px; } 
#subMenusContainer ul li.no2-2  a:hover{ background-position: 0 -910px; width: 112px; height: 35px; } 

/*
.sprite-gnav1{ background-position: 0 0; width: 114px; height: 55px; } 
.sprite-gnav1_1{ background-position: 0 -105px; width: 114px; height: 35px; } 
.sprite-gnav1_1_ov{ background-position: 0 -190px; width: 114px; height: 35px; } 
.sprite-gnav1_2{ background-position: 0 -275px; width: 114px; height: 35px; } 
.sprite-gnav1_2_ov{ background-position: 0 -360px; width: 114px; height: 35px; } 
.sprite-gnav1_ov{ background-position: 0 -445px; width: 114px; height: 55px; } 
.sprite-gnav2{ background-position: 0 -550px; width: 112px; height: 55px; } 
.sprite-gnav2_1{ background-position: 0 -655px; width: 112px; height: 35px; } 
.sprite-gnav2_1_ov{ background-position: 0 -740px; width: 112px; height: 35px; } 
.sprite-gnav2_2{ background-position: 0 -825px; width: 112px; height: 35px; } 
.sprite-gnav2_2_ov{ background-position: 0 -910px; width: 112px; height: 35px; } 
.sprite-gnav2_ov{ background-position: 0 -995px; width: 112px; height: 55px; } 
.sprite-logo{ background-position: 0 -1100px; width: 161px; height: 55px; } 
*/


/* All menu links on hover or focus */
/*
#nav a:hover, #nav a:focus, #subMenusContainer a:hover, #subMenusContainer a:focus, #nav a.mainMenuParentBtnFocused, #subMenusContainer a.subMenuParentBtnFocused{
	background-color:#F6C739 ;
	color:#FFF;
}
*/

/* sub menu links on hover or focus */
/*
#subMenusContainer a:hover, 
#subMenusContainer a:focus, 
#nav a.mainMenuParentBtnFocused, 
#subMenusContainer a.subMenuParentBtnFocused,
#nav li a:hover,
#nav li a:focus{
	background-color:#F6C739 ;
	color:#FFF;
}
*/

/* ----[ 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 */
#nav, #nav ul, #nav ol, #subMenusContainer ul, #subMenusContainer ol { 
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1em;
}

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

#subMenusContainer li{
	list-style: none;
}

#subMenusContainer{	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 ]--------------------------*/
#nav li li{	float:none; }

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

#nav 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;
}

/* third-and-above-level lists */
#nav li ul ul { margin: -1em 0 0 -1000em; }
#nav li:hover ul ul {	margin-left: -1000em; }

 /* lists nested under hovered list items */
#nav li:hover ul{	margin-left: 0; }
#nav li li:hover ul {	margin-left: 10em; margin-top:-2.5em;}

/* extra positioning rules for limited noscript keyboard accessibility */
#nav li a:focus + ul {  margin-left: 0; margin-top:2.2em; }
#nav li li a:focus + ul { left:0; margin-left: 1010em; margin-top:-2.2em;}
#nav li li a:focus {left:0;  margin-left:1000em; width:10em;  margin-top:0;}
#nav li li li a:focus {left:0; margin-left: 2010em; width: 10em;  margin-top:-1em;}
#nav li:hover a:focus{ margin-left: 0; }
#nav li li:hover a:focus + ul { margin-left: 10em; }
