/* 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 ]----*/
#container{
	display:block;
	position: absolute;
	opacity:0.90;
	-moz-opacity:0.90;
	filter:alpha(opacity=90);
	width:1000px;
	height: 48px;
	line-height: 48px;
	display:block;
	overflow:hidden;
	margin-left: auto;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	background-image: url(../images/index_15.gif);
	background-repeat: no-repeat;
	background-position: left;
}
/* all menu links */
#nav a{
	width: 111px;
	line-height: 48px;
	font-size: 16px;
	font-weight: bold;
	color: #FFF;
	display: block;
	background-repeat: no-repeat;
	background-position: right;
	background-image: url(../images/index_17.jpg);
}
#subMenusContainer a{
	text-decoration:none;
	width: 111px;
	line-height: 35px;
	height: 35px;
	display: block;
	text-align: center;
}

/* Just sub menu links */
#subMenusContainer a, #nav li li a{
	color: #FFF;
	background-color: #189ee4;
}

/* All menu links on hover or focus */


/* sub menu links on hover or focus */
#subMenusContainer a:hover, 
#subMenusContainer a:focus, 
 
#subMenusContainer a.subMenuParentBtnFocused{
	color:#FFF;
	background-color: #1b1b1b;
	margin: 0px;
	padding: 0px;
	width: 111px;
}
#nav li a:hover,#nav li a:focus{
	color:#000;
	margin: 0px;
	padding: 0px;
	width: 111px;
	background-repeat: repeat-x;
}
#nav li a:hover,#nav a.mainMenuParentBtnFocused{
	color:#FFF;



*/
;
	background-repeat: no-repeat;
	background-image: url(../images/index_14.jpg);
}

/* Parent Sub Menu Links ---[javascript users only]*/
.subMenuParentBtn{
	background-image: url(../images/index_15.gif);
	background-repeat: no-repeat;
	background-position: right center;
}

/* Parent Sub Menu Links on hover or focus ---[javascript users only]*/
.subMenuParentBtnFocused{
	background-image: url(../images/index_15.gif);
	background-repeat: no-repeat;
	background-position: right center;
}

/* Parent Main Menu Links ---[javascript users only]*/


/* ----[ 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 {
	left:0px;
	width: 111px;
	text-indent: 12;
	background-color: #0FC;
}
#nav ul a{
	width: 111px;
	line-height: 35px;
	height: 35px;
}

/* 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;
	line-height: 35px;
	height: 35px;
}

#subMenusContainer li{
	list-style: none;
}

/* main menu ul or ol elment */
#nav{
	display:block;
	position: absolute;
	list-style:none;
	margin:0 0 0 0;
	z-index:5;
	text-align: center;
	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 ]--------------------------*/
#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: 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 */
#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; }
