﻿/********************************/
/*********** Mobile V1 **********/
/********************************/
.Mobile-Menu-Icon {
    width: 40px;
    height: 20px;
    border-radius: 0;
    line-height: 1px;
    text-align: center;
    position: relative;
    cursor: pointer;
    display: none;
    z-index: 999;
    margin-right: 15px;
    top: 14px;
}

.Mobile-Menu-Icon .icon-bar {
    height: 3px;
    width: 54%;
    margin: auto;
    background-color: #e3022a;
    display: inline-block;
    position: absolute;
    left: 0;
    right: 0;
    top: 4px;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.Mobile-Menu-Icon .icon-bar:nth-child(2) {
    top: 10px;
}

.Mobile-Menu-Icon .icon-bar:nth-child(3) {
    top: 16px;
}

.Mobile-Menu-Icon.isOn .icon-bar:nth-child(1) {
    top: 6px;
    transform: rotate(45deg);
}

.Mobile-Menu-Icon.isOn .icon-bar:nth-child(2) {
    transform: scale(0);
}

.Mobile-Menu-Icon.isOn .icon-bar:nth-child(3) {
    top: 6px;
    transform: rotate(135deg);
}

header.isOn {
    width: 100%;
    height: 100%;
}

body.isOn {
    overflow: hidden;
}

.navbar-inner .shade1 {
    position: fixed;
    background-color: #000;
    z-index: 100;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 1s;
}

.navbar-inner .shade1.isOn {
    width: 100%;
    transition-delay: .6s;
}

.navbar-inner .shade2 {
    position: fixed;
    z-index: 101;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: .6s;
    background-color:#fff;
}
.navbar-inner .shade2::before {
    position:absolute;
    content:'';
    right:0;
    top:0;
    background:#fff url(images/map-bg.jpg) no-repeat right center;
    width:100%;
    height:100%;
    background-size:cover;
    opacity:0.4
}
.navbar-inner .shade2.isOn {
    width: 100%;
    transition-delay: 1s;
}

.Main-Menu.isOn {
    transition-delay: 1.5s;
    opacity: 1;
    visibility: visible;
    transform: translateX(0px);
    height: 100%;
}

@media all and (max-width:767px) {

    header {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 9;
        height: 79px;
        background-color:#fff;
    }

    #wrap {
        padding-top: 79px;
    }

    .Main-Menu {
        visibility: hidden;
        opacity: 0;
        transform: translateX(100px);
        z-index: 102;
        position: relative;
        transition: all 1s;
        width: 90%;
        /* display: inline-block; */
        margin: 0 auto;
        height: 0;
    }

    .Main-Menu.firstTime {
        transition: all 0s;
    }

    .Main-Menu .nav.nav-pills {
        margin: 0;
    }

    .Main-Menu .nav.nav-pills > li {
        float: none;
        text-align: center;
        /* display: inline-block; */
        /* width: 100%; */
    }

    .Mobile-Menu-Icon {
        display: block;
    }

    .nav.nav-pills {
    }

    .logo-div {
        z-index: 99999;
    }

    .isOn .logo-div {
        animation-name: logoMoveIn;
        animation-duration: 2.5s;
    }

    .isOff .logo-div {
        animation-name: logoMoveOut;
        animation-duration: 2.5s;
    }

    @keyframes logoMoveIn {
        0% {
            transform: scale(1);
            opacity: 1;
        }

        50% {
            transform: scale(.2);
            opacity: 0;
        }

        100% {
            transform: scale(1);
            opacity: 1;
        }
    }

    @keyframes logoMoveOut {
        0% {
            transform: scale(1);
            opacity: 1;
        }

        50% {
            transform: scale(.2);
            opacity: 0;
        }

        100% {
            transform: scale(1);
            opacity: 1;
        }
    }

    .isOn .lang-box {
        animation-name: langMoveIn;
        animation-duration: 2.5s;
        z-index: 99999;
    }

    .isOff .lang-box {
        animation-name: langMoveOut;
        animation-duration: 2.5s;
    }

    .isOn .login {
        animation-name: langMoveIn;
        animation-duration: 2.5s;
        z-index: 99999;
    }

    .isOff .login {
        animation-name: langMoveOut;
        animation-duration: 2.5s;
    }

    .isOn .SocialTop {
        animation-name: langMoveIn;
        animation-duration: 2.5s;
        z-index: 99999;
    }

    .isOff .SocialTop {
        animation-name: langMoveOut;
        animation-duration: 2.5s;
    }

    @keyframes langMoveIn {
        0% {
            opacity: 1;
        }

        50% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }

    @keyframes langMoveOut {
        0% {
            opacity: 1;
        }

        50% {
            opacity: 0;
        }

        100% {
            opacity: 1;
        }
    }

    .menu .nav > li .hidden-desktop {
        transition: all 0.3s;
    }

    .menu .nav > li .hidden-desktop.rotate180 {
        /* transform:rotate(180deg) */
    }
}
/************ End Below bar ************/

@media all and (max-width:767px) {
    .menu .nav > li.dropdown ul.dropdown-menu {
        transition: auto;
        overflow: visible !important;
    }

    .Main-Menu.firstTime {
        transition: all 0s;
    }

    .Main-Menu .nav.nav-pills {
        margin: 0;
    }

    .Main-Menu .nav.nav-pills > li {
        float: none;
        text-align: center;
    }

    .Mobile-Menu-Icon {
        display: block;
        text-align: left;
        float: left;
    }

    .Mobile-Menu-Icon::before {
        position: absolute;
        content: '';
        left: 0;
        right: 0;
        width: 40px;
        height: 40px;
        top: -11px;
        border-radius: 10px;
        background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.83) 83%, rgba(229,229,229,1) 100%);
        background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,0.83) 83%,rgba(229,229,229,1) 100%);
        background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,0.83) 83%,rgba(229,229,229,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#e5e5e5',GradientType=0 );
        -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.18);
        -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.18);
        box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.18);
    }

    .rotate180 {
        transform: rotate(180deg);
    }

    .menu {
        padding-right: 0 !important;
    }
}
/************************************/
/*********** END Mobile V1 **********/
/************************************/
