body {
  background: var(--fpContainerBackground);
}
body .rightSide {
  height: 100%;
  padding: 0 !important;
}
/* .floorplanContainer {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: row;
  background: var(--fpContainerBackground);
  color: var(--fpColorText);
} */

.floorplanContainer {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: row;
  /* background: var(--fpContainerBackground); */
  color: var(--fpColorText);
  overflow: hidden;
}

.floorplanContainer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/wp-content/uploads/images/page-bg/contact_bg.webp")
    center/cover no-repeat;
  filter: blur(10px);
  z-index: 0;
}

.floorplanContainer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 1;
}

.floorplanContainer > * {
  position: relative;
  z-index: 2;
}

.floorplanContainer[data-loading] > div {
  opacity: 0.5 !important;
  pointer-events: none !important;
}

.floorplanBackToAllUnits,
.buttonSecondary.floorplanBackToAllUnits {
  margin: 1.5rem 0 0 1rem;
  z-index: 1;
  display: none;
  width: fit-content;
  position: absolute;
  background-color: transparent !important;
  color: var(--color-primary);
}

.floorplanBackToAllUnits:hover {
  color: var(--color-secondary) !important;
}

main[data-page-url="floor-plan-viewer"] .floorplanBackToAllUnits,
main[data-page-url="floor-plan-viewer"]
  .buttonSecondary.floorplanBackToAllUnits {
  margin: 4rem 0 0 1rem;
}

.fpDownloadButton a {
  background-color: var(--color-secondary);
  color: var(--color-white) !important;
  margin: auto;
}

.floorplanBackToAllUnits i {
  font-size: 1rem;
  margin-right: 0.3rem;
  vertical-align: middle;
  color: lightgray !important;
}

/* Units */
.unitsControl,
.unitsContainer {
  position: relative;
  top: 0;
  height: 100%;
}
.unitsControl {
  width: auto;
  left: 0;
  display: flex;
  overflow-y: auto;
}
.unitsControl > div {
  position: relative;
}
.unitsContainer {
  width: var(--fpUnitsWidth);
  right: 0;
  overflow: hidden;
}
.unitsContainer > svg {
  width: 100%;
  height: 100%;
  padding: 6.5rem 3rem 5rem 3rem;
}
.unitsContainer #units > * {
  transition: all 0.2s ease;
  fill-opacity: 0.6;
  cursor: pointer;
  mix-blend-mode: screen;
  fill: #000;
}
body.hasHover .unitsContainer #units > *:hover {
  fill-opacity: 1;
}
/* Units */

/* Legend */
.unitsControl .legend {
  width: var(--fpLegendWidth);
  height: 100%;
  padding: 0 0.5rem;
  /* border-right: solid 1px var(--fpColorVerticalLine); */
  /* margin-left: 4rem; */
}
.unitsControl .legend .disclaimer {
  font-size: 0.8em;
  opacity: 0.7;
  user-select: none;
  transition: opacity 0.2s;
  padding: 0 1rem;
  position: absolute;
  bottom: 4rem;
  color: var(--color-tertiary-30);
}
.unitsControl .legend .disclaimer:hover {
  opacity: 1;
}

/* .fpDownloadButton {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
} */

/* Specs */
.unitsControl .legend .spec {
  flex-wrap: wrap;
  display: flex;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 1s ease;
}
.unitsControl .legend .spec.active {
  height: auto;
  opacity: 1;
}

.unitsControl .legend .spec .statusValue {
  width: auto !important;
  padding: 0;
  border-radius: 1rem;
  margin-left: auto;
  font-family: var(--font-header);
  font-weight: var(--font-weight-bold) !important;
  font-size: max(0.9rem, 12px) !important;
}

.unitsControl .legend .spec > div {
  padding: 0.65rem;
  position: relative;
  width: 100%;
  border-bottom: solid 1px var(--fpColorSpecsLines);
  display: flex;
  color: var(--fpColorText);
  opacity: 0.8;
  transition: 0.2s;
  font-family: var(--font-body);
  font-weight: var(--font-weight-light);
}

body.hasHover .unitsControl .legend .spec > div:hover {
  color: #ffffff;
  /* transition: none; */
  /* background-color: #ffffff30; */
  user-select: none;
}
.unitsControl .legend .spec > div > div {
  width: 50%;
  position: relative;
}

.unitsControl .legend .spec > div > div:nth-child(2n + 0) {
  text-align: right;
  font-size: max(0.8rem, 12px);
  color: white;
  font-weight: var(--font-weight-medium);
}

.unitsControl .legend .spec > div > div:nth-child(2n + 1) {
  font-weight: 400;
  white-space: nowrap;
  font-size: max(0.8rem, 12px);
}
/* Specs */

/* Switcher */
.switcher {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 100%;
  align-items: center;
  margin-bottom: max(2rem, 20px);
  margin-top: max(1rem, 16px);
}

.main[data-page-url="floor-plan-viewer"] .switcher {
  margin-top: 4rem;
}

.switcher .switcherNumber {
  font-size: max(1.75rem, 20px);
  padding: 0.5em 0;
  color: var(--color-tertiary);
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-header);
  min-width: 86px;
  width: fit-content;
  text-align: center;
}
.switcherButton {
  width: 4rem;
  height: 2rem;
  border-radius: 4px;
  transition: var(--fpButtonHoverTransition);
  cursor: pointer;
  box-shadow: var(--fpButtonOutline);
  position: relative;
}
.switcherButton.disabled {
  pointer-events: none;
  opacity: 0.5;
}
.switcherButton:before {
  content: "";
  background-image: var(--fpNextButtonIcon);
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.switcherButton:nth-child(1):before {
  background-image: var(--fpPrevButtonIcon);
}
body.hasHover .switcherButton:hover {
  background: var(--fpButtonHoverBackground);
  box-shadow: var(--fpButtonHoverOutline);
}
/* Switcher */
/* Legend */

/* Levels */
.unitsControl .levels {
  display: none;
  flex-direction: column;
  width: var(--fpLevelsWidth);
  height: 100%;
  justify-content: space-evenly;
  overflow: hidden;
  padding: 6rem 0;
  align-items: flex-start;
  user-select: none;
}

.status-available {
  fill: green !important;
}

.status-reserved {
  fill: #2323d2 !important;
}

.status-under-offer {
  fill: orange !important;
  /* pointer-events: none; */
}

.status-sold,
.status-leased {
  fill: red !important;
  /* pointer-events: none; */
}

.statusValue[data-value="available"] {
  color: #28a745 !important;
}

.statusValue[data-value="reserved"],
.statusValue[data-value="under-offer"] {
  color: #ffc107 !important;
}

.statusValue[data-value="sold"],
.statusValue[data-value="leased"] {
  color: #dc3545 !important;
}

.statusValue[data-value="pending"] {
  color: #17a2b8 !important;
}

.statusValue[data-value="unavailable"] {
  color: #6c757d !important;
}

.filterItem[data-filter="all"] i {
  box-shadow:
    0 0 0 2px #6c757d,
    0 0 0 2px;
}

.filterItem[data-filter="available"] i {
  box-shadow:
    0 0 0 2px #28a745,
    0 0 0 2px;
}

.filterItem[data-filter="reserved"] i {
  box-shadow:
    0 0 0 2px #075eff,
    0 0 0 2px;
}

.filterItem[data-filter="under-offer"] i {
  box-shadow:
    0 0 0 2px #ffc107,
    0 0 0 2px;
}

.filterItem[data-filter="sold"] i {
  box-shadow:
    0 0 0 2px #dc3545,
    0 0 0 2px;
}
.filterItem[data-filter="leased"] i {
  box-shadow:
    0 0 0 2px #dc3545,
    0 0 0 2px;
}

.unitsControl .levels > div {
  position: relative;
  color: var(--fpColorText);
  height: auto;
  width: 100%;
  text-align: center;
  flex-grow: 1;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition:
    background-color 0.2s ease,
    opacity 0.3s;
  font-family: var(--font-body);
}
.unitsControl .levels > div.disabled {
  opacity: 0.5;
  pointer-events: none;
}
body.hasHover .unitsControl .levels > div:hover {
  background-color: var(--fpColorUnitHover);
  transition: background-color 0s ease;
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
}

/* .unitsControl .levels > div.active{
    background-color: var(--fpColorUnitActive);
} */

.unitsControl .levels > div.active {
  background-color: var(--fpColorUnitActive);
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
}

/* Levels */

/* Filters */
.filters {
  display: flex;
  flex-direction: column;
  gap: max(1.2rem, 14px);
  margin-top: 1.25rem;
  padding-left: 0.5rem;
}

.filterContainer {
  display: flex;
  justify-content: start;
  /* padding: 1rem 0.5rem; */
  font-family: var(--font-body);
  font-size: max(1rem, 16px);
  margin-bottom: max(1.2rem, 14px);
  flex-direction: column;
}

.filterTitle {
  font-size: max(1rem, 16px);
  font-weight: var(--font-weight-semibold);
  font-family: var(--font-header);
}

.filterContainer .filterItem {
  color: var(--fpColorText);
  transition: all 0.2s;
  cursor: pointer;
  user-select: none;
  text-align: left;
  font-size: max(0.9rem, 14px);
  display: flex;
  align-items: center;
  padding-left: 0.75rem;
}

.filterContainer .filterItem i {
  display: inline-block;
  width: max(0.9rem, 14px);
  height: max(0.9rem, 14px);
  border-radius: 50%;
  margin-right: max(0.5rem, 8px);
  vertical-align: middle;
  /* box-shadow: 0 0 0 2px var(--fpColorTextActive),
    0 0 0 2px inset var(--fpContainerBackground); */
}

.filterItem.active[data-filter="all"] i {
  background-color: var(--fpColorText);
}

.filterItem.active[data-filter="available"] i {
  background-color: var(--fpColorStatus_available);
}

.filterItem.active[data-filter="under-offer"] i {
  background-color: var(--fpColorStatus_under-offer);
}

.filterItem.active[data-filter="reserved"] i {
  background-color: var(--fpColorStatus_reserved);
}

.filterItem.active[data-filter="sold"] i {
  background-color: var(--fpColorStatus_sold);
}
.filterItem.active[data-filter="leased"] i {
  background-color: var(--fpColorStatus_leased);
}

body.hasHover .filterContainer .filterItem:hover,
.filterContainer .filterItem.active {
  color: var(--fpColorTextActive);
}
/* Filters */
