/*
body {
	behavior:url(csshover.htc);
	color: #333;
	margin-top: 2px;
	margin-bottom: 2px;
	margin-left: 2px;
	margin-right: 2px;
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	background: #FFFFFF;
	
}
*/

/* -------------------------------------- MENU formatting ------------------------------------------ */

/* the horizontal menu starts here */
div#listmenu {
	width:800px; /* makes the div full width */
	letter-spacing: .5px;
	float:left;
	
	border-top:0px solid #FFFFFF;	/* draws line on top edge of div */
	border-bottom:0px solid #FFFFFF;	 /* draws line on bottom edge of div */
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	font-size:10px; /*set font size here*/
	/*background: #CECDB7 url(navBackground.gif) repeat-x left top;  colors the div */
	background: #3399FF;	/*margin-top:20px; /* TEMPORARY - pushes the div away from the top of the browser for clarity in this example*/
	}
div#listmenu ul {
	margin:0;/* indents ul from edge of container - NOTE: diff value for IE in hacks below */
	padding:0;
	list-style:none;
	}
div#listmenu li {
	float:left;	/* causes the list to align horizontally instead of stack */
	position:relative; /* positioning context for the absolutely positioned drop-down */
	list-style-type:none;	/* removes the bullet off each list item */
	/*background-color:#FFA; sets the background of the menu items */
	border-right:1px solid #FFFFFF; /* creates dividing lines between the li elements */
	margin-bottom:0;
	}
div#listmenu li:first-child {
	/*border-left:1px solid #FFFFFF; the first vertial line on the menu */
	}

div#listmenu li:hover {
/* menu rollover color - MENU Level */
	background: #CCCCCC;
	}
div#listmenu a:link, div#listmenu a:visited {
	display:block;
	padding:2px 10px 2px 10px; /*creates vertical space each side of menu item's text */
	text-decoration:none;	 /* removes the underlining of the link */
	color:#FFF;	 /*sets the type color */
	}
div#listmenu a:hover {
	/*color:#E8E6CD;*/
	background:#999999;
	}
/* the menu ends here */

/* the drop-down starts here */
div#listmenu ul li ul {
	margin:0;
	/* color of all submenus not hovered */
	background: #CCCCCC; 
	z-index:10; /* puts drop-down on top of div - Safari needs this as menu is 1px higher */
	position:absolute; /* positions the drop-down ul in relation to its relatively positioned li parent */
	width:180px; /*sets the width of the menu - in combo with the li's 100% width, makes the menu stack*/
	border-right:0; /* stops SCBs drops having two right borders - they inherit the border, IE doesn't */
	left:-1px; /*aligns the drop exactly under the menu */
	}
div#listmenu ul li ul li {
	width:100%; /* makes the list items fill the list container (ul) */
	border-left:1px solid #FFFFFF; /*  three sides of each drop-down item */
	border-bottom:1px solid #FFFFFF;
	border-right:1px solid #FFFFFF;
	/*background: #E8E6CD;*/ 
	position: relative;
}
div#listmenu ul li ul li a:link, div#listmenu ul li ul li a:visited {
     color:#000;
	/*padding:6px 6px;*/
}

div#listmenu ul li ul li a:hover {
	background: #999999; 
}

div#listmenu ul li ul li:first-child {
	border-top:1px solid #BDBCA0; /*the top edge of the dropdown */
	}
/* make the drop-down display as the menu is rolled over */
div#listmenu ul li ul {display:none;} /* conceals the drop-down when menu not hovered */
div#listmenu ul li:hover ul {display:block; } /* shows the drop-down when the menu is hovered */

/* pop-out starts here */
body div#listmenu ul li ul li ul  {
	position:absolute; 
	visibility:hidden; /* same effect as display:none in this situation */
	top:-1px;
	left:180px; /*apparently, this setting has no effect on left position if width is not 10em see next rule for fix */
	border-right:0;
	}
	
body div#listmenu ul li ul li ul.third  {
	position:absolute; 
	top:-1px;
	left:178px; /*you have to add a class to the third level to make it take the position left setting; also make sure you change the IE fix rules below. IE requries 2px less to make it align left properly*/
}
	
div#listmenu ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */

/* second level popouts start here*/
div#listmenu ul li ul li:hover ul li ul {visibility:hidden;}
div#listmenu ul li ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */

/* THE HACK ZONE - */
/* hack for IE (all flavors) so the menu has a vertical line on the left */
* html div#listmenu ul {
	float:left; /* makes the ul wrap the li's */
	border-left:1px solid #BDBCA0; /* adds the rightmost menu vertical line to the ul */
	margin-left:0; /* IE doubles the given value above - why? */
	}

/* add a top line to drops and pops in IE browsers - can't read :first-child */
* html  div#listmenu ul li ul {
	border-top:1px solid #BDBCA0;
	border-left:0px; /* stops the drop inheriting the ul border */
	}
/* the Tantek hack to feed IE Win 5.5-5.0 a lower value to get the pop-out to touch the drop-down */
* html  div#listmenu ul li ul li ul.third { 
  left:138px; 
  voice-family: "\"}\""; 
  voice-family:inherit;
  left:138px;
  } 
/* and the "be nice to Opera" rule */
html>body div#listmenu ul li ul li ul {
  left:140px;
} 

/* an Opera-only hack to fix a redraw problem by invisibly extending the ul */
/* the first-level drop stays open for 100px below the bottom but at least it works */
/* this can be reduced to as little as 22px if you don't have pop-outs */
/* the pop-out menu stays open for 22px below the bottom but at least it works */
	@media all and (min-width: 0px){
   body div#listmenu ul li ul {padding-bottom:0px;} /* THIS DEALS WITH THE BOTTOM SPACE OF EACH DROP DOWN MENU IN SAFARI*/
   body div#listmenu ul li ul li ul {padding-bottom:22px;}
   ul li ul li ul li ul li:hover {visibility:visible;} /* same effect as display:block in this situation */

   }
/*end Opera hack */
/* END OF HACK ZONE */
/* the drop-down ends here */

/* ------------------------------------ END OF LIST-BASED MENU ----------------------------------------- */
