/* Small additions on top of the original WordPress CSS (wp-original.css). */

/* Placeholder where an original post image could not be recovered from any archive. */
.vc-missing-image {
  display: block;
  width: 100%;
  aspect-ratio: 555 / 442;
  background: #e9ebf3;
}

/* Honeypot field on the contact forms. */
.vc-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

/* Map panel of the half-map results template (the original used a Leaflet map). */
.vc-map-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
}
.half-map-sec #sw_map_results {
  height: 100%;
}

/* Reconstructed listing pages (/listing-preview/<slug>/): the theme floats these blocks. */
.property-single-pg > .container::after {
  content: "";
  display: table;
  clear: both;
}
.vc-listing-gallery {
  width: 100%;
  margin-bottom: 40px;
}
.vc-listing-gallery .property-main-img img {
  height: 620px;
  object-fit: cover;
}
.vc-listing-gallery .property-thumb-imgs {
  margin-top: 15px;
}
.vc-listing-gallery .property-thumb-imgs .col-4 {
  margin-bottom: 15px;
}
.vc-listing-gallery .property-thumb-imgs img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  opacity: 0.7;
}
@media (max-width: 767px) {
  .vc-listing-gallery .property-main-img img {
    height: 300px;
  }
  .vc-listing-gallery .property-thumb-imgs img {
    height: 80px;
  }
}
.vc-listing-gallery .property-thumb-imgs img.active {
  opacity: 1;
}

/* Form status messages. */
.elementor-form .elementor-message {
  margin-top: 10px;
}

/* On the original page Font Awesome 4 was loaded after Font Awesome 5, so ".fa" icons used FA4. */
.fa {
  font-family: FontAwesome;
  font-weight: normal;
}
.fa-facebook-f:before {
  content: "\f09a";
}

/* The original theme script offset the half-map template by the height of the fixed header. */
.half_map .half-map-sec {
  margin-top: 105px;
}
.half_map #map-container {
  top: 105px;
}
