

/*
Container for the menu.
This colour will behind all the main text.
*/
#menuwrapper {
	/*background: url(../images/navBG.jpg) repeat-x;*/
	z-index:555;
	/*margin-left: 420px;*/
	/*padding-top:36px;*/
	font-family: Impact, "HelveticaNeue BlackExt", "HelveticaNeueLT Std Blk Ext", "Helvetica 55 Roman";
}
/*Clears the floated menu items.
Assigned to a BR tag placed just before
menuwrapper's closing DIV tag
*/
.clearit {
	clear: both;
	height: 0;
	line-height: 0.0;
	font-size: 0;
}
/*
#menubar is the root UL and #menubar ul applies to all the sub-menu ULs.
We set padding and margin to zero to eliminate all indentation, turn bullets off,
and set a font-family different from the global font-family declared for the
body element above. This sets font for just the menu. Do not add a font-size here.
*/
#menubar, #menubar ul {
	padding: 0;
	margin: 0;
	list-style: none;
	font-family: Impact, "HelveticaNeue BlackExt", "HelveticaNeueLT Std Blk Ext", "Helvetica 55 Roman";
	z-index:600;
}
/*
Root-Level Links. Leave dispaly and text-decoration as is.
Adjust padding values to make the root links taller and to offset them
from the left and right edges of the link box. The border left creates a
separator between links. Font-size is set here and will apply to all menu levels.
*/
#menubar a {
	display: block;
	text-decoration: none;
	padding: 18px 60px 18px 60px;
	/*border-right: 1px solid #FFFFFF;*/
	font-size: 1.25em;
	color: #000000;
}
/*
Class assigned to those Root-Level links that have associated Sub-Menus.
The top and bottom padding assigned this element must be the same as
that assigned to the #menubar a element. 
*/
#menubar a.trigger {
	padding: 18px 60px 18px 60px;
}

/*
The Root-Level list items. Floating left allows
them to appear horizontally. Width is for IE5 Mac. The last rule in
this style sheet will set the width for this element to auto for all
other browsers - hiding it from IE5 Mac. The width is proportional.
As you add and edit root menu items, you will need to test this width
to ensure it is wide enough to accomodate all text.
*/
#menubar li {
	float: left;
	width: 9em;
}

.secondMenu {
	float: left;
	width: 14em;
	margin-left: -6.6em;
}

.thirdMenu {
	float: left;
	width: 12em;
	margin-left: -13.5em;
}
/*
Sets width for Sub-Menu box and the List Items inside - in proportional em units. 
This allows the sub-menu width to expand if users resize the text in their browsers.
*/
#menubar li ul, #menubar ul li  {
	width: 12em;
}
/*
The sub-menu links. We set color and turn off the left border, which
would otherwise be inherited from the root link rule. We set top and 
bottom padding less than the root items and increas the left padding
to indent the sub-menu links a small amount in from the root links.
A border is added to the bottom to separate items.
*/
#menubar ul li a  {
	color: #CC9900;
	border-left: 0;
	border-right: 0;
	padding: 5px 15px 5px 15px;
	/*border-bottom: 1px solid #fff41e;*/
}
/*
Sub-Menu Unordered Lists describes each dropdown sub-menu grouping. 
Positioned Absolutely to allow them to appear below their root trigger.
Set to display none to hide them until trigger is moused over.
Background Color must be set or problems will be encountered in MSIE.
Right and bottom borders are set to simulate a raised look.
*/
#menubar li ul {
	position: absolute;
	display: none;
	/*background: url(../images/navBG.jpg) repeat-x;
	border: 1px solid #fff41e;*/
}
/*
Changes the Text color and background color when the Root-Level
menu items are moused over. The second selector sets color and background
when Root-Level items are accessed with the keyboard tab key. The third
selector sets an active state to support keyboard access in MSIE. The fourth 
selector is assigned to IE5 and IE6 Windows via the ExpMenu script.
Note that IE7 supports hover on elements other than links and so behaves
like Firefox, Opera, and Safari - making the menu operable even if JavaScript
is not enabled.
*/
#menubar li:hover a, #menubar a:focus,
#menubar a:active, #menubar li.hvr a {
	color: #FFFFFF;
	/*background:url(images/main-bg.png);*/
}
/*
Set the Sub-Menu UL to be visible when its associated
Root-Level link is moused over. The second selector is 
assigned to IE5 and IE6 via the ExpMenu script.
*/
#menubar li:hover ul, #menubar li.hvr ul {
	display: block;
}
/*
Sets the Text color of the Sub-Level links when the Root-Level
menu items are moused over. 
The color set should march the normal Sub-Level link color
in the rule: menubar ul li a.
*/
#menubar li:hover ul a, #menubar li.hvr ul a {
	color: #FFFFFF;
	background: #222b3e;
	/*border-bottom:1px #fff41e;
	border-top:1px #fff41e;*/
}
/*
The normal hover class for Sub-Level links. The Important directive
is required for older browsers. We set a background color, which shows
over the background.
*/
#menubar ul a:hover {
	background: url(images/bannerBG.jpg) repeat-x!important;
	color: #FFFFFF!important;
}
/* The single backslash \ character inside this comment
causes IE5 Mac to ignore the following rule, which allows other
browsers to render top-level menu items to their natural width.
Do not edit this rule in any way. */
#menubar li {width: auto;}



/*This removes the indents browsers tend to make, as well as the bullets from #nav and all its child-ul elements. The “position:relative” is needed since we will arrange some of the contained elements with position:relative and absolute. This is necessary since relative and absolute positioned elements are positioned according to their containing blocks with a position attribute, other then static.

Line-height defines the height of each list item. You could set the height attribute for your list-items to define their height, but line-height will center the link text vertically without the need to play with margins and paddings.
*/

#ddnav, #ddnav ul{
     margin:0;
     padding:0;
     list-style-type:none;
     list-style-position:outside;
     position:relative;
     line-height:2em;
 }
 
#ddnav a:link, #ddnav a:active, #ddnav a:visited{
    display:block;
    padding: 2px 10px 2px 10px;
    /*border: 1px solid #fff41e;*/
    color:#fff;
    text-decoration:none;
    /*background: #003399;*/
}

#ddnav a:hover{
    background: #003399;
    color:#fff41e;
}

/*This will align our list elements horizontally.*/

#ddnav li{
    float:left;
    position:relative;
}

/*This will position the nested Lists right beyond the main menu and give them a width of 12em. The width attribute is needed so that the list items within display vertically again. The Top attribute should have the same value as the line-height attribute we defined for #ddnav. */

#ddnav ul {
    position:absolute;
    width:12em;
    top:1.5em;
    display:none;
}

/*This will set the width of the hyper links to 12 em (which in combination with the width of the UL set above results in a horizontally displayed sub menu, despite of the ongoing float:left)*/

#ddnav li ul a{
    width:12em;
    float:left;
}

/*#nav ul ul and #nav li ul ul define where we display the sub menus.

The hover states define which items we want to show when hovering over an item (only the next sub level, not all of them)*/

#nav ul ul{
	top:auto;
	}

#menubar li ul ul {
    left:17em;
    margin:0px 0 0 10px;
	margin-top:-1.7em;
    }

#menubar li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
    display:none;
    }
#menubar li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
    display:block;
    }