/* 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 */
#topMenu a{
	text-decoration:none;
	display:block;
	padding:10px 20px 5px 20px;
	background-color:#f0f0f0 ;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
}
/* Just main menu links --[for non-javascript users this applies to submenu links as well]*/
#topMenu a{
	margin:0;
	float:left;	
	color:#202020;
}

/* Just sub menu links */
#topMenu li li a{
	text-align:left;
}

/* All menu links on hover or focus */
#topMenu a:hover, #topMenu a:focus, #topMenu a.mainMenuParentBtnFocused {
	background-color:#f0f0f0 ;
	color:#FFF;
}

/* sub menu links on hover or focus */

#topMenu a.mainMenuParentBtnFocused, 
#topMenu li a:hover,
#topMenu li a:focus{
	background-color:#f0f0f0 ;
	color:#202020;
}

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

/* All submenu OLs and ULs */
#topMenu ol, #topMenu ul{	
	/*border around submenu goes here*/	 
	background:#f0f0f0;	
	border:1px solid #f1b32a;
	left:0;
}


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

/* main menu ul or ol elment */
#topMenu{
	display:block;
	list-style:none;
	margin:0 0 0 0;
	z-index:5;
	text-align: center;
	display:block;
    padding: 0 0px;	/* For FCI, we are applying the borders at the html level so we set l-r padding to 0px */
    float: none !important; /*For Opera*/
    float: left; /*For IE*/
    text-decoration: none;
    height: auto !important;
    height: 1%; /*For IE*/
}


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

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

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

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

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

/* Submenu Stuff */

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

/* all menu links */

#topSubMenusContainer a{
	text-decoration:none;
	display:block;
	padding:0px 20px;
	background-color:#f0f0f0 ;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
}

/* Just sub menu links */
#topSubMenusContainer a{
	text-align:left;
}

/* All menu links on hover or focus */
#topSubMenusContainer a.subMenuParentBtnFocused{
	background-color:#f0f0f0 ;
	color:#FFF;
}

/* sub menu links on hover or focus */
#topSubMenusContainer a:hover, 
#topSubMenusContainer a:focus, 
#topSubMenusContainer a.subMenuParentBtnFocused{
	background-color:#f0f0f0 ;
	color:#202020;
}

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

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

#topSubMenusContainer ul, #topSubMenusContainer ol { 
	padding: 0;
	margin: 0;
	font-size: 11px;
	list-style: none;
	line-height: 0.8em;
}


#topSubMenusContainer ul, #topSubMenusContainer ol {	
	/*border around submenu goes here*/	 
	background:#f0f0f0;	
	border:1px solid #f1b32a;
	left:0;
}



#topSubMenusContainer li{
	list-style: none;
	padding: 5px 0px;
}

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



