.menu {
        background-image: url(images/menu/top-menu-background.gif);
        background-repeat: repeat-x;
        margin: auto auto;
        padding:0px;
        width: 1004px;
        height:32px;
        position:relative;
        z-index:100;
        text-align:center;
} 
    
/* hack to correct IE5.5 faulty box model */
* html .menu {width:1024px; w\idth:1024px;}

/* 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:125px;}

/* 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:125px;
        position:relative;
        }

/* style the links for the top level */
.menu a, .menu a:visited {
        display:block;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 10px;
        font-weight: normal;
        text-decoration:none;
        color:#FFF;
    
        width:125px;
        height:33px;
        line-height:32px;
        text-align:center;
        border-left: 0px SOLID #FFFFFF;
        padding:0px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:100px; w\idth:100px;}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
        background:#c8d1d6 url(images/menu/drop.gif) bottom right no-repeat;
        border: 1px SOLID #c4cfd4;
        }

/* style the second level hover */
.menu ul ul a.drop:hover{background:#b9c3c8 url(images/menu/drop.gif) bottom right no-repeat;}
.menu ul ul :hover > a.drop {background:#b9c3c8 url(images/menu/drop.gif) bottom right no-repeat;}

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

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


/* 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:33px;left:0; width:149px;border-top:1px solid #b9c3c8;}

/* another hack for IE5.5 */
* html .menu ul ul {top:30px;t\op:31px;}

/* position the third level flyout menu */
.menu ul ul ul{left:149px; top:-1px; width:149px;}

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

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

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
        background:#C8D5E4;
        color:#000;
        height:auto;
        line-height:1em;
        padding:5px 10px;
        width:125px;
        border-bottom: 1px SOLID #c4cfd4;
        border-left: 1px SOLID #c4cfd4;
        border-right: 1px SOLID #c4cfd4;
        text-align:left;
}

/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:150px;w\idth:125px;}

/* style the top level hover */
.menu a:hover {
        color:#FFF;
        background:#EFEFEF;background-image: url(images/menu/top-menu-hover.gif);
        background-repeat: repeat-x;
        }

.menu ul ul a:hover {
        color:#FFF;
        background:#EFEFEF;
        }
.active {
        color:#FFF;
        background:#EFEFEF;background-image: url(images/menu/top-menu-hover.gif);
        background-repeat: repeat-x;
        }

.menu :hover > a {
        color:#FFF;
        background:#EFEFEF;
        background-image: url(images/menu/top-menu-hover.gif);
        background-repeat: repeat-x;
        }

.menu ul ul :hover > a {
        color:#000;
        background:#EFEFEF;
        }

/* 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;}

/* keep the third level hidden when you hover on first level list OR link */
.menu 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;}