#dmgmap_wrap {
    width: calc(100% - 700px);
}

@media only screen and (max-width: 1200px) {
    #dmgmap_wrap {
        width: calc(100% - 350px);
    }
}

@media only screen and (max-width: 786px) {
    #dmgmap_wrap {
        width: 100%;
    }
}

.dmg_results_table {
    padding: 0;
    width: 700px;
}

@media only screen and (max-width: 1200px) {
    .dmg_results_table {
        width: 350px;
    }
}

@media only screen and (max-width: 786px) {
    .dmg_results_table {
        width: 0;
    }
}

.dmg_sidebar_wrapper {
    padding: 15px;
}

.dmg_map_sidebar .dmg_results_pagination_total {
    margin-bottom: 15px;
}

.dmg_map_sidebar .dmg_results_filter {
    margin-bottom: 15px;
}

#dmg_results_wrapper .dmg_map_sidebar .dmg_results_filter ul {
    margin-left: -7.5px !important;
    padding-left: 0 !important;
}

.dmg_results_filter ul > li {
    padding: 0 7.5px;
}

.dmg_results_table_row {
    clear: both;
    display: grid;
    column-gap: 15px;
    grid-template-columns: repeat(1, 1fr);
    padding: 0;
}

@media screen and (min-width: 1201px) {
    .dmg_results_table_row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.dmg_results_table_row + .dmg_results_table_row {
    margin-top: 0;
}

.dmg_results_table_row .dmg_results_listing {
    margin: 0 0 15px;
    width: 100%;
}

@media only screen and (max-width: 920px) {
    .dmg_results_table_row .dmg_results_listing {
        border: none;
    }
}

.dmg_results_firstPageActive {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cg transform='rotate(90 10 10)'%3E%3Cpath d='M9.99857 10.9763L14.1234 6.85156L15.3019 8.03007L9.99857 13.3334L4.69531 8.03007L5.87382 6.85156L9.99857 10.9763Z' fill='%23767676'/%3E%3C/g%3E%3Crect x='5.5' y='4.5' width='1.5' height='11' fill='%23767676'/%3E%3C/svg%3E");
    background-size: cover;
}

.dmg_results_previousPageActive {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cg transform='rotate(90 10 10)'%3E%3Cpath d='M9.99857 10.9763L14.1234 6.85156L15.3019 8.03007L9.99857 13.3334L4.69531 8.03007L5.87382 6.85156L9.99857 10.9763Z' fill='%23767676'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
}

.dmg_results_nextPageActive {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cg transform='rotate(-90 10 10)'%3E%3Cpath d='M9.99857 10.9763L14.1234 6.85156L15.3019 8.03007L9.99857 13.3334L4.69531 8.03007L5.87382 6.85156L9.99857 10.9763Z' fill='%23767676'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
}

.dmg_results_lastPageActive {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cg transform='rotate(-90 10 10)'%3E%3Cpath d='M9.99857 10.9763L14.1234 6.85156L15.3019 8.03007L9.99857 13.3334L4.69531 8.03007L5.87382 6.85156L9.99857 10.9763Z' fill='%23767676'/%3E%3C/g%3E%3Crect x='13' y='4.5' width='1.5' height='11' fill='%23767676'/%3E%3C/svg%3E");
    background-size: cover;
}


.price-wrap {
    position: relative;
    width: 45%;
    float: left;
    display: block;
}

.price-wrap input {
    width: 100%;
}

.price-values {
    height: 300px;
    background: #FFFFFF;
    padding: 5px 0;
    position: absolute;
    left: 0;
    top: 35px;
    overflow-y: scroll;
    display: none;
    z-index: 10000;
}

.price-values:hover,
.dmgpriceinput:focus + .price-values {
    display: block;
}

.price-value {
    width: 100px;
    padding: 0 0 0 10px;
    line-height: 30px !important;
    box-sizing: border-box;
}

.price-value:hover {
    background: #f2f2f2;
}

@media only screen and (max-width: 980px) {
    .options_price_minmax .dmg_search_option_row {
        overflow: visible;
    }
    
    .dmg_search_option_row .price-wrap {
        width: 45%;
        margin-bottom: 12px;
        box-sizing: border-box;
    }

    .dmg_search_option_row .price-wrap input {
        width: 100%;
    }

    .price-values {
        width: auto !important;
        top: 45px;
    }

    .price-value {
        width: 100% !important;
    }

    .dmg_search_option_row.options_beds_baths {
        clear: left;
    }
}