/* CSS Document */

/* the horizontal menu starts here */
div#listmenu {
	width:100%; 	/* makes the div full width */
	float:left; /*makes the div enclose the list */
	font-size:11px;	/* SET FONT-SIZE HERE */
	font-weight: bold;
	text-align: left;
	margin-left: 0px;
	}
div#listmenu ul {margin:0 0 0 0px;/* indents ul from edge of container */
	padding: 0;
	}
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 */
	}
div#listmenu li li {
	background-color:#ddd; /*sets the background of the menu items */
	height: 20px;
	line-height: 20px;
	color: #666;
	}
/* the horizontal menu ends here */

/* the drop-down starts here */
div#listmenu ul li ul {
	margin:6px 0 0 0; /* prevents the TEMP value inheriting from the horiz menu - OK to remove if you remove TEMP above */
	position:absolute; /* positions the drop-down ul in relation to its relatively positioned li parent */
	width:17em; /*sets the width of the menu - in combo with the li's 100% width, makes the menu stack*/
	left:-1px; /*aligns the drop exactly under the menu */
	padding-top: 19px;
	border-bottom:2px solid #666;
	}
html>body div#listmenu ul li ul {
	padding-top: 8px;
}
div#listmenu ul li ul li {
	width:100%; /* makes the list items fill the list container (ul) */
	border-left:2px solid #666; /*  three sides of each drop-down item */
	border-right:2px solid #666;
	padding:0;
	}
div#listmenu li li a:link, div#listmenu li li a:visited {
	color: #666;
	padding-left: 5px;
	display:block;
	background-color: #ddd;
}
div#listmenu li li a:hover, div#listmenu li li a:active {
	color: #fff;
	border: 0;
	display: block;
	background-color: #666;
	padding: 0 0 0 5px;
}

/* 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  {
	visibility:hidden; /* same effect as display:none in this situation */
	top:-1px;
	left:10em;
	}
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 */

/* third level popouts start here*/
div#listmenu ul li ul li ul li:hover ul li ul {visibility:hidden;}
div#listmenu ul li 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:0; /* adds the rightmost menu vertical line to the ul */
	margin-left:5px; /* 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-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 { 
  left:9.85em; 
  voice-family: "\"}\""; 
  voice-family:inherit;
  left:10em;
  }
/* and the "be nice to Opera" rule */
html>body div#listmenu ul li ul li ul {
  left:10em;
  }
/* end of hack zone */
/* END OF LIST-BASED MENU */
/* END OF DROP DOWN MENUS */