/*
JQuery Simple MobileMenu
https://github.com/Position2/jQuery-Simple-MobileMenu
*/

/*VX MEDIA*/

.mobile-header {
    background-color: aqua;
}

.sm_menu_outer ul {
    margin: 0px;
    padding: 80px 0px 0px 10px;
}


.mobile-header {
    height: 65px;
    background-color: #fff;
    position: fixed;
    width: 100%;
    top: 0px;
    padding: 10px 0px;
    z-index: 99;
    -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.75);
box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.75);
}

.mobile-header .logo-port {
    /* padding-left: 15px; */
    width: 121px;
    float: right;
    padding-right: 20px;
}

.mobile-header .logo-port img {
    height: 40px;
    width: 100px;
}


/*Main style*/
body.mmactive {
    overflow: hidden;
}

.mobile_menu {
    display: none;
    position: relative;
}

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

.sm_menu_outer {
    height: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: -9;
    width: 100%;
    opacity: 0;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    transition: opacity 0.2s;
    
    background: #ffffff;
}
    

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

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

.sm_menu_outer .mobile_menu a {
    color: #777776;
    display: block;
    letter-spacing: 1px;
    padding: 10px 15px;
    text-decoration: none;
}

/*Sub Menu anim */
.sm_menu_outer.slide .mobile_menu .sub-menu {
    background-color: #fff;
    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 > .sub-menu {
    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 / auto 40%;
}

/*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;
}

#sm_menu_ham span {
    background-color: #979797;
    border-radius: 0px;
    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: 8px;
}

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

#sm_menu_ham.open span:nth-child(1) {
    left: 50%;
    top: 16px;
    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_outer.accordion .mobile_menu .sub-menu,
.sm_menu_outer.accordion .mobile_menu li.hasChild ul.sub-menu {
    display: none;
}

.sm_menu_outer.accordion .mobile_menu .hasChild > .sub-menu li {
    padding-left: 20px;
}

.sm_menu_outer.accordion .mobile_menu li.active > .sub-menu {
    right: auto;
}

.sm_menu_outer.accordion .mobile_menu li.hasChild > a {
    position: relative;
}

.sm_menu_outer.accordion .mobile_menu li.hasChild > a::before {
    position: absolute;
    content: '';
    background: url("../images/next.png") no-repeat scroll 50% center / 60% auto;
    right: 0;
    top: 20px;
    width: 40px;
    height: 25px;
    transition: all 0.19s ease;
}

.sm_menu_outer.accordion .mobile_menu li.hasChild.active > a::before {
    transform: rotate(89deg);
    transition: all 0.19s ease;
}

@media (min-width: 1024px) {

    #sm_menu_ham,
    .sm_menu_outer {
        display: none;
    }
}

.sm_menu_outer.accordion li {
    display: block;
}