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


/*Add a little margin between the top tier list items top show the background art*/
#nav li {
	margin:0px 3px 0px 0px;
}
.home, .home a {
	width:76px;
}
.home {
	background:url(../images/NECA_menuSprite.jpg) no-repeat -40px 0px #eebc00;
}
.home:hover {
	background:url(../images/NECA_menuSprite.jpg) no-repeat -40px -40px #1f1f1d;
}
/**/
.market a, .market {
	width:96px;
}
.market {
	background:url(../images/NECA_menuSprite.jpg) no-repeat -119px 0px #eebc00;
}
.market .mainMenuParentBtnFocused, #nav .market:hover, #nav .market:focus {
	background:url(../images/NECA_menuSprite.jpg) no-repeat -119px -80px #1f1f1d;
}
/**/

.audience, .audience a {
	width:115px;
}
.audience {
	background:url(../images/NECA_menuSprite.jpg) no-repeat -218px 0px #eebc00;
}
.audience .mainMenuParentBtnFocused, #nav .audience:hover, #audience .market:focus {
	background:url(../images/NECA_menuSprite.jpg) no-repeat -218px -120px #1f1f1d;
}
/**/
.content, .content a {
	width:117px;
}
.content {
	background:url(../images/NECA_menuSprite.jpg) no-repeat -336px 0px #eebc00;
}
.content .mainMenuParentBtnFocused, #nav .content:hover, #nav .content:focus {
	background:url(../images/NECA_menuSprite.jpg) no-repeat -336px -160px #1f1f1d;
}
/**/
.opportunities, .opportunities a {
	width:162px;
}
.opportunities {
	background:url(../images/NECA_menuSprite.jpg) no-repeat -456px 0px #eebc00;
}
.opportunities .mainMenuParentBtnFocused, #nav .opportunities:hover, #nav .opportunities:focus {
	background:url(../images/NECA_menuSprite.jpg) no-repeat -456px -200px #1f1f1d;
}
/**/
#nav .rates, #nav .rates a {
	width:158px;
}
.rates {
	background:url(../images/NECA_menuSprite.jpg) no-repeat -621px 0px #eebc00;
}
.rates .mainMenuParentBtnFocused, #nav .rates:hover, #nav .rates:focus {
	background:url(../images/NECA_menuSprite.jpg) no-repeat -621px -240px #1f1f1d;

}
/**/
.contact, .contact a {
	width:107px;
}
.contact {
	background:url(../images/NECA_menuSprite.jpg) no-repeat -782px 0px #eebc00;
}
.contact .mainMenuParentBtnFocused, #nav .contact:hover, #nav .contact:focus {
	background:url(../images/NECA_menuSprite.jpg) no-repeat -782px -280px #1f1f1d;
}


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

/* all menu links */
#nav a, #subMenusContainer a {
	text-decoration:none;
	display:block;
	color:#1f1f1d;
	/*padding:10px 20px;
	background-color:#fff ;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;*/
}
/* Just main menu links --[for non-javascript users this applies to submenu links as well]*/
#nav a {
	margin:0;
	float:left;
}
/* Just sub menu links */
#subMenusContainer a, #nav li li a {
	text-align:left;
	padding:10px 20px;
}
/* All menu links on hover or focus
#nav a:hover, #nav a:focus, #nav a.mainMenuParentBtnFocused,{
	background-color:#F6C739 ;
	color:#FFF;
} */

/*#nav a:hover, #nav a:focus, - commented out to keep the styles out of the 1st tier when JavaScript is off*/ #subMenusContainer a:hover, #subMenusContainer a:focus, #nav a.mainMenuParentBtnFocused, #subMenusContainer a.subMenuParentBtnFocused, /*added to focus on the 2nd tier links when javascipt is off */ #nav ul li a:hover, #nav ul li a:focus {
	background-color:#1f1f1d;
	color:#FFF;
	
}
/* sub menu links on hover or focus */
#subMenusContainer a:hover, #subMenusContainer a:focus, #nav a.mainMenuParentBtnFocused, #subMenusContainer a.subMenuParentBtnFocused, #nav li a:hover, #nav li a:focus {
	/*	background-color:#F6C739 ;*/
	color:#FFF;
	
}
/* Parent Sub Menu Links ---[javascript users only]*/
.subMenuParentBtn {
	background: url(../images/arrow_right.gif) right center no-repeat;
}
/* Parent Sub Menu Links on hover or focus ---[javascript users only]*/
.subMenuParentBtnFocused {
	background: url(../images/arrow_right_over.gif) right center no-repeat;
}
/* Parent Main Menu Links ---[javascript users only]*/
.mainMenuParentBtn {
	background: url(../images/arrow_down.gif) right center no-repeat;
}
/* Parent Main Menu Links on hover or focus ---[javascript users only]*/
.mainMenuParentBtnFocused {
	background: url(../images/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 ULs and OLs */
#nav, #nav ul, #nav ol, #subMenusContainer ul, #subMenusContainer ol {
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1em;
}
/* All submenu OLs and ULs */
#nav ol, #nav ul, #subMenusContainer ul, #subMenusContainer ol {
	/*border around submenu goes here*/	 
	/*-moz-border-radius: 8px;
	-webkit-border-radius: 8px;*/
	background:#e8bc1d;
	/*border:1px solid #C3D46A;*/
	left:0;
	border-right: 2px solid #22241F;
	border-bottom: 2px solid #22241F;
	border-left: 1px solid #34372f;
	border-top: 1px solid #34372f;
}
/* List items in main menu --[for non-javascript users this applies to submenus as well]  */
#nav li {
	/*great place to use a background image as a divider*/
	display:block;
	list-style:none;
	position:relative;
	float:left;
	
}

#nav li ul li {border-bottom:#000 1px solid;
margin:0;}
#nav li span {
	line-height:40px;
	visibility:hidden;
	
}
#subMenusContainer li {
	list-style: none;
}
/* main menu ul or ol elment */
#nav {
	display:block;
	position: absolute;
	list-style:none;
	margin:0 0 0 0;
	padding: 0px 0px 0px 40px;
	z-index:5;
	text-align: center;
	display:block;
	position:absolute;
	top:115px;
	left:8px;
	width:895px;
	height:40px;
	background:url(../images/NECA_menuSprite.jpg) no-repeat 0 -320px;
}
#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 ]--------------------------*/
#nav li li {
	float:none;
}
#nav li li a { /* Just submenu links*/
	position:relative;
	float:none;
}
#nav li ul { /* second-level lists */
	position: absolute;
	width: 15em;
	margin-left: -1000em;  /*using left instead of display to hide menus because display: none isn't read by screen readers */
	margin-top:39px;
}


/* third-and-above-level lists */
#nav li ul ul {
	margin: -1em 0 0 -1000em;
}
#nav li:hover ul ul {
	margin-left: -1000em;
}
/* lists nested under hovered list items */
#nav li:hover ul {
	margin-left: 0;
}
#nav li li:hover ul {
	margin-left: 10em;
	margin-top:-2.5em;
}
/* extra positioning rules for limited noscript keyboard accessibility */
#nav li a:focus + ul {
	margin-left: 0;
	margin-top:2.2em;
}
#nav li li a:focus + ul {
	left:0;
	margin-left: 1010em;
	margin-top:-2.2em;
}
#nav li li a:focus {
	left:0;
	margin-left:1000em;
	width:10em;
	margin-top:0;
}
#nav li li li a:focus {
	left:0;
	margin-left: 2010em;
	width: 10em;
	margin-top:-1em;
}
#nav li:hover a:focus {
	margin-left: 0;
}
#nav li li:hover a:focus + ul {
	margin-left: 10em;
}
/**/


