div#results-pagination {
    display: inline-block;
    margin: 10px 0;
}

div#results-pagination #pagination-label {
    font-size: 0.875rem;
    color: grey;
}

div#heritage-switch {
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

div#results-search {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

div#results-search div.search-keywords-wrap {
    margin-left: 0;
    width: 50% !important;
}

div#results-search div.search-location-wrap {
    width: 50% !important;
}

div#results-search div.search-keywords-wrap input {
    margin-bottom: 0;
}

div#results-search div.search-location-wrap input {
    margin-bottom: 0;
}

div#results-search form {
    width: 100%;
}

div#results-search form div.row {
    display: flex;
    align-items: center;
}

div#heritage-results div#sidebar {
    position: relative;
    top: -50px;
}

div#heritage-results main#main {
    position: relative;
    top: -10px;
}

aside.widget_va_widget_listing_refine_search {
    margin-top: 0;
}

.list-text-color {
    color: #c5258f;
}

.map-text-color {
    color: #0f6b58;
}

div#listings-map-wrap div#listings-map {
    height: 550px;
}

div#heritage-switch label.switch-paddle {
    background: #c5258f;
}

div#heritage-switch span#switch-label {
    padding-right: 10px;
}

div#heritage-switch input:checked ~ label.switch-paddle {
    background: #0f6b58;
}

div#heritage-switch label.switch-paddle i.fa-list {
    padding-left: 0.2rem;
}

div#heritage-switch label.switch-paddle i.fa-map-marker {
    padding-right: 0.3rem;
}

/*don't need order by in favorites filtering */
div.dashboard-favorites form.search-sidebar-form label[for="orderby"]{
    display: none;
}

@media only screen and (max-width: 40em) {
    div#heritage-results div#sidebar {
        position: static;
    }

    div#heritage-results main#main {
        position: static;
    }

    div#bottom-search-pagination li {
        list-style: none;
        display: inline-block;
    }

    div#bottom-search-pagination ul.pagination {
        display: flex;
        justify-content: space-evenly;
    }

}


#pagination-label a {
    font-size: 30px;
    font-weight: bold;
    position: relative;
    top: 2px;
    padding: 0 3px;
}

#bottom-search-pagination .page-numbers {
    font-size: 18px;
}

#bottom-search-pagination a {
    color: #c5258f;
    font-weight: bold;
}

#bottom-search-pagination .page-numbers.current {
    padding: 5px;
    font-weight: bold;
    border-radius: 5px;
}