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

.hnav .xcsstitle { display:none;}

.hnav {
	position: relative;
	border: 0px;
	border-width: 0px 0;
	text-align: center;
	z-index:10;
	overflow:hidden;
	width: 100%;
	max-width:800px;
}

.hnav a {
	display: block;
	color: #000;
	text-transform:uppercase;
	font-weight: normal;
	font-size: 14px;
	font-family: 'Lato', sans-serif;
	text-decoration: none;
	padding-right:0px;
	padding-top:17px;
	padding-bottom:17px;
	border: 0px;   /* makes the dividers between the top nav links */
	line-height: 12px;
	width:100%;
}

.hnav a:hover {
	color:#000;
	font-size: 14px;
	font-weight:normal;
	background-color: #beb4a9;
}

/* borders the bottoms of the dropdown and flyout links */
.hnav ul ul a {
	color: #000;
	font-weight: normal;
}

.hnav .button {
	float:left;
	z-index:0;
	display:block;
	background-color:#b1a79d;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #beb4a9;
	padding-right: 0px;
	padding-left: 0px;
	width:100% !important;
}

.hnav .button:hover {
	color:#000;
	font-size: 13px;
	background-color: #beb4a9;
}

/* Setup the currently active button to look different. Optional, but nice */
.hnav .activebutton {
	float:left;
	color:#000 !important;
	background-color: #beb4a9;
	width:100% !important;
}


.hnav .button .dropdown {display:none; }

.hnav .activebutton .dropdown {display:block;}

/* borders the bottoms of the dropdown and flyout links */
.hnav .dropdown li { }

.hnav .dropdown a {
	display:block;
	color: #000;
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	font-weight: normal;
	text-transform: none;
	text-align: center;
	padding-bottom: 9px;
	padding-right:0px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #beb4a9;
	width:100%;
	background-color: #b1a79d;
	background-image: url(../../images/dropnav_bullet2.png);
	background-repeat: no-repeat;
	background-position: left center;
}

.hnav .dropdown a:hover {
	display:block;
	color: #000;
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	background-color: #beb4a9;
}


/* This is the arrow shown in the top level, where there is a fly-out level of menu */
.hnav a.navarrow {
	background: url(../../images/dropdown_indicator.gif) no-repeat right center;
}

/* This is the arrow shown in the fly-out where there is a third level of menu */
.hnav a.subarrow {
	background-image: url(../../images/dropdown_indicator.gif);
	background-repeat: no-repeat;
	background-position: right center;
}
/* Hide the dot on unordered lists */
.hnav ul, .hnav li {
	padding:0px;
	margin:0px;
	list-style: none;
}

.hnav .parent div.dropdown {
} /* hover rule for 1st flyouts */ 

/* hover rule for 2nd flyouts */
.hnav .dropdown li:hover div { 
	left: 0px; /* this value controls the amount of flyout "overlap" */
	top: 0px; /* this value controls the amount of flyout vertical offset */
}
.hnav .parent {position: relative;}
.hnav .parent:hover {background-image: url(/images/bgfix.gif);} 

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

/* 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 */
.hnav .dropdown ul {
	position: relative;
  	margin: 0 0px 0px 0px; /* creates "sticky hovering" zones for dropdowns */
} 

/* rules for divs inside dropdown */
.hnav .dropdown div {
	position: relative;
	left: 0px;
	top: auto;
	background: url(/images/bgfix.gif);
	text-align: center; /* needed because IE misapplies text centering to boxes */
	display: block;
}

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

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

