/* Implementation tutorial at: http://ago.tanfa.co.uk/css/examples/menu/tutorial-h.html */

#menu {
width: 100%;
float: left;
}

#menu ul {
list-style-type: none;
float: left;
}

#menu a, #menu h2 {
display: block;
margin: 0;
padding: 0 0 0 18px;
}

#menu li {position: relative;}

#menu ul ul {
position: absolute;
}

#menu ul ul ul {
position: absolute;
top: 0;
left: 100%;
}

div#menu ul ul,
div#menu ul li:hover ul ul,
div#menu ul ul li:hover ul ul
{display: none;}

div#menu ul li:hover ul,
div#menu ul ul li:hover ul,
div#menu ul ul ul li:hover ul
{display: block;}


/***************************/
/* Override styles */
/***************************/

#nav {
    margin-top: 18px;
    background-color: #eee;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-top: 2px solid #eee;
    border-left: 2px solid #eee;
    border-bottom: 2px solid #ccc;
    border-right: 2px solid #ccc;
}

#menu {
    background: transparent;
}

#menu ul {
    margin: 0;
    padding: 0;
    cursor: pointer;
    border-right: 1px solid #fafafa;
}

#menu ul ul {
    margin: 0;
    padding: 0;
    width: 260px;
}


#menu a, #menu h2 {
    font-family: arial, helvetica, sans-serif;
    line-height: 2.4em;
}

#menu h2 {
    color: #5d5d5d;
    background-color: transparent;
    font-size: 14px;
    font-weight: bold;
    padding: 0 10px 0 8px;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
}
#menu h2:hover, #menu h2.hover {
    color: #fff;
    background-color: #445;
    text-decoration: underline;
}

#menu a {
    color: black;
    text-decoration: none;
    background-color: #f0f0ff;
    border: 1px solid white;
    border-bottom: 0;
}
#menu a:hover {
    color: #900;
    background-color: #D7DFE8;
    text-decoration: underline;
}
