/* ----[ LINKS ]----*/

/* all menu links */
#topMenu a, #subMenusContainer a{
	text-decoration:none;
	display:block;
	color:#333;
	padding:0 18px;
	font-family:Arial;
}

/* Just main menu links --[for non-javascript users this applies to submenu links as well]*/
#topMenu a{
	margin:0 1px 0 0;
	float:left;	
	line-height:30px;
	font-weight:bold;
	font-size:1.2em;
	background:url(../images/menu_separator.gif) no-repeat right center;
}
#topMenu .last a {background:0; margin:0;}
#topMenu .first {background:url(../images/menu_left.gif) no-repeat left top; padding-left:6px;}
#topMenu li .first {background:none; padding-left:0;}


/* Just sub menu links */
#subMenusContainer a, #topMenu li li a{
	text-align:left;
	line-height:15px;
	padding:7px 18px;
	font-size:1em;
	font-weight:bold;
	opacity:.9;
	border-bottom:0;
	background:#fff;
}

/* All menu links on hover or focus */
#topMenu a:hover, #topMenu a:focus, #subMenusContainer a:hover, #subMenusContainer a:focus, #topMenu a.mainMenuParentBtnFocused, #subMenusContainer a.subMenuParentBtnFocused{
	color:#ed7603;
}

/* sub menu links on hover or focus */
#subMenusContainer a:hover, 
#subMenusContainer a:focus, 
#topMenu a.mainMenuParentBtnFocused, 
#subMenusContainer a.subMenuParentBtnFocused,
#topMenu li a:hover,
#topMenu li a:focus{
	color:#ed7603;
}

/* Parent Sub Menu Links ---[javascript users only]*/
.subMenuParentBtn{ 
	background:url(../images/arrow_right.gif) right center no-repeat !important;  
}

/* Parent Sub Menu Links on hover or focus ---[javascript users only]*/
.subMenuParentBtnFocused{ 
	background:url(../images/arrow_right_orange.gif) right center no-repeat !important;
}

/* Parent Main Menu Links ---[javascript users only]*/
.mainMenuParentBtn{	
	 background:url(../images/arrow_down.gif) right center no-repeat !important; 
}

/* Parent Main Menu Links on hover or focus ---[javascript users only]*/
.mainMenuParentBtnFocused{	
	background:url(../images/arrow_down_orange.gif) right center no-repeat !important; 
}

/* Active Menu Item */
.CMSListMenuHighlightedLI a, .CMSListMenuHighlightedLIlast a {background-color:#279DC1 !important;}
.CMSListMenuHighlightedLI a.mainMenuParentBtn, .CMSListMenuHighlightedLIlast a.mainMenuParentBtn {background:#279DC1 url(../images/arrow_down_blue.gif) right center no-repeat !important; }

.CMSListMenuHighlightedLI a.subMenuParentBtn, .CMSListMenuHighlightedLIlast a.subMenuParentBtn {background:#279DC1 url(../images/arrow_right.gif) right center no-repeat !important; }


/* ----[ 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 5px 8px;
	margin:0 0 0 -5px;
}


/* All ULs and OLs */
#topMenu, #topMenu ul, #topMenu ol, #subMenusContainer ul, #subMenusContainer ol { 
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1em;
}

/* All submenu OLs and ULs */
#topMenu ol, #topMenu ul, #subMenusContainer ul, #subMenusContainer ol {	
	/*border around submenu goes here*/	 
	left:0;
	border-left:solid 1px #c0c0c0;
	border-right:solid 1px #c0c0c0;
	border-bottom:solid 1px #c0c0c0;
	-moz-box-shadow: 0 2px 10px #ccc;
    -webkit-box-shadow: 0 2px 10px #ccc;
    box-shadow: 0 2px 10px #ccc;
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 2px 2px;
    padding-bottom:5px;
    background:#fff;
}

/* 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;
}

#subMenusContainer li{
	list-style: none;
}

/* Main menu elment */

#zoneTopMenu {background:url(../images/menu_background.gif) repeat-x; height:30px;}
#topMenu{
	display:block;
	list-style:none;
	margin:0 0 0 0;
	z-index:5;
	top:15px;
	left:50%;
	text-align: center;
	display:block;
	background:url(../images/menu_right.gif) no-repeat right top;
	height:30px;
	padding-right:80px;
}

#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 ]--------------------------*/
#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:30px;
}

/* 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;}