
/* remove all the bullets, borders and padding from the default list styling */
div.topmenu ul {
padding:0;
margin:0;
list-style-type:none;
}
div.topmenu ul ul {
width:135px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
div.topmenu li {
float:left;
width:125px;
position:relative;
border:1px  solid #ceebff;
border-width:1px 1px 0 0;
}
/* style the links for the top level */
div.topmenu a, div.topmenu a:visited {
display:block;
font-size:11px;
text-decoration:none;
color:#fff;
width:115px;
height:25px;
background:#009ee7;
padding:0px 5px;
line-height:24px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html div.topmenu a, * html div.topmenu a:visited {
width:134px;
}

/* style the second level background */
div.topmenu ul ul a.drop, div.topmenu ul ul a.drop:visited {
background:#ceebff url(../../graphics/drop.gif) bottom right no-repeat;
background:yellow url(../../graphics/drop.gif) bottom right no-repeat;

}
/* style the second level hover */
div.topmenu ul ul a.drop:hover{
background:#c9ba65 url(../../graphics/drop.gif) bottom right no-repeat;
background:#ff0 url(../../graphics/drop.gif) bottom right no-repeat;
}
div.topmenu ul ul :hover > a.drop {
background:#c9ba65 url(../../graphics/drop.gif) bottom right no-repeat;
background:#0ff url(../../graphics/drop.gif) bottom right no-repeat; 
}
/* style the third level background */
div.topmenu ul ul ul a, div.topmenu ul ul ul a:visited {
background:#e2dfa8;
}
/* style the third level hover */
div.topmenu ul ul ul a:hover {
background:#b2ab9b;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
div.topmenu ul ul {
visibility:hidden;
position:absolute;
height:0;
top:25px;
left:0;
width:135px;
}
/* another hack for IE5.5 */
* html div.topmenu ul ul {
top:25px;
}

/* position the third level flyout menu */
div.topmenu ul ul ul{
left:135px;
top:0;
width:135px;
}
/* position the third level flyout menu for a left flyout */
div.topmenu ul ul ul.left {
left:-135px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
div.topmenu table {position:absolute; top:0; left:0;}

/* style the second level links */
div.topmenu ul ul a, div.topmenu ul ul a:visited {
background:#ceebff;
color:#000;
height:auto;
line-height:1em;
padding:5px 5px;
width:129px
border: solid 1px #009eef; 
/* yet another hack for IE5.5 */
}
* html div.topmenu ul ul a{
width:135px;
}


/* style the top level hover */
div.topmenu a:hover, div.topmenu ul ul a:hover{
color:#fff;
background:#0845a5; 
}
div.topmenu :hover > a, div.topmenu ul ul :hover > a {
color:#fff;
background:red; 
}

/* make the second level visible when hover on first level list OR link */
div.topmenu ul li:hover ul,
div.topmenu ul a:hover ul{
visibility:visible;
}
/* keep the third level hidden when you hover on first level list OR link */
div.topmenu ul :hover ul ul{
visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
div.topmenu ul :hover ul :hover ul{
visibility:visible;
}