.bdmv_wrapper {
    display: flex;
    flex-wrap: wrap;
}

.bdmv_wrapper .bdmv-search {
    flex: 1;
    overflow-y: scroll;
    height: 100%;
    overflow-x: hidden;
}

.bdmv_wrapper .bdmv-map-listing,
.bdmv_wrapper .ajax-search-result {
    display: flex;
    flex-wrap: wrap;
    flex: 4;
}

.bdmv-map-listing .bdmv-listing,
.ajax-search-result .bdmv-listing {
    flex: 1;
}

.bdmv-columns-three .bdmv-map-listing .bdmv-listing,
.bdmv-columns-three .ajax-search-result .bdmv-listing {
    overflow-y: scroll;
    overflow-x: hidden;
}

.bdmv-map-listing .bdmv-map,
.ajax-search-result .bdmv-map {
    flex: 1;
}

.bdmv-map-listing .bdmv-map #directorist.atbd_wrapper,
.ajax-search-result .bdmv-map #directorist.atbd_wrapper,
.bdmv-map-listing .bdmv-map #directorist.atbd_wrapper .directorist-container-fluid,
.ajax-search-result .bdmv-map #directorist.atbd_wrapper .directorist-container-fluid {
    height: 100%;
}

.bdmv-map-listing .bdmv-map #directorist.atbd_wrapper #map,
.ajax-search-result .bdmv-map #directorist.atbd_wrapper #map,
.bdmv-map-listing .bdmv-map #directorist.atbd_wrapper .atbdp-map,
.ajax-search-result .bdmv-map #directorist.atbd_wrapper .atbdp-map {
    height: 100% !important;
}

.bdmv-map-listing .bdmv-map #directorist.atbd_wrapper .atbdp-map,
.ajax-search-result .bdmv-map #directorist.atbd_wrapper .atbdp-map {
    padding: 0;
}

.bdmv-columns-two .bdmv-map-listing,
.bdmv-columns-three .bdmv-map-listing,
.bdmv_wrapper.bdmv-columns-two {
    overflow: hidden;
}

.bdmv-map-listing {
    height: 100%;
}

.bdmv-map-listing,
.ajax-search-result {
    position: relative;
}

.ajax-search-result .atbd-ajax-404error {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.ajax-search-result .atbd-ajax-404error span {
    font-size: 30px !important;
    display: block;
    margin-bottom: 6px;
}


.bdmv-map-listing.loading::before,
.ajax-search-result.loading::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    left: 0;
    top: 0;
    z-index: 999;
}

.bdmv-map-listing.loading::after,
.ajax-search-result.loading::after {
    position: absolute;
    content: '';
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border: 8px solid #dddddd;
    border-top: 8px solid #444752;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    z-index: 999;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.bdmv-columns-two .bdmv-search .bdmv-listing {
    margin-left: -15px;
    margin-right: -15px;
    margin-top: 30px;
}

.bdmv-columns-two .bdmv-search {
    flex: 2;
}

.bdmv-columns-three .bdmv-search .search-area {
    padding-right: 15px;
}

.bdmv-columns-two .bdmv-search .bdmv-search-content {
    position: relative;
    min-height: 35px;
    padding-right: 15px;
}

.bdmv-search .bdmv-search-content .bdmv_get_loc,
.bdmv-search .search-area .bdmv_get_loc {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.bdmv-columns-two .bdmv-search .bdmv-listing .directorist-container-fluid {
    padding-right: 30px !important;
}

.dlm_action_btns {
    margin: 3px -5px !important;
}

.dlm_action_btns select {
    margin: 3px !important;
}

.dlm_action_btns .directorist-btn{
    padding: 0 15px;
}

.dlm_header {
    justify-content: space-between;
}

.dlm_header .atbd_generic_header_title {
    margin: 6px 0;
}

.dlm_header .directorist-dropdown .directorist-dropdown__links{
    top: 42px;
}

.dlm_header .dlm_action_btns .directorist-dropdown {
    margin: 5px;
}

.dlm_filter-btn:after {
    content: '\f110';
    font-family: "LineAwesome";
    margin-left: 5px;
    font-size: 12px;
}

.dlm_filter-btn.active:after {
    content: '\f113';
}

.dlm-action-wrapper {
    position: relative;
    padding-top: 6px;
}

.dlm-action-wrapper .atbd_more-filter-contents {
    padding: 20px 20px 10px;
    border: 1px solid #e3e6ef;
    margin-top: 15px;
}

.dlm-filter-dropdown .atbd_more-filter-contents {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    width: 100%;
    max-height: 450px;
    overflow: scroll;
    overflow-x: hidden;
    left: 0;
    top: 50px;
    z-index: 10;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    transform: scale(0.95);
    transition: 0.2s ease;
    padding: 20px 20px 10px;
    border: 1px solid #e3e6ef;
}

.dlm-filter-dropdown .atbd_more-filter-contents.active {
    visibility: visible;
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.atbdpr-range .atbdp-labels {
    display: flex;
}

.atbdpr-range .atbdp-labels label {
    margin-bottom: 0;
}

.atbdpr-range .atbdp-labels span {
    margin-left: 15px;
}

/*
.dlm-filter-overlay{
    position: relative;
}
.dlm-filter-overlay::before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.05);
    z-index: 1;
}*/

/* Responsive styles */
.atbdp-res-btns {
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #fff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.atbdp-res-btns .dlm-res-btn {
    display: block;
    flex: 1;
    text-align: center;
    padding: 15px 0;
    border-bottom: 2px solid transparent !important;
}

.atbdp-res-btns .dlm-res-btn.active {
    border-bottom: 2px solid #444752 !important;
}

.atbdp-res-btns .dlm-res-btn span {
    font-size: 24px !important;
    color: #444752 !important;
}




.atbd_wrapper .bdmv_wrapper.bdmv-columns-two .default-ad-search .dlm-action-wrapper {
    width: auto;
    margin: 12px 0 !important;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.atbd_wrapper .bdmv_wrapper.bdmv-columns-two .dlm-filter-slide-wrapper {
    width: auto;
    margin: 15px 0 !important;
}

.atbd_wrapper .bdmv_wrapper.bdmv-columns-two .default-ad-search .dlm-action-wrapper button {
    margin: 3px !important;
}

.price_ranges {
    display: flex;
    flex-wrap: wrap;
}


.atbd_content_active #directorist.atbd_wrapper .ajax-search {
    margin-right: 3px;
    padding: 7px auto;
}

.atbd_content_active #directorist.atbd_wrapper .dlm_filter-btn {
    padding: 7px auto;
}

.atbd_content_active #directorist.atbd_wrapper .ajax-search-filter {
    width: unset;
    padding: 7px 16px;
}

.dlm-filter-slide {
    width: 100%;
    margin: 15px;
}

/*Pagination*/
.bdmv-pagination .page-numbers {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    cursor: pointer;
}

.bdmv-pagination .page-numbers li {
    display: inline-block;
}

.bdmv-pagination .nav-links {
    justify-content: center !important;
    margin-top: 15px !important;
}

#directorist .bdmv-pagination .page-numbers li span {
    padding: 0;
    line-height: normal;
    height: 35px;
    width: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8d8d8;
    border-radius: 300px;
    background: #fff;
    transition: 0.3s;
    color: #7a82a6;
    text-align: center;
    margin-right: 4px;
    margin-left: 0;
    right: auto;
    float: none;
    cursor: pointer;
}

#directorist .bdmv-pagination .page-numbers li span.current {
    background: #8d84f5 !important;
    color: #fff;
}

.ajax-search-result .atbd-ajax-null-map {
    width: 100%;
}

.bdmv-columns-two .bdmv-search .bdmv-search-content+.bdmv-nolisting {
    display: block !important;
}

.atbd-ajax-404error {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.atbd-ajax-404error span {
    font-size: 30px !important;
    display: block;
    margin-bottom: 6px;
}

.bdmv-columns-two .bdmv-nolisting .atbd-ajax-404error {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.bdmv-columns-two .bdmv-nolisting .atbd-ajax-404error span {
    font-size: 30px !important;
    display: block;
    margin-bottom: 6px;
}

.atbd-ajax-null-map {
    height: 100%;
}

#directorist.atbd_wrapper .select2.select2-container {
    width: 100% !important;
}

#directorist.atbd_wrapper .dropdown-item {
    cursor: pointer;
}

#bdlm-search-area {
    margin-left: 15px;
    padding: 20px 15px;
    border-radius: 4px;
    background-color: #fff;
    height: 100%;
}

#bdlm-search-area .atbdp-basic-search-fields-each {
    margin-bottom: 1rem;
}

#bdlm-search-area .atbdp-basic-search-fields-each .atbdp_get_address_field {
    position: relative;
}

#bdlm-search-area .atbdp-basic-search-fields-each .atbdp_get_address_field .atbd_get_loc {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

#bdlm-search-area .atbdp-search-field-pricing .price_ranges .price-frequency {
    display: flex;
    border: 1px solid #dbdaf7;
    border-radius: 3px;
    margin: 15px 8px 0px 8px;
    padding: 0;
    width: auto;
}

#bdlm-search-area .atbdp-search-field-pricing .price_ranges .price-frequency .pf-btn {
    width: auto;
    margin-bottom: 0;
}

#bdlm-search-area .atbdp-search-field-pricing .price_ranges .price-frequency .pf-btn:not(:last-child) {
    border-right: 1px solid #dbdaf7;
}

#bdlm-search-area .atbdp-search-field-pricing .price_ranges .price-frequency .pf-btn:first-child span {
    border-radius: 3px 0 0 3px;
}

#bdlm-search-area .atbdp-search-field-pricing .price_ranges .price-frequency .pf-btn:last-child span {
    border-radius: 0 3px 3px 0;
}

#bdlm-search-area .atbdp-search-field-pricing .price_ranges .price-frequency .pf-btn span {
    cursor: pointer;
    min-height: 42px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 15px;
}

#bdlm-search-area .atbdp-search-field-pricing .price_ranges .price-frequency .pf-btn input[type="radio"]:checked+span {
    background-color: #444752;
    border-color: #444752;
    color: #fff;
}

#bdlm-search-area .bdas-filter-actions {
    margin: 30px -5px -5px -5px;
}

#bdlm-search-area .bdas-filter-actions .btn {
    padding: 8px 15px !important;
    margin: 5px;
}

/* responsive css */
@media (max-width: 1199px) {
    .atbdp-res-btns {
        display: flex;
    }

    .atbd_content_active #directorist.atbd_wrapper .atbdp_column {
        width: 50%;
    }

    .bdmv-columns-two .bdmv-search,
    .bdmv-columns-two .bdmv-map-listing {
        flex: none;
        width: 100%;
        padding-bottom: 62px;
    }

    .bdmv_wrapper {
        display: block;
        position: relative !important;
    }

    .bdmv_wrapper.bdmv-columns-two .bdmv-search {
        padding-top: 0 !important;
    }

    .bdmv_wrapper .bdmv-map-listing .bdmv-map,
    .bdmv_wrapper .ajax-search-result .bdmv-map {
        padding-top: 0 !important;
    }

    .bdmv_wrapper .bdmv-map-listing .bdmv-listing,
    .bdmv_wrapper .ajax-search-result .bdmv-listing {
        padding-top: 24px !important;
        padding-bottom: 80px !important;
    }

    .bdmv_wrapper.bdmv-columns-three .bdmv-search {
        padding-top: 0 !important;
        padding-bottom: 100px !important;
    }

    .bdmv-columns-two .bdmv-search .bdmv-listing {
        margin-top: 0;
    }

    .bdmv_wrapper.bdmv-columns-two .bdmv-map-listing,
    .bdmv_wrapper.bdmv-columns-two .bdmv-map-listing .bdmv-map,
    .bdmv_wrapper.bdmv-columns-two .bdmv-map-listing .bdmv-map #directorist,
    .bdmv_wrapper.bdmv-columns-two .bdmv-map-listing .bdmv-map #directorist .atbdp-divider+div {
        height: 100% !important;
    }
}

@media (max-width: 767px) {
    .bdmv_wrapper .bdmv-listing .directorist-col-6{
        width: 100%;
     }
}

@media (max-width: 575px) {
    .bdmv_wrapper.bdmv-columns-two .bdmv-search .bdmv-search-content .default-ad-search .form-group {
        flex-basis: 100% !important;
    }

    .atbdp-range-slider-wrapper .atbd-current-value {
        padding: 0 15px !important;
    }
}

#bdlm-search-area .directorist-search-tags {
    flex-wrap: wrap;
    margin: -5px -5px 8px;
}

#bdlm-search-area .directorist-search-tags .directorist-checkbox {
    margin: 5px;
}

.bdmv-pagination .page-numbers {
    padding: 0;
    font-size: 15px !important;
    height: 35px;
    width: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background: #fff;
    transition: 0.3s;
    color: #7a82a6;
    text-align: center;
    margin-right: 2px;
    margin-left: 0;
}

.bdmv-pagination .page-numbers.current {
    background-color: #444752 !important;
    color: #fff;
}

.bdmv-pagination .page-numbers.current:hover {
    color: #fff;
}

.bdmv-listing .directorist-listing-single.directorist-listing-list .directorist-listing-single__thumb .directorist-thumnail-card {
    height: 100% !important;
}

.bdmv-map .directorist-iframe {
    max-height: 100% !important;
}

.atbd_content_active #directorist.atbd_wrapper .bdmv-listing .atbd_single_listing {
    background-color: transparent !important;
    border-radius: 0px;
}

.atbd_content_active #directorist.atbd_wrapper .bdmv-listing .atbd_single_listing .atbd_listing_info {
    background-color: #fff !important;
    border-radius: 0 5px 5px 0;
}

.directorist-dropdown .directorist-dropdown__links .directorist-dropdown__links--single {
    cursor: pointer;
    border-radius: 0;
}

.directorist-dropdown .directorist-dropdown__links .directorist-dropdown__links--single.active{
    background-color: #f2f2f2;
}

.bdmv-search .directorist-select .select2.select2-container .select2-selection--single{
    height: 42px;
    border-radius: 5px;
    border-color: #ececec !important;
    padding: 0 15px;
}

.bdmv-search .directorist-select .select2.select2-container .select2-selection--single .select2-selection__rendered{
    line-height: 40px;
}
.bdmv-search .directorist-select .select2.select2-container .select2-selection--single .select2-selection__clear{
    padding-right: 25px;
}

.bdmv-search .directorist-select .select2.select2-container .select2-selection--single .select2-selection__arrow b{
    display: none;
}
.bdmv-search .directorist-select .select2.select2-container .select2-selection--single .select2-selection__arrow{
    height: auto;
    top: 8px;
    right: 14px;
}
.bdmv-search .directorist-select .select2.select2-container .select2-selection--single .select2-selection__arrow:before{
    color: #7a82a6;
    font-weight: 600;
    font-family: 'Line Awesome Free';
    content: '\f107';
}