.menu-desktop-view {
    display: block;
}

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

.mega-menu {
    position: static;
}

.header-section .mega-menu .dropdown-menu {
    left: 0px;
    top: 70px;
    border: 0px;
    border-top: 2px solid #df795d;
    border-radius: 0px 0px 20px 20px;
    box-shadow: 0px 0px 5px 0px rgb(181 181 181 / 36%);
}

.header-section .mega-menu .nav {
    display: block;
}

.header-section .mega-menu .nav-tabs {
    border-bottom: 0px solid #dee2e6;
    border-right: 1px solid #bfc7d0;
}

.header-section .mega-menu .nav-tabs .nav-link {
    display: block;
    width: 100%;
    text-align: left;
    border-radius: 0px;
    font-size: 16px;
    line-height: 37px;
    color: #1d1d1d;
    font-weight: 500;
    border-bottom: 1px solid #bfc7d0;
}

.bb-none {
    border-bottom: none !important;

    &:hover {
        border-bottom-left-radius: 14px !important;
    }
}

.header-section .mega-menu .nav-tabs .nav-link.active,
.header-section .mega-menu .nav-tabs .show>.nav-link {
    color: #fff !important;
    background-color: #3c405b;
}

.header-section .mega-menu .tab-nav .nav-link:hover {
    color: #fff !important;
    background-color: #3c405b !important;
    overflow: hidden;
}

.header-section .mega-menu .nav-tabs .nav-item.show .nav-link,
.header-section .mega-menu .nav-tabs .nav-link.active {
    border: transparent
}

.header-section .mega-menu .nav-tabs .nav-link.lst-link {
    border-bottom: 0px;
    border-bottom-left-radius: 20px;
}

.header-section .mega-menu .nav-tabs .nav-link.active:after {
    display: none;
}

.mega_tab_list {
    padding-top: 15px;
}

.mega_tab_list ul {
    padding: 0px;
    list-style: none;
    position: relative;
}

.mega_tab_list ul:after {
    content: '';
    background-color: #bfc7d0;
    height: 445px;
    width: 1px;
    display: block;
    position: absolute;
    right: 0;
    left: auto;
    top: -15px;
    bottom: auto;
}

.mega_tab_list ul li a {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    display: block;
    padding: 8px 0px;
    position: relative;
}

.mega_tab_list ul li a.active {
    font-weight: 700;
}

.mega_tab_list ul li a.active:after {
    content: '';
    width: 30px;
    height: 2px;
    background-color: #df795d;
    display: block;
}

.mega_tab_list ul li a:hover {
    color: #df795d;
}

.mega_tab_lst {
    padding: 15px 20px 15px 0px;
}

.mega_tab_lst h4,
.mega_tab_lst .meag-head {
    color: #000000;
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 15px;
    display: block;
}

.mega_tab_lst p {
    color: #000;
    font-size: 14px;
    font-weight: 400;
    text-align: justify;
    line-height: 24px;
    margin-bottom: 10px;
}

.mega_tab_lst ul {
    padding: 0px 0px 0px 20px;
    margin-bottom: 20px;
}

.mega_tab_lst ul li {
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

.mega_tab_lst ul li::marker {
    font-size: 20px;
}

.header-section .mega-menu .dropdown-menu:before {
    top: -15px;
    left: 41%;
    margin-left: -3px;
    border-bottom: 15px solid #df7a5e;
}

.header-section .mega-menu .dropdown-menu:after {
    right: auto;
    top: -12px;
    left: 41%;
}

.mega-menu:after {
    content: '';
    width: 130px;
    height: 31px;
    position: absolute;
    bottom: -5px;
    margin-left: -20px;
}

@media screen and (max-width: 991px) {
    .menu-desktop-view {
        display: none;
    }

    .menu-mobile-view {
        display: block;
    }
}

/* @media screen and (min-width: 768px){
        .navbar .navbar-nav .nav-item.dropdown.open-drop .dropdown-menu {
            display: block;
        }
    } */

@media (max-width: 767px) {
    .navbar .navbar-collapse {
        height: calc(100vh - 42px);
        overflow: auto;
        position: fixed;
        top: 100px;
        right: 0;
        z-index: 1;
        width: 85%;
        background: rgb(255 234 234 / 98%);
    }
}

@media (max-width: 767px) {
    .navbar-collapse.show {
        right: 0;
    }
}

@media (max-width:991px) {
    .openbtn {
        /* float: right; */
        text-align: center;
        border-radius: 0px;
        background-color: transparent;
        border: 0px solid #868686 !important;
        width: 40px;
        height: 40px;
        font-size: 18px;
        cursor: pointer;
        color: white;
        border: none;
        margin: 0px 5px 0px 5px !important;
        padding: 0px;
    }

    .openbtn:hover {
        background-color: transparent;
    }

    .sidepanel {
        width: 300px;
        position: fixed;
        z-index: 999;
        height: 100vh;
        top: 0;
        right: -100%;
        background-color: #3b415a;
        /* overflow-x: hidden; */
        transition: 0.5s;
        padding-top: 0px;
        padding-bottom: 10px;
    }

    body.overlaybody .overalloverlay {
        opacity: 1 !important;
        transition: opacity .5s ease-in-out !important;
        visibility: visible !important;
        background-color: rgba(29, 35, 44, .8);
        height: 100vh;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 105;
    }

    .sidepanel .closebtn {
        position: absolute;
        top: 0px;
        left: -30px;
        font-size: 17px;
        font-weight: 700;
        color: #000000;
        background-color: #ededed;
        padding: 3px 10px;
        height: 30px;
        width: 30px;
    }

    .sidepanel.opensidepanel .closebtn {
        display: block;
    }

    .header-section .sidepanel .navbar-light .navbar-nav .nav-link {
        font-size: 15px;
    }

    .header-section .nav-link.contact_header {
        color: #010101 !important;
        margin-top: 20px;
        border-bottom: 1px solid #1c1b1b !important;
        background-color: #fff !important;
    }

    .header-section .mega-menu .dropdown-menu {
        left: 0px;
        top: 0px;
        border: 0px;
        border-top: 0px solid #df795d;
        border-radius: 0px 0px 0px 0px;
        box-shadow: none;
        margin-bottom: 20px;
    }

    .header-section .mega-menu .dropdown-menu:before {
        border-bottom: none;
    }

    .header-section .navbar-light .navbar-nav .nav-link {
        background-color: #3c405b;
        color: #fff;
        padding: 10px 20px;
        font-weight: 500 !important;
    }

    .header-section .dropdown-menu:after,
    .header-section .dropdown-menu:before {
        border-right: 0px solid transparent;
        border-left: 0px solid transparent;
        border-bottom: 0px solid #ffffff;
    }

    .mobile-menu-logo {
        padding: 15px 10px;
        display: flex;
        justify-content: center;
        background-color: #fff;
    }

    .mobile-mp-div {
        border-top: 1px solid #bdbbbb;
        padding-top: 10px;
        position: fixed;
        left: auto;
        right: -100%;
        bottom: 10px;
        width: 300px;
        transition: 0.5s;
        background-color: #3b415a;
    }

    .sidepanel .navbar-nav {
        overflow: auto;
        height: calc(100% - 180px);
    }

    .mobile-mp-div ul {
        padding: 0px 20px;
        margin-bottom: 0px;
    }

    .mobile-mp-div ul li {
        padding: 10px 0px;
        list-style: none;
    }

    .mobile-mp-div ul li a {
        color: #fff;
    }

    .header-section .dropdown-item {
        font-size: 14px;
    }

    .header-section .navbar-light .navbar-nav .nav-link.active:after {
        content: '';
        width: inherit;
        height: inherit;
        background-color: transparent;
        display: inline-block;
    }

    .header-section .navbar-light .navbar-nav .nav-link.active,
    .header-section .navbar-light .navbar-nav .show>.nav-link {
        color: #fff;
        font-weight: 700;
    }
}