/* style the outer div to give it width */
#menu {
	font-size:0.55em;
	margin-bottom:68px;
	text-align: left;
	background:#003;
	height:20px;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;
}
.menu ul ul {
width:120px;

}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
float:left;
width:120px; 
border-right:1px solid #fff;
}
/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
font-size:10px;
text-decoration:none; 
color:#fff; 
height:20px; 
background:#003; 
padding-left:5px; 
line-height:19px;
}

/*---------- NOTE -------------*/
/*   place this back in above to loose border
border-width:1px 1px 0 0; 


/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background:#999999;
}
/* style the second level hover */
.menu ul ul a.drop:hover{
background:#999999;
}
.menu ul ul :hover > a.drop {
background:#999999;
}

/*---------- NOT IN USE -------------*/
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
background:#999999;
}
/* style the third level hover */
.menu ul ul ul a:hover {
background:#999;
}
.menu ul ul ul :hover > a {
background:#999;
}

/* 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:20px;
left:-1px; 
width:120px;
border-left:1px solid #fff;
border-bottom:1px solid #fff;
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:20px;

}

/*---------- NOT IN USE -------------*/
/* position the third level flyout menu */
.menu ul ul ul{
left:120px; 
top:0;
width:120px;
}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
left:-120px;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
display:block;
background:#999; 
color:#000; 
height:auto; 
line-height:1em; 
padding:5px 5px; 
border-top:1px solid #fff;
}



/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
color:#fff; 
background:#399;
position:relative;
}
.menu li:hover {position:relative;}
.menu :hover > a, .menu ul ul :hover > a {
color:#fff;
background:#399;
}

/* 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;
height:auto;
}
/* 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;
}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul { 
visibility:visible;
}
