/* style the outer div to give it width */
.menu {
position:absolute;
z-index:100;
	font-size:10px;	
	}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding:0;
	margin:0;
	list-style-type:none; 
	line-height:16px;  
	background:#ffffff;}

/* style the sub-level lists */
.menu ul ul {}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu ul li {
	float:left;
	line-height:16px; 
	}

/* style the sub level list items */
.menu ul ul li {
	display:block;
	height:auto; 
	line-height:16px;
	}

/* style the links for the top level */
.menu a, .menu a:visited {
		font-size:10px;
	display:block;
	float:left;
	color:#000; 
	padding-left:5px;
	padding-right:15px;
	padding-top:5px;
	text-decoration:none;
	border-top:#FF9900 solid 1px;
	border-bottom:#FF9900 solid 4px;
	border-left:#FF9900 dotted 1px;
	height:30px;
	background-color:#ffffff;
	line-height:13px;
	}

/* style the sub level links */
.menu ul ul a, .menu ul ul a:visited {display:block;background:#fff; color:#000;  border-bottom:#FF9900 solid 1px; border-top:none;  width:150px; height:100%;line-height:14px; padding-top:3px; padding-bottom:4px; }
* html .menu ul ul a, * html .menu ul ul a:visited  {  border-bottom:#FF9900 solid 1px; border-top:none; }

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {position:absolute; left:1px; top:0; width:0; height:0; font-size:1em; z-index:-1;}

/* style the sub level 1 background */
.menu ul :hover a.sub1 {background:#fff;}
/* style the sub level 2 background */
.menu ul ul :hover a.sub2 {background:#fff; border-bottom:#FF9900 solid 1px; border-top:none;}

/* style the level hovers */
/* first */
* html .menu a:hover {
	color:#000;	
	background-color:#FFFFFF; 
	border-bottom:#008293 solid 4px;
	position:relative; 
	z-index:100;}
.menu li:hover {position:relative;}
.menu li:hover > a {color:#000;background:#fff;  border-bottom:#fff solid 4px;}
/* second */
* html .menu ul ul a:hover{color:#000;background:#fff; position:relative; z-index:110; background-color:#ddd; border-bottom:#FF9900 solid 1px; border-top:none;}
.menu ul ul li:hover {position:relative; border:none; background-color:#ddd;}
.menu ul ul :hover > a {color:#000;  background-color:#ddd; border-top:none; border-bottom:#FF9900 solid 1px;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {visibility:hidden;position:absolute;height:0; top:40px; left:0;}

/* make the second level visible when hover on first level list OR link */
.menu ul :hover ul{visibility:visible; height:auto;}
