.navbar-collapse {
    flex-grow: 0;
}

.nav-link {
    font-size: 0.938rem;
    font-weight: 600;
    color: #3B3B3B !important;
}

.navbar-nav .nav-link {
    color: #fff;
}

.dropdown-item:hover {
    background-color: #F7F7F7;
    color: #00a2e1;
}

.nav-item:hover {
    background: #F7F7F7;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: .8rem;
    padding-left: .8rem;
    padding-top: 2.2em;
    padding-bottom: 2.2em;
    /* border-bottom: 3px solid #FCFCFC; */
}
.top-menu .nav-item {
    border-bottom: 3px solid #ffffff00;
}
.top-menu .nav-item:hover {
    color: rgba(0, 0, 0, .7);
    /* border-bottom: 3px solid #333333; */
}
.dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: auto;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fcfcfc;
    background-clip: padding-box;
    border: 0px solid rgba(0,0,0,.15);
    border-radius: 0rem;
    box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.5);
    padding: 0;
    margin-top: 2px !important;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: .7rem 1.4rem;
    clear: both;
    font-weight: 400;
    color: #33373d;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    font-size: 0.875rem;
    font-weight: 600;
    border-bottom: 1px solid #efefef;
}
.navbar-toggler {
    padding: 2px 4px;
    font-size: 1.25rem;
    line-height: 1;
    background-color: rgba(0, 0, 0, .05);
    border: none;
    border-radius: .25rem;
    transition: box-shadow .15s ease-in-out;
}
.navbar-second {
    background-color: #FCFCFC;
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0px;
    z-index: 999; /* Ensure it's above other content */
  }
  .blue-template .navbar-second {
    z-index: 998; /* only for blue template */
  }

nav .fas {
    font-weight: 600;
    font-size: 0.688rem;
    padding-left: 5px;
}
.top-menu .nav-link {
    font-weight: 400;
}
.top-menu {
    border-bottom: 1px solid #b1b1b1;
    padding: 10px 0px;
    position: relative;
    z-index: 1000;
}
.top-cta {
    background-color: #00A2E1;
    padding: 13px 20px !important;
    color: #ffffff !important;
}
.login-button{
    background-color: #00A2E1;
    padding: 5px 10px !important;
    color: #ffffff !important;
    /* margin-top: 25px; */
}
.login-dropdown{
    right: 0;
}
.login-box {
    width: 280px;
    padding: 0px 0px;
    margin-top: 10px !important;
}
.login-box li {
    padding: 10px 30px;
    font-size: 15px;
    color: #000;
    border-bottom: 1px solid #efefef;
}
.login-box li a {
    float: right;
}
.divider {
    float: right;
    padding: 0px 10px;
}
li.dropdown {
    list-style: none;
}
.top-menu .nav-item:hover {
    /* border-bottom: 3px solid #3B3B3B; */
    background: #f7f7f700;
}
/* Remove border from .nav-item and apply only on .nav-link */
.top-menu .nav-item > .nav-link {
    color: #000; /* Default text color */
    border-bottom: 3px solid transparent; /* Prevent layout shift */
    transition: border-color 0.3s ease-in-out;
}

/* Apply bottom border on hover, but not for active links */
.top-menu .nav-item:hover > .nav-link:not(.active) {
    border-bottom: 3px solid #333333;
}

/* Active menu item styles */
.top-menu .nav-item > .nav-link.active {
    color: #00a1e1 !important;
    border-bottom: 3px solid #333333;
    font-weight: 500;
}

/* Ensure hover border does not apply when active */
.top-menu .nav-item.active:hover > .nav-link {
    border-bottom: 3px solid #333333 !important;
}

.top-menu .dropdown-item {
    font-size: 0.813rem;
    font-weight: 400;
}
.top-menu .dropdown-item:hover {
    background-color: #3f444b;
    color: #ffffff;
}
.top-right-submenu .dropdown-item{
    color: #00A2E1;
}
.top-right-submenu .dropdown-item:hover{
    color: #ffffff;
}
.navbar {
    padding-top: 0rem;
    padding-bottom: 0rem;
}
header .navbar{
    background-color: #FCFCFC;
}
header {
    height: 90px;
    
}
.fa-magnifying-glass {
    color: #00a2e1;
    font-size: 20px;
}
.modal-search {
    border: none;
    border-bottom: 1px solid #fff;
    font-size: 50px;
    color: #7A7A7A;
    text-align: center;
}
.modal-container {
    background: #00000080;
}
.modal-container .btn-close{
    opacity: .4;
    filter: invert(1);
}
.modal-container .btn-close:focus{
    outline: none !important;
    box-shadow: none !important;
}
.modal-container .modal-content {
    background-color: #fff0;
    border: 1px solid rgb(0 0 0 / 0%);
}
.modal-container .modal-header {
    border-bottom: 0px solid #dee2e6;
}
.modal-container .form-control{
    background-color: #fff0;
}
.modal-container .form-control:focus{
    background-color: #47474700;
    color: #7A7A7A;
}
.nav-item {
    border-bottom: 3px solid #00a2e100;
}
.dropdown-menu[data-bs-popper] {
    top: auto;
    left: auto;
    margin-top: .125rem;
    /* margin-left: 0.8rem!important; */
}
.login-box span {
    font-weight: 600;
}
.nav-item:hover > .nav-link,
.nav-item.dropdown:hover > .nav-link,
.dropdown:hover > .nav-link,
.dropdown:hover > .dropdown-item, 
.dropdown-menu .dropdown-item:hover {
    color: #00a1e1 !important;
}
.top-menu .dropdown-menu .dropdown-item:hover,
.nav-item.dropdown:hover > .top-cta, 
.dropdown:hover > .login-button {
    color: #fff !important;
}
.blue-template .top-menu .nav-item:hover > .nav-link:not(.active) ,
.private-template .top-menu .nav-item:hover > .nav-link:not(.active){
     border-bottom: transparent !important;
}
body.dark-mode.blue-template .nav-item:hover,body.dark-mode.private-template .nav-item:hover {
    background-color:transparent !important;
}
.blue-template .nav-item:hover > .nav-link {
    color: #B18F4F !important;
}
/*private template header code*/
.private-template, .private-template header .navbar, .private-template .navbar-second {
    background-color: #101010;
}
.private-template .top-menu {
    border-bottom: 1px solid #E6E6E6;
}
.private-template .nav-link {
    color: #E6E6E6 !important;
}
.private-template .top-cta, .private-template .login-button {
    background-color: #B18F4F;
}
.private-template .cta-blue {
    background-color: #B18F4F;
    border: 1px solid #B18F4F;
}
.private-template .top-menu .nav-item:hover{
    border-bottom: 3px solid #B18F4F;
}
.private-template .nav-item:hover{
    background: transparent;
    border-bottom: 3px solid #B18F4F;
}
.private-template .nav-item:hover > .nav-link,
.private-template .nav-item.dropdown:hover > .nav-link,
.private-template .dropdown:hover > .nav-link,
.private-template .dropdown:hover > .dropdown-item, 
.private-template .dropdown-menu .dropdown-item:hover {
    color: #B18F4F !important;
}
.private-template .top-menu .dropdown-menu .dropdown-item:hover,
.private-template .nav-item.dropdown:hover > .top-cta, 
.private-template .dropdown:hover > .login-button {
    color: #fff !important;
}
.private-template .top-right-submenu .dropdown-item{
    color: #3B3B3B;
}
.private-template  .fa-magnifying-glass, .private-template .login-box li a{
    color: #B18F4F;
}
.private-template ul.dropdown-menu {
    border: 1px solid #fff;
}
.private-template .top-menu ul.dropdown-menu {
    border: none
}
.private-template ul.dropdown-menu.top-right-submenu {
    border: none;
}
/*private template header code end*/

/* mob navbar */
.mob-nav-vh {
    height: 96vh !important;
        overflow: scroll;
        
}
.overflow-y-scroll {
    overflow-y: scroll;
  }
/* end mob navbar */

@media screen and (min-width: 769px) {
    .dropend:hover > .dropdown-menu {
        position: absolute;
        top: 0;
        left: 100%;
    }
    .navbar-expand-md .navbar-nav .nav-link
     {
        padding:10px 13px !important;
        /* border-bottom: 3px solid #fff0; */
    }

    .dropend .dropdown-toggle {
        /* margin-left: 0.5em; */
    }
}
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 70%;
        margin: 1.75rem auto;
    }
}

@media (min-width: 992px) {
    .mob-nav{
        display: none;
    }
.dropdown:hover > .dropdown-menu,
.dropend:hover > .dropdown-menu {
        display: block;
        margin-top: 0.125em;
        margin-left: 1px;
    }
    .dropdown .dropdown-menu {
        display: none;
    }
    .nav-item:hover {
        /* border-bottom: 3px solid #00a1e1; */
    }
}
@media (max-width: 991px) {
.nav-desk{
    display: none;
}
}
@media (max-width: 991px) {
   /* Mobile Menu */
   .private-template header .navbar, .private-template .navbar-second {
    background: #101010 !important;
}
   .private-template .drop-down-active {
    border: 1px solid #B18F4F;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
 }

 .private-template .dropdown-item-container.active {
    background-color: #F7F7F7;
    border-bottom: 1px solid #efefef;
 }

 .private-template .dropdown-item-container.active .dropdown-item {
    color: #B18F4F;
 }

 .private-template .dropdown-item-container.active .fa-angle-up:before {
    color: #B18F4F;
 }
/* Mobile Menu End */ 
.nav-wrap{
    display: flex;
padding-right: var(--bs-gutter-x, .75rem);
padding-left: var(--bs-gutter-x, .75rem);
width: 100%;
justify-content: space-between;
align-items: center;
}
.navbar-collapse{
    padding-right: var(--bs-gutter-x, .75rem);
    padding-left: var(--bs-gutter-x, .75rem);
    padding-top: 0.5rem;
}
.private-template .navbar-collapse, .blue-template .navbar-collapse{
    background: rgb(255, 255, 255);
}
.private-template .navbar-light .navbar-toggler-icon, .blue-template .navbar-light .navbar-toggler-icon{
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23E6E6E6' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");}

.private-template .navbar-light .navbar-toggler-icon.close-icon, .blue-template .navbar-light .navbar-toggler-icon.close-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23E6E6E6' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M5 5l20 20M25 5L5 25'/%3e%3c/svg%3e");
}

.private-template .navbar-expand-lg .navbar-nav .nav-link, .blue-template .navbar-expand-lg .navbar-nav .nav-link{
    color: #000000!important;
}
/* .blue-template .navbar-light .navbar-toggler-icon{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23E6E6E6' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");} */
/* Mobile Menu */
    .dropdown-item-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
     }

     .toggle-arrow {
        cursor: pointer;
        padding: 10px 12px 10px 0px;
        width: 100%;
     }

     nav .fas, nav .fa-solid {
        float: right;
     }
     .toggle-arrow i {
        transition: transform 0.3s ease; /* Smooth rotation */
     }
     
     .toggle-arrow i.rotated {
        transform: rotate(180deg); /* Rotate the icon */
     }

     .drop-down-active {
        border: 1px solid #007bff;
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
     }

     .dropdown-item-container.active {
        background-color: #f0f8ff;
        border-bottom: 1px solid #efefef;
     }

     .dropdown-item-container.active .dropdown-item {
        color: #00a1e1;
     }

     .dropdown-item-container.active .fa-angle-up:before {
        color: #00a1e1;
     }

        .dropdown-item {
           width: auto;
           border-bottom: none;
        }

        .dropdown-menu {
           box-shadow: unset;
        }

        .dropdown-item-container {
           display: flex;
        }
        .mob-nav .dropdown-menu {
            margin-left: 1rem;
        }
        /* Default Hamburger Icon */
/* Default Hamburger Icon */
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 25px;
    height: 25px;
    display: block;
    transition: background-image 0.3s ease-in-out;
}

/* Close Icon */
.navbar-light .navbar-toggler-icon.close-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M5 5l20 20M25 5L5 25'/%3e%3c/svg%3e");
}



/* Mobile Menu End */
}

@media (max-width: 768px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0px;
        padding-left: 0px;
        padding-top: 10px;
        padding-bottom: 5px;
    }
    .login-dropdown{
        right: -100px;
    }
    .login-box {
        width: 320px;
    }
}
@media (max-width: 992px) {
.login-button {
    padding: 2px 10px !important;
    margin-top: 0px;
}
}


@media (max-width: 1024px) {
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    border-bottom: 0px solid #00A2E1;
}
}
@media (max-width: 1023px) {
    /* .top-menu {
        display: none;
    } */
    /* .contact-form{
        padding: 30px;
    } */
    }
    

@media screen and (min-width: 1024px) and (max-width: 1025px) {
    li.dropdown.d-none.d-lg-block.ms-5 {
        margin: 0 !important;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.5rem !important;
        padding-left: 0.5rem !important;
    }
    .navbar-expand-md .navbar-nav .nav-link {
        padding: 13px 13px !important;
    }
}
@media (min-width: 1024px) and (max-width: 1199px) {
    .navbar-expand-md .navbar-nav .nav-link {
        padding: 13px 11px !important;
    }
    .nav-link {
        font-size: 0.875rem;
    }
  }
@media screen and (min-width: 820px) and (max-width: 854px) {
ul.dropdown-menu.show {
    width: 250px;
}
ul.dropdown-menu {
    width: 250px;
}
.navbar-expand-lg .navbar-nav .nav-link {
    padding-top: 1em;
    padding-bottom: 1em;
}

}

/* home page header Book FD Online Start (new tab) */
/* .nav-item {position: relative;}
.hover-box {
    width: 337px;
    height: 188px;
    padding: 15px;
    background-color: white;
    position: absolute;
    top: 94%;
    left: -64px;
    z-index: 10117;
    display: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    color: #05162a;
    overflow: hidden;
    white-space: normal;
} 
.nav-item:hover .hover-box {display: block;}
.hover-box p {
    font-size: 12px; 
    line-height: 1.8;
    word-wrap: break-word;
    overflow: hidden;
    margin-bottom: 40px;
}
.know-more-btn {
    background-color: #00A2E1;
    color: #ffffff;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
    text-decoration: none;
    position: absolute;
    bottom: 38px;
    left: 10px;
    border: none;
}
.know-more-btn:hover {color: #ffffff;}
.new-badge {
    background-color: #00A2E1;
    color: white;
    font-size: 8px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 3px;
    position: absolute;
    top: -3px;
    right: -5px;
} */
 /* home page header Book FD Online End (new tab) */