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


/*Main style*/

@media (max-width: 991px) {
    body.mmactive {
        overflow: hidden;
    }
    .nav-tabs {
        display: none;
        position: relative;
        height: 96%;
        border-bottom: none !important;
    }
    .sm_menu_outer.active .nav-tabs {
        display: block;
    }
    .sm_menu_outer {
        height: 100%;
        overflow-y: scroll;
        overflow-x: hidden;
        position: fixed;
        left: 0;
        top: 0;
        z-index: -9;
        width: 90%;
        opacity: 0;
        background-color: #fff;
        -webkit-transition: opacity 0.2s;
        -moz-transition: opacity 0.2s;
        transition: opacity 0.2s;
        padding-top: 15.8%;
    }
    .nav-tabs .dropdown-menu {
        margin-top: 0px;
        padding: 0px;
    }
    .sm_menu_outer.active {
        opacity: 1;
        z-index: 999;
    }
    .sm_menu_outer .nav-tabs li.back {
        background-color: #fff !important;
        padding-bottom: 5%;
        margin-top: -1px;
    }
    .sm_menu_outer .nav-tabs li.back a {
        padding-left: 1%;
        /* font-family: Arial; */
        font-size: 1em;
        font-weight: bold;
        font-style: normal;
        font-stretch: normal;
        line-height: 1.33;
        letter-spacing: normal;
        color: #3d7edb;
        height: 10.5%;
        padding-top: 3.5%;
        background-position-y: 64%;
        flex-grow: 0;
    }
    .sm_menu_outer .nav-tabs li.back a:hover {
        background-color: #fff !important;
    }
    .sm_menu_outer .nav-tabs li.back .beforemenuli {
        float: left;
        padding-top: 0.3125em;
        padding-left: 1.125em;
    }
    .sm_menu_outer .we-mega-menu-ul-1 a {
        display: block;
        /* font-family: Arial; */
        font-size: 1em;
        font-weight: normal;
        font-style: normal;
        font-stretch: normal;
        line-height: 1.33;
        letter-spacing: normal;
        padding-left: 15.9%;
        padding-top: 8%;
        padding-bottom: 5%;
        color: #000;
        margin-top: -10%;
        margin-bottom: 1em;
    }
    .sub_head {
        display: none;
    }
    .sm_menu_outer .nav-tabs a {
        color: #000;
        display: block;
        /* font-family: Arial; */
        font-size: 1em;
        font-weight: bold;
        font-style: normal;
        font-stretch: normal;
        line-height: 1.33;
        letter-spacing: normal;
        padding-left: 8.9%;
        padding-top: 10px;
        float: left;
        flex-grow: 0;
        padding-bottom: 14px;
    }
    .sm_menu_outer .nav-tabs .aftermenuli {
        float: right;
        padding-right: 22px;
        padding-top: 4px;
    }
    /*Sub Menu anim */
    .sm_menu_outer .nav-tabs .subul {
        background-color: #fff;
        height: 100%;
        position: absolute;
        right: -100%;
        top: 0;
        transition: all 0.5s ease 0s;
        width: 100%;
        z-index: 999;
        border: none;
    }
    .sm_menu_outer .nav-tabs .subul a {
        font-weight: normal !important;
        background: #fff !important;
    }
    .sm_menu_outer .nav-tabs li.active>.subul {
        right: 0;
    }
    .sm_menu_outer .nav-tabs li {
        list-style-type: none;
        color: #ffffff !important;
        background-color: #000;
        box-shadow: none;
        border: none;
    }
    /*Hamburger Animation */
    #sm_menu_ham {
        cursor: pointer;
        float: right;
        position: fixed;
        width: 30px;
        height: 25px;
        top: 44px;
        left: 15px;
        z-index: 9999;
        /*background: url("../images/burger.png") no-repeat;*/
    }
    #sm_menu_ham span {
        background-color: transparent;
        border-radius: 5px;
        display: block;
        height: 1px;
        left: 0;
        opacity: 1;
        position: absolute;
        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 {
        cursor: pointer;
        float: right;
        height: 32px !important;
        width: 32px !important;
        top: 2.7% !important;
        left: 74.6% !important;
        z-index: 1000 !important;
        background: url("../images/close.svg") no-repeat;
        position: fixed;
    }
    #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;
    }
    .mobile-menu-contactus a {
        color: #000 !important;
        padding-top: 9.3% !important;
        font-weight: normal !important;
        padding-left: 15px !important;
        width: 35% !important;
        padding-bottom: 24px !important;
    }
    .contact-icon {
        width: 24px;
        height: 24px;
        margin-top: 31px;
        margin-left: 1.5em;
        float: left;
        padding: 0 0 0 4px;
    }
    .mobile-menu-setlanguage a {
        padding-top: 1.2% !important;
        background: none !important;
        font-weight: normal !important;
        padding-left: 15px !important;
    }
    .mobile-menu-setlanguage li.back {
        color: black !important;
        font-size: 1.2em;
        background-color: white !important;
    }
    .earth-icon {
        float: left;
        margin-left: 1.75em;
        width: 24px;
        height: 24px;
    }
    .we-mega-menu-ul-1 {
        list-style-type: none !important;
        background-color: #fff !important;
        margin: -2px;
    }
    .back-main-1 {
        background: url(/themes/custom/cwr_theme/images/back1.svg) no-repeat scroll 6.5% center;
        margin-left: -21px;
        background-position-y: 62%;
    }
    .nav-tabs>li>a:hover {
        border: none !important;
    }
    .nav-tabs>li>a {
        border: none !important;
    }
}


@media (min-width: 0px) and (max-width: 767px) {
    .popupHeight {
      top:  79px !important;
    }
}
  /*@media (min-width: 768px) and (max-width: 991px) {}
  @media (min-width: 992px) and (max-width: 1024px) {}*/

#overlay {
    position: fixed;
    /* Sit on top of the page content */
    display: none;
    /* Hidden by default */
    width: 100%;
    /* Full width (cover the whole page) */
    height: 100%;
    /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    /* Black background with opacity */
    z-index: 999;
    /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer;
    /* Add a pointer on hover */
}

.mobile-menu-contactus {
    display: none;
}

.mobile-menu-setlanguage {
    display: none;
}

body.mmactive {
    overflow: hidden !important;
}
@media only screen and (min-width: 821px) and (max-width: 991px) {
    #sm_menu_ham {
        left: 30px;
    }
    .sm_menu_outer .nav-tabs li.back .beforemenuli {
        padding-top: 20px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .sm_menu_outer .nav-tabs li.back .beforemenuli {
        padding-left: 48px;
    }
    .sm_menu_outer .nav-tabs li.back a {
        padding-top: 0%;
        padding-top: 10px;
    }
    .contact-icon {
        width: 24px;
        height: 24px;
        margin-top: 60px;
        margin-left: 3.5em;
        float: left;
        padding: 0 0 0 4px;
    }
    .earth-icon {
        float: left;
        margin-left: 3.75em;
        width: 24px;
        height: 24px;
    }
    #sm_menu_ham.open {
        left: 82.6% !important;
    }
    .sm_menu_outer .we-mega-menu-ul-1 a {
        padding-left: 9.9% !important;
    }
    .beforemenuli1 {
        padding-left: 2.125em !important;
        padding-top: 3.25em !important;
    }
    .mobile-menu-english a {
        margin-right: 26.6875em !important;
    }
}

.we-mega-menu-ul.nav>li>a:hover,
.we-mega-menu-ul.nav>li>a:focus {
    text-decoration: none;
    background-color: #fff;
    color: #3d7edb;
}

.beforemenuli1 {
    float: left;
    padding-top: 1.25em;
    padding-left: 1.125em;
    margin-bottom: -2.8125em;
}

.sm_menu_outer .nav-tabs li.lableHead a {
    color: #3d7edb;
    font-weight: bold !important;
}

.sm_menu_outer .nav-tabs li.back.parent a {
    color: #000;
}

.mobile-menu-english {
    display: block !important;
}

.mobile-menu-english a {
    float: right !important;
    margin-top: -42px !important;
    margin-right: 3.6875em !important;
    display: block !important;
    font-size: 1em !important;
    color: #3d7edb !important;
}
    .popupHeight {
      top:  86px !important;
      left: 12px !important;
    }
