.listing-tabs .nav-tabs .nav-link {
  min-width: 100px;
}
.listing-tabs .nav-justified .nav-item {
  flex-grow: unset;
}
#project-tab-content {
  margin: 20px 0 0 0;
}

/*Similar Properties*/
#property-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.property-item {
  display: flex;
  border-radius: 5px 24px 24px 24px;
  overflow: hidden;
  max-height: 150px;
  background-color: #ffffff;
}
.item-image-wrapper {
  width: 245px;
}
.item-prop-information {
  width: calc(100% - 245px);
  padding: 10px 20px;
  position: relative;
}
ul.item-prop-amenities {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 15px;
  margin: 20px 0 0 0;
}
ul.item-prop-amenities li {
  display: flex;
  align-items: center;
  line-height: 1;
}
.item-prop-amenities .iw-icon {
  margin-top: -10px;
}
.item-image-wrapper img {
  height: 150px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.property-item h3.item-title {
  font-size: 18px;
  margin: 0;
}
.item-prop-title {
  margin-top: 10px;
}
.item-prop-price {
  position: absolute;
  top: 20px;
  right: 20px;
  font-weight: 700;
}
span.item-prop-status-label {
  font-size: 16px;
  line-height: 1;
  font-weight: 300;
  margin: 0;
  padding: 10px 20px;
  color: #1d1e1c;
  border-radius: 24px;
  background-color: #ffffff;
  border: 1px solid #dce0e0;
  display: inline-block;
}
.detail-property {
  position: absolute;
  right: 20px;
  bottom: 10px;
  display: flex;
}
.icon-floorplan:before {
  content: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNS4wMyAyNC45NyI+PHRpdGxlPkljb25fZmxvb3JwbGFuX2JsYWNrPC90aXRsZT48cGF0aCBkPSJNMC0uMDVWMjVIMjV2LTI1Wk0yLDIzVjE1SDRWMTNIMlYxLjk1aDkuNjlWNC43M2gyVjEuOTVIMjNWMTNIMTMuNjlWOS43M2gtMlYxM0g5djJIMjNWMjNaIi8+PC9zdmc+);
  display: inline-block;
  width: 18px;
  height: 18px;
}
a.detail-property-btn {
  background-color: #ffffff;
  border: 1px solid #dce0e0;
  color: #1d1e1c;
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 16px;
  line-height: 1;
}
a.detail-property-btn:hover {
  color: #1d1e1c;
}
.sorting-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px 0;
}
.sorting-buttons .sort {
  min-width: 100px;
  background-color: #ffffff;
  border: 1px solid #dce0e0;
  color: #1d1e1c;
  padding: 12px 24px;
  border-radius: 24px;
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -ms-flex-positive: 1;
  flex-grow: 1;
  text-align: center;
  font-size: 16px;
  position: relative;
}
.sorting-buttons .sort.active {
  color: #ffffff;
  background-color: #2d4751;
  border: 1px solid #2d4751;
}
span.sort-icon {
  position: absolute;
  top: 18px;
  right: 10px;
  width: 21px;
  height: 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='13' viewBox='0 0 21 13' fill='none'%3E%3Cpath d='M5.6327 0.800023C5.3827 0.550023 4.9727 0.550023 4.7227 0.800023L0.582695 4.94002C0.322695 5.19002 0.322695 5.60002 0.582695 5.86002C0.832695 6.11002 1.24269 6.11002 1.50269 5.86002L5.1827 2.18002L8.85269 5.86002C9.10269 6.11002 9.52269 6.11002 9.77269 5.86002C10.0227 5.60002 10.0227 5.19002 9.77269 4.94002L5.6327 0.800023ZM5.83269 12.96L5.83269 1.26002L4.5327 1.26002L4.5327 12.96L5.83269 12.96Z' fill='%231D1E1C' fill-opacity='0.5'/%3E%3Cpath d='M15.3275 12.7725C15.5775 13.0225 15.9875 13.0225 16.2375 12.7725L20.3775 8.63252C20.6375 8.38252 20.6375 7.97252 20.3775 7.71252C20.1275 7.46252 19.7175 7.46252 19.4575 7.71252L15.7775 11.3925L12.1075 7.71252C11.8575 7.46252 11.4375 7.46252 11.1875 7.71252C10.9375 7.97252 10.9375 8.38252 11.1875 8.63252L15.3275 12.7725ZM15.1275 0.612518L15.1275 12.3125L16.4275 12.3125L16.4275 0.612518L15.1275 0.612518Z' fill='%231D1E1C' fill-opacity='0.5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.sorting-buttons .sort.active[data-sortby="asc"] span.sort-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='13' viewBox='0 0 21 13' fill='none'%3E%3Cpath d='M5.6327 0.800023C5.3827 0.550023 4.9727 0.550023 4.7227 0.800023L0.582695 4.94002C0.322695 5.19002 0.322695 5.60002 0.582695 5.86002C0.832695 6.11002 1.24269 6.11002 1.50269 5.86002L5.1827 2.18002L8.85269 5.86002C9.10269 6.11002 9.52269 6.11002 9.77269 5.86002C10.0227 5.60002 10.0227 5.19002 9.77269 4.94002L5.6327 0.800023ZM5.83269 12.96L5.83269 1.26002L4.5327 1.26002L4.5327 12.96L5.83269 12.96Z' fill='white'/%3E%3Cpath d='M15.3275 12.7725C15.5775 13.0225 15.9875 13.0225 16.2375 12.7725L20.3775 8.63252C20.6375 8.38252 20.6375 7.97252 20.3775 7.71252C20.1275 7.46252 19.7175 7.46252 19.4575 7.71252L15.7775 11.3925L12.1075 7.71252C11.8575 7.46252 11.4375 7.46252 11.1875 7.71252C10.9375 7.97252 10.9375 8.38252 11.1875 8.63252L15.3275 12.7725ZM15.1275 0.612518L15.1275 12.3125L16.4275 12.3125L16.4275 0.612518L15.1275 0.612518Z' fill='white' fill-opacity='0.5'/%3E%3C/svg%3E");
}
.sorting-buttons .sort.active[data-sortby="desc"] span.sort-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='13' viewBox='0 0 21 13' fill='none'%3E%3Cpath d='M5.6327 0.800023C5.3827 0.550023 4.9727 0.550023 4.7227 0.800023L0.582695 4.94002C0.322695 5.19002 0.322695 5.60002 0.582695 5.86002C0.832695 6.11002 1.24269 6.11002 1.50269 5.86002L5.1827 2.18002L8.85269 5.86002C9.10269 6.11002 9.52269 6.11002 9.77269 5.86002C10.0227 5.60002 10.0227 5.19002 9.77269 4.94002L5.6327 0.800023ZM5.83269 12.96L5.83269 1.26002L4.5327 1.26002L4.5327 12.96L5.83269 12.96Z' fill='white' fill-opacity='0.5'/%3E%3Cpath d='M15.3275 12.7725C15.5775 13.0225 15.9875 13.0225 16.2375 12.7725L20.3775 8.63252C20.6375 8.38252 20.6375 7.97252 20.3775 7.71252C20.1275 7.46252 19.7175 7.46252 19.4575 7.71252L15.7775 11.3925L12.1075 7.71252C11.8575 7.46252 11.4375 7.46252 11.1875 7.71252C10.9375 7.97252 10.9375 8.38252 11.1875 8.63252L15.3275 12.7725ZM15.1275 0.612518L15.1275 12.3125L16.4275 12.3125L16.4275 0.612518L15.1275 0.612518Z' fill='white'/%3E%3C/svg%3E");
}
a.h-floorplan-btn {
  padding: 10px 20px;
  border-radius: 29px;
  border: 1px solid #d1d3e6;
  position: relative;
  display: inline-flex;
  overflow: hidden;
  background-color: #ffffff;
  font-size: 16px;
  color: #1d1e1c;
}
a.h-floorplan-btn:hover {
  color: #1d1e1c;
}

.overview-wrap .houzez-layout-row {
  display: flex;
}
.overview-wrap .list-unstyled {
  flex: unset;
  max-width: 150px;
  width: 100%;
}
#description .overview-wrap {
  margin-bottom: 30px;
}

.partial-ownership-overview {
  margin-top: 16px;
}
.content-wrap-style-boxed .block-title-wrap.description-title {
  margin-top: 30px;
}
#description_location-google-map {
  height: 500px;
  margin-top: 30px;
}
.tab-content.referenz .apartment-overview h3,
.tab-content.referenz .partial-ownership-overview h3 {
  font-weight: 300;
  font-size: 22px;
  font-family: "AvenirNext LT Pro", sans-serif;
}

.item-prop-price-per-m2 {
  position: absolute;
  right: 20px;
  top: 43px;
}
/*Pagination*/
.similar-property-wrap {
  position: relative;
}
.loading-posts {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 3;
  background-color: rgb(255 255 255 / 30%);
}
#pagination {
  margin-top: 60px;
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  justify-content: center;
}
#pagination .page-numbers {
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 6px;
  color: #8a0e12;
  border: 1px solid #ffffff;
}
#pagination .page-numbers.current {
  background-color: #ffffff;
  border: 1px solid #8a0e12;
}
@media (max-width: 1024px) {
  .tabsWrap {
    width: 100%;
  }
  .item-prop-price-per-m2 {
    top: 100px;
  }
  .sidebarWrap {
    display: none;
    padding: 0;
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    width: calc(100% - 40px);
    z-index: 40;
    margin: 0;
  }
  .sidebarWrap.active {
    display: block;
  }
}

@media (max-width: 859px) {
  .property-item {
    flex-direction: column;
    max-height: 100%;
  }
  .item-image-wrapper {
    width: 100%;
  }
  .item-prop-information {
    width: 100%;
    padding: 20px;
  }
  .p-floorplan a.h-floorplan-btn {
    padding: 10px;
    font-size: 14px;
  }
  .detail-property {
    position: relative;
    right: unset;
    left: unset;
    bottom: unset;
    display: flex;
    justify-content: space-between;
    margin: 20px 0 0 0;
  }
  a.detail-property-btn {
    line-height: normal;
  }
  ul.item-prop-amenities {
    display: flex;
    gap: 20px;
  }
  ul.item-prop-amenities li.p-room {
    max-width: 40px;
    width: 100%;
  }
  .item-image-wrapper img {
    height: 190px;
  }
  .sorting-buttons .sort {
    text-align: left;
    font-size: 14px;
  }
  span.sort-icon {
    top: 15px;
  }
  .overview-wrap .list-unstyled {
    flex: unset;
    max-width: 150px;
    width: 100%;
  }
  .overview-wrap .list-unstyled {
    max-width: 100%;
    width: 50%;
  }
  .overview-wrap .houzez-layout-row {
    flex-wrap: wrap;
    grid-column-gap: 0;
    grid-row-gap: 0;
  }
  .property-overview-data h3 {
    font-size: 20px;
  }
  .item-prop-price {
    position: relative;
    top: unset;
    right: unset;
  }
  .item-prop-title {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
  }
}
@media (min-width: 860px) and (max-width: 1024px) {
  ul.item-prop-amenities li.property-page-hidden-on-mobile {
    display: flex !important;
  }
  a.h-floorplan-btn.property-page-hidden-on-desktop {
    display: none !important;
  }
}
@media (max-width: 400px) {
  a.h-floorplan-btn,
  a.detail-property-btn {
    padding: 10px 15px;
    font-size: 15px;
    line-height: 1;
  }
}
