/*
JQuery Simple MobileMenu
https://github.com/Position2/jQuery-Simple-MobileMenu
*/
/*Main style*/
body.mmactive {
    overflow: hidden;
}

.mobile_menu {
    display: none;
    position: relative;
    height: 100%;
    margin-bottom: 0;
}

.sm_menu_outer .mobile_menu .li-languages{
    color: #913b3b;
}

.sm_menu_outer .mobile_menu .li-languages .language-picker {
    font: 300 18px/140% "Lato", sans-serif;
    letter-spacing: 1px;
    padding: 20px 15px;
}

.sm_menu_outer .mobile_menu .li-languages .language-picker a {
    display: inline-block;
    padding: 0;

}

.sm_menu_outer .mobile_menu .li-languages .language-picker a img{
    border: 1px solid #913b3b;
}

.sm_menu_outer.active .mobile_menu {
    display: block;
}

.sm_menu_outer {
    height: calc(100% - 75px);
    overflow-y: auto;
    overflow-x: hidden;
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: -9;
    width: 100%;
    opacity: 0;
    background-color: #f5f5f5;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

.sty.sm_menu_outer {
    height: calc(100% - 80px);
}

.sm_menu_outer hr {
    width: calc(100% - 60px);
    margin-left: 15px;
    color: #913b3b;
    margin: 0;
    /*border-color: #fff;*/
}

.sm_menu_outer.active {
    opacity: 1;
    z-index: 999;
}

.sm_menu_outer .mobile_menu li.back a {
    padding: 20px 5px 20px 70px;
    background: url("../images/back.png") no-repeat scroll 15px center / 5% auto;
}

.sm_menu_outer .mobile_menu a {
    color: #333;
    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 .mobile_menu .submenu {
    background-color: #ffffff;
    height: 100%;
    position: absolute;
    right: -100%;
    top: 0px;
    transition: all 0.5s ease 0s;
    width: 100%;
    z-index: 999;
}

.sm_menu_outer .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: #fff;
    cursor: pointer;
}

.sm_menu_outer .mobile_menu li.hasChild > a {
    background: url("../images/next.png") no-repeat scroll 95% center / 5% auto;
}

/*Hamburger Animation */
#sm_menu_ham {
    display: none;
    cursor: pointer;
    float: right;
    height: 25px;
    position: relative;
    -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;
    z-index: 999;
    margin: 7px 0px 0px 25px;
}

#sm_menu_ham span {
    background-color: #777;
    border-radius: 5px;
    display: block;
    height: 3px;
    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: 24px;
}

#sm_menu_ham span:nth-child(1) {
    top: 0;
}

#sm_menu_ham span:nth-child(2),
#sm_menu_ham span:nth-child(3) {
    top: 8px;
}

#sm_menu_ham span:nth-child(4) {
    top: 16px;
}

#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;
}

#sm_menu_ham.sty {
    position: fixed;
    top: 30px;
}
.sm_menu_outer.sty {
    height: calc(100% - 60px);
}


@media (max-width: 1006px) {


@media (max-width: 767px) {
        #sm_menu_ham,
    .sm_menu_outer {
        display: block;
        /*display: none;*/
    }
}
    #sm_menu_ham {
        margin-left: 20px;
    }
}

@media (max-width: 560px) {

    #sm_menu_ham {
        margin-left: 15px;
        margin-top: 7px;
    }

    #sm_menu_ham span:nth-child(2), #sm_menu_ham span:nth-child(3) {
        top: 7px;
    }

    #sm_menu_ham span:nth-child(4) {
        top: 14px;
    }

}

@media (max-width: 380px) {
    #sm_menu_ham {
        margin-top: 5px;
    }

    .sm_menu_outer {
        height: calc(100% - 76px);
    }

    .sm_menu_outer.sty {
        height: calc(100% - 60px);
    }

    /*.sm_menu_outer.active .mobile_menu {*/
    /*padding-left:20px;*/
    /*}*/

}