#nav {
    display: block;
    line-height: 32px;
    list-style: none;
    margin: 0 auto;
    background: url("img/bg_menu.png") repeat-x top left transparent;
    width:984px;
    height:40px;
    z-index:400;
    top:0px;
    left:19px;

}
#nav li {

    float: left;
    position: relative;
    display: block;
    width: auto;

}
#nav li h1{
    text-transform:uppercase;
    font-weight:bold !important;
    font-size: 14px;
}
#nav a {

    background:url("img/bg_line.png")no-repeat scroll right top rgba(0, 0, 0, 0);
    color: #fff;
    display: block;
    font-size: 12px;
    font-weight: normal;
    min-height: 40px;
    padding: 0 15px;
}

#nav a:hover, #nav a.sel, #nav a:active  {
    min-height: 40px;
    color: #ff0;
    font-weight:bold;
    
    }

#nav li ul
{
    min-height: 40px;
    display:none;
    background:#fff;
    color : #005588;
    position:absolute;
    z-index : 1000;
}
#nav li ul a{
    border-right:none!important;
    color:#005588;
    font-weight:bold;

}
#nav li ul h2
{
    text-transform: none;
    font-weight:bold;
    font-size: 12px;
}
#nav li ul li
{
    min-height: 40px;
    border-bottom: 1px dotted #b6b6b6;
    border-right:1px solid #b6b6b6;
}
#nav li ul a:hover
{
    text-decoration:underline !important;
    min-height: 40px;
    background:#fff;
    color: #005588;
    width: 16em;
    font-weight:bold;
    border-right:1px solid #b6b6b6;
}

#nav ul {
    position: absolute;
    top: 2.7em;
    display: none;
}

#nav li ul a {
    width: 16em;
    float: left;
}

#nav ul ul {
    top: auto;

}

#nav li ul ul {
    left: 17em;
    margin: 0px 0 0 10px;
}

#nav li:hover ul ul,
#nav li:hover ul ul ul,
#nav li:hover ul ul ul ul {
    display: none;
    
}

#nav li:hover ul,
#nav li li:hover ul,
#nav li li li:hover ul,
#nav li li li li:hover ul {
    display: block;
}
