/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/flyout5.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.menu {
	z-index:1000;
	position:relative;
	display:block;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:10px;
	font-style: normal;
	text-decoration:none;
	align:left;
	width:133px;
	margin-top:0px;
	margin-bottom:0px;
	margin-left:5px;
	padding-top:0px;
	padding-left:0px;
	padding-bottom:0px;
	padding-right:0px;
	left: -2px;
	visibility: visible;
	}

/* remove all the bullets, borders and padding from the default list styling */
/* this is the top level */

.menu ul {
	padding:0px;
	margin:0px;
	list-style-type:none;
	line-height:25px;
	text-indent:4px;
	width:133px;
	position:relative;
	background: #fff;
}

.menu li {
background:transparent;
position:relative;
height:25px;
border:1px solid #ccc;
border-width:0px 0px 1px 0px;
}

* html .menu li {margin-left:-16px; margin-lef\t:0;}
/* get rid of the table */
.menu table {position:absolute; border-collapse:collapse; top:0; left:0; z-index:100; font-size:1em; width:0; height:0;}

/* style the links */
.menu a, .menu a:visited {
display:block; 
text-decoration:none;
height:25px;
line-height:25px;
width:133px;
color:#000;
text-indent:5px;
background:transparent;
}

/* style the link hover */
* html .menu a:hover {color:#fff; background:#297B4A;}

.menu :hover > a {
color:#fff; 
background:#297B4A;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
top:0px;
left:134px;
}
/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul {
	visibility:visible;
	background:#999;
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
	visibility:hidden;
}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover ul :hover ul ul{
	visibility:hidden;
}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{
	visibility:visible;
	background:#ded;
}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul {
	visibility:visible;
	background:#edd;
}
