/*--------------------------------------------------------------
    Google Fonts
--------------------------------------------------------------*/
/* DM Serif Display */
@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap");
/* Lato */
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
/* Roboto */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
/* SourceSerifPro */
@font-face {
  font-family: "SourceSerifPro";
  src: url("../fonts/fonts/SourceSerifPro-Light.otf") format("opentype");
  font-weight: 300; /* Light */
  font-style: normal;
}
@font-face {
  font-family: "SourceSerifPro";
  src: url("../fonts/fonts/source-serif-pro.regular.ttf") format("truetype");
  font-weight: 400; /* regular */
  font-style: normal;
}
@font-face {
  font-family: "SourceSerifPro";
  src: url("../fonts/fonts/source-serif-pro.semibold.ttf") format("truetype");
  font-weight: 600; /* semibold */
  font-style: normal;
}
@font-face {
  font-family: "SourceSerifPro";
  src: url("../fonts/fonts/SourceSerifPro-Bold.ttf") format("truetype");
  font-weight: 700; /* semibold */
  font-style: normal;
}
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
:root {
  /* fonts */
  --dm-serif: "DM Serif Display", serif;
  --soruce-serif: "SourceSerifPro", serif;
  --lato: "Lato", sans-serif;
  --roboto: "Roboto", sans-serif;
  /*color*/
  --color-0: #191b23;
  --color-1: #000000;
  --color-2: #5d6a83;
  --color-3: #f5f8ff;
  --color-4: #cea65d;
  --color-5: #1f3650;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  outline: none;
  -moz-osx-font-smoothing: grayscale;
  /* Firefox */
  -webkit-font-smoothing: antialiased;
  /* WebKit  */
}

body {
  font-family: var(--soruce-serif);
  font-size: 0.875rem;
  line-height: 1.5;
}
.dm-serif {
  font-family: var(--dm-serif);
}
.source-serif {
  font-family: var(--soruce-serif);
}
.lato {
  font-family: var(--lato);
}
.roboto {
  font-family: var(--roboto);
}
a {
  display: inline-block;
}
.selected {
  border-color: var(--color-4) !important;
  background-color: #fff !important;
}
.custom-checkbox {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: 2px solid var(--color-5);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease-in-out;
  &::after {
    content: "\f00c";
    font: var(--fa-font-solid);
    font-weight: 900;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    inset: 0;
    font-size: 12px;
    color: #fff;
  }
  &:checked {
    background-color: var(--color-5);
    color: #fff;
  }
  &.style-two {
    height: 16px;
    width: 16px;
    border: 1.5px solid #96a3be;
    &::after {
      font-size: 9px;
    }
    &:checked {
      background-color: #28b636;
      border-color: #28b636;
    }
  }
  &.square {
    border-radius: 3px;
    border-width: 2px;
  }
  &.gray_border {
    height: 18px;
    width: 18px;
    border-radius:4px;
    border: 1px solid #CCCBC8;

    &::after{
      font-size: 9px;
    }
    &:checked{
      background-color:#CCCBC8;
    }
  }
}
.custom-table-wraper {
  .custom-checkbox {
    border: 1px solid #96a3be;
    &:checked {
      border: 1px solid var(--color-5);
    }
  }
}
/*Flat picker*/
.date-flat-picker-custom {
  .flatpickr-calendar {
    background-color: #f8fafc;
    border: 1px solid #c1d5ed;
    border-radius: 10px;
    box-shadow: none;
    position: static !important;
    width: 100%;
    .flatpickr-innerContainer {
      display: block;
      width: 100%;
    }
    .flatpickr-days {
      display: block;
      width: 100%;
    }
    .flatpickr-rContainer {
      display: block;
      padding: 20px;
    }
    .flatpickr-weekdays {
      display: block;
    }
    .flatpickr-weekdays .flatpickr-weekdaycontainer {
      justify-content: space-between;
      gap: 20px;
    }
    .dayContainer {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 20px;
      width: 100%;
      max-width: 100%;
      min-width: 100%;
    }
    .flatpickr-day {
      width: 100%;
      border-radius: 10px;
      border: 1px solid transparent;
    }

    .flatpickr-months {
      position: relative;
    }
    .flatpickr-day.today {
      border-color: #2f4a69 !important;
    }
    .flatpickr-day:hover,
    .flatpickr-day.selected {
      color: #fff !important;
      background: #2f4a69 !important;
      border-color: transparent !important;
    }
  }
  /* .product_date_picker {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
  } */
}

/*chart js*/
.chart-container {
  width: 100%;
  max-width: 800px;
  margin: auto;
  padding: 20px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
canvas {
  display: block;
  width: 100%;
  border: none !important;
}
/*Slick*/
.slick-list {
  width: 100%;
}

.slick-slide {
  margin: 0 10px;
}
.slick-track {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.slider-height .slick-track{
  display: flex;
  align-items: stretch;
  & .slick-slide{
    height: auto;
  }
  & .slick-slide>div{
    height: 100%;
  }
}
.custom-slick-dots {
  .slick-dots {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 10px;
    li {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      cursor: pointer;
      background: #486789;
      transition: all 0.3s ease-in-out;
      & button {
        display: none;
      }
      &.slick-active {
        width: 24px;
        border-radius: 50px;
        background-color: var(--color-5);
      }
    }
  }
}
.custom-dot-with-arrow {
  .slider-arrwos {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 20px;
    padding: 40px 0;
    .slick-arrow {
      line-height: 1;
      color: #999999;
      font-size: 19px;
    }
  }
  .slick-dots {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    button {
      display: none;
    }
    li {
      height: 12px;
      width: 12px;
      border-radius: 50%;
      cursor: pointer;
      background: #999999;
      transition: all 0.3s ease-in-out;
      &.slick-active {
        height: 16px;
        width: 16px;
        border-radius: 50px;
        background-color: #1f3650;
      }
    }
  }
}

/* MEGA MENU */
.menga_menu_group:has(+ .menga_menu_group) {
  margin-bottom: 40px;
}

.full_image {
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.slick_custom_arrows {
  svg.slick-arrow {
    g {
      transition: all 0.3s ease-in-out;
    }
  }
  svg.slick-arrow:hover {
    g {
      opacity: 1;
    }
  }
}
@keyframes left-right {
  0% {
    transform: translateX(-80px);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes right-left {
  0% {
    transform: translateX(80px);
  }
  100% {
    transform: translateX(0);
  }
}
.left-right {
  animation: left-right 1s ease-in-out;
}
.right-left {
  animation: right-left 0s ease-in-out;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.full_image {
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/*select-2*/
.custom-select2 + .select2-container {
  display: block;
  position: relative;
  width: 100% !important;
  .select2-selection--single,
  .select2-selection--multiple {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    height: auto;
    line-height: 1.5;
    border-radius: 8px;
    .select2-selection__rendered {
      line-height: 1.5;
      color: #334155;
      font-size: 1rem;
      padding: 0;
    }
    .select2-selection__arrow {
      all: unset;
      height: 20px;
      width: 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      position: absolute;
      top: 50%;
      right: 16px;
      transform: translateY(-50%);
      b {
        all: unset;
        height: 5px;
        width: 5px;
        border: 2px solid #475569;
        border-top: 0;
        border-left: 0;
        transform: translateY(-50%) rotate(45deg);
      }
    }
    .select2-search__field {
      margin: 0;
    }
  }
  .select2-selection--multiple {
    &:has(.select2-selection__choice) {
      padding: 9px 16px;
    }
    .select2-search.select2-search--inline {
      display: inline-block;
    }
    .select2-selection__choice {
      /* margin-top: 0; */
    }
  }
}

.custom-select2.style_2 + .select2-container {
  .select2-selection--single {
    border: none;
    background: #f8fafc;
    padding: 10px 16px;
    .select2-selection__rendered {
      line-height: 1.5;
      color: #5d6a83;
      font-size: 1rem;
      padding: 0;
    }
  }
}

/*switcher checkbox*/
.switcher_checkbox {
  -webkit-appearance: none;
  height: 22px;
  width: 37px;
  border-radius: 100px;
  border: 1px solid #cea65d;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease-in-out;
  &::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background-color: #cea65d;
    transition: all 0.3s ease-in-out;
  }
  &:checked {
    background: #cea65d;
    &::after {
      left: calc(100% - 16px - 2px);
      background: #ffffff;
    }
  }
}

.custom-select2.style_2 + .select2-container {
  .select2-selection--single {
    border: none;
    background: #f8fafc;
    padding: 10px 16px;
    .select2-selection__rendered {
      line-height: 1.5;
      color: #5d6a83;
      font-size: 1rem;
      padding: 0;
    }
  }
}

/*select-two dropdown*/
.select2-dropdown {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  .select2-search--dropdown .select2-search__field {
    border: 1px solid #e2e8f0;
  }
  .select2-results__option {
    padding: 12px 16px;
    line-height: 1.5;
    color: #334155;
    font-size: 1rem;
  }
  .select2-results__option.select2-results__option--selectable.select2-results__option--selected,
  .select2-results__option.select2-results__option--selectable.select2-results__option--highlighted {
    background-color: #f7fafc;
    color: #191b23;
  }
}

/* shop-grid */
/*shop grid*/
.single_product-card {
  .img_part img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.payment-image img {
  width: 100%;
}
/*FAQ Accordion*/
.faq-item-wraper {
  .faq-header.active {
    border-color: transparent !important;
  }
}
/* Container */
.container-1440 {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

@media only screen and (min-width: 320px) {
  .container-1440 {
    max-width: 100%;
    padding: 0 20px;
  }
}
@media only screen and (min-width: 475px) {
  .container-1440 {
    max-width: 475px;
    padding: 0 20px;
  }
}
/*table*/
.with-action-btn-table {
  tbody {
    tr:last-child {
      td:last-child {
        .actions-options {
          bottom: -35px;
          top: auto;
          right: calc(100% + 5px);
        }
      }
    }
  }
}
@media only screen and (min-width: 640px) {
  .container-1440 {
    max-width: 640px;
    padding: 0 20px;
  }
}
@media only screen and (min-width: 768px) {
  .container-1440 {
    max-width: 768px;
  }
}
@media only screen and (min-width: 1024px) {
  .container-1440 {
    max-width: 1024px;
  }
}
@media only screen and (min-width: 1280px) {
  .container-1440 {
    max-width: 1280px;
  }
}
@media only screen and (min-width: 1440px) {
  .container-1440 {
    max-width: 1440px;
  }
}

/* media uploader css */
.upload-finish {
  position: relative;
  z-index: 1;
}

.upload-thumb {
  max-width: 120px;
  max-height: 120px;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
}

.upload-thumb img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.upload-thumb .close-thumb {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 12px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #ddd;
  color: #333;
  cursor: pointer;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.upload-thumb .close-thumb:hover {
  background: #05cd99;
  color: var(--white);
}

.upload-finish .photo-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.upload-finish .photo-size {
  display: block;
  font-size: 12px;
}

.ecommerce-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 10px;
  cursor: pointer;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.load-ajax-data {
  border: 10px solid #f3f3f3;
  border-radius: 50%;
  border-top: 10px solid #cba25c;
  border-bottom: 10px solid #2f496b;
  width: 70px;
  height: 70px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  position: fixed;
  top: 350px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
}

section.news-area {
  position: relative;
  z-index: 2;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.with-action-btn-table {
  tbody {
    tr {
      td:last-child {
        .actions-options {
          bottom: -35px;
          top: auto;
          right: calc(100% + 5px);
        }
      }
    }
  }
}

/* cuystom radio chekbox */
.custom-radio {
  -webkit-appearance: none;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  border: 1px solid #cccbc8;
  background: #f7f7f5;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease-in-out;
  &:checked {
    border: 6px solid #1f3650;
  }
}
.custom-radio-two {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  border: 1px solid #cccbc8;
  outline-offset: 3px;
  outline: 1px solid transparent;
  transition: all 0.3s ease-in-out;
  &:checked {
    outline: 1px solid #666562;
  }
}
/*switcher checkbox*/
.switcher_checkbox {
  -webkit-appearance: none;
  height: 22px;
  width: 37px;
  border-radius: 100px;
  border: 1px solid #cea65d;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease-in-out;
  &::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background-color: #cea65d;
    transition: all 0.3s ease-in-out;
  }
  &:checked {
    background: #cea65d;
    &::after {
      left: calc(100% - 16px - 2px);
      background: #ffffff;
    }
  }
}
.flatpickr-months {
  position: relative;
}

.custom-select2.style_4 + .select2-container {
  .select2-selection--single {
    border: none;
    background: #F1F5F9;
    padding:16px;
    .select2-selection__rendered {
      line-height: 1.5;
      color: #191b23;
      font-weight: 600;
      font-size: 1rem;
      padding: 0;
    }
  }
}

/* stuff management add staff time shcedual */
.time_scheduals:last-child {
  .icon_wraper .copy_option_wraper {
    top: auto;
    bottom: 100%;
  }
}

.geo-location iframe {
  width: 100% !important;
  height: 180px !important;
}

.vendor-location-map iframe {
  width: 100% !important;
  height: 300px !important;
}

.active-chat {
  background: #F8FAFC !important;
}

.active-dot {
  background: green !important;
}
