/*--Big tablets to 1200px (widths smaller than 1200px)--*/

@media only screen and (max-width: 1200px) {
}

/*--Small tablets to big tablets: from 768px to 1023px--*/

@media only screen and (max-width: 1023px) {
  .search-results-container-top {
    width: 80%;
  }
  .search-results-container-bottom {
    flex-direction: column;
    align-items: center;
  }

  .search-results-filter {
    order: -1;
    width: 80%;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .search-results-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media only screen and (max-width: 845px) {
  .search-by-location-in-results {
    flex-direction: column !important;
    align-items: center;
  }
}

/*--Small Phones to small tablets: from 481px to 767px--*/

@media only screen and (max-width: 767px) {
  .search-results-container-top {
    flex-direction: column;
    align-items: center;
  }
  .search-results-container-top > * {
    padding: 1rem 2rem;
  }
  .search-results-container-top > *:last-child {
    margin-bottom: 2rem;
  }
  .total-results {
    order: 1;
  }
  .search-results-gallery {
    width: 80%;
  }
}

/*--Small Phones: from 0px to 480px--*/

@media only screen and (max-width: 480px) {
}
