/*****************************************************************
 *                                                               *
 *  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                           * 
 ********************************************************/
.hnav .xcsstitle { display:none;}
/* 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;
	z-index:20;
	height: 25px;
	border-left: 1px solid #8a8a8a;
	display: inline-block;
}

*html .hnav {
}

/* Setup appearance of the top level menu "button", including background images*/
.hnav .button {
	float:left;
	z-index:0;
	padding-top: 0px;
	border-right: 1px solid #8a8a8a;
	height: 25px;
}

*html .hnav .button {
}

.menu-trigger-label { display:none; }

/** html .hnav #button1 {width:165px;}
* html .hnav #button2 {width:125px;}
* html .hnav #button3 {width:120px;}
* html .hnav #button4 {width:210px;}
* html .hnav #button5 {width:205px;}
* html .hnav #button6 {width:60px;}
* html .hnav #button7 {width:170px;}*/

.hnav .button:hover {
}

/* Setup the currently active button to look different. Optional, but nice */
.hnav .activebutton {
	float: left;
}
.hnav .activebutton a {
	color:#81ad39;
	border-bottom: none;
	display:block;
}

.hnav .activebutton ul {
}

/* Setup the currently active button to look different. Optional, but nice */
/* Setup appearance of links */
.hnav a {
	height: 24px;
	display: block;
	color:#fff;
	text-decoration:none;
	text-transform:uppercase;
	font-weight:normal;
	font-size:16px;
	margin-right: 15px;
	margin-left: 15px;
	font-family: 'Source Sans Pro', sans-serif;
	text-shadow: none;
	vertical-align: middle;
	letter-spacing:0px;
	padding-top:1px;
}
* html .hnav a {
	padding-bottom:11px;
}
 
.hnav a:hover {
	color: #909090;
	display:block;
}

/* This is the arrow shown in the top level, where there is a dropdown level of menu */
.hnav a.navarrow {
}

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

.hnav ul ul a {
	color: #fff;
	text-decoration:none;
	font-size:16px;
	font-weight:normal;
	vertical-align: middle;
	height: 100%;
	padding-top: 6px;
	padding-bottom: 6px;
	padding-right: 10px;
	padding-left: 9px;
	font-family: 'Source Sans Pro', sans-serif;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	line-height: 20px;
	border-bottom: 1px solid #000;
}

/* dropdown font colour, when youâ€™re on the active section sk */
.hnav .parent ul a {
		color:#fff;
}

.hnav ul ul li a:hover {
	text-decoration:none;
	border-bottom: 1px solid #333;
	background-color:#333;
}

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

/* Hide the dot on unordered lists */

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

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

/* hover rule for 2nd level flyouts */
.hnav .dropdown li:hover div {
	left: 190px; /* this value controls the amount of flyout "overlap" */
	top: -1px; /* this value controls the amount of flyout vertical offset */
}


.hnav .parent {position: relative;}
.hnav .parent:hover {background-image: url(../images/bgfix.png);} 

/* Could be different for each of the container navs... hnav, vnav, etc. */
.hnav .dropdown {
	width: 300px;
	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.png);
	z-index: 200;
	position: absolute;
}

/* 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 {
	width: 170px;
	z-index: 200;
	position: absolute;
	margin-top: 30px;
	margin-right: 30px;
	margin-bottom: 30px;
	margin-left: 22px;
	padding:0px 0px 7px 0px;
	border-radius:0px;
	background-color:#454545;
}

*html .hnav .dropdown ul {
	border: 1px solid #333;
}

/* rules for divs inside dropdown */
.hnav .dropdown div {
	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.png);
	z-index: 200;
	position: absolute;
}

/* Background colour for flyouts, and "sticky hovering" zones for flyouts */
.hnav .dropdown div ul {
	width: 170px;
	z-index: 200;
	position: absolute;
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	background-color:#4495df;
	border-top: 1px solid #333;
	border-right: 1px solid #333;
	border-bottom: 0px;
	border-left: 1px solid #333;
}

*html .hnav .dropdown div ul {
	border-top: 1px solid #3990b9;
	border-right: 1px solid #3990b9;
	border-bottom: 0px;
	border-left: 1px solid #3990b9;
}  
  
.hnav .dropdown div ul a {
	color: #fff;
} /* Foreground colour for  flyouts */ 
.hnav .dropdown li {
	position: relative;
	vertical-align: bottom;
	width: 170px;
	text-align: left;
} /* 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 .drop1 ul div ul{}

.menu-trigger { display:none; }
.mp-arrow { display: none; } 

.vnav .xcsstitle { display:none;}

.vnav {
	position: relative;
	border: 0px;
	border-width: 0px 0;
	text-align: left;
	font-family: 'Open Sans', sans-serif;
	z-index:10;
	width: 100%;
}

.vnav a {
	display: block;
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	font-weight:bold;
	font-family: 'Open Sans', sans-serif;
	text-decoration: none;
	padding-top: 10px;
	padding-bottom: 10px;
	border: 0px;   /* makes the dividers between the top nav links */
	line-height: 22px;
	padding-left: 15px;
	border-bottom: 1px solid #C1C1C1;
}

.vnav a .activebutton {
	color: #fff !important;
}

.vnav a:hover {
	color: #000000;
	font-weight:bold;
}

/* borders the bottoms of the dropdown and flyout links */
.vnav ul ul a {
	color: #fff;
	font-weight: 600;
}

.vnav .button {
	float:left;
	z-index:0;
	color: #fff;
	border-bottom: 1px solid #ffffff;
	padding-right: 0px;
	padding-left: 0px;
	width: 230px;
}

.vnav .button:hover {
	color: #cfe1ed;
	font-weight:bold;
	background-color: none;
}

/* Setup the currently active button to look different. Optional, but nice */
.vnav .activebutton {
	float:left;
	font-weight:bold;
	color: #fff !important;
	background-color: none;
}

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

.vnav .activebutton .dropdown{ display:block; color: #fff !important;}

/* borders the bottoms of the dropdown and flyout links */
.vnav .dropdown li {
	color:#fff !important;
}

.vnav .dropdown a {
	display:block;
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	text-align: left;
	padding-bottom: 10px;
	padding-top: 10px;
	padding-left:30px;
	padding-right:0px;
	border-top: 1px solid #2071ab;
	width: 200px;
	background-color: none;
	background-image: url(../images/dropnav_bullet.png);
	background-repeat: no-repeat;
	background-position: left center;
}


.vnav .dropdown a:hover {
	display:block;
	color: #cfe1ed;
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	font-weight:600;
	background-color: none;
}


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

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

.vnav .parent div.dropdown {
	color:#000 !important;
} /* hover rule for 1st flyouts */ 

/* hover rule for 2nd flyouts */
.vnav .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 */
}
.vnav .parent {position: relative;}
.vnav .parent:hover {background-image: url(/images/bgfix.gif);} 

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

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

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

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

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



@media (max-width: 850px) {

.hnav a {
	height: 24px;
	display: block;
	color:#fff;
	text-decoration:none;
	text-transform:uppercase;
	font-weight:normal;
	font-size:14px;
	margin-right: 12px;
	margin-left: 12px;
	font-family: 'Source Sans Pro', sans-serif;
	text-shadow: none;
	vertical-align: middle;
	letter-spacing:0px;
	padding-top:1px;
}
}