﻿body
{
    font-family: arial, helvetica, serif;
}

#nav, #nav ul
{
    /* all lists */
    padding: 0 0 0 0;
    margin: 0;
    list-style: none;
}

#nav a
{
    display: block;
    font-weight: bold;
    color: #FFF;
    text-decoration: none;
    font-size: 16px;
}

#nav a:hover
{
    color: #CCC;
}

#nav li
{
    /* all list items */
    float: left; /* width needed or else Opera goes nuts */
    padding-left: 60px;
}


#nav li ul
{
    /* second-level lists */
    position: absolute;
    border: 1px solid #000;
    background: #80204a;
    width: 200px;
    left: -999em;
    z-index: 100;
 /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#nav li ul li
{
    /* second-level lists */
    padding: 3px;
    margin: 0px;
}

#nav li ul li a
{
    /* second-level lists */
    font-size: 12px;
    font-weight: normal;
    display: block;
    width: 190px;
}

#nav li ul ul
{
    /* third-and-above-level lists */
    margin: -1em 0 0 10em;
}


#nav li:hover, #nav li.sfhover
{
    position:static;
}

#nav li:hover ul ul, #nav li.sfhover ul ul
{
    left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul
{
    /* lists nested under hovered list items */
    left: auto;
}

.MainLinks
{
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
}

.MainLinks:hover
{
    color: #CCCCCC;
}
