/* style the outer div to give it width */
.menu {
    height: 25px;
    background: url(/site_files/img/bg_img_menu.jpg) top left no-repeat;
    padding-left: 2px;
    z-index:2;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
    padding:0px;
    margin:0px;
    margin-left:-1px;
    /*height:25px;*/
    list-style-type:none;
}
.menu ul ul {
    border:1px solid #737373;
    border-top:none;
}
.menu ul li.item, .menu li.last{
    margin: 0px;
    padding: 0px;
    margin-left: -1px;
    background: url(/site_files/img/menu_seperator.jpg) right 9px no-repeat;
    display: inline;
}



/* style the sub-level lists */
.menu ul ul ul {margin:-1px 0px 0px 0px;border:1px solid #737373;}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li.item, .menu li.last {float:left;height:25px;line-height:25px;}
.menu ul li {float:left;}

/* style the sub level list items */
.menu ul ul li {
    background-color:#fff;
    display:block;
    width:16em;
    /*height:2.2em;
    line-height:1.1em;*/
    /*padding-top:1em;*/
}

/* style the links for the top level */
.menu a {
    display:block;
    float:left;
    height:100%;
    font-size:1em;
    text-decoration:none;
    color:#fff;
    padding:0 1.5em 0 1.5em;
}

/* style the sub level links */
.menu ul ul a {
    display:block;
    color:#adadad;
    width:14em;
    line-height:1.2em;
    padding-top:0.6em;
    padding-bottom:0.6em;
}

/* style the third level background
.menu ul ul ul a, .menu ul ul ul a:visited {background:#ffffff;}
/* style the fourth level background
.menu ul ul ul ul a, .menu ul ul ul ul a:visited {background:#ffffff;}
/* style the sub level 1 background
.menu ul :hover a.sub1 {background:#ffffff;}
/* style the sub level 2 background
.menu ul ul :hover a.sub2 {background:#ffffff;}

/* style the level hovers */
/* first */
* html .menu a:hover {
    color:#000;
    position:relative;
    z-index:100;
    background:#ffffff;
    /*padding-right:0;*/
}
.menu li:hover {position:relative;}
.menu :hover > a {
    color:#000;
    background:#ffffff;
    text-decoration: underline;
}
/* second */
* html .menu ul ul a:hover{color:#000;/*background:#ffffff;*/ position:relative; z-index:110;}
.menu ul ul li:hover {position:relative;}
.menu ul ul :hover > a {
    color:#000;
    background: #FFFFFF url(/site_files/img/menu_mouseover.jpg) 1.5em 0.9em no-repeat;
    padding-left: 4em;
    width:10em;
    text-decoration: none;
 }
/* third */
* html .menu ul ul ul a:hover {/*background:#ffffff;*/ position:relative; z-index:120;}
.menu ul ul ul li:hover {position:relative;}
.menu ul ul ul :hover > a {
    color:#000;
    background: #FFFFFF url(/site_files/img/menu_mouseover.jpg) 1.5em 0.9em no-repeat;
    padding-left: 4em;
    width:10em;
}
/* fourth */
.menu ul ul ul ul a:hover {/*background:#ffffff;*/ position:relative; z-index:130;}
.menu ul ul ul ul li:hover {position:relative;}
.menu ul ul ul ul :hover > a {
    color:#000;
    background: #FFFFFF url(/site_files/img/menu_mouseover.jpg) 1.5em 0.9em no-repeat;
    padding-left: 4em;
    width:10em;
}

/* 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:24px;left:0;width:16em;}

/* position the third level flyout menu */
.menu ul ul ul{left:16em;top:0;width:16em;}


/* make the second level visible when hover on first level list OR link */
.menu ul :hover ul{visibility:visible; height:auto; /*padding-bottom:3em;*/ /*background:transparent url(images/trans.gif);*/}
/* 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;}


/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {
    position:absolute;
    left:0px;
    top:0;
    width:0;
    height:0;
    z-index:-1;
}



.menu td a:link:hover, .menu td a:visited:hover {
    display:block;
    background: #FFFFFF url(/site_files/img/menu_mouseover.jpg) 1.5em 1em no-repeat;
    color:#000;
    padding-left:4em;
    width:11.6em;
}


<!--[if lte IE 6]>
<style type="text/css">
.menu ul ul {left:-1px; margin-left:-1px;}
.menu ul ul ul.left {margin-left:1px;}
</style>
<![endif]-->
