/*! responsive-nav.js 1.0.39 by @viljamis */

.nav-collapse > ul {
    margin: 0;
    padding: 0;
    width: 100%;
    display: block;
    list-style: none;
}

.js .nav-collapse {
    clip: rect(0 0 0 0);
    max-height: 0;
    position: absolute;
    display: block;
    /* overflow: hidden; */
    zoom: 1;
}

.nav-collapse.opened {
    max-height: 9999px;
}

.nav-toggle {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

@media screen and (min-width: 40em) {
    .js .nav-collapse {
        position: relative;
    }

    .js .nav-collapse.closed {
        max-height: none;
        width: 1400px;
        margin:auto;
    }

    .nav-toggle {
        display: none;
    }
}

@media (max-width: 40em) {
    .nav-collapse > ul > li {
        width: 100%;
        display: block;
        line-height: 40px;
        text-align: center;
        border-bottom: 1px solid rgba(48, 82, 40, 0.5);
        position: relative;
        background: rgba(188, 218, 181, 0.6);
    }

    .nav-collapse li a {
        display: block;
        height: 100%;
        color: #fff
    }
    .nav-collapse > ul > li > ul{display: none}
    .nav-collapse > ul > li.active > ul{display: block}
    .nav-collapse > ul > li > i {
        color:#ccc;position: absolute;right: 10%;top: 12px;padding: 0 10px;cursor: pointer; transform: rotate(0);transition: all .5s ease;
    }
    .nav-collapse > ul > li.active i{color:#fff;position: absolute;right: 10%;top: 12px;}
    .nav-collapse > ul > li > i:hover{color:#000; transform: rotate(90deg);}

    .nav-collapse > ul > li > ul{
        background: #fff;
    }
    .nav-collapse > ul > li > ul > li{
        text-align: left; text-indent: 2em;
    }
    .nav-collapse > ul > li > ul a{
        color:#333
    }

}

/* ------------------------------------------
  NAV TOGGLE STYLES
--------------------------------------------- */

@font-face {
    font-family: "responsivenav";
    src: url("icons/responsivenav.eot");
    src: url("icons/responsivenav.eot?#iefix") format("embedded-opentype"),
    url("icons/responsivenav.ttf") format("truetype"),
    url("icons/responsivenav.woff") format("woff"),
    url("/icons/responsivenav.svg#responsivenav") format("svg");
    font-weight: normal;
    font-style: normal;
}

.nav-toggle {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    text-indent: -999px;
    position: absolute;
    overflow: hidden;
    width: 70px;
    height: 55px;
    top: 20px;
    right: 0;
}

.nav-toggle:before {
    color: rgba(255, 255, 255, 0.6);
    font-family: "responsivenav", sans-serif;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    font-size: 28px;
    text-transform: none;
    position: absolute;
    content: "≡";
    text-indent: 0;
    text-align: center;
    line-height: 55px;
    speak: none;
    width: 100%;
    top: 0;
    left: 0;
}

.nav-toggle.active::before {
    font-size: 24px;
    content: "x";
}
