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



/******************************************************** 
 * Vertical Side-Bar Menu Styles (most of them anyway)  * 
 ********************************************************/

/* 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. */

/* Hide title on the left nav. */
.vnav .xcsstitle { display: none; }

.vnav {
	position: relative;
	background: #c8d23c;
	border: 0px;
	border-width: 0px;
	width: 172px;
	left: 0px;
	text-align: left;
	z-index:10;
}

.vnav a {
	display: block;	
	width: 152px;
	height: 31px;
	padding-left:15px;
	padding-top:5px;
	padding-bottom:0px;
	color: #ffffff;
	font-weight: bold;
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
	text-decoration: none;
	text-transform:uppercase;
	border: 0px;   /* makes the dividers between the top nav links */
	
}

.vnav a:hover {
	display:block;
	color: #0f968f;
	
}

.vnav .button {
	float:left;
	border-bottom:2px solid #c9d33f;
	border-left:1px solid #dfdfdf;
	background:#0f968f;
	background-image:url(../images/layout/nav_icon.gif);
	background-position:3px;
	background-repeat:no-repeat;
}

.vnav .button:hover {
	background:#ffffff;
	background-image:url(../images/layout/nav_icon_roll.gif);
	background-position:3px 4px;
	background-repeat:no-repeat;
}
.vnav .button .dropdown {
	display:none;

}

/* Setup the currently active button to look different. Optional, but nice */
.vnav .activebutton {
	background:#ffffff;
}
.activebutton a {
	color: #0f968f;
}
.vnav .activebutton .dropdown {
	display:block;
}

/* borders the bottoms of the dropdown and flyout links */
.vnav .dropdown li {
	background: #c7d23a;
	margin-right: 3px; 
	background-image:none; 
	background-repeat:no-repeat; 
	border-bottom: 0px solid #DFDFDF;
}
.vnav .dropdown li:hover {
	background: #ffffff; 
	margin-right: 3px;
	background-image:none; 
	background-repeat:no-repeat;
}


/* This is the arrow shown in the top level, where there is a fly-out level of menu */
.vnav a.navarrow {}

/* This is the arrow shown in the fly-out where there is a third level of menu */
.vnav a.subarrow {}

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

.vnav .parent div.dropdown {left: 0px; top: 0px; } /* hover rule for 1st flyouts */ 

/* hover rule for 2nd flyouts */
.vnav .dropdown li:hover div { 
	left: 155px; /* this value controls the amount of flyout "overlap" */
	top: 0px; /* this value controls the amount of flyout vertical offset */
}




/******************************************************** 
 * 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: 125px;
	position: relative;		
	left: -3000px;
	top: 0px; /* 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: 170px; 
  margin: 0 0px 0px 0px; /* creates "sticky hovering" zones for dropdowns */
} 

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

/* Background colour for flyouts, and "sticky hovering" zones for flyouts */
.dropdown div ul {margin: 0px 0px 0px 0;}  
.dropdown div ul a { background-image:none;} /* Foreground colour for  flyouts */
.dropdown li {position: relative; vertical-align: bottom;} /* IE5/win bugfix */
.dropdown li:hover {} /* hover color effect on dropdown links */
.dropdown div li:hover {} /* 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 {}
.drop2 ul {}
.drop3 ul {}
.drop4 ul {}
.drop5 ul {}
.drop6 ul {}
.drop7 ul {}
.drop8 ul {}
.drop9 ul {}
.drop10 ul {}
.drop11 ul {}
.drop12 ul {}
.drop13 ul {}
.drop14 ul {}
.drop15 ul {}
.drop16 ul {}
.drop17 ul {}
.drop18 ul {}
.drop19 ul {}
.drop20 ul {}
.drop21 ul {}
.drop22 ul {}
.drop23 ul {}
.drop24 ul {}
.drop25 ul {}

/* Setup styles for the third level items... with a cascade to keep it simple */
.drop4 ul div ul {}




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

