.menud {list-style-image: none !important;}

/* style the outer div to give it width */
.menud {
width:150px !important;
height:30px;
font-size:0.85em;
}

/* remove all the bullets, borders and padding from the default list styling */
.menud ul 
{
padding:0;
margin:0;
list-style-type:none;
}

.menud ul ul
{
width:150px !important;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menud li
{
float:left;
width:150px !important;
position:relative;
}



/* style the links for the top level */
.menud a, .menud a:visited
{
display:block;
font-size: 10px;
text-decoration:none; 
color:#000; 
width:139px !important; 
height:30px; 
border:1px solid #fff; 
background:#fff; 
padding-left:10px !important; 
line-height:29px;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menud a, * html .menud a:visited
{
width:150px !important;
w\idth:139px !important;
}

.menud ul ul a {
color:#fff !important;
}

/* style the second level background */
.menud ul ul a.drop, .menud ul ul a.drop:visited
{
background:#a00;
}

/* style the second level hover */
.menud ul ul a.drop:hover
{
background:#f00;
}

.menud ul ul :hover > a.drop
{
background:#f00;
}

/* style the third level background */
.menud ul ul ul a, .menud ul ul ul a:visited
{
background:#a00;
}

/* style the third level hover */
.menud ul ul ul a:hover
{
background:#f00;
}

.menud ul ul ul :hover > a
{
background:#f00;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.menud table {border-collapse:collapse; border:0; position:absolute; left:0; bottom:-1px;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menud ul ul
{
visibility:hidden;
position:absolute;
bottom:31px;
left:0; 
width:150px !important;
}

* html .menud ul ul
{
bottom:30px;
}

/* position the third level flyout menu */
.menud ul ul ul
{
left:150px; 
bottom:0;
width:150px !important;
list-style-type: none;






}

/* position the third level flyout menu for a left flyout */
.menud ul ul ul.left
{
left:-150px;
}


/* style the second level links */
.menud ul ul a, .menud ul ul a:visited
{
background:#a00; 
color:#000; 
height:auto; 
line-height:1em; 
padding:5px 10px; 
width:129px !important
/* yet another hack for IE5.5 */
}

* html .menud ul ul a
{
font-size: 10px;
width:150px !important;
w\idth:129px !important;
}


/* style the top level hover */
.menud a:hover, .menud ul ul a:hover
{
color:#000;
font-size: 10px;
background:#a00;
}

.menud :hover > a, .menud ul ul :hover > a
{
color:#000;
font-size: 10px;
background:#a00;
}

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

/* keep the third level hidden when you hover on first level list OR link */
.menud ul :hover ul ul
{
display:none;
}

/* keep the fourth level hidden when you hover on second level list OR link */
.menud ul :hover ul :hover ul ul
{
display:none;
}

/* make the third level visible when you hover over second level list OR link */
.menud ul :hover ul :hover ul
{ 
display:block;
bottom:0;
}

/* make the fourth level visible when you hover over third level list OR link */
.menud ul :hover ul :hover ul :hover ul
{ 
display:block;
bottom:0;
}