header .top_head {
    padding: 7px 0;
}

header .top_head .ambulance_icon {
    border: 1px solid white;
    border-radius: 50px;
    width: 34px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
}

header .top_head .ambulance_icon i {
    animation: 1.5s linear infinite blink;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .2;
    }
}

header .top_head .ambulance_div p {
    font-size: 14px;
}

header .top_head .patienttab {
    display: flex;
    align-items: center;
    gap: 26px;
    justify-content: end;
}

header nav {
    position: relative;
    z-index: 99;
    width: 100%;
    background-color: white;
    transition: all 0.5s ease;
    box-shadow: 0px 2px 4px 0px rgb(96 96 96 / 13%);
}

header nav.fixed-top {
    box-shadow: 0px 2px 4px 0px rgb(96 96 96 / 13%);
}

header nav .wrapper {
    position: relative;
    line-height: 70px;
}

.wrapper .logo img {
    width: 313px;
    padding: 4px 0px;
}

.wrapper .nav-links {
    display: inline-flex;
}

.nav-links li a {
    font-weight: 500;
    padding: 31px 15px;
    transition: all 0.3s ease;
    color: #535353;
    font-size: 19px;
}

.nav-links li a:hover {
    color: #f26b35;
}

.nav-links .mobile-item {
    display: none;
}

.nav-links .drop-menu {
    position: absolute;
    background: #002F6B;
    width: 291px;
    line-height: 45px;
    top: 85px;
    opacity: 0;
    visibility: hidden;
    font-weight: 500;
    box-shadow: 0 1px 4px rgb(0 0 0 / 13%);
}

.drop-menu li a {
    font-size: 15px !important;
    line-height: 39px !important;
}

.nav-links .menu_1 {
    width: 314px;
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
    transition: all 0.3s ease;
    top: 70px;
    opacity: 1;
    visibility: visible;
}

.drop-menu li {
    transition: all 0.5s ease;
    color: white;
}

.drop-menu li:hover {
    background-color: #d3e3ff15;
}

.drop-menu li a {
    width: 100%;
    display: block;
    padding: 0 0 0 15px;
    border-radius: 0px;
    transition: all 0.5s ease;
    color: white;
    letter-spacing: 1px;
}

.drop-menu li a:hover {
    padding-left: 18px;
    color: white;
}

.mega-box {
    position: absolute;
    left: 0;
    width: 100%;
    top: 85px;
    opacity: 0;
    visibility: hidden;
}

.mega-box .content {
    background: #002F6B;
    padding: 22px 8px;
    width: 100%;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.mega-box .content .row {
    line-height: 24px;
}

.mega-box .content .row li {
    margin-bottom: 15px !important;
    color: white;
}

.mega-box .content .row li a {
    color: white;
}

.mega-box .content .row li a:hover {
    padding-left: 18px;
}

.wrapper .btn {
    color: #fff !important;
    font-size: 22px !important;
    cursor: pointer;
    display: none;
}

.wrapper .btn.close-btn {
    position: absolute;
    right: 9px;
    top: 10px;
    font-size: 27px !important;
}

nav input {
    display: none;
}

header .navigation {
    -webkit-transition: .5s;
    -moz-transition: position 10s;
    -ms-transition: position 10s;
    -o-transition: position 10s;
    transition: .5s
}

.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    animation: 1s forwards smoothScroll;
}

@keyframes smoothScroll {
    0% {
        transform: translateY(-40px);
    }

    100% {
        transform: translateY(0);
    }
}


#sortdropdown button {
    border: none;
    border-radius: 50px;
    background-color: white;
    padding: 6px 13px;
    color: #002F6B;
    min-width: 160px;
    width: 100%;
    font-size: 13px;
    font-family: "SatoshiMedium", sans-serif;
}

#sortdropdown button span {
    font-family: "SatoshiMedium", sans-serif;
}

#sortdropdown .dropdown-toggle::after {
    display: none;
}

#sortdropdown .dropdown-arrow::before {
    content: "\f0d7";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #002F6B;
}

#sortdropdown .dropdown-menu[data-bs-popper] {
    margin-top: 0 !important;
}

#sortdropdown .dropdown-menu {
    border-radius: 0px;
    color: #474747;
    padding: 0;
    min-width: 100%;
}

#sortdropdown .dropdown-item {
    color: #474747;
    padding: 8px 8px;
    font-size: 13px;
    font-family: "SatoshiMedium", sans-serif;
}

#sortdropdown .dropdown-item:focus,
#sortdropdown .dropdown-item:hover {
    background-color: #efefef !important;
    color: #474747 !important;
}

#locationhrefmenu {
    justify-content: end;
    gap: 52px;
}

@media only screen and (max-width: 1400px) {
    .wrapper .logo img {
        width: 229px;
    }

    .nav-links li a {
        padding: 0px 10px;
        font-size: 17px;
    }

    header nav .wrapper {
        height: 83px;
    }

    .nav-links li:hover .drop-menu,
    .nav-links li:hover .mega-box {
        top: 68px;
    }

    header .top_head ul li p a {
        font-size: 12px;
    }

    header .top_head .ambulance_icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    header .top_head .patienttab {
        font-size: 14px;
    }
}

@media screen and (max-width: 1100px) {
    .nav-links li a {
        padding: 9px 5px;
    }

    .wrapper .logo img {
        width: 165px;
    }

    .nav-links .drop-menu {
        line-height: normal;
    }

    .drop-menu li a {
        padding: 0 0 0 15px;
        padding: 11px 12px;
    }
}

@media screen and (max-width: 992px) {
    .wrapper .btn {
        display: block;
    }

    header nav .wrapper {
        height: 68px;
    }

    header .topheadcolumn {
        justify-content: space-between;
    }

    /* header .top_head {
        display: none;
    } */

    .wrapper .logo img {
        width: 154px;
    }

    .wrapper .nav-links {
        position: fixed;
        height: 100vh;
        width: 100%;
        max-width: 350px;
        top: 0;
        left: -100%;
        background: #002F6B;
        display: block;
        padding: 50px 0;
        line-height: 45px;
        overflow-y: auto;
        transition: all 0.5s ease;
        z-index: 150;
    }

    #menu_overlay {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100%;
        background-color: rgb(0 0 0 / 70%);
        z-index: 90;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    #menu_overlay.active {
        opacity: 1;
        visibility: visible;
    }

    #menu-btn:checked~.menu-overlay {
        opacity: 1;
        visibility: visible;
    }

    #menu-btn:checked~.nav-links {
        left: 0%;
    }

    #menu-btn:checked~.btn.menu-btn {
        display: block;
    }

    .btn:hover {
        border: 1px solid transparent !important;
        box-shadow: none;
    }

    #close-btn:checked~.btn.menu-btn {
        display: block;
    }

    .nav-links li {
        margin: 15px 10px;
    }

    .nav-links li a {
        padding: 0 20px;
        display: block;
        font-size: 16px;
        color: white;
    }

    .nav-links li a:hover {
        color: white;
    }

    .nav-links .mega-box .content li a {
        padding-left: 0;
    }

    .nav-links .drop-menu {
        position: static;
        opacity: 1;
        top: 65px;
        visibility: visible;
        width: 100%;
        max-height: 0px;
        overflow: hidden;
        box-shadow: none;
        transition: all 0.3s ease;
        background: #032148;
        line-height: 45px;
    }

    #showDrop:checked~.drop-menu,
    #showDrop1:checked~.drop-menu,
    #showDrop2:checked~.drop-menu,
    #showDrop3:checked~.drop-menu,
    #showMega:checked~.mega-box,
    #showMega1:checked~.mega-box {
        max-height: 100%;
    }

    .nav-links .desktop-item {
        display: none;
    }

    .nav-links .mobile-item {
        display: block;
        color: #f2f2f2;
        font-size: 16px;
        font-weight: 500;
        padding-left: 20px;
        transition: all 0.3s ease;
    }

    .drop-menu li {
        margin: 0;
        padding: 0px 0px;
    }

    .drop-menu li a {
        border-radius: 5px;
        font-size: 16px;
    }

    .mega-box .content .row li {
        margin-top: 5px;
        margin-bottom: 22px !important;
    }

    .mega-box {
        position: static;
        top: 65px;
        opacity: 1;
        visibility: visible;
        max-height: 0px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .mega-box .content {
        box-shadow: none;
        padding: 20px 0px;
        background: #032148;
    }

    .mega-box .content .row {
        width: 100%;
        margin-bottom: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mega-box .content .row:nth-child(1),
    .mega-box .content .row:nth-child(2) {
        border-top: 0px;
        margin: 0 auto;
    }

    .mega-box .content img {
        display: none;
    }

    .mega-box .content .text_body p,
    .mega-box .content .text_body h5 {
        color: white !important;
    }

    /*****dropdown menu animation */
    .nav-links .drop-menu,
    .mega-box {
        transition: max-height 0.5s ease, padding 0.3s ease;
        overflow: hidden;
        max-height: 0;
        padding: 0 0;
    }

    /* Open state when checkbox is checked */
    #showDrop:checked~.drop-menu,
    #showDrop1:checked~.drop-menu,
    #showDrop2:checked~.drop-menu,
    #showDrop3:checked~.drop-menu,
    #showMega:checked~.mega-box {
        max-height: 1000px;
        padding: 10px 0;
    }

    /*****dropdown menu animation */
}

@media screen and (max-width: 600px) {
    #sortdropdown .dropdown-item {
        padding: 5px 8px;
        font-size: 13px;
    }

    #sortdropdown button {
        min-width: 108px;
    }
}