﻿/*
JQuery Simple MobileMenu Slide
https://github.com/Position2/jQuery-Simple-MobileMenu
*/
/*Main style*/
body.mmactive {
    overflow: hidden;
}

.mobile-menu {
    display: none;
    position: relative;
}

.sm-menu-outer.active .mobile-menu {
    display: block;
}

.sm-menu-outer {
    height: calc(100vh - 160px);
    overflow-y: scroll;
    overflow-x: hidden;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: -9;
    width: 100%;
    opacity: 0;
    background-color: #f8f8f8;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

    .sm-menu-outer.active {
        opacity: 1;
        z-index: 999;
    }

    .sm-menu-outer .mobile-menu li.back a,
    .sm-menu-outer .mobile-menu div.back a {
        /*padding: 20px 5px 20px 55px;*/
        padding: 20px 5px 20px 5px;
        /*background: url("../images/back.png") no-repeat scroll 15px center / 5% auto;*/
        /*background-size: 16px;*/
    }

    .sm-menu-outer .mobile-menu a {
        color: black;
        display: block;
        /*font: 300 18px/140% "Lato", sans-serif;*/
        /*letter-spacing: 1px;*/
        /*padding: 20px 15px;*/
        text-transform: uppercase;
        text-decoration: none;
    }

    /*Sub Menu anim */
    .sm-menu-outer.slide .mobile-menu .submenu {
        background-color: #f8f8f8;
        height: 100%;
        position: absolute;
        right: -100%;
        top: 0;
        transition: all 0.5s ease 0s;
        width: 100%;
        z-index: 999;
    }

    .sm-menu-outer.slide .mobile-menu li.active > .submenu {
        right: 0;
    }

    .sm-menu-outer .mobile-menu li {
        list-style-type: none;
        border-bottom: 0.5px solid rgba(0, 0, 0, 0);
        border-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, #2a2a2a 20%, #2a2a2a 50%, #2a2a2a 80%, rgba(0, 0, 0, 0) 100%) 0 0 1 0;
        color: #ffffff;
    }

    /*.sm-menu-outer.slide .mobile-menu li.hasChild > a {*/
        /*background: url("../images/next.png") no-repeat scroll 95% center / 5% auto;*/
        /*background-size: 16px;
    }*/
/*Hamburger Animation */
#sm-menu-ham {
    cursor: pointer;
    /*float: right;
    height: 25px;
    position: fixed;*/
    /*right: 5px;*/
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: all 0.5s ease-in-out 0s;
    -moz-transition: all 0.5s ease-in-out 0s;
    -o-transition: all 0.5s ease-in-out 0s;
    transition: all 0.5s ease-in-out 0s;
    /*width: 30px;*/
    top: 15px;
    right: 15px;
    z-index: 9999;
}

.hide-sub-menu {
    display: none;
}

    /*#sm-menu-ham span {
        background-color: #FFFFFF;
        border-radius: 5px;
        display: block;
        height: 2px;
        left: 0;
        opacity: 1;
        position: absolute;
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: all 0.25s ease-in-out 0s;
        -moz-transition: all 0.25s ease-in-out 0s;
        -o-transition: all 0.25s ease-in-out 0s;
        transition: all 0.25s ease-in-out 0s;
        width: 30px;
    }

        #sm-menu-ham span:nth-child(1) {
            top: 0;
        }

        #sm-menu-ham span:nth-child(2),
        #sm-menu-ham span:nth-child(3) {
            top: 10px;
        }

        #sm-menu-ham span:nth-child(4) {
            top: 20px;
        }

    #sm-menu-ham.open span:nth-child(1) {
        left: 50%;
        top: 18px;
        width: 0;
    }

    #sm-menu-ham.open span:nth-child(2) {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    #sm-menu-ham.open span:nth-child(3) {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    #sm-menu-ham.open span:nth-child(4) {
        left: 50%;
        top: 18px;
        width: 0;
    }*/

@media (min-width: 1024px) {
    #sm-menu-ham,
    .sm-menu-outer {
        display: none;
    }
}
