/* --- Search Results --- */

.home #full-search {
    margin: auto;
}

.stickyMap {
    position: relative;
    height: 100%;
    width:100%;
}

.stickyMap > div {
    position: sticky;
    top: 130px;
}

#searchResults {
    margin-top:60px;
}

/* --- Listing Tiles --- */

#searchResults .listing-wrapper {
    padding-left:15px;
    padding-right:15px;
    margin-bottom:30px;
}

#searchResults .searchResultsNo > .row {
    margin-left:-15px;
    margin-right:-15px;
}

.productListing .carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgb(0,0,0);
    background: linear-gradient(45deg,rgba(0,0,0,.4) 0%,rgba(0,0,0,.1) 50%,rgba(0,0,0,0) 100%);
    z-index: 1
}

.accomm-photos {
    position: relative
}

.search-list .listingSuburb {
    line-height: 1.5em;
    margin-bottom: 10px;
    color: #dd3a29;
}

.resultsCount {
    text-align: center;
    font-weight: 600;
    margin-bottom: 15px;
}

/* --- Pagination --- */

.page-numbers {
    order: 2;
    margin-top: 20px;
    margin: 20px auto 25px;
    text-align: center;
    width: 100%
}

.page-numbers li {
    display: inline;
    font-size: .75em;
    font-weight: 600;
    line-height:1em;
}

.page-numbers li a {
    background-color: #dd3a29;;
    border: 1px solid #dd3a29;;
    cursor: pointer;
    padding: .25em 1.25rem;
    border-radius: 4px
}

.page-numbers.current {
    border: 1px solid #dd3a29;;
    padding: .25em 1.25rem;
    color: #dd3a29;;
    border-radius: 4px
}

.page-numbers li a:hover,.page-numbers li.active a {
    background-color: #c32717;
    border-color: #c32717;
}

.page-numbers li a,.page-numbers li a:hover,.page-numbers li.active a,.page-numbers li.disabled {
    color: #fff;
    text-decoration: none
}

/* --- Media Queries --- */

.listing-wrapper.col {
    flex: 0 0 auto; 
    width: 100%;
}

@media screen and (min-width:576px){
    .listing-wrapper.col {
        width: 50%;
    }
}

@media screen and (min-width:768px){
    .listing-wrapper.col { 
        width: 100%;
    }
    #searchResults:not(.has-map) .search_col .listing-wrapper.col,
    .map_col.d-none + .search_col .listing-wrapper.col {
        width:50%;
    }
    #full-search {
        width:80vw;
        width:calc(100vw - 200px);
        max-width:900px;
    }
}

@media screen and (min-width:992px){
    #searchResults:not(.has-map) .search_col .listing-wrapper.col,
    .map_col.d-none + .search_col .listing-wrapper.col {
        width:33.333%;
    }
}

@media screen and (min-width:1200px){
    .listing-wrapper.col { 
        width: 50%;
    }
    #searchResults:not(.has-map) .search_col .listing-wrapper.col,
    .map_col.d-none + .search_col .listing-wrapper.col {
        width:25%;
    }
}

@media screen and (min-width:1600px){
    .listing-wrapper.col { 
        width: 33.333%;
    }
    #searchResults:not(.has-map) .search_col .listing-wrapper.col,
    .map_col.d-none + .search_col .listing-wrapper.col {
        width:20%;
    }
}


@media screen and (min-width: 768px){
    body.inset #searchResults.has-map.map-left  {
        margin-left:
        calc(var(--theme--inset-amount) * -0.85);
    }
    
    body.inset #searchResults.has-map.map-right {
        margin-right:calc(var(--theme--inset-amount) * -0.85);
    }
}

#searchResults.has-map #map-display {
    border-radius: var(--card--border-radius);
    overflow:hidden;
}

#searchResults.map-left #map-display {
    border-radius: 0 var(--card--border-radius) var(--card--border-radius) 0;
}

#searchResults.map-right #map-display {
    border-radius: var(--card--border-radius) 0 0 var(--card--border-radius);
}

.sticky-map>#map-display>.mapsearch-toggle {
    background: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    box-shadow: 0 3px 3px rgba(0,0,0,.12)
}

.sticky-map>#map-display>.mapsearch-toggle>label {
    margin: 0;
    display: flex;
    align-items: center;
    font-size: .75em
}

.sticky-map>#map-display>.mapsearch-toggle>label>input {
    margin-right: 10px
}

.custom-label {
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 30px;
    border: 1px solid #ccc;
    box-shadow: 0 3px 3px rgba(0,0,0,.16)
}

.more-results {
    display:block;
    text-align:center;
    padding:0.5em 1em;
    line-height:1em;
    margin-top:30px;
    border:2px solid #dd3a29;
    color:#dd3a29;
    font-weight:600;
    border-radius:4px;
    cursor:pointer;
    transition-duration:300ms;
}

.more-results:hover{
    color:#fff;
    background-color:#dd3a29;
}

.map_col {
    max-width: 800px;
}