/*DROPDOWN MENU CSS*/

.searchAndFilter .filter-title {
  font-weight: 600;
  color: #222;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
}

.searchAndFilter .filter-title:hover {
  color: #0d6efd;
}

.searchAndFilter #unitOperator,
.searchAndFilter #filterCustomer {
  font-size: 12px !important;
}

.searchAndFilter #unitValue {
  font-size: 12px !important;
}

.searchAndFilter .dropdown-menu {
  border-radius: 8px;
  border: 1px solid #ddd;
}

.searchAndFilter .dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: middle;
}

.searchAndFilter .filter-item .ts-wrapper {
  width: 100%;
}

.searchAndFilter .filter-item .ts-dropdown {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  border: 1px solid #dee2e6;
  border-top: none;
  box-shadow: none;
}

.searchAndFilter .filter-item .ts-dropdown-content {
  max-height: none !important;
  overflow-y: visible !important;
}

/*CUSTOM FONT SIZE*/
.fs-14 {
  font-size: 14px;
}

#locationsListContainer {
  max-height: 450px;
  overflow-y: auto;
}

#activityCardsHolder {
  max-height: 900px;
  overflow-y: auto;
}

.border-bottom-2px {
  border-bottom: 2px solid #00000085 !important;
}

#accountDetailsForm .ts-control {
  padding: 0px !important;
  border: none !important;
}
#accountDetailsForm input,
#accountDetailsForm select,
#accountDetailsForm .ts-wrapper {
  border-radius: 6px;
}

#locationsListHolder .card,
#activityListing .card {
  border: 1px solid #ccc !important;
}

#activityListing .list-group-item {
  border-top-width: 1px !important;
  cursor: pointer;
}

#accountDetailsForm .card-header h6 {
  margin-left: -15px;
}

.location-card {
  border: 1px solid #cfd6dd;
  border-left-width: 4px;
  border-left-color: transparent;
  transition:
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    border-left-color 0.15s ease,
    background-color 0.15s ease;
}
.location-card:hover {
  border-left-color: #9fb7cf;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 2px 6px rgba(0, 0, 0, 0.08);
}
.location-card-active {
  border-color: #0d6efd !important;
  border-left-color: #0d6efd !important;
  box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
  background-color: rgba(13, 110, 253, 0.04);
}
.location-edit-btn {
  line-height: 1;
}
.location-card-title {
  min-width: 0;
}
.location-inline-link {
  text-decoration: underline dotted;
  text-underline-offset: 2px;
}
.location-inline-link:hover {
  color: #0d6efd;
}
/* Bootbox modal header close button visibility */
.bootbox .modal-content {
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  overflow: hidden;
}

.bootbox .modal-header {
  position: relative;
  background: #f2f2f2;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-right: 3rem;
}

.bootbox .modal-header .btn-close,
.bootbox .modal-header button.close {
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  visibility: visible !important;
  position: absolute !important;
  right: 0.9rem !important;
  top: 0.7rem !important;
  z-index: 10;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  font-size: 1.5rem;
  line-height: 1;
  color: #000;
  padding: 0;
}

.bootbox .modal-header .btn-close::before,
.bootbox .modal-header button.close::before {
  content: "×";
  display: block;
  transform: translateY(-1px);
}

.bootbox .modal-header .btn-close span,
.bootbox .modal-header button.close span {
  display: none;
}

.bootbox .modal-header .btn-close:hover,
.bootbox .modal-header button.close:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
