/*
 * Commercial Precast visual parity fixes for the Benaa 4 / Essential Real Estate
 * update. These recreate the Benaa 1.1 property-card presentation in the child
 * theme without restoring the old parent stylesheet wholesale.
 */

.benaa-class .ere-property .property-location > i,
.benaa-class .ere-property .property-type i,
.benaa-class .ere-property .property-type-list i {
  display: none;
}

@media (min-width: 1200px) {
  .benaa-class.archive #wrapper-content .container {
    max-width: 1140px;
  }

  .benaa-class #wrapper-content .ere-property-wrap .container,
  .benaa-class #wrapper-content .ere-property {
    max-width: 1140px;
    width: 1140px;
  }

  .benaa-class:not(.archive) #wrapper-content .wpb_wrapper .ere-property-wrap {
    max-width: 1110px;
    width: 1110px;
    margin-left: auto;
    margin-right: auto;
  }

  .benaa-class:not(.archive) #wrapper-content .ere-property-wrap .property-content {
    margin-top: -27px;
  }

  .benaa-class.single-property #primary-content > .container {
    max-width: 1140px;
    width: 1140px;
  }

  .benaa-class.single-property #primary-content > .container > .row {
    display: block;
    width: 1140px;
  }

  .benaa-class.single-property .single-property-inner {
    max-width: 66.666667%;
    width: 760px;
  }

  .benaa-class.single-property .primary-sidebar {
    max-width: 33.333333%;
    width: 380px;
  }

  .benaa-class.single-property .content-single-property {
    width: 730px;
  }

  .benaa-class.single-property .single-property-image-main {
    height: 88px !important;
    overflow: hidden;
  }

  .benaa-class.single-property .single-property-image-main .owl-stage {
    transform: none !important;
    width: auto !important;
  }

  .benaa-class.single-property .single-property-image-main .owl-item {
    display: inline-block !important;
    float: none !important;
    width: 146px !important;
  }

  .benaa-class.single-property .single-property-image-main img {
    height: 88px !important;
    object-fit: cover;
    width: 146px !important;
  }

  .benaa-class.single-property .single-property-image-thumb {
    height: 95px !important;
    overflow: hidden;
  }

  .benaa-class.single-property .ere-property-element {
    margin-left: 30px;
    margin-right: 30px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 670px;
  }

  .benaa-class .header-wrapper nav.primary-menu {
    height: 94px;
    text-align: right;
  }

  .benaa-class .header-wrapper #main-menu {
    height: 94px;
    padding-top: 10px;
  }

  .benaa-class .header-wrapper #main-menu > li {
    margin-left: 0;
    line-height: 84px;
  }

  .benaa-class .header-wrapper #main-menu > li + li {
    margin-left: 45px;
  }

  .benaa-class .header-wrapper #main-menu > li > a,
  .benaa-class .header-wrapper #main-menu > li > a .x-menu-text {
    color: #000;
    font-size: 18px;
    font-weight: 500;
    line-height: 84px;
    text-transform: uppercase;
  }
}

.benaa-class .ere-property:not(.property-zigzac) .property-inner {
  padding: 0;
  position: relative;
}

.benaa-class .ere-property.property-grid .property-inner,
.benaa-class .ere-property.property-carousel .property-inner,
.benaa-class .ere-property.property-list .property-inner,
.benaa-class .ere-property.property-grid .property-inner:hover,
.benaa-class .ere-property.property-carousel .owl-item:nth-child(2n) .property-inner,
.benaa-class .ere-property.property-list .property-inner:hover {
  background-color: #000;
}

.benaa-class .ere-property.property-grid .property-info,
.benaa-class .ere-property.property-list .property-info,
.benaa-class .ere-property.property-carousel .owl-item:nth-child(2n-1) .property-info,
.benaa-class .ere-property.property-grid .property-inner:hover .property-info,
.benaa-class .ere-property.property-list .property-inner:hover .property-info,
.benaa-class .ere-property.property-carousel .owl-item:nth-child(2n) .property-inner .property-info {
  background-color: transparent !important;
}

.benaa-class .ere-property .property-image {
  padding: 15px 15px 0;
  overflow: hidden;
}

.benaa-class .ere-property .property-image:before {
  display: none !important;
  content: none !important;
}

.benaa-class .ere-property .property-action {
  background-color: transparent;
  position: absolute;
  top: 15px;
  bottom: 0;
  left: 15px;
  right: 15px;
  width: auto;
  height: auto;
  opacity: 1;
}

.benaa-class .ere-property .property-action:before,
.benaa-class .ere-property .property-action:after {
  display: none !important;
  content: none !important;
}

.benaa-class .ere-property .property-action .block-center-inner {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.benaa-class .ere-property .property-active-hover .property-action .block-center-inner,
.benaa-class .ere-property .property-inner:hover .property-action .block-center-inner {
  opacity: 1;
}

.benaa-class .ere-property.property-carousel .property-item-content,
.benaa-class .ere-property.property-grid .property-item-content {
  position: relative;
}

.benaa-class .ere-property.property-carousel .property-item-content > div,
.benaa-class .ere-property.property-grid .property-item-content > div {
  padding: 0 15px;
}

.benaa-class .ere-property.property-carousel .property-heading,
.benaa-class .ere-property.property-grid .property-heading {
  margin-bottom: -5px;
}

.benaa-class .ere-property.property-carousel .property-type,
.benaa-class .ere-property.property-grid .property-type,
.benaa-class .ere-property.property-list .property-type {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.benaa-class .ere-property .property-type a,
.benaa-class .ere-property .property-type-list a {
  color: #ec8631;
}

.benaa-class .ere-property .property-item-content .property-title {
  font-size: 21px !important;
  line-height: 28px;
}

.benaa-class .ere-property .property-item-content .property-title a {
  color: #c0c0c0 !important;
  font-size: 14px;
  font-weight: 400;
}

.benaa-class .ere-property .property-item-content .property-location a {
  color: #c0c0c0 !important;
  text-transform: uppercase;
}

.benaa-class .ere-property.property-carousel .property-item-content .property-status-price,
.benaa-class .ere-property.property-grid .property-item-content .property-status-price,
.benaa-class .ere-property.property-list .property-item-content .property-status-price {
  display: none;
}

.benaa-class .ere-property.property-carousel .property-item-content .property-info .property-info-inner,
.benaa-class .ere-property.property-grid .property-item-content .property-info .property-info-inner {
  height: initial;
}

.benaa-class .ere-property.property-carousel .property-item-content .property-info .property-info-inner > div,
.benaa-class .ere-property.property-grid .property-item-content .property-info .property-info-inner > div {
  display: none;
}

.benaa-class .property-item-content-inner,
.benaa-class .ere-property .property-label {
  display: none;
}

.benaa-class .property-image .property-element-inline {
  position: static;
}
