﻿@media(max-width:1200px) {


    .card-body {
        height: 286px !important;
        width: 100% !important;
        padding: 24px !important;
        padding: 15px 20px !important;
    }

    .pool--apartment {
        margin-bottom: -5px;
    }

    .apartment-decor {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    
    span.text-danger label.like-label {
        color: #ED3A32 !important;
    }

    a.pool-like {
        padding: 9px;
        height: 36px;
        width: 36px;
        justify-content: center;
        width: 14.8%;
    }

    div.card.mb-3.object--s a.pool-like {
        width: max-content;
    }

    label.like-label {
        width: 24px;
        height: 24px;
    }

        label.like-label:before {
            width: 24px;
            height: 24px;
            align-content: center;
        }

    a.pool-like span.text-danger {
        height: 24px;
        width: 24px;
        align-self: center;
    }

    span.pool-like_items {
        height: max-content;
        margin: auto;
    }


    div span.text-light label.like-label {
        cursor: pointer;
        background-image: url(/Images-baspana/FavoriteMobile.svg);
        background-size: 17px;
        background-repeat: no-repeat;
        transform: unset;
        transition: unset;
        background-position: center;
        margin-top: 6px;
    }

    div span.text-danger label.like-label {
        cursor: pointer;
        background-image: url(/Images-baspana/Fill-favorite.svg);
        background-repeat: no-repeat;
        transform: unset;
        transition: unset;
        background-position: center;
    }

    a.pool-like {
        background: #EBEFF1;
        font-family: Ubuntu;
        font-size: 14px;
        font-weight: 400;
        line-height: 19.6px;
        text-align: center;
    }

    div.card.mb-3.object--s a.pool-like span.pool-like_items {
        text-align: left;
        margin: 0;
    }

    div.card.mb-3.object--s a.pool-like {
        gap: unset;
        align-items: center;
    }

    p.pool-btn a.pool-like {
        width: max-content;
    }

        p.pool-btn a.pool-like span.text-light {
            height: max-content;
            place-self: center;
        }

        p.pool-btn a.pool-like span.pool-like_items {
            display: none;
        }

    div.headertitle p.card-text.pool-adress {
        margin: 0;
        height: max-content;
    }

    div.card-body div.card-text.pool--mt {
        margin: 0;
    }

    div.card-body div.pool-header p.pool-btn a.pool-like {
        background: #333839;
    }

    div.card-body div.pool-header p.pool-btn {
        width: max-content !important;
        margin: 13px 0 auto 0;
        position: absolute;
        top: 0;
        margin-left: auto;
        right: 0;
        margin-right: 20px;
    }

    div.card.mb-3.object--s div span.text-light label.like-label {
        margin-top: 9px;
    }

    div.pool-text span.card-text.pool-adress {
        width: max-content !important;
    }

    div.card.mb-3.object--news div.card-body {
        padding: 15px 20px !important;
    }

    div.pool-text {
        justify-content: space-between;
    }

    body div p.card-text.pool-name {
        width: 135px !important;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    div.headertitle div:nth-child(2) {
        flex-direction: column-reverse;
        display: flex;
        gap: 12px;
    }

    h5.card-title.pt-4 p.districtTitle {
        display: block !important;
        font-family: Ubuntu;
        font-size: 14px;
        font-weight: 500;
        line-height: 19.6px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
        position: absolute;
        margin: 30px 0px 0px 0px;
    }

        h5.card-title.pt-4 p.districtTitle a {
            color: #333839 !important;
            font-weight: 700;
        }

    div.headertitle div:nth-child(2) {
        gap: 40px;
        margin: -25px 0px 42px 0px;
        height: 81px;
    }

    div.card-body div.card-text.pool--mt {
        flex-wrap: wrap;
        width: 170px;
        position: absolute;
        right: 0;
        margin: -121px 20px 0px 0px;
        text-align: end;
        justify-content: end;
    }

        div.card-body div.card-text.pool--mt span:nth-child(2) {
            margin: 0px 195px -211px 0px;
            position: absolute;
            width: max-content;
        }


    footer {
        display: none;
    }

    div.yandexMapHolder {
        height: max-content;
    }

    div.card.mb-3.object--s span.font-weight-bold {
        width: max-content;
    }

    div.card.mb-3.object--s p.ob__blocks__eye {
        display: flex;
        align-items: flex-end;
        height: max-content;
    }

        div.card.mb-3.object--s p.ob__blocks__eye * {
            margin: 0;
        }

    div.SearchTitleBlocks {
        margin: 96px 0px 0px 0px;
        margin: 120px 0px 0px 0px;
    }

    div.card.mb-3.object--s div.card-body {
        padding: 15px 25px 11px;
    }

    div.card.mb-3.object--s p.card-text.pool--mtd {
        display: none;
    }

    div.pool-btn--shs {
        gap: 5px;
        margin: 10px 0px 0px;
    }

    div.card.mb-3.object--s span.font-weight-bold {
        margin-bottom: 4px;
    }
    div#searchHouses .object--s p.card-text.pb-3.d-flex.justify-content-between {
        width: 92% !important;
        left: 15px;
    }

    div.card.mb-3.object--s div.card-body {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }

    
    div.object--s p.card-text.pt-3.font-weight-bold.border-top {
        border: 0 !important;
        display: block !important;
    }


    html p.card-text.font-weight-bold span.ob__texts__second-house {
        position: absolute;
        width: max-content;
        bottom: 0;
        margin-bottom: 15px;
        background: #0856B1;
        color: #FFFFFF;
        border-radius: 40px;
        padding: 4px 12px;
        height: max-content;
        font-family: Ubuntu;
        font-size: 14px;
        font-weight: 400;
        line-height: 19.6px;
        text-align: left;
        text-underline-position: from-font;
        text-decoration-skip-ink: none;
    }

    div#searchHouses .object--s p.card-text.pb-3.d-flex.justify-content-between {
        margin-bottom: 35px;
    }

    html p.card-text.font-weight-bold span.ob__texts__second-house.ob__background__grey__for-second-house {
        background: #EBEFF1;
        color: #333839;
    }

    div.pool-btn--shs p.card-text:nth-child(2) {
        overflow: hidden;
    }
    div.card-body div
    a.ob__suitable-for-bail p {
        width: max-content !important;
    }
}
