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

.mm{
	position: absolute;
	top: 10px;
	right: 0px;
	min-width: 600px;
	z-index: 100;
	margin-left: 5px;
	
}

/* all menu links */
#mmtree a, #subMenusContainer a{
	text-decoration:none;
	display:block;
	padding:8px 10px;
	padding-bottom: 9px;
	background-color:#fff ;
	color:#2a2a2a;
	font: bold 11px Verdana, Sans-Serif; 

}

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

/* Just sub menu links */
#subMenusContainer a, #mmtree li li a{
	text-align: left;
}
#mmtree ul li a:active {
    color: red;
}
/* All menu links on hover or focus */
#mmtree a:hover, #mmtree a:focus, #subMenusContainer a:hover, #subMenusContainer a:focus, #mmtree a.mainMenuParentBtnFocused, #subMenusContainer a.subMenuParentBtnFocused{
	/*background-color:#F6C739 ;*/
	color: #2a2a2a;
}

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

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

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

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

/* Parent Main Menu Links on hover or focus ---[javascript users only]*/
.mainMenuParentBtnFocused{	
	background: url(../img/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;
}
.smOW ul {
    border-top: 4px solid #C6DA62;
}
.smOW ul li {
    
    padding-top: 2px;
    padding-bottom: 7px;
}
.smOW ul li a { 
    font-weight: normal !important;
}
.smOW ul li:hover {
    background-color: #f7f7f7 !important;
}
.smOW ul li:hover a {
    color: #C6DA62 !important;
	background-color: #f7f7f7 !important;
	font-weight: normal !important;
}

/* All submenu OLs and ULs */
#mmtree ol, #mmtree ul, #subMenusContainer ul, #subMenusContainer ol {	
	/*border around submenu goes here*/
	/*border:1px solid #C3D46A; */
	left:0;
}

/* All ULs and OLs */
#mmtree, #mmtree ul, #mmtree ol, #subMenusContainer ul, #subMenusContainer ol { 
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1em;
}
#mmtree ul li {
        /*border: 1px solid red;*/
}

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

#subMenusContainer li{
	list-style: none;
}

/* main menu ul or ol elment */
#mmtree{
	display:block;
	position: absolute;
	list-style:none;
	margin:0 0 0 0;
	z-index:5;
	top:-10px; /* yuck! */
	right: 0px;
	/*left:50%;*/
	text-align: left;
	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 ]--------------------------*/
#mmtree li li{	float:none; }

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

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

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

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

#mmtree li a.active {
    color: #C6DA62;
}
#mmtree li a:hover {
    color: #C6DA62 !important;
}