/* CSS Menus - Horizontal CSS Menu with Dropdown and Popout Menus - 20050131 */
/* Begin CSS Popout Menu */
#menu {
	width: 100%;
	float: left;
	background: #fff;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	padding-left: 1.3em;
	border-top: 2px solid #B8281D;
}
#menu a, #menu h2 {
	font: bold 11px / 16px Arial, Helvetica, sans-serif;
	background-color: #f0f0c0;
	display: block;
	white-space: nowrap;
	margin: 0;
	padding: 1px 0 1px 3px;
	border-right: 1px solid #B8281D;
	border-bottom: 1px solid #B8281D;
	border-left: 1px solid #B8281D;
	border-radius-bottomleft: 5px; 
	border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px; /* Mozilla */
	-moz-border-radius-bottomright: 5px; 
	-webkit-border-bottom-left-radius: 5px; /* Webkit */
	-webkit-border-bottom-right-radius: 5px;
	box-shadow: .2em .2em .2em #ccc; 
	-moz-box-shadow: .2em .2em .2em #ccc; 
	-webkit-box-shadow: .2em .2em .2em #ccc; 

}
#menu h2 {
	color: #B8281D;
	background-color: #ffff00;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: 100% 100%;
	text-transform: uppercase;
	text-align: center;
}
#menu a {
	background: #ffff00;
	text-decoration: none;
	border: solid 1px #B8281D;
	border-radius-bottomleft: 0px; 
	border-radius-bottomright: 0px;
	-moz-border-radius-bottomleft: 0px; /* Mozilla */
	-moz-border-radius-bottomright: 0px; 
	-webkit-border-bottom-left-radius: 0px; /* Webkit */
	-webkit-border-bottom-right-radius: 0px;

}
#menu a, #menu a:visited { color: #B8281D; }
#menu a:hover {
	color: #ffff00;
	background: #B8281D;
}
#menu a:active {
	color: #B8281D;
	background: #ffff00;
}
#menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	float: left;
	width: 10em;
}
#menu li { position: relative; }
#menu ul ul {
	position: absolute;
	z-index: 500;
	top: auto;
	left: 0;
	display: none; }
#menu ul ul ul {
	top: 0;
	left: 93%;
}

/* Begin non-anchor hover selectors */
/* Enter the more specific element (div) selector on non-anchor hovers for IE5.x to comply with 
the older version of csshover.htc - V1.21.041022. It improves IE's performance speed to use 
the older file and this method */

div#menu h2:hover {
	color: #ffff00;
	background: #B8281D no-repeat -999px -9999px;
}
div#menu li:hover {
	cursor: pointer;
	z-index: 100;
}
div#menu li:hover ul ul, div#menu li li:hover ul ul, div#menu li li li:hover ul ul, div#menu li li li li:hover ul ul { display: none; }
div#menu li:hover ul, div#menu li li:hover ul, div#menu li li li:hover ul, div#menu li li li li:hover ul { display: block; }
/* End of non-anchor hover selectors */

/* Styling for Expand */
#menu a.x, #menu a.x:visited {
	font-weight: bold;
	color: #900;
	background-color: #f0f0c0;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: 100% 100%;
}
#menu a.x:hover {
	color: #a00;
	background: #f0f0c0;
}
#menu a.x:active {
	color: #530000;
	background: #f0f0c0;
}