:root {
  --orange: #e49424;
  --mainText: "Manrope", Sans-serif;
  --secondText: "DM Sans";
  --mgbottom: 40px;
  --font24: 24px;
  --font14cap: 14px;
}

div.subtitle_text * {
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 4.32px;
  text-transform: uppercase;
}

.aspet_43 img {
  aspect-ratio: 4/3;
}

.main_image img {
  width: 100%;
  height: 300px !important;
  object-fit: contain;
  object-position: center;
}

.thumbnail_gallery {
  display: flex !important;
}

.thumbnail_gallery .elementor-image-gallery {
  width: 100%;
}

.thumbnail_gallery .gallery {
  display: flex !important;
  width: 100%;
  flex-wrap: wrap;
  flex-direction: row;
}

.thumbnail_gallery img {
  cursor: pointer;
  transition: border-color 0.3s ease;
  max-width: 109px;
  max-height: 90px;
  object-fit: contain;
  object-position: center;
  background-color: #f1f0ea;
}

.thumbnail_gallery figure.gallery-item {
  max-width: max-content !important;
}

.thumbnail_gallery img.active {
  border-color: #e49424 !important;
}

.thumbnail_gallery figure {
  box-shadow: unset !important;
}

.btn_icon .elementor-button-content-wrapper {
  align-items: center;
}

.btn_icon svg {
  width: 19px !important;
  height: 19px !important;
  transition: transform 0.3s ease;
}

.btn_icon:focus svg,
.btn_icon .elementor-button:focus svg,
.btn_icon:hover svg {
  transform: translateX(4px);
  fill: transparent !important;
}

.btn_icon._white .elementor-button:focus svg path,
.btn_icon._white:hover svg path {
  stroke: var(--orange) !important;
}

.btn_icon.black_to_white .elementor-button:focus svg path,
.btn_icon.black_to_white:hover svg path {
  stroke: white !important;
}

.floorplans_container.hidden {
  opacity: 0;
}

a.pdf_file[href="#"] {
  display: none !important;
}

/* body:not(.elementor-editor-active) .posession_popup_container {
  opacity: 0 !important;
  transform: scale(0.95) !important;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease !important;
}

body:not(.elementor-editor-active) .posession_popup_container.show {
  opacity: 1 !important;
  transform: scale(1) !important;
} */

body:not(.elementor-editor-active) .posession_popup_container {
  opacity: 1 !important;
  pointer-events: none;
}

/* Loading spinner */
body:not(.elementor-editor-active) .posession_popup_container::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border: 3px solid #ddd;
  border-top-color: #d09535;
  border-radius: 50%;
  animation: popup-spinner 0.7s linear infinite;
  z-index: 4;
}

body:not(.elementor-editor-active) .posession_popup_container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255);
  z-index: 1;
}

/* Loaded state */
body:not(.elementor-editor-active) .posession_popup_container.show {
  opacity: 1 !important;
  pointer-events: auto;
}

/* Hide spinner when loaded */
body:not(.elementor-editor-active) .posession_popup_container.show::before,
body:not(.elementor-editor-active) .posession_popup_container.show::after {
  display: none;
}

@keyframes popup-spinner {
  to {
    transform: rotate(360deg);
  }
}

/* .detail_possesion {
  display: none !important;
  position: fixed !important;
  inset: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
}

.detail_possesion.is-open {
  display: block !important;
} */

.map_container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.map_filter_container {
  gap: 10px;
  width: 100%;
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  margin-block-start: 0;
  padding: 0 !important;
  margin: 0 0 var(--mgbottom) 0 !important;
}

.flex-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.map_filter_container a {
  font-size: 14px !important;
  border-radius: 100px;
  border: 1px solid #e4942400;
  padding: 10px;
  margin-right: 6px;
  color: black !important;
}

.map_filter_container a:hover,
.map_filter_container a.active {
  color: #e49424 !important;
  border-color: #e49424;
}

#location-list {
  width: 30%;
  gap: 10px;
  align-content: flex-start;
}

#map {
  width: 70%;
}

.location-card {
  width: 90%;
  padding: 16px 20px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  border: 1px solid #b7b7b7;
  border-radius: 10px;
  background: #fff;
  gap: 15px;
  max-height: max-content;
}

.location-card-main {
  display: flex;
  flex-direction: column;
}

.location-card-category {
  margin-bottom: 5px;
  color: #e49424;
  font-size: var(--font14cap);
  line-height: 1.2;
  font-family: var(--mainText) !important;
  text-transform: uppercase;
}

.location-card-title {
  margin-bottom: 8px;
  color: #111;
  font-size: var(--font24);
  line-height: 1.15;
  font-family: var(--mainText) !important;
}

.location-card-distance {
  color: #555;
  font-size: 14px;
  line-height: 1.2;
}

.location-card-address {
  max-width: 90px;

  color: #555;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 400;
}

.location-popup {
  width: 280px;
  overflow: hidden;
  background: #fff;
}

.location-popup-image {
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.location-popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.location-popup-content {
  padding: 15px;
}

.location-popup-content h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.location-popup-address {
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.4;
}

.location-popup-description {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.location-popup-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.gm-style-iw-d .location-card {
  width: 100%;
  border: none;
  padding: 0;
}
.gm-style-iw-d .location-card-main {
  max-width: 300px;
}

#location-list .location-card {
  cursor: pointer;
  transition:
    border-color 0.4s ease,
    background-color 0.4s ease;
}

#location-list .location-card:hover,
#location-list .location-card.active {
  border-color: #e49424;
  background-color: #e494240d;
}

.community_button_container {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
}

.community_button_container .elementor-widget-shortcode {
  display: flex;
  flex: 1;
}

.community_button_container .elementor-shortcode {
  display: flex;
  flex: 1;
}

.community_button_container .community_buttons {
  display: flex;
  flex: 1;
  width: 100%;
}

@media (max-width: 1366px) {
  :root {
    --mgbottom: 30px;
  }
}

@media (max-width: 1024px) {
  :root {
    --mgbottom: 20px;
    --font24: 20px;
    --font14cap: 12px;
  }

  .location-card {
    flex-direction: column;
    gap: 0;
    padding: 16px 10px;
  }

  .location-card-address {
    max-width: 100%;
  }
}

@media (max-width: 724px) {
  #map {
    width: 100%;
  }

  #location-list {
    display: none;
  }
}
