/* 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 */
#navtree a, #subMenusContainer a{
	text-decoration: none;
	display: block;
	background-color: #000;
}

/* Just main menu links --[for non-javascript users this applies to submenu links as well]*/
/*
 *#navtree a{
 *    margin:0;
 *    float:left;
 *}
 */

/* Just sub menu links */
#subMenusContainer a, #navtree li li a{
	text-align:left;
    /*
	 *border-bottom: 1px solid #fff;
	 *padding-right: 1px;
     */
}

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

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

/*
 *[> Parent Sub Menu Links ---[javascript users only]<]
 *.subMenuParentBtn{ 
 *    background: url(../images/nav/arrow_right.gif) right center no-repeat;  
 *}
 *
 *[> Parent Sub Menu Links on hover or focus ---[javascript users only]<]
 *.subMenuParentBtnFocused{ 
 *    background: url(../images/nav/arrow_right_over.gif) right center no-repeat;  
 *}
 *
 *[> Parent Main Menu Links ---[javascript users only]<]
 *.mainMenuParentBtn{	
 *     background: url(../images/nav/arrow_down.gif) right center no-repeat; 
 *}
 *
 *[> Parent Main Menu Links on hover or focus ---[javascript users only]<]
 *.mainMenuParentBtnFocused{	
 *    background: url(../images/nav/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 submenu OLs and ULs */
/*
 *#navtree ol, #navtree ul, #subMenusContainer ul, #subMenusContainer ol {	
 *    [>border around submenu goes here<]
 *    border:1px solid #C3D46A; 
 *    left:0;
 *}
 */

/* All ULs and OLs */
/*
 *#navtree, #navtree ul, #navtree 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]  */
/*
 *#navtree 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;
	font-size: 1px;
}

/* main menu ul or ol elment */
/*
 *#navtree{
 *    display:block;
 *    position: absolute;
 *    list-style:none;
 *    margin:0 0 0 0;
 *    z-index:5;
 *    top:15px;
 *    left:50%;
 *    text-align: right;
 *    display:block;
 *}
 */

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

#navtree li li{
	float:none;
}

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

#navtree 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 */
#navtree li ul ul { margin: -1em 0 0 -1000em; }
#navtree li:hover ul ul {	margin-left: -1000em; }

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

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

