﻿/* top-bar-css-start */
.header.header-sticky {
  position: sticky;
  top: 42px;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: #ffffff;
}

/*.menu.menu-sticky {
    position: sticky;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #ffffff;
}*/

.top-bar {
  padding: 5px 0;
  background: var(--theme-banner-bg-color);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.top-social ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.top-social i,
.top-social img {
  color: var(--bs-white);
  padding: 5px;
  font-size: 18px;
}

.top-social img {
  width: 35px;
  height: 35px;
}

.top-links ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.top-links ul li .nav-link {
  color: var(--white);
  padding: 5px;
}

.menu .list-item-wrapp .list-item a {
  font-family: "Inter", sans-serif;
  text-align: left;
  color: var(--theme-secondary-color-mild);
  margin-bottom: 10px;
}

.menu .list-item-wrapp .list-item ul li a {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  color: #333333;
}

.menu .list-item-wrapp .list-item ul li {
  margin-bottom: 14px !important;
  line-height: 20px;
}

.top-cart-product-count {
  position: relative;
  bottom: 10px;
  right: -20px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 100%;
  font-size: 10px;
  font-weight: 700;
  display: inline-block;
  text-align: center;
  color: #fff;
}

.top-cart-count-color {
  background-color: var(--theme-secondary-color-mild);
}

.menu-right ul li img {
  width: 25px;
}
/*top-bar-css-end*/

@media (max-width: 767px) {
  header a.navbar-brand {
    width: 50%;
  }
  header a.navbar-brand img {
    height: auto;
  }
  .navbar-toggler {
    width: 56px;
  }
  .right-head {
    width: calc(50% - 78px);
  }
  .navbar-collapse {
    position: absolute;
    top: 68px;
    background: #ffffff;
    z-index: 9;
    width: 100%;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }
  .top-cart-product-count {
    position: relative;
    bottom: -10px;
    right: 10px;
  }
}

@media only screen and (min-width: 768px) {
  /* Mega Menu Start*/
  .nav-item {
    padding: 0.5rem 0rem;
  }

  .menu .menu-center > ul > li > a i {
    right: -25px !important;
  }

  .header .menu-right a {
    display: flex;
    align-items: center;
  }

  .headercart {
    padding-right: 8px;
  }

  .header .menu-right > ul > li {
    margin-left: 20px !important;
  }

  .menu-main_edrug {
    text-align: center;
  }

  /*header-start*/

  .header {
    padding: 10px 0;
    display: block;
    position: relative;
    z-index: 99;
    border-bottom: 1px solid var(--theme-secondary-color-mild2);
  }

  .mobilemenu-head {
    display: none;
  }

  .header .row {
    align-items: center;
  }

  .header .menu-center > ul > li {
    display: inline-block;
    line-height: 50px;
    margin-left: 25px !important;
  }

  .header .menu-center > ul > li > a {
    font-size: 15px;
    font-weight: 400;
    font-family: "Inter", sans-serif;
    color: var(--theme-secondary-color-mild);
    position: relative;
    text-transform: capitalize;
    border: none;
  }

  .header .menu-center > ul > li .sub-menu {
    position: absolute;
    z-index: 500;
    background-color: #fff;
    box-shadow: -2px 2px 70px -25px rgba(0, 0, 0, 0.3);
    padding: 20px 30px;
    border-radius: 0 0 20px 20px;
    transition: all 0.5s ease;
    margin-top: 25px;
    opacity: 0;
    visibility: hidden;
  }

  .header .menu-center > ul > li .sub-menu > ul > li {
    line-height: 1;
  }

  .header .menu-center > ul > li .sub-menu > ul > li > a {
    display: inline-block;
    padding: 10px 0;
    font-size: 15px;
    color: #000;
  }

  .header .menu-center > ul > li .single-column {
    min-width: 280px;
    max-width: 360px;
  }

  .header .menu-center > ul > li .sub-menu.megamenu {
    left: 50%;
    transform: translateX(-50%);
  }

  .header .menu-center > ul > li .sub-menu.megamenu > .list-item > ul > li {
    line-height: 1;
    display: block;
  }

  .header .menu-center > ul > li .sub-menu.megamenu > .list-item {
    border-right: none;
  }

  .header .menu-center > ul > li .sub-menu.megamenu > .list-item:nth-child(1),
  .header .menu-center > ul > li .sub-menu.megamenu > .list-item:nth-child(2) {
    border-right: 1px solid #ddd;
  }

  .header .menu-center > ul > li .sub-menu.megamenu > .list-item > ul > li > a {
    padding: 10px 0;
    font-size: 14px;
    line-height: 20px;
    color: #333333;
    display: inline-block;
  }

  .header .menu-center > ul > li .sub-menu.megamenu-three-column {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 20px 15px;
    overflow-x: scroll;
    height: 500px;
  }
  /* width */
  .single-long-column::-webkit-scrollbar {
    width: 5px;
  }

  /* Track */
  .single-long-column::-webkit-scrollbar-track {
    border-radius: 8px;
  }

  /* Handle */
  .single-long-column::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 8px;
  }

  /* Handle on hover */
  .single-long-column::-webkit-scrollbar-thumb:hover {
    background: #b30000;
  }

  /* width */
  .header
    .menu-center
    > ul
    > li
    .sub-menu.megamenu-three-column::-webkit-scrollbar {
    width: 5px;
  }

  /* Track */
  .header
    .menu-center
    > ul
    > li
    .sub-menu.megamenu-three-column::-webkit-scrollbar-track {
    border-radius: 8px;
  }

  /* Handle */
  .header
    .menu-center
    > ul
    > li
    .sub-menu.megamenu-three-column::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 8px;
  }

  /* Handle on hover */
  .header
    .menu-center
    > ul
    > li
    .sub-menu.megamenu-three-column::-webkit-scrollbar-thumb:hover {
    background: #b30000;
  }

  .header .menu-center > ul > li .sub-menu.megamenu-three-column > .list-item {
    flex: 0 0 33.3%;
    padding: 0 15px 20px 42px;
    text-align: left;
  }

  .header
    .menu-center
    > ul
    > li
    .sub-menu.megamenu-three-column
    > .list-item
    .sub-menutit {
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 0 0;
    color: var(--theme-secondary-color-mild);
  }

  .header .menu-center > ul > li.menu-item-has-child:hover .sub-menu {
    visibility: visible;
    opacity: 1;
    padding-top: 0;
    text-align: left;
  }

  .header .menu-center > ul > li .single-long-column {
    min-width: 500px;
    max-width: 600px;
  }

  .submenu-title a {
    font-family: Inter;
    font-size: 16px;
    font-weight: 600;
    line-height: 19.36px;
    text-align: left;
    color: var(--theme-secondary-color-mild) !important;
  }

  .header .menu-center > ul > li:hover > a {
    color: #444;
  }

  .header .menu-right {
    text-align: right;
  }

  .header .menu-right a {
    font-size: 16px;
    color: var(--theme-secondary-color-mild);
    font-weight: 500;
  }

  .header .menu-right > ul > li {
    display: inline-block;
    margin-left: 10px !important;
  }

  .mobile-menu {
    display: none;
  }

  .edrug-logowrapp .mobile-menu {
    display: none;
  }

  .header nav.menu-center {
    display: block;
    position: unset !important;
    transform: translate(0, 0);
    background: transparent !important;
    box-shadow: none;
    height: auto !important;
    margin-top: 0;
    overflow: visible;
  }

  .header .menu-center .mobilemenu-head {
    display: none;
  }

  .header .menu-center .menu-main {
    display: block;
  }

  .header .mob-c {
    width: 66.66666667% !important;
    flex: 0 0 auto;
    order: unset;
  }

  .header .mob-r {
    flex: 0 0 auto;
    width: 16.66666667%;
  }

  .header .menu-right > ul > li {
    display: block !important;
  }

  .header .menu-right > ul {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .right-cart {
    padding-left: 7px;
  }

  .header
    .menu-main
    li.menu-item-has-child:hover
    .sub-menu.megamenu-three-column {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .header .menu-main li.menu-item-has-child .sub-menu.megamenu-three-column {
    opacity: 0 !important;
    visibility: hidden !important;
  }
  .top-cart-product-count {
    bottom: -10px;
    right: 5px;
  }
  /*Mega Menu End*/
}

@media only screen and (max-width: 992px) {
  /* Header Start */
  .header {
    padding: 5px 5px;
  }
  .mobile-menu-head {
    display: block;
  }
  .header .item-center {
    width: 40%;
  }
  .header .item-center .rh ul {
    display: flex;
  }
  .header .item-center .rh ul li {
    padding-left: 17px !important;
  }
  .header .item-left {
    width: 50%;
  }
  .header .item-right {
    width: 10%;
  }
  .menu {
    position: sticky;
  }
  .menu-right ul li:first-child a {
    display: block;
    margin-right: 15px;
  }
  .menu-right ul li img,
  .right-head ul li img {
    width: 25px;
  }
  .v-center {
    justify-content: space-between;
  }

  .header .mobile-menu-trigger {
    display: flex;
    height: 30px;
    width: 30px;
    cursor: pointer;
    align-items: center;
  }
  .header .mobile-menu-trigger span {
    display: block;
    height: 2px;
    background-color: #333333;
    width: 24px;
    position: relative;
  }
  .header .mobile-menu-trigger span:before,
  .header .mobile-menu-trigger span:after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #333333;
  }
  .header .mobile-menu-trigger span:before {
    top: -6px;
  }
  .header .mobile-menu-trigger span:after {
    top: 6px;
  }
  .header .item-right {
    align-items: center;
  }
  .header .menu {
    position: fixed;
    width: 320px;
    background-color: #ffffff;
    left: 0;
    top: 0;
    height: 100%;
    overflow: hidden;
    transform: translate(-100%);
    transition: all 0.5s ease;
    z-index: 1099;
  }
  .header .menu.active {
    transform: translate(0%);
  }
  .header .menu > ul > li {
    line-height: 1;
    margin: 0;
    display: block;
  }
  .header .menu > ul > li > a,
  .header .menu > ul > li > div {
    line-height: 50px;
    height: 50px;
    padding: 0 50px 0 15px;
    display: block;
    position: relative;
    color: #333333;
    font-size: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .header .menu > ul > li > div > i,
  .header .menu > ul > li > a > i {
    position: absolute;
    height: 50px;
    width: 50px;
    top: 0;
    right: 0;
    text-align: center;
    line-height: 50px;
    transform: rotate(-90deg);
  }
  .header .menu .mobile-menu-head {
    display: flex;
    height: 50px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 501;
    position: sticky;
    background-color: #ffffff;
    top: 0;
  }
  .header .menu .mobile-menu-head .go-back {
    height: 50px;
    width: 50px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    line-height: 50px;
    text-align: center;
    color: #000000;
    font-size: 16px;
    display: none;
  }
  .header .menu .mobile-menu-head.active .go-back {
    display: block;
  }
  .header .menu .mobile-menu-head .current-menu-title {
    font-size: 15px;
    font-weight: 600;
    color: #004991;
  }
  .header .menu .mobile-menu-head .mobile-menu-close {
    height: 50px;
    width: 50px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    line-height: 50px;
    text-align: center;
    color: #000000;
    font-size: 25px;
  }
  .header .menu .menu-main {
    height: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    padding-bottom: 50px;
  }

  /*.menu-main li a{
        position: relative;
        padding: 0;
        color: #444;
        font-size: 15px;
        line-height: 52px;
        font-weight: 600;
        text-transform: uppercase;
        font-family: "Poppins", serif;
        background: transparent;
        border: 0;
        transition: 0.3s;
    }*/

  .header .menu > ul > li .sub-menu.mega-menu,
  .header .menu > ul > li .sub-menu {
    visibility: visible;
    opacity: 1;
    position: absolute;
    box-shadow: none;
    margin: 0;
    padding: 0px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 65px;
    max-width: none;
    min-width: auto;
    display: none;
    transform: translateX(0%);
    overflow-y: auto;
    background: #fff;
    z-index: 1;
  }
  .header .menu > ul > li .sub-menu.active {
    display: block;
  }
  @keyframes slide {
    0% {
      opacity: 0;
      transform: translateX(0%);
    }
    100% {
      opacity: 1;
      transform: translateX(0%);
    }
  }
  @keyframes slideLeft {
    0% {
      opacity: 0;
      transform: translateX(100%);
    }
    100% {
      opacity: 1;
      transform: translateX(0%);
    }
  }
  @keyframes slideRight {
    0% {
      opacity: 1;
      transform: translateX(0%);
    }
    100% {
      opacity: 0;
      transform: translateX(100%);
    }
  }
  .header .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item img {
    margin-top: 0;
  }

  .header
    .menu
    > ul
    > li
    .sub-menu.mega-menu-column-4
    > .list-item.text-center
    .title {
    margin-bottom: 20px;
  }

  .header
    .menu
    > ul
    > li
    .sub-menu.mega-menu-column-4
    > .list-item.text-center:last-child
    .title {
    margin-bottom: 0px;
  }

  .header .menu > ul > li .sub-menu.mega-menu-column-4 > .list-item {
    flex: 0 0 100%;
    padding: 0px;
  }
  .header .menu > ul > li .sub-menu > ul > li > a,
  .header .menu > ul > li .sub-menu.mega-menu > .list-item > ul > li > a {
    display: block;
  }
  .header .menu > ul > li .sub-menu.mega-menu > .list-item > ul {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .menu-overlay {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1098;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease;
  }
  .menu-overlay.active {
    visibility: visible;
    opacity: 1;
  }
  .sub-menu a {
    position: relative;
    line-height: 50px;
    padding: 0 0px 0 15px;
    display: block;
    color: var(--theme-secondary-color-mild);
    transition: color 0.3s ease;
    width: 100%;
  }
  .sub-menu i {
    position: absolute;
    height: 50px;
    width: 50px;
    top: 0;
    right: 0;
    text-align: center;
    line-height: 50px;
  }
  .header .menu > ul > li.menu-item-has-children:hover .sub-menu {
    margin-top: 0;
    visibility: visible;
    opacity: 1;
    background: #fff;
    z-index: 11;
  }
  .menu-i {
    position: relative;
    line-height: 50px;
    padding: 0 0px 0 15px;
    display: block;
    font-size: 14px;
    color: #555555;
    transition: color 0.3s ease;
    width: 100%;
  }
  /*Header-style only Mobile-End*/

  .navbar-toggler {
    width: 56px;
    /*Below hack to push hamburger menu to right*/
    position: absolute;
    right: 0px;
  }

  .right-head {
    width: calc(50% - 78px);
    /*Below hack to push hamburger menu to right*/
    margin-right: 50px;
  }
}

@media only screen and (min-width: 991px) {
  /* Header Mega Menu Start */
  .menu .menu-center > ul > li .sub-menu .masonry_menu_wrap {
    width: 1000px;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
  }

  .menu .menu-center > ul > li .sub-menu .masonry_menu_wrap .masonry_menu_item {
    padding: 0px 40px 0px 40px;
    position: relative;
    text-align: left;
    height: auto !important;
    flex: 0 0 auto;
    width: 33.33%;
  }

  .menu .menu-center > ul > li .sub-menu .masonry_menu_wrap:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    height: calc(100% - 50px);
    width: 1px;
    background-color: #dddddd;
    left: 33.33%;
    margin: auto;
  }

  .menu .menu-center > ul > li .sub-menu .masonry_menu_wrap:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    height: calc(100% - 50px);
    width: 1px;
    background-color: #dddddd;
    left: calc(100% - 33.33%);
    margin: auto;
  }

  .menu {
    padding: 10px 0;
    display: block;
    position: sticky;
    top: 40px;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 9999;
    border-bottom: 1px solid #c5d3e1;
  }

  .menu-container {
    max-width: 1140px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
  }

  .menu-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
  }

  .menu-left-logo {
    flex: 0 0 auto;
    width: 16.66666667%;
  }

  .menu-center {
    flex: 0 0 auto;
    width: 66.66666667%;
  }

  .menu-right {
    flex: 0 0 auto;
    width: 16.66666667%;
  }

  .mobilemenu-head {
    display: none;
  }

  .menu-main {
    text-align: center;
  }

  .menu .menu-center > ul > li {
    display: inline-block;
    line-height: 50px;
    margin-left: 25px !important;
  }

  .menu .sub-menu {
    max-width: fit-content;
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 500px;
  }

  .menu .menu-center > ul > li .sub-menu {
    position: absolute;
    z-index: 500;
    background-color: #fff;
    box-shadow: 0px 14px 15px 0px #00000026;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 12px 12px;
  }

  .menu .menu-center > ul > li.menu-item-has-child:hover .sub-menu {
    visibility: visible;
    opacity: 1;
    padding-top: 10px;
  }

  .menu .menu-center > ul > li .sub-menu > ul > li {
    line-height: 1;
  }

  .menu .menu-center > ul > li .sub-menu > ul > li > a {
    display: inline-block;
    padding: 10px 0;
    font-size: 15px;
    color: #000;
  }

  .menu .menu-center > ul > li .single-column {
    min-width: 280px;
    max-width: 360px;
  }

  .menu .menu-center > ul > li .sub-menu.megamenu > .list-item > ul > li {
    line-height: 1;
    display: block;
  }

  .menu .menu-center > ul > li .sub-menu.megamenu > .list-item {
    position: relative;
  }

  .menu .menu-center > ul > li .sub-menu.megamenu > .list-item.border-menu {
    position: relative;
  }
  .menu .menu-center > ul > li .sub-menu.megamenu > .list-item > ul > li > a {
    padding: 10px 0;
    font-size: 14px;
    line-height: 20px;
    color: #333333;
    display: inline-block;
  }

  .menu
    .menu-center
    > ul
    > li
    .sub-menu.megamenu-three-column::-webkit-scrollbar {
    width: 5px;
  }

  .menu
    .menu-center
    > ul
    > li
    .sub-menu.megamenu-three-column::-webkit-scrollbar-track {
    border-radius: 8px;
  }

  .menu
    .menu-center
    > ul
    > li
    .sub-menu.megamenu-three-column::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 8px;
  }

  .menu
    .menu-center
    > ul
    > li
    .sub-menu.megamenu-three-column::-webkit-scrollbar-thumb:hover {
    background: #b30000;
  }

  .menu .menu-center > ul > li .sub-menu.megamenu-three-column > .list-item {
    flex: 0 0 33.33%;
    text-align: left;
  }

  .menu
    .menu-center
    > ul
    > li
    .sub-menu.megamenu-three-column
    > .list-item
    .sub-menutit {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 25px;
    font-weight: 600;
    margin: 0;
    color: var(--theme-secondary-color-mild);
  }

  .menu .menu-center > ul > li .single-long-column {
    min-width: 500px;
    max-width: 600px;
  }

  .submenu-title a {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 19.36px;
    text-align: left;
    color: var(--theme-secondary-color-mild) !important;
  }

  .menu .menu-center > ul > li:hover > a {
    color: #444;
  }

  .menu .menu-right {
    display: flex;
    justify-content: end;
    align-items: center;
  }

  .menu .menu-right a {
    font-size: 16px;
    color: var(--theme-secondary-color-mild);
    font-weight: 500;
  }

  .menu .menu-right > ul > li {
    display: inline-block;
    margin-left: 10px !important;
  }

  .mobile-menu-trigger {
    display: none !important;
  }

  .mobile-menu-head {
    display: none;
  }

  .menu .menu-center > ul > li .sub-menu .list-item-wrapp {
    display: flex;
  }

  .menu .menu-center > ul > li .sub-menu .list-item-wrapp .list-item {
    width: 33.33%;
    padding: 0px 20px 0px 20px;
    position: relative;
    text-align: left;
  }

  .menu
    .menu-center
    > ul
    > li
    .sub-menu.megamenu
    .list-item:first-child:not(last-child):before {
    display: none;
  }

  .menu .list-item-wrapp .list-item ul:first-child:not(last-child) h4 {
    margin-top: 0;
  }

  .menu
    .list-item-wrapp
    .list-item
    .list-item-inner:first-child:not(last-child)
    h4 {
    margin-top: 10px;
  }

  .menu .list-item-wrapp .list-item ul li a span.sublisttitle {
    display: block;
    color: #768da3;
  }

  .menu .list-item-wrapp {
    border-top: 1px solid #d9d9d9;
    margin-top: 0px;
  }

  .menu .list-item-wrapp .list-item h4 {
    margin-top: 32px;
  }

  .menu .menu-center > ul > li > div {
    font-size: 15px;
    color: var(--theme-secondary-color-mild);
  }
  .top-cart-product-count {
    bottom: -10px;
    right: 10px;
  }
  .right-head {
    min-width: 150px;
  }
  /* Header Mega Menu End */
}

@media only screen and (min-width: 1400px) {
  .menu-container {
    max-width: 1320px !important;
  }
}
