nav, ul, li, a {
    margin: 0;
    padding: 0;
}

body {
    margin: 15px;
    padding: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
    text-decoration: none;
}

#container {
    width: 90%;
    max-width: 900px;
    margin: 10px auto;
}

#toggleMenu {
    display: none;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 10px 15px;
    color: #fff;

    background-image: url("/static/images/downArrow.png");
    background-repeat: no-repeat;
    background-position: right;
}

#nav {
    list-style: none;
    *zoom: 1;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

#nav:before,
#nav:after {
    content: " ";
    display: table;
}

#nav:after {
    clear: both;
}

#nav ul {
    list-style: none;
    width: 15em;
}

#nav a {
    padding: 10px 15px;
    color: #fff;
}

#nav li {
    position: relative;
}

#nav > li {
    float: left;
}

#nav > li > .parent {
    background-image: url("/static/images/downArrow.png");
    background-repeat: no-repeat;
    background-position: right;
}

#nav > li > a {
    display: block;
}

#nav li ul {
    position: absolute;
    left: -9999px;
}

#nav > li.hover > ul {
    left: 0;
}

#nav li li.hover ul {
    left: 100%;
    top: 0;
}

#nav li li a {
    display: block;
    background: #D1AF6A;
    position: relative;
    z-index: 100;
    border-top: 1px solid #8B8337;
}

#nav li li li a {
    background: #249578;
    z-index: 200;
    border-top: 1px solid #1d7a62;
}

@media screen and (max-width: 768px) {
    .active {
        display: block;
    }

    #nav > li {
        float: none;
    }

    #nav > li > .parent {
        background-position: 95% 50%;
    }

    #nav li li .parent {
        background-image: url("/static/images/downArrow.png");
        background-repeat: no-repeat;
        background-position: 95% 50%;
    }

    #nav ul {
        display: block;
        width: 100%;
    }

    #nav > li.hover > ul, #nav li li.hover ul {
        position: static;
    }

}