



.navbar .service-menu .bg-mega-sug {
    left: 50%;
    transform: translateX(-70%);
    width: 400px;
    padding: 1rem;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: 2px solid #f5bf23;
    border-radius: 10px;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, .1);
    list-style: none;
    transition: .4s ease;
    /* display: none; */
}

.navbar .service-menu .bg-mega-sug a {
    text-decoration: none;

}

.navbar .service-menu .bg-mega-sug .title {
    position: relative;
    padding: 5px;
    margin: 0;
}

.navbar .service-menu .bg-mega-sug .title:hover,
.navbar .service-menu .bg-mega-sug .title:focus{
    background-color: #f1e3f8;
    cursor: pointer;
}


.navbar .service-menu .bg-mega-sug .title a {
    font-size: 1rem;

}

.navbar .service-menu .bg-mega-sug .title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #f5bf23;
    border-radius: 50%;
    margin-right: 10px;
    opacity: 0;
    transition: all .3s ease-in;
}

.navbar .service-menu .bg-mega-sug .title:hover::before {
    opacity: 1;
}


.navbar .service-menu .bg-mega-sug .title + .service_ul {
    position: absolute;
    /* top: 0px !important; */
    right: -266px;
    margin-top: -20px;
    width: 300px;
    /*height: 400px;*/
     height: auto;
    background-color: #fff;
    border: 1px solid #ccc;
    border-top: 2px solid #f5bf23;
    border-radius: 10px;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, .1);
    padding: 1rem;
    overflow-y: auto;
    display: none;
}

.navbar .service-menu .bg-mega-sug .title + .ndt_mechanical_ul{
    height: 400px !important;
}

.navbar .service-menu .bg-mega-sug .title + .energy_ul{
    height: 250px !important;
}

.navbar .service-menu .bg-mega-sug:hover .service_ul::-webkit-scrollbar {
    display: none;
}

.navbar .service-menu .bg-mega-sug .title:hover+.service_ul,
.navbar .service-menu .bg-mega-sug .service_ul:hover {
    display: block;
}






.navbar .service-menu .bg-mega-sug .service_ul li a {
    font-size: .9rem;
    cursor: pointer !important;
}

.navbar .service-menu .bg-mega-sug>.list-unstyled a {
    color: #f5bf23;
}

.service_cion_right,
.bx_left_arrow ,
.title_icon_down{
    display: none;
    cursor: pointer !important;
}

.navbar .service_cion_right1:hover > .dropdown-menu{
   display: block !important;
   background-color: #f00 !important;
}


.navbar .service_cion_right1{
    dispaly: flex !important;
}

.navbar .resources {
    left: 70%;
    width: 200px;
    /* text-align: center; */

}


/* ===============@media=============== */

@media(min-width: 992px) {
    .navbar .dropdown:hover> .dropdown-menu{
     display: block; 
}

.navbar .service-menu:hover > .service_1{
    display: block;
}

}


@media(max-width: 991px) {

    .sticky-top{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
     
    }

    .container{
        max-width: 650px;
    }
    .navbar .service-menu .bg-mega-sug {
        position: fixed;
        top: 13% !important;
        left: 0px;
        transform: translateX(0);
        width: 100%;
        min-width: 100%;
        height: 500px;
        overflow-y: auto;
        border: none;
        box-shadow: 0 0 10px -5px rgba(0, 0, 0, .1);
        border-radius: 0;
        padding: 1rem 5rem;
    }

    .navbar .service-menu .bg-mega-sug::-webkit-scrollbar{
        width: 10px;
        background-color: #f1e3f8;
    }

    .navbar .service-menu .bg-mega-sug::-webkit-scrollbar-thumb{
        width: 5px;
        background-color: #f5bf23;
        border-radius: 20px;
    }

    .navbar .service-menu .bg-mega-sug::-webkit-scrollbar-track{
        
        background-color: #d8d6d6;
        
    }

    .service_cion_right {
        display: flex;
        align-items: center;
        padding: 0;
        cursor: pointer !important;
    }

    .service_cion_right i {
        margin-left: 70%;
        font-size: 1.8rem !important;
    }

    .service_cion_right1 {
        display: none;
    }

    .bx_left_arrow,
    .title_icon_down
    {
        display: block;
        cursor: pointer !important;
    }
    

    .bx_left_arrow .bx-md:hover,
    .title_icon_down .bx-md:hover{
        color: #f5bf23;
    }

    .service1_title{
        display: flex;
        align-items: center;

    }

    .service1_title .bx-md{
        font-size: .9rem !important;
        margin-left: 10px;
    }

   

    .navbar .service-menu .bg-mega-sug .service_ul {
        position: sticky !important;
        margin-top: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background-color: #fff7f7;
        border: none !important;
        border-radius: 0;
        box-shadow: none !important;
        padding: 0 1rem 0 5rem !important;
        display: none;
    }

    .navbar .service-menu .bg-mega-sug .service_ul:hover{
        /* display: block; */
    }

    .navbar .service-menu .bg-mega-sug .title:hover+.service_ul{
        display: none;
    }

    .navbar .service-menu .bg-mega-sug .title a{
        font-size: 1rem;
        font-weight: 500;
    }

    .navbar .service-menu .bg-mega-sug .title + .service_ul.show{
        display: block !important;
        /* background-color: #f5bf23 !important; */
    }

    .service_1.active{
        display: block;
    }

    .navbar .service-menu  .bg-mega-sug .service1_title .list-unstyled.show{
        background-color: #f5bf23 !important;
        display: block !important;
    }
}