﻿/* CSS Popout menu */

/* Fix IE. Hide from IE Mac \*/
* html #menu ul li{float: left;height: 1%;}
* html #menu ul li a{height: 1%;}
/* End */

/* position, size, and font of  menu */
#menu 
{	
	z-index: 10;
	width: 10em; 
	text-align: left;
}

#menu a
{
	width: 100%;
	font-weight: bold;
	display: block;
	padding-top: 0.5em; /* expands menu box vertically */
	padding-bottom: 0.5em;
	border-bottom: 1px solid #014836; /* adds bottom border */
	white-space: nowrap;
}

#menu a,
#menu a:visited /* all menus at rest */
{
	color: #014836;
	text-decoration: none; /* removes underlines from links */
}



#menu a:hover /* all menus on mouse-over */
{	
	/* color: white;
	background-color: #AFAFAF; */
}

#menu li
{
	list-style-type: none; /* removes bullets */
}

#menu ul li
{
	position: relative;
}

#menu ul li a:hover
{
	color: #B78718;
}

#menu li ul
{
	position: absolute;
	top: 0;
	left: 10em; /* distance from  left menu (this should be the same as width value in #menu [1]) above */
	display: none;
}

div#menu ul, 
#menu ul ul,
div#menu ul ul ul
{
	margin: 0; /* keeps the menu parts together */
	padding: 0;
	width: 10em; /* width of sub menus  (this should be the same as width value in #menu [1]) above */
}

div#menu ul ul, div#menu ul ul ul, div#menu ul li:hover ul ul, div#menu ul li:hover ul ul ul
{
	display: none;
}

div#menu ul li:hover ul, div#menu ul ul li:hover ul, div#menu ul ul ul li:hover ul
{
	display: block;
}



/* added by TJ */
#menu ul li ul li a, 
#menu ul li ul li a:visited
{	
	display: block;
	background-color: #EDEDED;
	font-weight: normal;
	padding-left: 5px;
	width: 15em;
}

#menu ul li ul li a:hover
{	
	background-color: #AFAFAF;
	color: #014836;
}

#menu ul ul
{
	border: groove 1px #014836;	
	width: 15.4em;
}