/* Custom test on my device */
@media screen and (max-width: 1200px) {
  html body .content {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* .main-menu {
    display: none;
  } */

  .header-navbar.navbar-shadow {
    width: -moz-available;
    width: -webkit-fill-available;
    width: fill-available;
  }
}
/* Custom test end on my device */

html {
  scroll-behavior: smooth;
}

header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 4;
  background-color: var(--primary);
  padding: 0.75rem 0;
  height: auto;
}

.consignee-container {
  height: 100vh;
}

.change-language-btn {
  display: flex;
  align-items: center;
  top: 60px;
  right: 96.672px;
}

@media (max-width: 991.96px) {
  .consignee-container {
    height: auto;
  }

  .change-language-btn {
    display: none;
  }
}

.form-group {
  position: relative;
}

input[type="password"] + button,
input[type="text"] + button,
input[type="number"] + button {
  position: absolute;
  top: 1px;
  right: 1px;
}

.material-icons,
[class^="maticon-"],
[class*=" maticon-"] {
  font-size: 1.25em !important;
  max-width: 1em !important;
  max-height: 1em !important;
  vertical-align: middle;
  position: relative;
  top: -0.05em;
}

.material-icons img,
.material-icons svg {
  width: 1em !important;
  height: 1em !important;
  position: relative;
  top: -0.325rem;
  fill: currentColor;
}

header .delivering-smiles {
  display: none;
}

header .left-links,
header .right-links {
  display: flex;
  align-items: center;
}

header .bars {
  display: none;
}

header .profile-img {
  border: 1px solid white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 996px) {
  .bars {
    display: block !important;
  }

  .left-links {
    width: 100%;
    justify-content: space-between;
  }

  .right-links {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bs-primary);
    z-index: 1;
    flex-direction: column-reverse;
    justify-content: flex-end;
    padding: 24px 10px;
  }

  .right-links.d-flex {
    display: flex !important;
  }

  .dropdown.right-menu-links {
    width: 100%;
  }

  .dropdown.right-menu-links .dropdown-menu {
    display: block;
    position: relative;
    z-index: 1;
    background-color: transparent;
    width: 100%;
    border: none;
    text-align: center;
  }

  .dropdown.right-menu-links .dropdown-menu li a {
    padding: 12px 0;
    font-size: 24px;
    color: var(--bs-accent);
  }
}

.wizard {
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
}

.wizard .wizard-btn {
  font-size: 14px;
  border: none;
  background-color: transparent;
  outline: none;
  color: var(--dark1);
  margin-right: 8px;
  padding: 0;
  white-space: nowrap;
}

.wizard .wizard-btn span {
  font-size: 1rem;
  border-radius: 0.25rem;
  color: var(--dark1);
  padding: 3px 10px;
  margin-right: 8px;
  background-color: #ebebeb;
}

.wizard .wizard-btn.active {
  color: var(--accent);
}

.wizard .wizard-btn.active span {
  background-color: var(--accent);
  color: white;
}

/* Dashboard Style */
.portal-item {
  display: block;
  color: var(--primary);
  border-radius: 0.25rem;
  padding-top: 34px;
  padding-bottom: 34px;
  text-align: center;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
  background-color: white;
  transition: all 0.1s ease-in;
}

@media (max-width: 576px) {
  .portal-item {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

.portal-item:hover {
  box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.15);
  transform: scale(1.0125);
}

.portal-item:active {
  box-shadow: 0 0.188rem 0.3rem rgba(0, 0, 0, 0.1);
  transform: scale(1.00625);
}

table th,
table td,
.dataTables_paginate,
.dataTables_info {
  font-size: 0.8125rem;
}

.dataTables_filter {
  float: right;
}

.dataTables_filter input {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.dataTables_paginate .pagination {
  justify-content: flex-end;
}

.table-bordered > thead > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > tbody > tr > td {
  border: 1px solid #cfcfcf !important;
}

.table-bordered.table.dataTable {
  border: none !important;
}

.custom-select {
  padding: 0.25rem 1.75rem 0.25rem 0.375rem;
  height: auto;
}

/* Responsive DataTable */
table.dataTable > tbody > tr.child ul.dtr-details {
  display: inline-block;
  list-style-type: none;
  margin: 0;
  flex-wrap: wrap;
  padding: 0;
  display: flex !important;
  text-align: left;
  align-items: stretch;
}

table.dataTable > tbody > tr.child ul.dtr-details > li {
  padding: 0.25rem 0.375rem !important;
  background-color: #f0f0f0;
  margin: 0.25rem;
  border-radius: 2px;
  white-space: normal;
}

table.dataTable > tbody > tr.child ul.dtr-details > li span.dtr-data {
  display: block;
}

/* table.display.responsive.nowrap tbody tr td:first-child .form-check-input {
  top: -0.625rem;
} */

.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: unset !important;
  margin-left: unset !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
  border: 1px solid transparent !important;
  background: transparent !important;
}

table.dataTable.dtr-column > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-column > tbody > tr > th.dtr-control:before,
table.dataTable.dtr-column > tbody > tr > td.control:before,
table.dataTable.dtr-column > tbody > tr > th.control:before {
  left: 0 !important;
}

table thead tr th {
  vertical-align: middle !important;
}

table.dataTable.dtr-column > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-column > tbody > tr > th.dtr-control:before,
table.dataTable.dtr-column > tbody > tr > td.control:before,
table.dataTable.dtr-column > tbody > tr > th.control:before {
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0.25rem;
  display: inline-block !important;
  position: relative !important;
  background-color: var(--accent) !important;
  width: 0.8rem !important;
  height: 0.8rem !important;
}

table.dataTable.dtr-column > tbody > tr.parent td.dtr-control:before,
table.dataTable.dtr-column > tbody > tr.parent th.dtr-control:before,
table.dataTable.dtr-column > tbody > tr.parent td.control:before,
table.dataTable.dtr-column > tbody > tr.parent th.control:before {
  content: "-";
  background-color: var(--primary) !important;
}

/* table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
  background-image: none !important;
} */

/* Responsive DataTable End */

/* Custom CSS */
.btn-icon {
  width: 40px;
  height: 40px;
}

.btn-sm.btn-icon {
  width: 32px;
  height: 32px;
  padding: 0;
}

.modern-form-check .form-check {
  display: flex;
  align-items: center;
  padding-left: 0;
}

.modern-form-check .form-check-input {
  display: none;
  margin-top: 0;
}

.modern-form-check .form-check-input + label {
  position: relative;
  padding: 0.75rem 0.75rem 0.75rem 1.75rem;
  /* border: 1.5px solid rgb(207, 207, 207); */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  margin-bottom: 0;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.modern-form-check .form-check-input + label:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.modern-form-check .form-check-input:checked + label {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.modern-form-check .form-check-input + label::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(50%, -50%);
  content: "";
  width: 1em !important;
  height: 1em !important;
  background-repeat: no-repeat;
  vertical-align: top;
  background-position: center center;
  background-size: contain;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  appearance: none;
  -webkit-print-color-adjust: exact;
}

.modern-form-check .form-check-input:checked + label::before {
  background-color: #172130;
  border-color: #172130;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

span.multiselect-native-select .btn-group {
  transform: unset !important;
  left: unset !important;
  width: 100%;
  padding: 0;
}

span.multiselect-native-select .btn-group button {
  text-align: left !important;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

span.multiselect-native-select .btn-group > button {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chevron-bar-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M3.646 4.146a.5.5 0 0 1 .708 0L8 7.793l3.646-3.647a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 0 1 0-.708zM1 11.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center right 0.35rem;
  background-size: 0.875rem;
}

.selectize-control {
  min-height: 31px !important;
  padding-top: 0;
  padding-bottom: 0;
}

/* DataTables Style */

.dt-buttons {
  margin-bottom: 0.5rem !important;
}
.dataTables_filter label,
.dataTables_length label {
  margin-bottom: 0.5rem;
  margin-top: 0.25rem !important;
}

.dataTables_length label {
  margin-left: 0.5rem;
}

.dataTables_filter,
.dataTables_length {
  margin-top: 0 !important;
  display: inline-flex !important;
}

.dt-button.dropdown-item {
  position: relative;
}

.dt-button.dropdown-item.buttons-columnVisibility.active {
  background-color: unset !important;
  color: inherit !important;
}

.dt-button.dropdown-item.buttons-columnVisibility::before {
  position: absolute;
  left: 0.25rem;
  top: calc(50% + 2.5px);
  transform: translateY(-50%);
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-circle' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3C/svg%3E");
}

.dt-button-collection.dropdown-menu
.dt-button.dropdown-item.buttons-columnVisibility.active::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-check-circle' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M10.97 4.97a.235.235 0 0 0-.02.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-1.071-1.05z'/%3E%3C/svg%3E");
}

.dt-button-collection.dropdown-menu
.dt-button.dropdown-item.buttons-columnVisibility:first-child::before {
  content: "";
}

/* .chipContainer {
  height: 42px;
  cursor: text;
  overflow-y: auto;
  overflow-x: hidden;
}

.chips-main .data {
  background-color: white;
  padding: 1rem;
  border-radius: 0.25rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-height: 400px;
  overflow-y: auto;
}

.chips-main .data .data-list {
  padding-left: 0;
  margin-bottom: 0;
}

.chips-main .data .data-list li {
  list-style: none;
  position: relative;
  padding-left: 1.25rem;
  user-select: none;
  cursor: pointer;
}

.chips-main .data .data-list li::before {
  position: absolute;
  content: "";
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  border: 1px solid black;
  border-radius: 4px;
}

.chips-main .data .data-list li.selected::before {
  background-color: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23fff' class='bi bi-check' viewBox='0 0 16 16'%3E%3Cpath d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z'/%3E%3C/svg%3E");
  background-position: center center;
}

.chipContainer .badge span{
  cursor: pointer;
} */

.multiselect-container {
  max-height: 200px;
  overflow-x: -moz-hidden-unscrollable;
  overflow-y: auto;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  padding: 0;
  padding-bottom: 0.5rem !important;
}

.multiselect-container::-webkit-scrollbar-thumb {
  background-color: var(--accent);
}

.multiselect-filter {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 3;
  background-color: white;
}

.multiselect-container .multiselect-filter > input.multiselect-search {
  margin-left: 0 !important;
  padding-left: 0.5rem !important;
  border-bottom: 0 !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
}

.multiselect-container .multiselect-filter > i {
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
}

.search-by-customer {
  flex-basis: 500px;
}

@media screen and (max-width: 576px) {
  .search-by-customer {
    flex-basis: 100%;
  }
}

.import-data-steps li {
  position: relative;
}

.import-data-steps li::before {
  position: absolute;
  content: "";
  width: 15px !important;
  height: 15px !important;
  border-radius: 50%;
  left: 0;
  top: 0;
  background-color: var(--accent);
  transform: translate(-170%, 25%);
}

.page-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1032;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
}

.page-spinner .spinner-border {
  width: 15vw;
  height: 15vw;
  border-color: white;
  border-right-color: transparent;
}

/* .spinner-border {
  display: none;
} */

.spinner-border.btn-spinner {
  width: 1em !important;
  height: 1em !important;
  border-width: 0.125rem !important;
  position: relative;
  top: -0.125rem;
}

#accordion .card .card-header {
  position: relative;
}

#accordion .card .card-header h5::before {
  position: absolute;
  top: calc(1rem + 35%);
  right: calc(1rem);
  transform: translateY(-50%);
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chevron-up' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3E%3C/svg%3E");
}

#accordion .card .card-header h5.collapsed::before {
  position: absolute;
  top: calc(1rem + 35%);
  right: calc(1rem);
  transform: translateY(-50%);
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.login-security-type label {
  padding: 0.5rem 1rem 0.5rem 2rem;
  width: 100%;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid transparent;
}

.login-security-type input[type="radio"]:checked + label {
  background-color: white;
  border-radius: 4px;
  color: var(--accent);
  border-color: var(--accent);
}

.login-security-type label::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(50%, -50%);
  width: 1em;
  height: 1em;
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-square' viewBox='0 0 16 16'%3E%3Cpath d='M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z'/%3E%3C/svg%3E");
}

.login-security-type input[type="radio"]:checked + label::before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ff7f00' class='bi bi-check-square' viewBox='0 0 16 16'%3E%3Cpath d='M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z'/%3E%3Cpath d='M10.97 4.97a.75.75 0 0 1 1.071 1.05l-3.992 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.235.235 0 0 1 .02-.022z'/%3E%3C/svg%3E");
}

.dropdown-menu.filter-dropdown {
  min-width: 320px;
}

.dropdown-menu.filter-dropdown {
  max-height: 60vh;
  overflow-y: auto;
  overflow-x: hidden;
}

div.dt-button-info {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 320px;
  transform: translate(-50%, -50%);
  margin-top: 0;
  margin-left: 0;
  background-color: white;
  border: none;
  box-shadow: 3px 3px 8px rgb(0 0 0 / 30%);
  border-radius: 4px;
  text-align: center;
  z-index: 21;
}

div.dt-button-info h2 {
  padding: 0.5em;
  margin: 0;
  border-radius: 4px 4px 0 0;
  font-size: 1.25rem;
  color: white;
  font-weight: 500;
  border-bottom: 1px solid #ddd;
  background-color: var(--primary);
}

div.dt-button-info > div {
  padding: 1em 0.75rem;
  font-size: 1rem;
}

/* .main-menu .navigation li.has-sub > a:not(.mm-next):after {
  display: inline-block;
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 20.25px;
  width: 0.875rem;
  height: 0.875rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chevron-right' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-position: center center;
  background-size: 0.875rem 0.875rem;
  transform: rotate(0deg) translate(-50%, -50%);
  transition: transform 0.2s ease-in-out;
}

.main-menu .navigation li.open > a:not(.mm-next):after {
  transform: rotate(90deg) translate(-50%, 50%);
} */
.saee-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
  white-space: nowrap;
}

.saee-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.saee-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 34px;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.saee-switch .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 2px;
  border-radius: 50%;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.saee-switch .text {
  margin-left: 52px;
  cursor: pointer;
}

.saee-switch input:checked + .slider {
  background-color: var(--accent);
}

.saee-switch input:disabled + .slider,
.saee-switch input:disabled + .text {
  opacity: 0.4;
  cursor: auto;
}

.saee-switch input:focus + .slider {
  box-shadow: 0 0 1px var(--accent);
}

.saee-switch input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

/* Fulfillment CSS */
.product_thumbnail {
  max-width: 40px;
  max-height: 40px;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  [data-menu="vertical-menu-modern"] .header-navbar.navbar-with-menu .navbar-container {
    display: flex !important;

  }
  .nav-item img.round {
    width:auto !important;
  }
}
