/* Son of Suckerfish Dropdowns
---------------------------------------------------------
Originally developed by Patrick Griffiths and Dan Webb
http://www.htmldog.com/articles/suckerfish/dropdowns/
---------------------------------------------------------
NOTE: After a deep research, we decide to divide this
CSS into 2 parts. The first part will define the layout.
The second part will define the visual look for this menu.
---------------------------------------------------------*/

/*--------------------------- LAYOUT ----------------------------*/
#ja-mainnav, #ja-mainnav ul,#header .contenthead ul {
	padding: 0;
	margin: 0;
	line-height: 20px;
}

#header .contenthead a {
	display: block;
	line-height: 20px;
	margin: 0;
	
}

#header .contenthead li { /* all list items */
	float: left;
	margin: 0;
	padding: 0;
}

#header .contenthead li ul { /* second-level lists */
	position: absolute;
	width: 102px;
background-color:none;
	/*
	 * Using left instead of display to hide menus because display: none isn't
	 * read by screen readers
	 */
	left: -999em;
}

#header .contenthead ul ul a { /* sub-links */
	width: 160px;
}

#header .contenthead li ul ul { /* third-and-above-level lists */
	margin: -42px 0 0 200px;
}

#header .contenthead li:hover ul ul,
#header .contenthead li:hover ul ul ul,
#header .contenthead li.sfhover ul ul,
#header .contenthead li.sfhover ul ul ul {
	left: -999em;
}

#ja-mainnav li:hover ul,
#ja-mainnav li li:hover ul,
#ja-mainnav li li li:hover ul,
#ja-mainnav li.sfhover ul,
#ja-mainnav li li.sfhover ul,
#ja-mainnav li li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}
/*--------------------------- VISUAL ----------------------------*/
/* -------- All levels -------- */
#header{
	
}
#header .contenthead ul, #header .contenthead li {
	background-image: none;
	list-style: none;
}

#header .contenthead span.separator {
	display:none;
}

/* -------- Top level -------- */
#header .contenthead > ul {
	
	padding-left: 20px;
}

#header .contenthead > ul > li {
	background-color: transparent;
	
	margin-right: 1px;
}

#header .contenthead > ul > li.active {
	background: url(../images/arrow2.png) no-repeat bottom center #444444;
	color: #CCCCCC;
}

#header .contenthead > ul > li:hover,
#ja-mainnav > ul > li:active,
#ja-mainnav > ul > li:focus {
	background: url(../images/arrow2.png) no-repeat bottom center #555555;
	color: #FFFFFF;
}

/* -------- sub-levels -------- */
#header .contenthead ul ul li {
	
	margin-bottom: 1px;
}

#header .contenthead li ul { /* second-level lists */
	background-color: transparent;
}

#header .contenthead li a {
	color: black;
	font-weight: normal;
	text-decoration: none;
}

#header .contenthead ul ul  li:hover,
#header .contenthead ul ul  li:active,
#header .contenthead ul ul  li:focus {
	background: #444444;
	color: #FFFFFF;
}
/*old css*/
/* Son of Suckerfish Dropdowns
---------------------------------------------------------
Originally developed by Patrick Griffiths and Dan Webb
http://www.htmldog.com/articles/suckerfish/dropdowns/
---------------------------------------------------------
NOTE: After a deep research, we decide to divide this
CSS into 2 parts. The first part will define the layout.
The second part will define the visual look for this menu.
---------------------------------------------------------*/

#header .contenthead ul.menu {
	margin: 0; /* all lists */
	padding: 0;
	float: left;
	
}

#header .contenthead ul.menu ul {
	margin: 0; /* all lists */
	padding: 0;
	background-color:none;
	position:relative;
	z-index:100;
}

#header .contenthead ul.menu li {
	margin: 0; /* all list items */
	padding: 0;
	float: left;
	display: block;
	background: none;
	cursor: pointer;
	position: relative;
	list-style: none;
	z-index:100;
}

#header .contenthead ul.menu li ul {
	width: 8.7em;
	position: absolute; /* second-level lists */
	z-index: 99;
	height: auto;
	background-color:none;
}

#header .contenthead ul.menu li ul ul {
	margin: -1.5em 0 0 14em; /* third-and-above-level lists */
	text-transform:uppercase;
}

#header .contenthead ul.menu li li {
	padding: 0 1em 0 0;
	margin: 0;
	text-transform:uppercase;
}

#header .contenthead ul.menu ul a {
	
	width: 8.7em;
	text-transform:uppercase;
	text-transform:capitalize;
	
}

#header .contenthead ul.menu li ul {
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#header .contenthead ul.menu li:hover ul ul, #header .contenthead ul.menu li:hover ul ul ul,
#header .contenthead ul.menu li.sfhover ul ul, #header .contenthead ul.menu li.parentsfhover ul ul, #header .contenthead ul.menu li.parent-activesfhover ul ul, #header .contenthead ul.menu li.activesfhover ul ul,
#header .contenthead ul.menu li.sfhover ul ul ul, #header .contenthead ul.menu li.parentsfhover ul ul ul, #header .contenthead ul.menu li.parent-activesfhover ul ul ul, #header .contenthead ul.menu li.activesfhover ul ul ul {
	left: -999em;
}

/* This "unhides" the sub-menus (left: -999em is what hides them) */
#header .contenthead ul.menu li:hover ul, #header .contenthead ul.menu li li:hover ul, #header .contenthead ul.menu li li li:hover ul,
#header .contenthead ul.menu li.sfhover ul, #header .contenthead ul.menu li.parentsfhover ul, #header .contenthead ul.menu li.parent-activesfhover ul, #ja-mainnav ul.menu li.activesfhover ul,
#header .contenthead ul.menu li li.sfhover ul, #header .contenthead ul.menu li li.havesubchildsfhover ul, #header .contenthead ul.menu li li.havesubchild-activesfhover ul, #ja-mainnav ul.menu li li.activesfhover ul,
#header .contenthead ul.menu li li li.sfhover ul, #ja-mainnav ul.menu li li li.havesubchildsfhover ul, #header .contenthead ul.menu li li li.havesubchild-activesfhover ul, #header .contenthead ul.menu li li li.activesfhover ul {
	left: auto;
}

/* STYLING THE MENU
-----------------------------------*/
/* 1st level */
#header .contenthead ul.menu li a {
	margin: 0;
	padding-top:8px;
	padding-bottom:11px;
	padding-left:13px;
	padding-right:13.65px;
	display: block;
	color: #535353;
	font-weight:normal;
	line-height: normal;
	font-size:11px;
	text-decoration: none;
}

#header .contenthead ul.menu li a:hover,
#ja-mainnav ul.menu li a:active,
#ja-mainnav ul.menu li a:focus {
	background:  no-repeat bottom center #555555;
	background-color:#77a42f;
	color: #FFFFFF;
}

#header .contenthead ul.menu li {
	margin: 0;
}

#header .contenthead ul.menu li:hover,
#header .contenthead ul.menu li.sfhover,
#header .contenthead ul.menu li.parentsfhover,
#header .contenthead ul.menu li.parent-activesfhover {
	background: no-repeat bottom center #555555;
	color: #FFFFFF;
	background-color:#77a42f;
	font-family: "Trebuchet MS", sans-serif 
}

#header .contenthead ul.menu li.active a,
#header .contenthead ul.menu li.active a:hover,
#header .contenthead ul.menu li.active a:active,
#header .contenthead ul.menu li.active a:focus {
	
	color: #FFFFFF;
	background-color:#77a42f;
}

/* 2nd level and above */
#header .contenthead ul.menu li ul {
	background: url(../images/opaque.png);
}

#header .contenthead ul.menu li ul li {
	background-color:#77a42f;
	border-top:1px solid white;
}

#header .contenthead ul.menu li ul a {
	border-right: none;
	margin: 0;
	
	background: none;
	color: #FFFFFF;
	font-weight: normal;
	line-height: normal;
	text-transform: uppercase;
}

#header .contenthead ul.menu li.havesubchild,
#header .contenthead ul.menu li.havesubchild-active {
	background: url(../images/bullet2.gif) no-repeat 94% 50%;
}

#header .contenthead ul.menu li ul a:hover,
#header .contenthead ul.menu li ul a:active,
#header .contenthead ul.menu li ul a:focus,
#header .contenthead ul.menu ul li:hover,
#header .contenthead ul.menu ul li.sfhover,
#header .contenthead ul.menu ul li.havesubchildsfhover,
#header .contenthead ul.menu ul li.havesubchild-activesfhover,
#header .contenthead ul.menu ul ul li:hover,
#header .contenthead ul.menu ul ul li.sfhover,
#header .contenthead ul.menu ul ul li.havesubchildsfhover,
#header .contenthead ul.menu ul ul li.havesubchild-activesfhover {
	background-color:#c3cf21;
	color: white;
}

#header .contenthead ul.menu ul li.active a,
#header .contenthead ul.menu ul li.active a:hover,
#header .contenthead ul.menu ul li.active a:active,
#header .contenthead ul.menu ul li.active a:focus {
	background: none !important;
	color: #FFFFFF;
	font-weight: bold;
}

#header .contenthead ul.menu li.active li a,
#header .contenthead ul.menu li.active li a:hover,
#header .contenthead ul.menu li.active li a:active,
#header .contenthead ul.menu li.active li a:focus {
	background: none !important;
}

#header .contenthead h3 {
	display: none;
}

#header .contenthead .moduletable_menu {
	background: none;
	margin: 0;
	padding: 0;
}

