/* Menu */
.menu {
    position: relative;
    float: left;
    z-index: 50;
}
.menu:before {
    position: fixed;
    top: 0px;
    left: 0px;
    margin-left: -1234em;
    width: 100%;
    height: 100%;
    content: '';
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.4s, margin 0s 0.4s;
}
.menu .menu-toggler {
	padding: 0;
	width: 80px;
	height: 60px;
	border: none;
	background-color: transparent;
    outline: none;
    overflow: hidden;
}
.menu-open .menu .menu-toggler {
    background-color: #fff;
}
.menu .menu-toggler span {
	margin: 2px auto 0;
	height: 3px;
	width: 19px;
	text-indent: -1234em;
	background-color: #b6b3ab;
	display: block;
    transition: transform .2s, opacity .2s;
}
.menu .menu-toggler span:first-child {
	margin-top: 0;
}
.menu .menu-toggler:hover span,
.menu-open .menu .menu-toggler span {
    background-color: #98958e;
}
.menu-open .menu .menu-toggler span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}
.menu-open .menu .menu-toggler span:first-child + span {
    opacity: 0;
}
.menu-open .menu .menu-toggler span:first-child + span + span {
    transform: rotate(-45deg) translate(4px, -4px);
}
.menu .menu-wrapper {
    position: fixed;
    top: 0px;
    left: -100%;
    width: 100%;
    height: 100%;
    z-index: 50;
    transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.menu-open .menu .menu-wrapper {
    transform: translate3d(100%, 0px, 0px);
}
.menu .menu-container {
    position: relative;
    width: 80%;
    height: 100%;
    background-color: #fff;
    overflow: hidden;
    overflow-y: auto;
}
.menu .menu-back {
    height: 60px;
    line-height: 60px;
}
.menu ul {
    margin: 0px;
    padding: 20px 0px;
    width: 100%;
    border-top: 1px solid #ececec;
}
.menu ul ul {
    position: absolute;
    top: 0;
    left: 100%;
    display: none;
}
.menu li.open > .menu-sub > ul {
    display: block;
}
.menu li {
    margin: 0;
    padding: 0;
	list-style: none;
}
.menu a {
    position: relative;
    padding: 5px 30px;
    font-size: 18px;
    color: #6f6b60;
    display: block;
    cursor: pointer;
}
.menu li.active > a,
.menu li:hover > a,
.menu a:hover {
    color: #1ab23a;
    text-decoration: none;
}
.menu .menu-container > ul > li.active > a:before {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    content: '';
    background-color: #1ab23a;
    display: block;
}
.menu i[class*="icon-"] {
    margin-right: 10px;
    color: #b6b3ab;
}
.menu li.active > a [class*="icon-"],
.menu li:hover > a [class*="icon-"],
.menu a:hover [class*="icon-"] {
    color: #1ab23a;
}
.menu .badge {
    top: -14px;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {

    /* Menu */
    .menu {
        float: none;
    }
    .menu:before {
        left: 80px;
        background-color: rgba(0, 0, 0, 0.15);
    }
    .menu-hover .menu:before {
        margin-left: 0px;
        opacity: 1;
        transition-delay: 0s;
    }
    .menu .menu-toggler {
        display: none;
    }
    .menu .menu-wrapper {
        position: static;
        width: 100%;
        height: auto;
    }
    .menu-open .menu .menu-wrapper {
        transform: none;
    }
    .menu .menu-container {
        position: relative;
        width: 100%;
        background-color: transparent;
        overflow: visible;
    }
    .menu .menu-back {
        display: none;
    }
    .menu .menu-sub {
        position: fixed;
        top: 0;
        left: 80px;
        bottom: 0;
        
        padding-top: 60px;
        background-color: #fff;
        overflow: hidden;
    }
    .menu .menu-sub.open {
        overflow: visible;
    }
    .menu .menu-sub .menu-sub {
        position: absolute;
        top: -20px;
        left: 180px;
        bottom: auto;
        margin-left: -1234em;
        padding-top: 0;
        background-color: #f1eee5;
    }
    .menu .menu-sub li.hover > .menu-sub {
        margin-left: 0;
    }
    .menu ul {
        border-top-color: #e5e2d9;
        transform: none !important;
    }
    .menu ul:first-child {
        border-top: none;
    }
    .menu ul ul {
        position: static;
        margin: 0 0 0 -180px;
        width: 180px;
        border-top: none;
        display: block;
        transition: margin .3s cubic-bezier(0.645, 0.045, 0.355, 1);
    }
    .menu ul ul ul {
        margin: 0;
    }
    .menu li {
        position: relative;
    }
    .menu li.hover > .menu-sub > ul {
        margin-left: 0;
    }
    .menu a {
        padding: 5px 0;
        font-size: 22px;
        text-align: center;
    }
    .menu .menu-sub a {
        padding: 5px 20px;
        font-size: 15px;
        text-align: left;
    }
    .menu a span {
        display: none;
    }
    .menu .menu-sub a span {
        display: inline-block;
    }

    .menu a i[class*="icon-"] {
        margin-right: 0;
    }

}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {

    /* Menu */
    .menu:before {
        left: 180px;
    }
    .menu .menu-sub {
        left: 180px;
    }
    .menu a {
        padding: 5px 20px;
        font-size: 15px;
        text-align: left;
    }
    .menu a i[class*="icon-"] {
        font-size: 16px;
    }
    .menu a span {
        display: inline-block;
    }
    .menu a .badge {
        top: -8px;
    }
    
}

/* Extra small devices (mobile, 786 and down) */
@media (max-width: 768px) {
    
    /* Menu */
    .menu-open .menu:before {
        margin-left: 0px;
        opacity: 1;
        transition-delay: 0s;
    }

}