/**
* Theme Name: WP Pro Real Estate 7 Child
* Description: This is a child theme of WP Pro Real Estate 7, generated by Real Estate 7.
* Author: <a href="https://www.contempothemes.com/">Contempo Themes</a>
* Template: realestate-7
* Version: 3.5.4
*/

.app-theme-features {
  --app-theme-color: #7b8d65;
  --app-transition-duration: 0.5s;
}

.additional-fetaures-list:not(.columns) {
  display: block;
}

.additional-fetaures-list.columns {
  columns: 1;
}

.af-list-ite {
  padding: 1rem;
}

.listing-item-content {
  display: block;
}

.display-posts-listing {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: stretch;
  margin-inline-start: -8px;
  margin-inline-end: -8px;
}

.display-posts-listing > .listing-item {
  width: 100%;
  margin-bottom: 20px;
  flex: 0 0 100%;
  padding-inline: 8px;
}

.heading-section {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 700 !important; /* Actually wan't to use !important here, but default style already use important flag */
}

.section-content {
  padding: 30px;
}

.listing-item-title {
  font-size: 1rem;
  line-height: 1.3em;
  margin-top: 0;
  transition: color var(--app-transition-duration) ease-in-out;
}

.listing-item-thumbnail-wrapper {
  position: relative;
  width: 100%;
  padding-top: 107%;
  overflow: hidden;
}

.listing-item-thumbnail-wrapper .inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.listing-item-thumbnail-wrapper .inner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing-item-title:hover {
  color: var(--app-theme-color);
}

.listing-item-price {
  display: block;
  color: white;
  text-align: left;
  line-height: 1em;
}

.listing-thumbnail-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  /* background-color: rgba(0, 0, 0, 0.25); */
  color: white;
  font-size: 14px;
  text-align: center;
}

.listing-thumbnail-caption-type {
  text-align: left;
  margin: 0;
  line-height: 1em;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
  margin-top: 0.2rem;
}

.listing-item-price .listing-price {
  color: white;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
  font-size: 14px;
}

.listing-media {
  position: relative;
}

.listing-item-details-location {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #8c9093;
  margin-bottom: 0.15rem;
  line-height: 1.3em;
}

.listing-additional-details {
  display: flex;
  flex-direction: row;
  margin-bottom: 0.5rem;
}

.listing-additional-details-label {
  font-weight: 600;
  color: #333;
  margin-right: 1rem;
  flex: 1;
  max-width: 130px;
}
.listing-additional-details-value {
  color: #555;
  flex: 0 0 calc(100% - 130px);
  max-width: calc(100% - 130px);
}
@media screen and (min-width: 500px) {
  .display-posts-listing > .listing-item {
    flex: 0 0 50%;
  }
}

@media screen and (min-width: 1024px) {
  .additional-fetaures-list:not(.columns) {
    display: flex;
    flex-wrap: wrap;
    margin-inline: -16px;
    /* gap: 20px; */
  }
  .additional-fetaures-list:not(.columns) > .listing-additional-details {
    flex: 0 0 33%;
    max-width: 33%;
    margin-bottom: 30px;
    justify-content: flex-start;
    padding-inline: 16px;
  }
  .display-posts-listing > .listing-item {
    flex: 0 0 25%;
  }

  .heading-section {
    font-size: 24px;
  }
  .additional-fetaures-list.columns {
    columns: 2;
  }
}
@media screen and (min-width: 1440px) {
  .display-posts-listing > .listing-item {
    flex: 0 0 25%;
  }
  .additional-fetaures-list.columns {
    columns: 3;
  }
}
.leaflet-popup-tip-container {
  bottom: -20px;
}

.listing-location {
  margin-top: 40px;
}