label {
  color: #585858;
}

.btn-xs {
  padding: 0.115rem 0.25rem;
  font-size: .675rem;
}

.dropdown-item {
  padding: 0.5rem 1rem;
}

.dropdown-item.active,
.dropdown-item:active {
  color: #333333;
  background-color: transparent;
}

.rbt-aux .rbt-close {
  border: none !important;
  background: none !important;
}

.dropdown-menu {
  border: none !important;
  border-radius: 4px !important;
  box-shadow: 0 2px 4px -1px rgb(0 0 0 / 20%), 0 4px 5px 0 rgb(0 0 0 / 14%), 0 1px 10px 0 rgb(0 0 0 / 12%) !important;
}

.dropdown-menu span {
  padding: 4px 12px;
}

.dropdown-item {
  display: flex;
  align-items: center;

  span {
    padding: 0 12px;
  }
}


.modal-content {
  border: none !important;
  border-radius: 4px !important;
}


.modal-dialog-scrollable .modal-content>form {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.modal-dialog-scrollable .modal-content>form {
  max-height: 100%;
  overflow: hidden;
}

.card {
  border: 0 !important;
  -webkit-box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%) !important;
  box-shadow: 0 0.125rem 0.25rem rgb(0 0 0 / 8%) !important;
}

.offcanvas-backdrop.show {
  opacity: 0 !important;
}

.list-group-item {
  border: none !important;
}

table.datatable {
  border-collapse: collapse;
}

.datatable.table> :not(:last-child)> :last-child>* {
  border-bottom-color: #d1d2d5;
}

.datatable.table-hover>tbody>tr:hover {
  --bs-table-accent-bg: #f9f9f9 !important;
}

.datatable thead {
  background-color: #f5f5f5;

  th {
    font-weight: 400;
    color: grey;
    padding: 8px 16px !important;
  }
}

.datatable tbody {
  td {
    padding: 4px 16px !important;
  }
}

table.datatable-sm {
  border-collapse: collapse;
}

.table.datatable-sm> :not(:last-child)> :last-child>* {
  border-bottom-color: #d1d2d5;
}

.datatable-sm.table-hover>tbody>tr:hover {
  --bs-table-accent-bg: #f9f9f9 !important;
}

.datatable-sm thead {
  background-color: #f5f5f5;

  th {
    font-weight: 400;
    color: grey;
    padding: 6px 8px !important;
    font-size: 13px !important;
  }
}

.datatable-sm tbody {
  td {
    padding: 4px 8px !important;
    font-size: 13px !important;

    .btn {
      padding: 0.5px 4px;
      line-height: 0.6;
      color: grey;
      border: 1px solid #dee2e6;
      height: 16px;
    }
  }
}

.datatable-sm input {
  font-size: 13px;
  padding: 1px 8px;
  line-height: 1;
  min-height: 18px;
}

.toast-container {
  position: fixed !important;
  bottom: 56px !important;
  left: 50% !important;
  -webkit-transform: translateX(-50%) !important;
  transform: translateX(-50%) !important;
  padding: 1.5rem !important;
  z-index: 1070 !important;
}

.dropdown-menu {
  font-size: 0.875rem !important;
}


.modal-backdrop.show {
  opacity: 0.15;
}

.modal-header {
  border-bottom: none;
}

.modal-footer {
  border-top: none;
}

.modal-content {
  box-shadow: 0 0rem 2rem rgb(0 0 0 / 20%), 0 1rem 1rem rgb(0 0 0 / 15%);

}

@media (max-width: 576px) {
  .modal-content {
    margin: 0 2.5rem;
  }

  .modal-fullscreen>.modal-content {
    margin: 0;
  }
}

.btn-none {
  padding: 0;
  outline: none;
  border: none;
  background-color: transparent;
}

.btn-none :focus {
  outline: none;
}

.modal-fullscreen .modal-content form {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.dropdown-item {
  white-space: unset;
}

.active {
  background-color: var(--bs-primary-bg-subtle);
}

.form-control-fill {
  border: none;
  background-color: var(--bs-tertiary-bg);
  transition: background-color ease-in-out 0.3s;
}

.form-control-fill:focus {
  border: none;
  background-color: var(--bs-secondary-bg);
}

.form-control-underline {
  border: none;
  border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
  border-radius: 0;
}

.form-control-underline:focus {
  border-color: var(--bs-primary);
}

.placeholder {
  background-color: #d1d1d1;
}

.btn {
  padding-left: 16px;
  padding-right: 16px;
}

.dropdown-menu {
  max-height: 480px;
  overflow-y: auto;
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
  border-color: transparent;
}

.xx-large,
.fs-xx-large {
  font-size: xx-large;
}

.x-large,
.fs-x-large {
  font-size: x-large;
}

.large,
.fs-large {
  font-size: large;
}

.medium,
.fs-medium {
  font-size: medium;
}

.small,
.fs-small {
  font-size: small;
}

.smaller,
.fs-smaller {
  font-size: smaller;
}

.x-small,
.fs-x-small {
  font-size: x-small;
}

.xx-small,
.fs-xx-small {
  font-size: xx-small;
}

.btn-white {
  background-color: white;
}

.btn-light {
  --bs-btn-hover-bg: #f5f5f5;
  --bs-btn-hover-border-color: #d3d4d5;
}

.dropdown-menu {
  max-height: 50vh;
}

.modal-body .dropdown-menu {
  --bs-dropdown-zindex: 2000;
}