/* 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 */
#nav_dropdown a, #subMenusContainer a{ 
	text-decoration:none;
	display:block;
	height: 36px;
	line-height: 36px;
	padding: 0 12px 0 7px;
	margin: 0;
	text-align: left;
}

/* Just main menu links --[for non-javascript users this applies to submenu links as well]*/ 
#nav_dropdown a{
   /*great place to use a background image as a divider*/
   width: auto;
   background: url(/images/backgrounds/navblue_vert.jpg) no-repeat bottom right;
   font-size: 13px;
   font-weight: bold;
   color: #fff;
   text-transform: uppercase;
   float: left;
}

#loudandproud #navigation_wrapper li a { background: url(/images/backgrounds/navred_vert.jpg) no-repeat top right; }

/* Just sub menu links */
#subMenusContainer a, #nav_dropdown li li a{
   color: #fff;
   background: none;
   background-color: #04365e;
   text-transform: uppercase;
   padding: 0 10px;
   font-weight: bold;
}

/* All menu links on hover or focus */
#nav_dropdown a:hover, #nav_dropdown a:focus, #subMenusContainer a:hover, #subMenusContainer a:focus, #nav_dropdown a.mainMenuParentBtnFocused, #subMenusContainer a.subMenuParentBtnFocused{
      color: #3d94fb;
}

/* sub menu links on hover or focus */
#subMenusContainer a:hover, #subMenusContainer a:focus, #nav_dropdown a.mainMenuParentBtnFocused, #subMenusContainer a.subMenuParentBtnFocused,
#nav_dropdown li a:hover,#nav_dropdown li a:focus{  }

/* Parent Sub Menu Links ---[javascript users only]*/ .subMenuParentBtn{ }
/* Parent Sub Menu Links on hover or focus ---[javascript users only]*/ .subMenuParentBtnFocused{  }

/* Parent Main Menu Links ---[javascript users only]*/
.mainMenuParentBtn{    }

/* Parent Main Menu Links on hover or focus ---[javascript users only]*/
.mainMenuParentBtnFocused{    }

/* ----[ 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 4px;
   margin:0 0 0 -4px;
}


/* All ULs and OLs */
#nav_dropdown, #nav_dropdown ul, #nav_dropdown ol, #subMenusContainer 
ul, #subMenusContainer ol {
   padding: 0;
   margin: 0;
   list-style: none;
   line-height: 36px;
}

/* main menu ul or ol elment */
#nav_dropdown{
   width: 900px;
   height: 36px;
   display:block;
   position: absolute;
   list-style:none;
   margin:0 0 0 0;
   z-index:5;
   top:0;
   left:0;
   text-align: left;
}

/* All submenu OLs and ULs */
#nav_dropdown ol, #nav_dropdown ul, #subMenusContainer ul, #subMenusContainer ol { /*border around submenu goes here*/ }

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

#subMenusContainer li{
   display:block;
   width: 200px;
   height: 36px;
   line-height: 36px;
   list-style: none;
   background-color: #04365e;
}

#subMenusContainer{ display:block; position:absolute; top:0; left:0; width:200px; height:0; overflow:visible; z-index:100000; }

/* --------------------------[ The below is just for non-javscript users 
]--------------------------*/

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

#nav_dropdown 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:36px;
}

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

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

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


