nav, ul, li, a  {margin: 0; padding: 0;}

a {text-decoration: none;}

.toggleMenu {
    display:  none;
    background: #666;
    padding: 10px 15px;
    color: #fff;
}
.nav {
    list-style: none;
    *zoom: 1;
    background:#000;
}
.nav:before,
.nav:after {
    content: " ";
    display: table;
}
.nav:after {
    clear: both;
}
.nav ul {
    list-style: none;
    width: 9em;
}
.nav a {
    padding: 10px 15px;
    color:#fff;
}
.nav li {
    position: relative;
}
.nav > li {
    float: left;
    border-top: 1px solid #000;
    margin: 7px;
}
.nav > li > .parent {
    background-image: url("/themes/simple/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 {
    min-width: 200px;
    display: block;
    background: #333;
    position: relative;
    z-index:100;
    border-top: 1px solid #333;
}
.nav li li li a {
    background:#333;
    z-index:200;
    margin-left: 78px;
    border-top: 1px solid #333;
}


@media screen and (max-width: 768px) {
    .active {
        display: block;
    }
    .nav > li {
        float: none;
    }
    .nav > li > .parent {
        background-position: 95% 50%;
    }

    .nav > li > .parent {
        background-image: none;
    }
    .nav li .more {
        background-image: url("/themes/simple/images/downArrow.png");
        background-repeat: no-repeat;
        background-position: 95% 50%;
        float: right;
        width: 20%;

        padding: 8px 15px;
        margin: 2px 5px 2px 0px;
        cursor: pointer;
        z-index: 200;
        position: relative;
    }
    .nav li .more:before {
        content: "";
        background: rgba(0,0,0,.3);
        width: 1px;
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: -2px;
    }



    .nav ul {
        display: block;
        width: 100%;
    }
    .nav > li.hover > ul , .nav li li.hover ul {
        position: static;
    }


}