.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 10px;
}
/* filter page */
.filter-form.redesign {
    width: auto;
    padding: 0;
    background: none;
    border: none;
}

.btn {
    padding: 15px 27px;
    background-color: #00CF3F;
    border: 1px solid transparent;
    cursor: pointer;
    border-radius: 8px;
    font-family: Proxima Nova SemiBold, sans-serif;
    font-style: normal;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0.03em;
    color: #FFFFFF;
}
.btn:hover {
    color: #00cd2e;
    background-color: #fff;
    border-color: #00cd2e;
}
.btn.btn-submit {
    margin-left: auto;
    margin-top: 19px;
    padding: 13px 24px;
}
.filters {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    border-bottom: 2px solid #DADADA;
    padding-bottom: 30px;
}

.filters h1 {
    font-style: normal;
    font-weight: 400;
    font-size: 30px;
    color: #222222;
    margin-bottom: 10px;
}

.filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}

.selector-address, .price,
.space, .selector-sort {
    display: flex;
    flex-direction: column;
}


.wrapper-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    font-family: Proxima Nova Regular, sans-serif;
    padding: 10px 15px 10px 13px;
    box-sizing: border-box;
    font-style: normal;
    font-size: 14px;
    color: #333333;
    outline: none;
    background: #FFFFFF;
    border: 1px solid #DADADA;
    border-radius: 8px;
}

.wrapper-dropdown svg {
    transition: all 0.3s;
}

.selected-display {
    white-space: nowrap;
}

.rotated {
    transform: rotate(-180deg);
}

.wrapper-dropdown .dropdown {
    transition: 0.3s;

    position: absolute;
    top: 120%;
    right: 0;
    left: 0;

    margin: 0;
    padding: 0;

    list-style: none;

    z-index: 99;

    border-radius: 8px;
    background: inherit;
    border: 1px solid #DADADA;


    -webkit-transform-origin: top;
    transform-origin: top;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    opacity: 0;
    visibility: hidden;
}

.wrapper-dropdown .dropdown li {
    padding: 0 10px;
    line-height: 35px;
    overflow: hidden;
}

.wrapper-dropdown .dropdown li:last-child {
    border-bottom: none;
}

.dropdown {
    padding: 0.5rem !important;
}

.wrapper-dropdown .dropdown li:hover {
    background-color: #00CF3F;
    border-radius: 8px;
    color: #FFFFFF;
}

.wrapper-dropdown.active .dropdown {
    opacity: 1;
    visibility: visible;
    border-radius: 8px;
}


.sort {
    display: flex;
    align-self: center;
    width: 29px;
    height: 22px;
    background-position-y: top;
    background-repeat: no-repeat;
    background-image: url("/img/icons/sort.svg");
    cursor: pointer;
    margin-top: 10px;
}
.sort.desc {
    background-position-y: bottom;
}


.clear-filters a {
    display: flex;
    font-family: Proxima Nova Bold, sans-serif;
    font-style: normal;
    font-size: 14px;
    line-height: 11px;
    text-align: right;
    color: #A2A2A2;
    cursor: pointer;
}

.clear-filters span, .clear-filters svg {
    display: inline-block;
    vertical-align: middle;
}

.range-title, .selector-title {
    font-style: normal;
    font-size: 14px;
    line-height: 11px;
    color: #7A827C;
    margin-bottom: 8px;
}

.range-value {
    font-style: normal;
    font-size: 14px;
    line-height: 11px;
    color: #7A827C;
    margin-bottom: -1px;
    width: 206px;
    display: flex;
    justify-content: space-between;
    background: #FFFFFF;
    border: 1px solid #DADADA;
    border-radius: 8px;
    padding: 10px 13px 13px;
    box-sizing: border-box;
}

.range-value span {
    font-style: normal;
    font-size: 16px;
    color: #333333;
}

.slider {
    margin-left: 5px;
    width: 195px;
    appearance: none;
    height: 2px;
    outline: none;
    background: #EFEFEF;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 9px;
    height: 9px;
    background: #00CF3F;
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 9px;
    height: 9px;
    background: #00CF3F;
    border-radius: 50%;
    cursor: pointer;
}

.noUi-horizontal .noUi-handle {
    width: 9px;
    height: 9px;
    right: -3px;
    top: -4px;
}

.noUi-handle {
    border: none;
    border-radius: 50%;
    background: #00CF3F;
    cursor: pointer;
    box-shadow: none;
}

.noUi-handle:after, .noUi-handle:before {
    display: none;
}

.noUi-target {
    background: #DADADA;
    border-radius: 4px;
    border: none;
    box-shadow: none;
}

.noUi-connect {
    background: #00CF3F;
}

.selector-address {
    max-width: 300px;
    min-width: 200px;
}

.selector-sort {
    width: 169px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: normal;
    margin-top: 30px;
}
.filter-buttons button {
    padding: 8px 16px;
    background: #FFFFFF;
    border: 1px solid #DADADA;
    border-radius: 24px;
    margin-right: 10px;
    font-style: normal;
    font-size: 14px;
    line-height: 23px;
    color: #333333;
    cursor: pointer;
}

.filter-buttons button.active {
    border-color: #00CF3F;
    background: #00CF3F;
    color: #FFFFFF;

}

.search-count {
    font-style: normal;
    font-size: 16px;
    line-height: 23px;
    text-align: center;
    color: #A2A2A2;
    margin-top: 28px;
}

.search-count span {
    font-family: Proxima Nova SemiBold, sans-serif;
    color: #222222;
}

.cards {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 31%;
    background: #FFFFFF;
    border: 1px solid #DADADA;
    border-radius: 16px;
}

.card-title {
    font-family: Proxima Nova SemiBold, sans-serif;
    font-style: normal;
    font-size: 16px;
    line-height: 23px;
    color: #222222;
    background: #F8F8F8;
    text-align: center;
    border-radius: 16px 16px 0 0;
    padding: 5px 0;
}

.card-nameplate {
    position: absolute;
    top: 4px;
    display: flex;
    right: 16px;
    padding: 4px 8px;
    background: #fff;
    border-radius: 8px;
    font-size: 12px;
    line-height: 130%;
    color: #7a827c;
    align-items: center;
    column-gap: 4px;
}

.card-image {
    position: relative;
    background-image: url("/img/icon-no-flat-plan.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-origin: content-box;
    margin: 10px;
    aspect-ratio: 1;
}

.status {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Roboto, sans-serif;
    font-size: 12px;
    color: #222222;
    padding: 4px 8px;
    background: #F8F8F8;
    border-radius: 8px;
}

.card-description {
    padding: 0 15px;
    display: flex;
    font-style: normal;
    font-size: 14px;
    color: #838080;
    justify-content: space-between;
    margin-top: 4px;
}

.card-description-item {
    display: flex;
    flex-direction: column;
}

.card-description-item span {
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    color: #222222;
}

.card-extra {
    padding: 16px 15px 21px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.card-extra-price {
    font-style: normal;
    font-size: 14px;
    color: #838080;
    display: flex;
    flex-direction: column;
}

.card-extra-price span {
    font-family: Proxima Nova SemiBold, sans-serif;
    font-style: normal;
    font-size: 20px;
    color: #222222;
}

.card-extra-price-old {
    display: inline-flex;
    position: relative;
    color: #a1a1a1;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    padding: 0 4px;
    justify-content: center;
    width: max-content;
}
.card-extra-price-old:before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #A1A1A1;
    position: absolute;
    top: 50%;
}


.card-extra-btn {
    display: block;
    box-sizing: border-box;
    padding: 8px 16px;
    width: auto;
    background: #FFFFFF;
    border: 1px solid #00CD2E;
    border-radius: 8px;
    font-style: normal;
    font-size: 14px;
    color: #00CD2E;
    cursor: pointer;
}


.filter-inputs__item {
    width: auto;
    margin: 0;
    padding: 0;
}
.sliders__item {
    width: 206px;
}
.filter-form.redesign .sliders__title {
    display: flex;
    justify-content: space-between;
}

.filter-form.redesign .sliders__title span {
    font-family: 'ProximaNova', sans-serif;
    font-size: 14px;
    line-height: 11px;
    letter-spacing: .2px;
    text-transform: none;
    color: #a2a2a2;
}
.sliders-inputs-wrap {
    display: flex;
    padding: 8px 13px 10px;
    border: 1px solid #dadada;
    border-bottom: 0;
    justify-content: space-between;
    border-radius: 8px 8px 0 0;
}
.sliders-inputs-wrap div {
    display: flex;
    width: 45%;
    column-gap: 4px;
    z-index: 3;
}
.sliders-inputs-wrap div:last-child {
    justify-content: flex-end;
}
.sliders-inputs-wrap div .prefix {
    width: auto;
    display: flex;
    color: #a2a2a2;
    font-size: 14px;
    align-items: center;
}
.sliders-inputs-wrap input {
    position: relative;
    border: 0;
    width: 100%;
}
.filter-form.redesign .irs--flat {
    margin-top: -26px;
}
/*.filter-form.redesign .irs--flat .irs-handle {
    width: 9px;
    height: 9px;
}*/

.filter-form.redesign .filter__house-ready-over {
    display: inline-block;
    margin: 0;
}
.filter-form.redesign .filter__house-ready-over label {
    display: block;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #dadada;
    border-radius: 24px;
    text-align: inherit;
    position: relative;
    font-size: 14px;
    line-height: 1.64;
    letter-spacing: .2px;
    color: #000;
    cursor: pointer;
}
.filter-form.redesign  .filter__house-ready-over .input:checked+label {
    background: #d8fee0;
    border-color: #00cd2e;
}

.filter-form.redesign .filter__house-ready-over label:before,
.filter-form.redesign .filter__house-ready-over .input:checked+label::after {
    display: none;
}

.btn--clear span.x-times {
    display: inline-block;
    color: #00cd2e;
    font-size: 1.5em;
    vertical-align: middle;
    margin-left: 5px;
}

.filter-mobile-btn {
    display: none;
}

.sf-pic-switcher-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    width: 100%;
    height: calc(100% + 10px);
}

.sf-pic-switcher {
    width: 50%;
    height: 100%;
    border-bottom: 2px transparent solid;
}

.card-image.card-image-sf:hover .sf-pic-switcher.active {
    border-bottom: 2px #00cd2e solid;
}

@media (max-width: 991px) {
    .card-extra {
        align-items: flex-start;
        row-gap: 10px;
    }
    .card-extra-price span {
        white-space: nowrap;
    }
    .card-extra-action {
        margin-top: auto;
        margin-left: auto;
    }
    .card-image.card-image-sf .sf-pic-switcher.active {
        border-bottom: 2px #00cd2e solid;
    }
}

@media (max-width: 767px) {
    .selector-sort {
        max-width: 200px;
    }
    .card {
        width: 100%;
    }
    .clear-filters {
        display: flex;
        align-items: center;
        padding: 10px;
        margin-left: -10px;
        background: #fff;
        border-top: 1px solid #dadada;
        margin-top: auto;
    }
    .btn.btn-submit {
        margin-top: 0;
    }
    .filters h1 {
        font-size: 25px;
        margin-top: 10px;
        margin-bottom: 20px;
    }
    .filters {
        display: none;
    }
    .filters.active {
        display: flex;
        row-gap: 0;
        position: fixed;
        top: 55px;
        left: 0;
        padding-bottom: 0;
        padding-left: 10px;
        overflow: auto;
        background: #fff;
        height: calc(100% - 55px);
        max-height: 100%;
        z-index: 10;
    }
    .filters.active .filter-form.redesign {
        overflow: auto;
    }
    .filters.active .sliders__item {
        width: auto;
        max-width: none;
    }
    .filters.active .selector-address {
        width: 90%;
        max-width: none;
    }
    .filters.active .filter-inputs__item {
        width: 90%;
        max-width: none;
    }
    .filters.active .filter-houses-block {
        max-height: none;
    }
    .filters.active .filter-buttons {
        margin-top: 20px;
        margin-bottom: 10px;
        gap: 10px;
    }
    .filter-mobile-btn {
        position: fixed;
        top: 55px;
        left: 0;
        width: 100%;
        padding: 17px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 16px;
        background: #00cd2e;
        color: #fff;
        font-weight: 600;
        line-height: 1;
        border-radius: 0 0 8px 8px;
        cursor: pointer;
        z-index: 5;
    }
    .search-count {
        margin-top: 40px;
    }
    .cards {
        margin-top: 20px;
    }
    .sort {
        margin-top: 22px;
    }
    .sliders-inputs-wrap input {
        width: 35%;
    }
}

@media (max-width: 600px) {
    .filter {
        gap: 10px;
    }
}
@media (max-width: 400px) {
    .selector-sort {
        max-width: none;
    }
}
@media (max-width: 365px) {
    .filters h1 {
        font-size: 20px;
    }
}

/* END filter page */
