/* Main Navbar Container */
.fullnavcontainer {
    width: 100%;
    background: #ffffff;
}

/* Flex Navbar */
.navlistflex {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}



/* Nav Items */
.navlistflex li {
    list-style: none;
    color: #186cad;
    line-height: normal;
    padding: 5px 10px;
    cursor: pointer;
    position: relative;
    text-transform: capitalize;
    font-weight: 500;

}


/* .navlistflex .hasdirection::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    background-color: #12397c;
    top: 0;
    left: 0;
    transition: height 0.4s;
}

.navlistflex .hasdirection:hover::before {
    height: 4px;
} */


/* Link Colors */
.navlistflex li>.subttl {
    color: #186cad;
    font-weight: 500 !important;
}

.navlistflex li >.subttl:hover {
    color: #000000;
    
}

/* Hover Effect */
.navlistflex li:hover {
    background: #edf3fd;
    color: #000000;
    transition: 300ms;
}

/* Width Utility */
.width98 {
    width: 98%;
    margin: 0 auto !important;
}

/* Submenu Container */
.subnavlistflex {
    position: absolute;
    background-color: rgb(255, 255, 255);
    border-radius: 0px 0px 10px 10px;
    top: 100%;
    left: 1px;
    display: none;
    z-index: 50;
    box-shadow:
        rgba(0, 0, 0, 0.16) 0px 3px 6px,
        rgba(0, 0, 0, 0.23) 0px 3px 6px;

    min-width: 175px;
    max-height: 300px;
    overflow-y: scroll;
    scrollbar-width: none;
    width: auto;
    cursor: pointer;
}

/* Submenu Items */
.subnavlistflex li {
    color: black;
    padding: 3px 10px;
    gap: 5px;
    list-style: none;
    display: flex;
    align-items: center;
    font-size: 12px;
    text-transform: capitalize;
    font-weight: 400 !important;
}

/* Submenu Item Hover */
.subnavlistflex li:hover {
    background-color: #ffffff !important;
    color: #0e3696;
}

.subnavlistflex li > .titlehead:hover{
     color: #186cad;
}
/* No Border on Last */
.subnavlistflex li:last-child {
    border-bottom: none;
}

/* Show Dropdown on Hover
.navlistflex li:hover .subnavlistflex {
    display: block;
} */

/* Special Navbar Style */
.newnongradient {
    background: rgb(255, 255, 255);
    color: #0e3696;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #dbdbdb9d;
    border-top: 2px solid #dbdbdb9d;
    /* margin-top: 10px; */
}


.navbar-collapse {
    padding-left: 0px !important;
    /* basically i overwrite bootstrap class to remove padding in phone view navigation so they touch with corner same as padding right now it use its 100% width*/
    padding-right: 0px !important;
}



/* ========================================================= */
/* =============== RESPONSIVE FOR TABLET ==================== */
/* ========================================================= */
@media (max-width: 1139px) and (min-width: 768px) {

    .navlistflex {
        justify-content: space-between;

        gap: 10px;
    }

    .navlistflex li {
        padding: 5px 5px;
        /* slightly smaller spacing */
        font-size: 10px;
    }

    .subnavlistflex {
        min-width: 180px;
        /* smaller dropdown */
    }

    .subnavlistflex li {
        padding: 8px 10px;
        font-size: 13px;
    }

    .width98 {
        width: 100%;
        margin: 0px auto;
    }
}




/* ========================================================= */
/* =============== RESPONSIVE FOR SMALL DESKTOP ============ */
/* ========================================================= */
@media (min-width: 1140px) and (max-width: 1280px) {

    .navlistflex {
        gap: 20px;
    }

    .navlistflex li {
        padding: 5px 5px;
        font-size: 12px;
    }

    .subnavlistflex {
        min-width: 210px;
    }
}

@media (max-width:500px) {
    .mob-navbar-collapse {
        padding: 0px !important;
        /* its also for removing padding in phone view*/
    }
}

/* Default submenu position */
.subnavlistflex {
    left: 0.2px;
    right: auto;
}

/* When submenu should open towards left */
.subnavlistflex.opens-left {
    left: auto;
    right: 0.2px;
}

/* mobile view css */
/* MAIN NAV LI */

.mainnavlist {
    padding: 0px;
}

.mobilenavlist {
    padding: 15px 10px;
}

.mainnavlist>li {

    list-style: none;
    position: relative;
    font-size: 15px;
    color: #186cad;
    ;
    border-bottom: 1px solid #333;

}

.mainnavlist>li:last-child {

    list-style: none;
    position: relative;
    font-size: 15px;
    color: #186cad;
    ;
    border-bottom: none
}

/* SUBMENU WRAPPER */
.submobilenav {

    margin: 8px 0 0 0;
    padding: 0;
    border-radius: 4px;
    display: none;
    width: 100%;


    transition: 2s ease;

}

/* SUBMENU LI */
.submobilenav .sublistmob {
    list-style: none;
    padding: 12px 20px;
    /* SAME padding as main li */
    border-bottom: 1px solid #d6d6d6;
    font-size: 14px;
    color: #333;
}

/* Last item border remove */
.submobilenav .sublistmob:last-child {
    border-bottom: none;
    padding-bottom: 0px;
}



/* RESET all a tags inside li */
.mainnavlist a,
.submobilenav a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
}


.mobmob {
    padding: 15px 0px 15px 0px;
    font-weight: 500 !important;
    color: #186cad;
}


@media (max-width: 600px) {
    .navbar-nav {
        margin: 0px 0px !important;
    }
}


.mainnavlist>li:first-child{
    border-bottom: none;
}


.mobilenavlist a {
padding: 0px !important;

}






/* ------------------------------------------------------------------------------------------------- */

@media (max-width:383px) {
    .navbar-default .navbar-header .navbar-toggle{
        border-radius: 0;
        border: none;
        padding: 9px 0px;
        margin-right: 5px !important;
    }
}




@media (max-width:765px){
    .heightnavexpend{
     min-height: 430px !important;
     max-height:500px !important;
}
}

@media(max-width:500px){
    .langame{
        margin-bottom:0px !important;
    }
    .badge {
    color: #0e3696 !important;
    background-color: transparent !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 15px !important;
    padding: 0px 0px !important;
    position: absolute !important;
    left: 9px;
    top:6px
    }
}


/* ================= MOBILE TOUCH & SCROLL FIX ================= */

/* 1. Mobile me hover disable (touch bug fix) */
@media (max-width: 768px) {
    .navlistflex li:hover .subnavlistflex {
        display: none !important;
    }
}

/* 2. Mobile submenu scroll freeze fix */
@media (max-width: 768px) {
    .subnavlistflex {
        max-height: none !important;
        overflow-y: visible !important;
        position: static !important;
        box-shadow: none;
    }
}

/* 3. Main navbar scrolling smooth (LOW END PHONE FIX) */
@media (max-width: 768px) {
    .navbar-collapse {
        max-height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* 4. Touch delay & accidental close fix */
.navlistflex li {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* 5. Height cut / submenu half open fix */
@media (max-width: 768px) {
    .heightnavexpend {
        min-height: auto !important;
        max-height: none !important;
    }
}
