/* 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 */
#nav a, #subMenusContainer a{
	text-decoration:none;
	display:block;
}

/* Just main menu links --[for non-javascript users this applies to submenu links as well]*/
#nav a{
color:#fff;
}

/* Just sub menu links */
#subMenusContainer a, #nav li li a{
	text-align:left;
	display:block;
	position:relative;
	padding: 14px 0px 12px 20px;
	font-weight: normal;
	display: block;
	color:#fff;
	background: url(../images/menus/drop-item.png) 50% 0 no-repeat;
}

/* All menu links on hover or focus */
#nav a:hover, #nav a:focus, #subMenusContainer a:hover, #subMenusContainer a:focus, #nav a.mainMenuParentBtnFocused, #subMenusContainer a.subMenuParentBtnFocused{
}

#nav a .nav_main {
margin-right:0px;
display: inline-block;
position:relative;
float: left;
white-space: nowrap;
padding: 0px;
font-size: 13px;
font-weight: bold;
text-transform: uppercase;
text-align: center;
text-shadow: 1px 1px 2px #000;
line-height: 48px;
cursor: pointer;
outline: none;
height: 49px;
color: #fff;
z-index: 100;
}

#nav a .nav_left, #nav a .nav_right {
display:block;
width:24px;
height:49px;
float:left;
}

#nav a .nav_left{
margin-left:10px;
}

#nav a .nav_right {
margin-right:10px;
}

/* Just main menu links on hover or focus */
#nav a:hover .nav_main, #nav a:focus .nav_main, #nav ul:focus .nav_main {
background: url(../images/menus/topmenu-item-m.png) 50% 0 repeat-x;border: none;
color: #82C2FA;
}

#nav a:hover .nav_left, #nav a:focus .nav_left {
background: url(../images/menus/topmenu-item-l.png) 50% 0 repeat-x;border: none;
}

#nav a:hover .nav_right, #nav a:focus .nav_right {
background: url(../images/menus/topmenu-item-r.png) 50% 0 repeat-x;border: none;
}

/* 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{
	text-decoration: none;
	display: block;
	background: url(../images/menus/drop-item-hover.png) 50% 0px no-repeat;
}

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




/* 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*/
  display:block;
  font-weight: normal;
  top:0px;
  width:197px;
position:relative;
  overflow:visible;
  z-index:1000000000;
  border-top: none;
  text-align:left;
  padding:0px 0px 20px 0px;
margin-left:5px;
  white-space: nowrap;
  background: url('/images/menus/drop-bg-1.png') center bottom no-repeat;
}


/* 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;
margin-left:39px;
}

#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;
background: url(../images/menus/menu-overlay.png) 50% 0 no-repeat;
padding: 0px 0px 0px 10px;
padding-left:0px;
width:955px;
background-position: 50% 0;background-repeat: no-repeat;float: left;
list-style: none;position: relative;line-height: 1.0;float: left;
}

#subMenusContainer {
display:block;
position:absolute;
top:49px;
left: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; }
