/* the horizontal menu starts here */
div#listmenu {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	margin:0px;
	padding:0px;
	width:1000px;
	float:left;
	font-size: 12px;
	background-color:#BBB;
	color: #3C3C3C;
	list-style:none;
	border-left: 1px solid #292C79;
	border-right: 1px solid #292C79;
}

div#listmenu ul {
	margin:0px;
	padding:0px;
	background-color:#BBB;
	color: #3C3C3C;
	list-style:none;
}

div#listmenu li {
	margin:0px;
	padding:0px;
	width:166px;
	float:left;
	position:relative;
	background-color:#BBB;
	color: #3C3C3C;
	list-style:none;
}

div#listmenu li:hover { 
	background-color:#F2F2F2; /*sets the background of the menu items */
	color: #BB0000;
}

div#listmenu a {
	margin:0px;
	display:block; /*makes list items in drop down highlight and wrapped lines indent correctly */
	padding:3px 16px; /*creates space each side of menu item's text */
	text-decoration:none;	 /* removes the underlining of the link */
	color: #3C3C3C;
	background: url("../img/square_green.gif") 3px 6px no-repeat #BBB;
}

div#listmenu a:hover {
	background-color:#F2F2F2;
	color:#BB0000;
}

/* the horizontal menu ends here */

/* the drop-down starts here */
div#listmenu ul li ul {
	margin:0px; /* prevent 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:210px; /*sets the width of the menu - in combo with the li's 100% width, makes the menu stack*/
	left:0px; /*aligns the drop exactly under the menu */
	border-top:1px solid #069;
}

div#listmenu ul li ul li {
	width:100%; /* makes the list items fill the list container (ul) */
	padding:0px;
	border-top:1px solid #069;
}

div#listmenu ul li ul li a {
	padding:1px 16px;
}


/* 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:180px;
}

div#listmenu ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */

/* another level of pop-outs */
div#listmenu ul li ul li:hover ul li ul {display:none;} /* conceals the drop-down when menu not hovered */
div#listmenu ul li ul li ul li:hover ul {display:block; } /* shows the drop-down when the menu is hovered */

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

/* 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:125px;
}

/* and the "be nice to Opera" rule */
html>body div#listmenu ul li ul li ul {
  top:-1px;
  left:150px;
}

/* 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:70px;}
   body div#listmenu ul li ul li ul {padding-bottom:22px;}
   body div#listmenu 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 */
/* END OF LIST-BASED MENU */