
/*****************************************************************
 *                                                               *
 *  XCSS Menu Styles                                             *
 *  ----------------                                             *
 *                                                               *
 * This area will include details regarding the required and     *
 * optional styles, how they are used, and in most cases why.    *
 *                                                               *
 *                                                               *
 *                                                               *
 *****************************************************************/

/******************************************************** 
 * Top Horizontal Menu Styles                           * 
 ********************************************************/

/* Container div, mainly used to cascade defaults so that multiple menus 
   can coexist on a single page without having to share a layout and design. */
.hnav {
	position: relative;
	border-width: 1px 0; /* Adds a top border to the whole div */
	z-index:20;
	height: 44px;
	list-style-image: none;
	list-style-type: none;
}

/* Hide title on the main nav. */
.hnav .xcsstitle { display: none; }

/* Setup appearance of links */
.hnav a {
	display: block;
	color: #ffffff;
	font-weight: normal;
	font-size: 12px;
	font-family: Arial;
	text-decoration: none;
	padding-top: 15px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	border:0px solid #A51152;
	height: 100%;
	list-style-image: none;
	list-style-type: none;
}
.hnav .button1 {border-left:0px;}
.hnav a:visited {	color: #ffffff;}



/* Setup appearance of the top level menu "button", including background images*/
.hnav .button {
	float:left;
	z-index:0;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #338da1;
	list-style-image: none;
	list-style-type: none;
}

/* Setup the currently active button to look different. Optional, but nice */
.hnav .activebutton a {
	text-decoration: none;
	list-style-image: none;
	list-style-type: none;
}

.hnav a:hover {color: #000000; background-color: #ffffcc;
	list-style-image: none;
	list-style-type: none;
}

/* This is the arrow shown in the top level, where there is a dropdown level of menu */
.hnav a.navarrow {
	background-image: url(/images/arrow-down.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
}

/* This is the arrow shown in the dropdown where there is a third level of menu */
.hnav a.subarrow {
	background-image: url(/images/arrow-right.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
}

.hnav ul ul a {
	color: #fff;
	border-right: 0; /* negates right border for dropdowns and flyouts */
	border-bottom: 1px solid #888;  /* borders the bottoms of the dropdown and flyout links */
	list-style-image: none;
	list-style-type: none;
}

/* Hide the dot on unordered lists */
.hnav ul, li {
	padding:0;
	margin:0;
	list-style: none;
	list-style-image: none;
	list-style-type: none;
}

.hnav .parent:hover div.dropdown {left: -31px;} /* hover rule for 1st dropdowns */ 

/* hover rule for 2nd level flyouts */
.hnav .dropdown li:hover div { 
	left: 189px; /* this value controls the amount of flyout "overlap" */
	top: -31px; /* this value controls the amount of flyout vertical offset */
	list-style-image: none;
	list-style-type: none;
}



/******************************************************** 
 * Common/Shared Dropdown Menu Styles                   * 
 ********************************************************/

/* this parent div does not provide "sticky hovering", but instead fixes a 
strange bug in Op7. When an element serves as a hovered popup "parent" element, 
that element must not also be floated or all heck breaks loose in Opera 7. 
To prevent this, we have floated the top level list items, while nesting 
hoverable parent divs inside that are then hovered to generate the dropdowns. */
.parent {position: relative;
}
.parent:hover {background-image: url(images/bgfix.gif);
} 

/* Could be different for each of the container navs... hnav, vnav, etc. */
.dropdown {
	width: 250px;
	position: absolute;
	left: -3000px;
	top: auto; /* puts dropdowns directly under top nav */
	text-align: left; /* needed because IE misapplies text centering to boxes */
	background: url(/images/bgfix.gif);
}

/* The margins on the UL's replace the div paddings to create "sticky hovering"
zones,  and the margins should "fill" the divs, making the IE BG fix unnecessary.
Unfortunately the BG fix is still needed, although this method does eliminate
possible box model problems */
.dropdown ul {
	width: 189px;
	margin: 0 30px 30px; /* creates "sticky hovering" zones for dropdowns */
	border: 1px solid #888;
	border-width: 1px 1px 0;
} 

/* rules for divs inside dropdown */
.dropdown div {
	width: 220px;
	position: absolute;		
	left: -3000px;
	top: 0;  
	background: url(/images/bgfix.gif);
	text-align: left; /* needed because IE misapplies text centering to boxes */
}

/* Background colour for flyouts, and "sticky hovering" zones for flyouts */
.dropdown div ul {
	background: #6b0025;
	filter:alpha(opacity=90);
	opacity:.90;
	margin: 30px 30px 30px 0;
}  
.dropdown div ul a {
	color: #ffffff;
} /* Foreground colour for  flyouts */ 
.dropdown li {
	position: relative;
	vertical-align: bottom;
	list-style-image: none;
	list-style-type: none;
} /* IE5/win bugfix */
.dropdown li:hover {
	color: #000000;
	background-color: #ffffcc;
} /* hover color effect on dropdown links */
.dropdown div li:hover {color: #000000; background-color: #ffffcc;} /* hover color effect on flyout links */

/* Setup defaults for the second level items (we need one per, so they can be styled differently) */

.drop1 ul {
	background: #6b0025;
	filter:alpha(opacity=90);
	opacity:.90;
}
.drop2 ul {background: #6b0025; filter:alpha(opacity=90); opacity:.90;}
.drop3 ul {background: #6b0025; filter:alpha(opacity=90); opacity:.90;}
.drop4 ul {background: #6b0025; filter:alpha(opacity=90); opacity:.90;}
.drop5 ul {background: #6b0025; filter:alpha(opacity=90); opacity:.90;}
.drop6 ul {background: #6b0025; filter:alpha(opacity=90); opacity:.90;}
.drop7 ul {background: #6b0025; filter:alpha(opacity=90); opacity:.90;}
.drop8 ul {background: #6b0025; filter:alpha(opacity=90); opacity:.90;}
.drop9 ul {background: #6b0025; filter:alpha(opacity=90); opacity:.90;}
.drop10 ul {background: #6b0025; filter:alpha(opacity=90); opacity:.90;}
.drop11 ul {background: #6b0025A; filter:alpha(opacity=90); opacity:.90;}
.drop12 ul {background: #6b0025; filter:alpha(opacity=90); opacity:.90;}
.drop13 ul {background: #6b0025; filter:alpha(opacity=90); opacity:.90;}
.drop14 ul {background: #6b0025; filter:alpha(opacity=90); opacity:.90;}


/* Setup styles for the third level items... with a cascade to keep it simple */
/* .drop4 ul div ul {background: url(/images/language.gif);}*/




/******************************************************** 
 * Misc Styles and IE Fixes                             * 
 ********************************************************/

.floatfix {margin-right: -3px;}
/* this fixes the IE 3px bug that is common in this type of float arrangement */ 

/* This is to hide the following from IE/Mac. \*/
* html .button .dropdown li {
height: 1%;
margin-left: -16px;
mar\gin-left: 0;
}
/* */

/* The first rule above fixes "bullet region" problems in IE5.x/win, 
and the 2nd is to make all links fully clickable. */    

/*\*/ /*/
.hnav .dropdown, .hnav .dropdown div {width: 189px;}
.hnav .button .dropdown ul {margin: 0px;}
.hnav .dropdown, .hnav .dropdown div {position: static;}
.hnav .dropdown ul {border: 0;}

.vnav .dropdown, .vnav .dropdown div {width: 189px;}
.vnav .button .dropdown ul {margin: 0px;}
.vnav .dropdown, .vnav .dropdown div {position: static;}
.vnav .dropdown ul {border: 0;}


