/**
 * Style sheet for the floor plan grid short code output
 */

#rp-floor-plan-grid.fp-list .floorplan {
  display: inline-block;
  vertical-align: top;
}
.fp-list .floorplan, .fp-single-list .floorplan {
  background-color: #fff;
  border: 2px solid #efefef;
  padding: 1rem;
  width: 32.3333%;
}

.fp-details span {
  color: #222;
}
.fp-details span:nth-of-type(1):after {
  color: #2d2d2d;
}

/* Base short code bedroom filter styles */
#rp-floor-plan-grid-bedroom-filters .rp-fp-filter,
#rp-floor-plan-grid-price-sort .rp-fp-sort {
  border: 1px solid #efefef;
  padding: .5rem 2rem;
  display: inline-block;
  margin-bottom: .5rem;
  margin-right: .5rem;
  cursor: pointer;
}

@media (min-width: 40rem) {
  .fp-single-details figure {
    margin-top: 7.5rem;
  }
}

.fp-single-list .floorplan {
  transition: all 200ms ease-in-out;
}
@media (min-width: 40rem) {
  .fp-single-list .floorplan {
    min-height: 350px;
  }
}
.fp-single-list .floorplan:hover {
  background-color: #e8e8e8;
}

@media (min-width: 40rem) {
  .fp-single-details figure {
    margin-top: 2.5rem;
  }
}

@media (max-width: 39rem) {
  .fp-list .floorplan, .fp-single-list .floorplan {
    width: 49.3333%;
  }
}

@media screen and (max-width:30rem){
  .fp-list .floorplan, .fp-single-list .floorplan {
    width: 100% !important;
  }
}

@media screen and (max-width:768px) {
  .fp-list .floorplan, .fp-single-list .floorplan {
    width: 49.3333%;
  }
}

.fp-list figure img, .fp-single-list figure img {
  min-height:0;
}