.listing-container {
  margin: 0 auto;
  max-width: 1200px;
}

.grid-listing-container .image-container img {
    height: 250px;
}

.grid-listing {
  flex-basis: 33.33%;
  width: 300px;
  -ms-flex: auto;
  position: relative;
  box-sizing: border-box;
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 10px;
  display: inline-table;
}

.grid-listing-wide {
  flex-basis: 66.66%;
  width: 600px;
  -ms-flex: auto;
  position: relative;
  box-sizing: border-box;
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 10px;
  display: inline-table;
}

.grid-row {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
}

.grid-listing-wrapper {
  -webkit-box-sizing: initial;
  -moz-box-sizing: initial;
  box-sizing: initial;
  background: white;
  margin: 0;
  height: 100%;
  width: 100%;
  position: relative;
}

.grid-listing-container {
  height: 100%;
  width: 100%;
  position: relative;
  background-color: white;
  display: flex;
  flex-direction: column;
  color: black;
}

.bedbath-wrapper {
  white-space: nowrap;
}

.image-container {
  width: 100%;
  height: auto;
  background-size: cover;
  position: relative;
  background-position: 50% 50%;
  overflow: hidden;
}

.listing-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-listing:hover .grid-listing-wrapper {
  padding: 2% 2%;
  margin: -2% -2%;
  cursor: pointer;
}

@media only screen and (max-width: 959px) {
  .grid-listing {
    flex-basis: 50%;
  }
}

@media only screen and (max-width: 649px) {
  .grid-listing {
    flex-basis: 100%;
  }
}

@media only screen and (max-width: 959px) {
  .grid-listing-wide {
    flex-basis: 100%;
  }
}
