/*.nav .active  {color: white; background-color: #333333}
.parent a:visited { text-decoration:none;  color: white;}
*/
.nav .active  {background-color: #333333}
.nav .active a.on {color: white}

/*XXXXXXXXXXXX Primary top nav rules XXXXXXXXXXX*/

.nav {margin: 0 0 0 0;
	position: relative;
	background: transparent url('../images/nav-bg.gif') repeat-x;
/*	background: #def;
	border: 1px solid #888; 
	border-width: 1px 0;*/
	width: 100%;
	z-index:1; /* promote the stacking order of the container containing the menu  works in IE6 */
	}


.nav ul{margin: 0 0 0 0; padding: 0;}/* HS */

.button {
	/* width: 190px; Uncomment for fixed width */
	float: left; 
	 border-right: 1px solid white;/* HS: moved from .nav a */
   
	}

.parent {position: relative;}
/* 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. 
Thus the ugly (but interesting) Op7 bug is defeated. */
	
.floatfix {margin-right: -3px;}
/* this fixes the IE 3px bug that is common in this type of float arrangement */ 

/*XXXXXXXXXXXX Primary dropdown/flyout rules XXXXXXXXXXX*/

.dropdown { /* rules for 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.gif);
	z-index: 2;
	}
	
.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 */
	z-index:3;
	/* Rounded corner on top of menu
	background: transparent url(../images/menu-top.png) no-repeat scroll left 24px;
	*/
	}
	
/* 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, altho this method does eliminate
possible box model problems */
	
.dropdown ul { 
  width: 189px; /* tweaked so that dropdowns appear to "line up" with top links */
  margin: 0 30px 30px 30px; /* creates "sticky hovering" zones for dropdowns */
 /* Border now done on the li. See rule #7 */
 /* border: 1px solid white; 
  border-width: 1px 1px 0; */
  } /* borders sides and top of the dropdowns and flyouts; links provide the bottom border */
	
.dropdown div ul {margin: 30px 30px 30px 0;} /* creates "sticky hovering" zones for flyouts */
	
.four .dropdown ul {width: 190px;} /* modifies width for rightmost "visible" dropdown (tweak) */
		
.four .dropdown div ul {margin: 30px 0 30px 30px; position: relative;} /* rule reversal for "visible" right drop flyouts */

.nav li {text-align: left;}

.nav a {
  display: block;
  color: white;
	font-weight: normal; font-family: verdana;
	font-size: 11px;
	text-decoration: none;
	padding: 3px 15px 3px 15px; 
	/*border-right: 1px solid white;*/  /* makes the dividers between the top nav links */ /* HS: moved to .button */
	
	}

.four a {border-right: 0;} /* kills right border on last top link */
	
/* First level drop down menu items */	
.nav ul ul a {
  color: #2C5267; /* color of text in drop down menu */
  border-right: 0; /* negates right border for dropdowns and flyouts */
  /* Divider between menu items done by li. See rule #7 */
  /*border-bottom: 1px solid #E6EEF4;*/  /* borders the bottoms of the dropdown and flyout links */
  }

/* #7. */	
.dropdown li {
  position: relative; 
  vertical-align: bottom; /* IE5/win bugfix */
  background-color: #D3E3EB; /* From rule #6 */
  border: 1px solid white; 
  border-width:0px 1px 0px 1px; 
  }
				
.parent:hover {background-image: url(images/bgfix.gif);} 
/* this hover calls a transparent GIF only to defeat the IE failed hover bug. Any 
background change on hovering div.parent will make IE obey and display the dropdown.
While the call itself will fix the bug, make sure you actually call a real image 
file so that your site error logs will not fill with failed image calls. */
				
.parent:hover div.dropdown {left: -31px;} /* hover rule for dropdowns */ 
/* extra pixel makes dropdowns "line up" with top links */ 

.parent a:hover {background: #2D69B7 none repeat; } /* HS */
/* Hover for the parent */

.dropdown li:hover div { /* hover rule for flyouts */
	left: 180px; /* this value controls the amount of flyout "overlap" */
	top: -23px; /* this value controls the amount of flyout vertical offset */
	
	}

/* #1 Background colour when hovering over the drop donw menu items */
.dropdown a:hover {background: #235 none repeat;color:white;
/*color: red this is ignore */
}	
	
.four li:hover div { /* reversed flyout rules for rightmost drop flyouts */
	left: -210px; 
	top: -26px;
	}

.nav div.mini-zone { /* special hover zone that covers the "danger corner" */
  padding: 0;
  width: 15px;
	height: 15px;  
	font-size: 1px;
	left: -3000px;
	bottom: -15px;
	top: auto;	
	background: url(images/bgfix.gif);
	}

.nav .dropdown li:hover div.mini-zone { /* hover rule for mini-zones */
	left: auto;
	right: 8px;
	top: auto;
	}

.nav .four li:hover div.mini-zone { /* reversed hover rule for rightmost drop mini-zones */
	left: 8px;
	}

/* #2 Highlights the parent menu item of flyout menus */
.dropdown li:hover {background: #235; z-index:5;} /* hover color effect on dropdown links */
/* #3 Color  the parent menu item. Setting on rule #2 doesn't make a difference. */
.dropdown li:hover a {color: white} /* color of links */

/* #4 Rule #3 also colours the flyout links to white, so specify more exact rule
 	  to color the links
 */
.dropdown li:hover li a {color: #2C5267}  /*color of links */

/* #5. Rule #4 overrides the hover color of #1. Need to respecify. */
.dropdown div li:hover a {background: #235;color: white}  /* hover color effect on flyout links */

/*XXXXXXXXXXX Primary dropdown backgrounds XXXXXXXXXX*/
/* #6 */
.dropdown ul {/*background: #D3E3EB; Moved to rule #7 */
	padding-bottom: 5px;
	background-image: url(../images/menu-bottom.png);
	background-repeat: no-repeat;
	background-position: left bottom;
	
	/* Top border of the drop down menu or fly out menu */
	border-top: 1px solid white;
}


.one ul {background: #d79b00;}
.two ul {background: #459;}
.three ul {background: #4a3;}
.four ul {background: #790000;}
/* Unused. Flyout colours determined by o the li see rule #7 */
/*.dropdown div ul {background: #D3E3EB;} */ /* colors BG of horiz flyouts */ 
.dropdown div ul a {color: #2C5267;} /* colors text of  horiz flyouts */ 


/*XXXXXXXXXX z-index rules for top nav XXXXXXXXXXX*/

.one {z-index: 10;}
.two {z-index: 20;}
.three {z-index: 30;}
.four {z-index: 40;}
.four:hover {z-index: 20;}
/* this last is a special trick that reverses the stacking order of the rightmost
top link when it or its children are hovered. This, and the previous rules work
together so that when a user is on the top link of any flyout, they can move 
vertically to the top link directly above and not have the sticky hoivering zone
on the flyout get in the way of hovering that top link. */
 

/*XXXXXXXXXXX Special fixes XXXXXXXXXXX*/

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

/*
* html .nav a
 {height: 1%;}
*/
/* The first 2 rules above fix "bullet region" problems in IE5.x/win, 
and the 2nd is to make all links fully clickable. */    

.brclear { /* Use a break with this class to clear float containers */
clear:both;
height:0;
margin:0;
font-size: 1px;
line-height: 0;
}

/*\*/ /*/
.nav .dropdown, .nav .dropdown div {width: 189px;}
.nav .button .dropdown ul {margin: 0px;}
.nav .dropdown, .nav .dropdown div {position: static;}
.nav .dropdown ul {border: 0;}
.mini-zone {display: none;}
/* this rule block "dumbs down" the nav for IEmac */

