/**************** ESSENTIAL STYLES ***************/
/* This first group of styles are most important for the function of
Superfish.
 * The more cosmetic styling rules are grouped together below under
the heading
 * ORIGINAL SKIN.
 *
 * Note that this CSS file will create the kind of menu demonstrated
on the main
 * page of the Superfish documentation, ie. top tier of nav is
horizontal, with
 * subsequent tiers vertical.
 */

/* remove any default styles */
.nav, .nav * {
        margin:0;
        padding:0;
        list-style:none;
		z-index:9999;
}

/* top ul.nav element */
.nav {
        line-height:1.0;
		z-index:9999;
/* makes calculating the 'top' value for first
submenu easier */

}

/* nested submenu ul elements */
.nav ul {
        position:absolute; /* remove from flow and allow positioning */
        top:-999em; /* hide submenu in screen-reader and search-engine
friendly way */
        width:195px;
		z-index:9999;
/*VARIABLE. Must have a width for menu items to
inherit. Use ems so font scaling does not break design*/
}

/* submenu items */
.nav ul li,
.nav a { /* this affects top level anchors too */
        width: 100%;/* stretch submenu items to width of submenu ul width
(see .nav ul rules above). When link text runs over more than one
line, use padding and an explicit width for the anchor instead of
width:100% and text-indent. Example below in the SKIN section */
       	z-index:9999;
}

/* all li elements */
.nav li {
        float:left; /* must float all li elements. Vertical submenu items are
restrained by parent ul width (see .nav ul rules above) */
        position:relative; /* make child submenu ul position relative to
parent li */
        z-index:99999; /* ensure submenus appear above other page items.
Increase if needed, but do not exceed thickbox overlay z-index! */

}

/* all anchor elements */
.nav a {
        display:block; /* make IE6 obey width when text-indent is used */

}

/**** Position of second tier of nav ****/
.nav li:hover ul, /* this pure CSS hover is overridden by
the .superfish rules below which are applied only when JavaScript is
available. This way, the menu degrades to regular CSS dropdown when
JavaScript is unavailable */
ul.nav li.sfHover ul /* this is the familiar IE6 hover support. With
Superfish, all browsers use this rule when JS is available. This is
because the JS needs to be able to control hide and reveal delays and
animations without the pure CSS rule intruding. Note the tag selector
ul.nav instead of just .nav - this gives it the most specificity of
all and makes it trump all other positioning rules, including
the .superfish overrides below */
{
        left:0px; /* position first submenu directly under parent li */
        top:36px; /* VARIABLE. This is calculated by adding 1em text height
to top and bottom anchor element padding (original skin: .75em top + .
75em bottom + 1em text height = 2.5em) */
	background:url(../images/siteGraphics/menu-bottom.gif) bottom left no-repeat;
	padding-bottom:3px;

}

/**** Position of third tier of nav ****/
 /* Note that this rule must appear here in the code order in order
for it to override previous positioning rules so that this and
subsequent nested submenus still remain hidden when the parent submenu
is shown. Do not group these selectors with other top:-999em rules */
.nav li:hover li ul,
.nav li.sfHover li ul {
        top:-999em; /* hide submenu in screen-reader and search-engine
friendly way */
}

/* DO NOT attempt to group these selectors with similar earlier rules.
The code order is important so the rules override previous ones
correctly */



.nav li li:hover ul, /* pure CSS hover is removed below */
ul.nav li li.sfHover ul {
	left:13.45em;
	top:0px;
	width:13.45em;
}
/*following rule negates pure CSS hovers
so submenu remains hidden and JS controls
when and how it appears*/
.superfish li:hover ul,
.superfish li li:hover ul {
	top: -999em;
}
.nav li li {
	background:#dfe7ed;
	float:left;
	width:13.45em;
/*	border-bottom:solid 1px #EAF0F4;  */
	border:0;
}

.nav li li a {
	float:none;
	letter-spacing:0px;
	font-size:11px;
}

.nav li li li a, .nav li li a {
	width:150px;
	color:#ccc;
	background:#333;
	letter-spacing:0px;
	font-size:12px;
	font-weight:bold;
	height:auto;
	padding:10px 22px;
}
.nav li li li a:hover, .nav li li a:hover {
	color:#fff;	
	background:url(../images/siteGraphics/bg-menu-hover.gif) #1b1b1b repeat-x;
}

.nav li li li:hover,
.nav li li li.sfHover,
.nav li li a:focus, .nav li li a:hover, .nav li li a:active {
	background:#333;
	background:url(../images/siteGraphics/bg-menu-hover.gif) #1b1b1b repeat-x;
}

