/* ================================================================ 
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/basic_dd.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.
=================================================================== */

div.menu
{
	height: 24px;
	width: 600px;
	margin: auto;
}

/* remove the bullets, padding and margins from the lists */
.menu ul{
list-style-type:none;
padding:0;
margin:0;
height: 24px;
}

/* make the top level links horizontal and position 
relative so that we can position the sub level */
.menu li{
padding: 0px 20px;
float:left;
position:relative;
z-index:1000;
}

.menu li li
{
	background-color: red;
	width: 200px;
}

/* use the table to position the dropdown list */
.menu table{
position:absolute;
border-collapse:collapse;
z-index:80;
left:-1px;
top:25px;
}

/* style all the links */
.menu a, .menu :visited {
display:block;
padding: 0;
margin-right:1px;
text-align:left;
}

/* style the links hover */
.menu ul li:hover,
.menu ul a:hover
{
	background-color: yellow;
}

/* hide the sub level links */
.menu ul ul {
visibility:hidden;
position:absolute;
width:200px;
height:0;
}
/* make the sub level visible on hover list or link */
.menu ul li:hover ul,
.menu ul a:hover ul
{
	visibility:visible;
}
