/* navigation */
.topnav
{
    font-family: Tahoma, Verdana, Georgia, Arial, Sans-Serif;
    font-size: small;
    list-style: none;
    width: 950px;
    min-width: 950px;
    height: 30px;
    background: #dddddd;
    z-index: 1;
    border-bottom: 1px solid #888;
}

/* style the outer div to give it width */
.menu
{
    width: 950px;
    min-width: 950px;
    font-size: 0.85em;
    /*padding-bottom: 150px;*/
    z-index: 11;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul
{
    padding: 0;
    margin: 0;
    list-style-type: none;
    float: left;
}

.menu ul ul
{
    width: 150px;
    z-index: 3;
}

/* 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: 150px;
    width: auto;
    height: 30px;
    position: relative;
    z-index: 4;
    background: #dddddd;

}




/* style the links for the top level */
.menu a, .menu a:visited
{
    display: block;
    font-size: x-small;
    text-decoration: none;
    color: #003366;
    width: 150px;
    width: auto;
    height: 30px;
    border: 1px solid #917548;
    border-width: 0 1px 0 0;
    background: url( "../images/button-li.gif" ) no-repeat bottom right;
    padding: 0 12px 0 12px;
    line-height: 30px;
    z-index: 5;
    font-weight: bold;
    font-size: 110%;
    left: 1px;  
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited
{
    width: 150px; 
    w\idth:150px; 
    width: auto;
}

li#active {  background: #bbb; background-image: url( "../images/bg-li-active.gif" ); background-repeat: no-repeat; background-position: bottom right;}
li#active a { background: none;  }
li.activepath .daddy { background: #bbb; background-image: url( "../images/bg-li-active.gif" ); background-repeat: no-repeat; background-position: bottom right; }

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited
{
    background: #dddddd;
}

/* style the second level hover */
.menu ul ul a.drop:hover
{
    background: #dddddd;
}

.menu ul ul :hover > a.drop
{
    background: #eeeeee;
}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited
{
    background: #ffffff;
}

/* style the third level hover */
.menu ul ul ul a:hover
{
    background: #dddddd;
}

.menu ul ul ul :hover > a
{
    background: #dddddd;
}

/* 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: 30px;
    margin-left: -1px;
    width: 150px;
}

/* position the third level flyout menu */
.menu ul ul ul
{
    left: 150px;
    top: 0;
    width: 250px;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left
{
    left: -150px;
}

/* 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;
    visibility: visible;
}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited
{
    background: #dddddd;
    color: #003366;
    height: 30px;
    width: 150px;
    border: 1px solid #917548; /* opacity: .7;  -moz-opacity: 0.7; */ /* yet another hack for IE5.5 */
}

* html .menu ul ul a{
    width :150px;
    w\idth:150px;
}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover
{
    
    color: #000; /* background: #ccc; */
    text-decoration: underline; /* visibility: inherit; */
}

.menu :hover > a, .menu ul ul :hover > a
{
    color: #225588; /*background:transparent;*/
    visibility: visible;
}

/* 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;
    z-index: 7;
}

/* 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;
}
.menu ul li:hover, .menu ul ul a:hover { background: #ccc; }