﻿.MobileNavBTN {
    border: none;
    padding: 0;
    display: none;
}

    .MobileNavBTN span {
        width: 30px;
        height: 2px;
        background-color: #666;
        border-radius: 1px;
        display: block;
        position: relative;
    }

        .MobileNavBTN span::after, .MobileNavBTN span::before {
            content: "";
            position: absolute;
            width: 25px;
            height: 2px;
            background-color: #666;
            border-radius: 1px;
            right: 0;
            display: block;
        }

        .MobileNavBTN span::before {
            bottom: 8px;
        }

        .MobileNavBTN span::after {
            top: 8px;
        }

    .MobileNavBTN:focus {
        box-shadow: none
    }

.header {
    position: sticky;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    margin: 0 auto;
    z-index: 100;
    background: #fff
}

.header-item-left {
    width: 160px;
    height: auto;
}

#ProfilePic {
    display: none;
}

.DashUI h5 svg, .DashUI h5 i.fas {
    -moz-transition: all .4s ease-in-out 0s;
    -ms-transition: all .4s ease-in-out 0s;
    -o-transition: all .4s ease-in-out 0s;
    -webkit-transition: all .4s ease-in-out 0s;
    transform: rotate(-90deg);
}

.header-item-right {
    width: 300px;
    height: auto;
    align-items: center;
    justify-content: space-between;
    padding-left: 10px;
    position: relative;
}

    .header-item-right::before {
        content: "";
        position: absolute;
        height: 50px;
        border-left: 2px solid #ccc;
        left: 0;
        top: 15px;
    }

    .header-item-right.LoginHead::before {
        top: 0;
    }

.header .header-item-left .navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

    .header .header-item-left .navbar-brand img {
        display: inline-block;
        -moz-transition: all .4s ease-in-out 0s;
        -ms-transition: all .4s ease-in-out 0s;
        -o-transition: all .4s ease-in-out 0s;
        -webkit-transition: all .4s ease-in-out 0s;
        width: auto;
        height: 40px;
    }

.header.scrolled .navbar-brand img {
    width: auto;
    height: 30px;
}

.header nav.navbar {
    padding: 0
}

.header.scrolled {
    box-shadow: 0 0 7px #00000057;
    height: auto
}



    .header.scrolled > ul > li .menu-subs {
        margin-top: 0;
        -moz-transition: all .4s ease-in-out 0s;
        -ms-transition: all .4s ease-in-out 0s;
        -o-transition: all .4s ease-in-out 0s;
        -webkit-transition: all .4s ease-in-out 0s
    }

.header .wrapper {
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.header-item-center {
    display: inline-block;
    width: 65%
}

.header > ul > li a {
    display: inline-block;
    margin-left: 10px;
    -moz-transition: all .4s ease-in-out 0s;
    -ms-transition: all .4s ease-in-out 0s;
    -o-transition: all .4s ease-in-out 0s;
    -webkit-transition: all .4s ease-in-out 0s
}

.header.scrolled > ul > li a {
    line-height: 40px
}

.header.scrolled .navbar-nav .menu-subs {
    top: 50px
}

.SubHead_Risk {
    display: flex;
    align-items: center;
    justify-content: end;
    margin: 0;
}

    .SubHead_Risk li {
        display: block;
        margin-left: 10px;
    }

        .SubHead_Risk li.CustomerLogin a {
            color: #30b524;
        }
.MegaMenu {
    width: 950px;
    background-color: #F9F9F9;
    position: relative;
}

.DDSMC_APP_Store a {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

    .DDSMC_APP_Store a img {
        width: auto;
        height: 30px;
        margin-right: 10px;
    }

.category-list {
    width: 300px;
    background-color: #fff;
    box-shadow: 0px 3px 6px #0000002E;
    margin-bottom: 30px;
    height: 380px;
}
.dropDfooter {
    padding: 20px 15px;
}

    .dropDfooter, .dropDfooterBox .DDSMC_APP_Store, .dropDfooter .dropDfooterBox:nth-child(2), .dropDfooter .dropDfooterBox .callBoxDD {
        display: flex;
    }

        .dropDfooter .dropDfooterBox:nth-child(1) {
            flex: 0 0 auto;
            width: 37%;
        }

        .dropDfooter .dropDfooterBox:nth-child(2) {
            flex: 0 0 auto;
            width: 63%;
        }

        .dropDfooter .dropDfooterBox .callBoxDD {
            margin-left: 15px;
            align-items: center;
        }

            .dropDfooter .dropDfooterBox .callBoxDD svg {
                width: auto;
                height: 35px;
                margin-right: 10px;
            }

            .dropDfooter .dropDfooterBox .callBoxDD h4 {
                margin: 0;
                color: #30b524;
            }
.dropbtn {
    display: flex !important;
    align-items: center !important;
    font-size: 12px;
    font-weight: 500;
    color: #3d3d3d;
}

    .dropbtn img {
        width: 20px;
        height: auto;
        margin-right: 5px;
        display: inline;
    }

.dropDfooterBox p {
    margin: 0;
    font-weight: 500;
    font-size: 12px;
}

.header ul li a {
    position: relative;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 60px;
    padding: .5rem 1rem;
    border: none;
    outline: none;
    color: #1a1a1a;
    color: var(--color-black);
    transition: color .3s ease;
    -moz-transition: all .4s ease-in-out 0s;
    -ms-transition: all .4s ease-in-out 0s;
    -o-transition: all .4s ease-in-out 0s;
    -webkit-transition: all .4s ease-in-out 0s
}

.header .navbar-nav .dropdown:hover .menu-subs {
    display: block
}

.header .navbar-nav .dropdown .dropdown-toggle::after {
    display: none
}

.header .navbar-nav .menu-subs {
    position: absolute;
    background: #fff;
    top: 65px;
    left: 0;
    padding: 0;
    height: auto;
    border-radius: .25rem;
    border-top: 3px solid #30B524;
    -webkit-box-shadow: var(--shadow-medium);
    box-shadow: var(--shadow-medium);
    -webkit-transition: all .5s ease;
    transition: all .5s ease
}
        .header .navbar-nav .menu-subs.menu-small ul {
            padding: 0;
            margin: 0;
        }

.menu-subs .MegaMenu ul {
    padding: 0
}

    .menu-subs .MegaMenu ul li, .menu-subs .OurProduct ul li {
        display: block;
        position: relative;
        padding: 10px
    }

        .menu-subs .MegaMenu ul li:hover, .menu-subs .OurProduct ul li:hover {
            background-color: #eee
        }

        .menu-subs .MegaMenu ul li a, .menu-subs .MegaMenu li a, .menu-subs .OurProduct ul li a {
            padding: 0;
            color: #3d3d3d;
            line-height: 24px !important;
            font-size: 14px;
            align-items: center;
            justify-content: space-between;
            font-weight: 500;
            margin: 0
        }

.header-item-right a:hover, .header > ul > li:hover > a {
    color: #30B524
}

.ForMobile {
    display: none
}

.AllianceLogo img {
    -moz-transition: all .4s ease-in-out 0s;
    -ms-transition: all .4s ease-in-out 0s;
    -o-transition: all .4s ease-in-out 0s;
    -webkit-transition: all .4s ease-in-out 0s;
    width: auto;
    height: 25px;
}

.header.scrolled .AllianceLogo img {
    width: auto;
    height: 20px;
}

#canvas {
    position: fixed;
    right: 0;
    left: 0;
    width: 100%;
    opacity: 1;
}

.UserAccount {
    display: flex;
    align-items: center;
}

.nav-link {
    cursor: pointer;
}

.UserAccountIcon {
    margin-right: 10px;
    width: 35px;
    height: 35px;
    overflow: hidden;
}

    .UserAccountIcon img {
        width: 100%;
        height: 100%;
        border: 1px solid #ccc;
        border-radius: 50px;
        padding: 3px;
    }

.UserAccountStatus p {
    margin: 0;
    font-size: 10px;
    font-weight: 500;
    color: #666;
    width: 90px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

    .UserAccountStatus p span {
        font-weight: 600;
        color: #3d3d3d;
    }

.UserAccountStatus h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    display: block;
    line-height: 60px;
}

.DashUI .UserAccountStatus h5 {
    line-height: normal;
}

.UserAccountStatus h5 span, .UserAccountStatus h5 svg, .UserAccountStatus h5 i.fas {
    color: #30b524;
}

.MA_DD {
    padding: 0;
    margin: 0;
    width: 200px;
}

    .MA_DD li {
        display: block;
        padding: 0 15px;
    }

        .MA_DD li a {
            display: block;
            line-height: 40px;
            border-bottom: 1px solid #ccc;
            color: #3d3d3d;
            font-weight: 600;
            font-size: 16px;
        }

        .MA_DD li:last-child a {
            border: none;
        }

.header .header-item-right.navbar-nav .dropdown:hover .menu-subs {
    position: absolute;
    right: 0;
    left: inherit;
    width: 200px;
    top: 55px;
}

.tooltiptext {
    display: none;
    width: auto;
    min-width: 150px;
    background-color: #000000;
    color: #ffffff !important;
    text-align: center;
    border-radius: 6px;
    padding: 7px 5px;
    font-weight: 500;
    position: absolute;
    z-index: 999;
    top: 100%;
    left: 40px;
    margin-left: 0;
    overflow: inherit !important;
    white-space: normal;
    line-height: normal;
    font-size: 11px;
}

    .tooltiptext:before {
        position: absolute;
        content: "";
        top: -5px;
        left: 60px;
        margin-left: 0;
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-bottom: 5px solid #000000;
    }

.UserAccountStatus p:hover ~ small.tttext {
    display: block;
}
.sub-dropdown a{
    justify-content:start !important;
}
.sub-dropdown-content {
    padding: 0 0px 0 30px !important;
    height: 100%;
    max-height: 400px;
    list-style: none;
    height: 400px;
    
    position: absolute;
    left: 302px;
    top: 0;
    width: 600px;
    background: #fff;
}
.sub-dropdown{
    position:initial !important;
}
/* Smooth dropdown */
.sub-dropdown-content {
    transition: all 0.3s ease-in-out;
}
.header .navbar-nav .dropdown.open .nav-link svg {
    transform: rotate(-180deg);
    -moz-transition: all .4s ease-in-out .3s;
    -ms-transition: all .4s ease-in-out .3s;
    -o-transition: all .4s ease-in-out .3s;
    -webkit-transition: all .4s ease-in-out .3s;
}

.nav-link.DashUI:hover svg {
    transform: rotate(-90deg) !important;
    -moz-transition: all .4s ease-in-out .3s;
    -ms-transition: all .4s ease-in-out .3s;
    -o-transition: all .4s ease-in-out .3s;
    -webkit-transition: all .4s ease-in-out .3s;
}
.CategoryIcon {
    display: flex;
    width: 270px;
    justify-content: space-between;
    align-items: center;
}
.category-link-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.DashUI ~ #IsLogin {
    display:none !important;
}

@media only screen and (min-width:1300px) and (max-width:1400px) {
    .header {
        zoom: 90%;
    }
}

@media only screen and (min-width:1200px) and (max-width:1300px) {
    .header ul li a {
        font-size: 14px;
        /* padding: .5rem 0; */
        margin: 0;
        zoom: 85%;
    }

    .MegaMenu {
        zoom: 90%;
    }
}

@media only screen and (min-width:1100px) and (max-width:1200px) {
    .header {
        zoom: 88%;
    }

    .MegaMenu {
        zoom: 90%;
    }
}

@media only screen and (min-width:992px) and (max-width:1100px) {
    .header .navbar-nav .menu-subs {
        top: 55px
    }

    .header {
        zoom: 84%;
    }

        .header ul li a {
            margin: 0
        }

    .MegaMenu {
        zoom: 80%;
    }
}

@media screen and (max-width:992px) {
    .dropbtn{
        font-size:12px !important;
    }
    .sub-dropdown.open .category-link-wrap .toggle-arrow {
        transform: rotate(90deg);
        -moz-transition: all .2s ease-in-out .3s;
        -ms-transition: all .2s ease-in-out .3s;
        -o-transition: all .2s ease-in-out .3s;
        -webkit-transition: all .2s ease-in-out .3s;
    }
    .sub-dropdown.open .category-link-wrap {
        box-shadow: 0px 4px 4px -4px #666;
    }
    .sub-dropdownMain, .sub-dropdown-content {
        position: initial;
    }
    .sub-dropdown:hover{
        background-color:transparent !important;
    }
    .header-item-right::before {
        display: none;
    }

    .header .navbar-nav .menu-subs.menu-small#IsLogin {
        padding: 0;
        width: 160px;
        position: absolute !important;
        right: 0;
        left: inherit;
        top: 40px;
    }
    #IsLogin .OurProduct ul li {
        padding: 5px 10px !important;
    }

    .header-item-left, .header-item-right {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: auto;
    }

    .header-item-left, .header .header-item-left .navbar-brand {
        width: 110px;
    }

        .header .header-item-left .navbar-brand img {
            height: auto;
            width: 100%;
        }

    .SubHead_Risk {
        padding: 0;
        margin: 0;
        margin-right: 10px;
    }

    .sub-dropdown-content {
        height: auto;
        max-height: max-content;
        width: auto;
        column-count: initial !important;
        padding: 0 !important;
    }

        .sub-dropdown-content li {
            padding: 3px 0 !important;
            border-top: 1px solid #eee;
        }

            .sub-dropdown-content li a {
                padding: 0 !important;
                font-size: 10px !important;
                color: #8b8b8b !important;
                text-overflow: ellipsis;
                width: 170px;
                white-space: nowrap;
                overflow: hidden;
            }

    .header.scrolled .navbar-brand img {
        width: auto;
        height: 25px;
    }

    .header .header-item-left .navbar-brand {
        justify-content: left;
    }

    .header.scrolled {
        height: 50px !important
    }

    .wrapper {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        margin: 0 auto
    }

    .header-item-right {
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center
    }

    .header ul li {
        display: block;
        line-height: 1;
        margin: 0
    }

        .header ul li a {
            display: block;
            line-height: normal !important;
            height: auto;
            padding-left: 0;
            margin: 0;
        }

    .header .navbar-nav .dropdown:hover .menu-subs.show {
        display: block
    }
    .offcanvas {
        transition: transform .3s ease-in-out;
        max-width: 250px
    }

    .header .navbar-nav .menu-subs.menu-small {
        position: initial !important;
        box-shadow: none;
        border: 1px solid #d1d1d1 !important;
    }
    .MegaMenu, .category-list {
        width: auto;
    }
    .category-list {
        padding: 0 10px 10px 10px !important;
        box-shadow:none;
        background-color:transparent;
        height:auto;
    }

    .rsmm-mobile .SubHead_Risk {
        display: block;
        width: 100% !important
    }

    .rsmm-mobile .MainMenu .col-sm-10.d-flex {
        flex-direction: column
    }
        .category-list li.sub-dropdown {
            padding: 0 !important;
            margin-top: 10px;
        }

    

    .dropDfooter {
        display:none;
        padding: 0;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid #eee;
    }

    .dropDfooterBox p {
        margin: 0;
        font-size: 10px;
    }

    .dropDfooter .dropDfooterBox:nth-child(1), .dropDfooter .dropDfooterBox:nth-child(2) {
        width: 100%;
    }

    .dropDfooter .dropDfooterBox .callBoxDD {
        margin: 10px 0 0px 0;
    }
        .dropDfooter .dropDfooterBox .callBoxDD svg {
            height: 30px;
        }
}


@media screen and (max-width:992px) {
    .header .wrapper {
        padding: 0
    }

    .MobileNavBTN {
        display: block;
    }

    .header-item-right {
        display: flex;
        align-items: center;
        justify-content: end
    }

    .header-item-center {
        width: auto
    }

    .menu-subs .MegaMenu ul li a {
        color: #3d3d3d;
        font-size: 14px;
        padding: 5px 0
    }

    .header {
        height: 60px !important;
        padding: 10px 0 !important
    }

    .SubHead_Risk li button.LoginBtn {
        margin-left: 15px
    }

    .NotMobile {
        display: none !important
    }

    .ForMobile {
        display: block
    }

    .LoginBtn.ForMobile {
        height: auto;
        padding: 0;
        width: auto;
        border: none;
        margin: 0;
        line-height: normal
    }

    .SubHead_Risk li button.LoginBtn {
        font-size: 24px
    }

        .SubHead_Risk li button.LoginBtn.ForMobileCPL {
            font-size: 10px;
            font-weight: 600
        }

    .SubHead_Risk li button.LoginBtn {
        color: #3d3d3d !important;
        background-color: inherit !important;
        border-color: inherit !important
    }

        .SubHead_Risk li button.LoginBtn svg {
            display: block
        }

    .SubHead_Risk li a button.LoginBtn.SMCSmall::before, .SubHead_Risk li a button.LoginBtn.LoginBtn.SMCSmall::after {
        display: none !important
    }

    .offcanvas-header img {
        width: 120px !important
    }

    .header-item-right {
        display: flex;
        align-items: center;
        justify-content: end;
        flex-direction: row;
    }

    #UserLogin[data-prefix="fas"] {
        color: #30B524
    }

    .AllianceLogo {
        width: auto;
        margin-right: 10px;
    }

        .AllianceLogo img {
            height: 20px;
        }

    .header.scrolled .AllianceLogo img {
        height: 15px;
    }

    .header-item-right {
        border-left: none;
        padding-left: 0px;
    }

        .header-item-right .nav-item {
            border-right: 2px solid #ccc;
            padding-right: 10px;
            margin-right: 10px;
        }

    .UserAccountStatus p {
        font-size: 8px;
        width: 70px;
    }

    .UserAccountStatus h5 {
        font-size: 11px;
        line-height: normal;
    }

    .UserAccountIcon {
        margin-right: 5px;
        width: 25px;
        height: 25px;
        overflow: hidden;
    }

    .MA_DD li a {
        line-height: 30px;
        font-size: 11px;
    }
}
