
header .navigation {
    -webkit-transition: .5s;
    -moz-transition: position 10s;
    -ms-transition: position 10s;
    -o-transition: position 10s;
    transition: .5s
}



header nav .wrapper {
    position: relative;
    height: 70px;
    padding: 15px 0px;
}



.wrapper .nav-links {
    display: inline-flex;
    gap: 15px;
}
.nav-links li{
    border-bottom: 1px solid #ffffff4d;
    margin: 0px 10px;
 


}

.nav-links li:last-child{
    border-bottom: 0px solid #ffffff4d;
}
.nav-links li a {
    padding: 6px 10px;
    transition: all 0.3s ease;
    color: #666565;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: left;
    flex-direction: column;
}

.nav-links li .desktop-item img, .nav-links li img{
    margin-bottom: 5px;
}
.customlineheight li a{
    line-height: 40px !important;
}

.fa-caret-down:before {
    content: "\f0d7";
    color: #666565;

}

.nav-links li a:hover {
    color: #760505;
}

.nav-links .mobile-item {
    display: none;
}

.nav-links .drop-menu {
    position: absolute;
      background: linear-gradient(90deg, rgba(192, 27, 27, 1) 0%, rgba(118, 5, 5, 1) 100%) !important;
    width: 260px;
    line-height: 45px;
    top: 0;
    opacity: 0;
    visibility: hidden;
    font-weight: 500;
    box-shadow: 0 1px 4px rgb(0 0 0 / 13%);
    margin-left: 10px;
    text-transform: uppercase;
    z-index: 1;
}

.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 12px;
    border-radius: 0px;
    transition: all 0.5s ease;
    color: white;
}

.drop-menu li a:hover {
    padding-left: 18px;
    color: white;
}

.mega-box {
    position: absolute;
    left: 0;
    width: 100%;
    top: 85px;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.mega-box .content1 {
       background: linear-gradient(90deg, rgb(192, 27, 27) 0%, rgb(118, 5, 5) 100%) !important;
    padding: 5px;
    width: 100%;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.mega-box .content1 .row {
    line-height: 24px;
}

.mega-box .content1 .row li {
    color: white;
}

.mega-box .content1 .row li a {
    color: white;
}
.mega-box .content1 .row li:first-child a:hover {
    transform: none; /* or any other effect */
}

.mega-box .content1 .row li a:hover {
    transform: translateX(10px);
}


.mega-box .dropdown-header a{
    font-size: 14px !important;
}
.mega-box .content1 li a {
    padding: 10px;
    transition: all 0.3s ease;
    color: #666565;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    text-align: left;
    display: flex;
    align-items: start;
    justify-content: left;
}

.wrapper .btn {
    color: #760505 !important;
    font-size: 22px !important;
    cursor: pointer;
    display: none;
}

.wrapper .btn.close-btn {
    position: absolute;
    right: 9px;
    top: 10px;
    font-size: 27px !important;
}

.desktop-item .caret__1 {
    color: white;
}

nav input {
    display: none;
}

.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    /* animation: 1s forwards smoothScroll; */
}

.main_wishlist {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 20px;
}

.main_search {
    display: none;
}

.main_wishlist .cart_icons {
    border-radius: 50px;
    width: 44px;
    height: 44px;
    display: flex;
    border: 1px solid transparent;
    position: relative;
}

.fa-close:before, .fa-multiply:before, .fa-remove:before, .fa-times:before, .fa-xmark:before {
    content: "\f00d";
    color: #fff;
}


/* @keyframes smoothScroll {
    0% {
        transform: translateY(-40px);
    }

    100% {
        transform: translateY(0);
    }
} */

.nav-links.menu-animate>li {
    opacity: 0;
}

/*==== for numbers ===== */
.cartwishnumber {
    position: relative;
}

.cartwishnumber .cartnumber {
    position: absolute;
    background: #D8060E;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    font-weight: 700;
    font-size: 11px;
    z-index: 2;
    right: -6px;
    top: -5px;
}

/*==== for numbers ===== */

@keyframes slideFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@media only screen and (max-width: 1400px) {

  .nav-links li{
    margin: 0px 8px;
}
.wrapper .nav-links {
    display: inline-flex;
    gap: 5px;
}


.nav-links li a {
    font-size: 12px;
}

.commercial {
    font-size: 12px;
    padding: 12px;
}

   
    header .top_head ul li p a {
        font-size: 14px;
    }

    header .top_head .patienttab {
        font-size: 14px;
    }
}


@media screen and (max-width: 1199px) {
    .nav-links li a {
        padding: 9px 5px;
    }

    .wrapper .logo img {
        width: 121px !important;
    }

    header nav.fixed-top .wrapper .logo img {
        width: 103px !important;
    }

    .nav-links li a {
        font-size: 10px;
    }

    .nav-links .drop-menu {
        line-height: normal;
    }

    .drop-menu li a {
        padding: 0 0 0 15px;
        padding: 11px 12px;
    }
   

.commercial {
    padding: 12px;
}


    

}

@media screen and (max-width: 992px) {

  
    .wrapper .btn {
        display: block;
    }
    .nav-links li:last-child {
    display:block;
}

    header nav {
        position: relative;
        background-color: #1D1F08;
    }
    header nav .wrapper {
    height: 0px;
}


   
    header .top_head {
        display: none;
    }

    .wrapper .logo img {
        width: 108px !important;
    }

    header nav.fixed-top {
        background-color: #1d1f08c7;
    }

    header nav.fixed-top .wrapper .logo img {
        width: 100px !important;
    }

    .wrapper .nav-links {
        position: fixed;
        height: 100vh;
        width: 100%;
        max-width: 350px;
        top: 0;
        left: -100%;
        background: #000;
        display: block;
        padding: 50px 0;
        line-height: 45px;
        overflow-y: auto;
        transition: all 0.5s ease;
        z-index: 150;
    }

    .wrapper .nav-links li a{
        color: #fff;
    }

    #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 11px;
        display: block;
        font-size: 16px !important;
        color: #fff;

        
    }

    .nav-links li:last-child{
        border: 0;
    }


    .nav-links .mega-box .content1 li a {
        padding-left: 0;
    }

    .nav-links .drop-menu {
        position: static;
        opacity: 1 !important;
        top: 65px;
        visibility: visible;
        width: 100%;
        max-height: 0px;
        overflow: hidden;
        box-shadow: none;
        transition: all 0.3s ease;
        background: #8B9332;
        line-height: 45px;
        margin-left: 0;
    }

    #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: #fff;
        font-size: 16px;
        font-weight: 300;
        padding-left: 11px;
        transition: all 0.3s ease;
    }

    .drop-menu li {
        margin: 0;
        padding: 0px 0px;
        opacity: 1 !important;
    }

    .drop-menu li a {
        border-radius: 5px;
        font-size: 16px;
        padding-left: 17px;
        color: white;
        opacity: 1 !important;
    }

    .mega-box .content1 .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 .content1 {
        box-shadow: none;
        padding: 20px 0px;
        background: #032148;
    }

    .mega-box .content1 .row {
        width: 100%;
        margin-bottom: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mega-box .content1 .row:nth-child(1),
    .mega-box .content1 .row:nth-child(2) {
        border-top: 0px;
        margin: 0 auto;
    }

    .mega-box .content1 img {
        display: none;
    }

    .mega-box .content1 .text_body p,
    .mega-box .content1 .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; */
        max-height: 100%;
        padding: 10px 0;
    }

    /*****dropdown menu animation */

    .main_wishlist {
        display: none;
    }

    .main_search {
        display: block;
    }

    .dottedforcart {
        background: #666565;
        width: 7px;
        height: 7px;
        position: absolute;
        right: 9px;
        border-radius: 50%;
        outline: 2px solid white;
        top: -2px;
    }
    header .navigation {
height: 0;
}
.mid{
    display: block;
}
}

@media screen and (max-width: 600px) {

}