/* CSS Document */

div#menu ul {margin:6px 4px 0 3px;
	height:40px;
	font-size: 13px;
	}
div#menu li {
	float:left;	/* causes the list to align horizontally instead of stack */
	text-align:center;
	position:relative; /* positioning context for the absolutely positioned drop-down */
	list-style-type:none;	/* removes the bullet off each list item */
	background-color:#006600; /*sets the background of the menu items */
	border-left:1px solid #ffffff; /* creates dividing lines between the li elements */
	}

 /*the first vertical line on the menu */
/*div#menu li:first-child {
	border-left:none;
	}*/
div#menu li:hover { 
	background-color:#228822; /*sets the background of the menu items */
	}
div#menu a {
	display:block; /*makes list items in drop down highlight and wrapped lines indent correctly */
	padding:0 6px; /*creates space each side of menu item's text */
	text-decoration:none;	 /* removes the underlining of the link */
	color:white;	/* sets the type color */
	}
div#menu a:hover {
	color:white;
	}

div#menu ul li ul {
	margin: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:10em; /*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 */
	}
div#menu ul li ul li {
	width:100%; /* makes the list items fill the list container (ul) */
	border-left:none;
	border-bottom:none;
	border-right:none;
	padding:0 0 1px;
	}
div#menu ul li ul li:first-child {
	border-top:none;
	}
/* make the drop-down display as the menu is rolled over */
div#menu ul li ul {display:none;} /* conceals the drop-down when menu not hovered */
div#menu ul li:hover ul {display:block; } /* shows the drop-down when the menu is hovered */

/* pop-out starts here */
body div#menu ul li ul li ul  {
	visibility:hidden; /* same effect as display:none in this situation */
	top:-1px;
	left:10em;
	}
div#menu ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */

/* another level of pop-outs */
div#menu ul li ul li:hover ul li ul {display:none;} /* conceals the drop-down when menu not hovered */
div#menu ul li ul li ul li:hover ul {display:block; } /* shows the drop-down when the menu is hovered */

