a{
    color: rgb(7, 88, 131);
}
.apartment-index .h2-empty {
    margin-bottom: 65px;
    margin-top: 50px;
}

.apartments-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 15px;
    row-gap: 20px;
    position: relative;
    margin-bottom: 68px;
}

.paging-wrapper {
    position: absolute;
    left: 0;
    bottom: -83px;
}

.item-object_view {
    overflow: hidden;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.item-object_view hr {
    margin: 10px;
}

.item-object__user-name {
    white-space: nowrap;
}

.item-object__user-name, .item-object__user-phone {
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 4px;
    color: #000000;
    font-weight: 600;
    font-size: 16px;
}

.item-object__user-name, .item-object__user-phone .show_user-phone {
    display: flex;
    align-items: center;
}

.item-object__user-name-mobile {
    text-align: center;
}

.item-object__user-phone .full_user-phone {
    display: none;
    color: #337ab7;
    font-weight: 600;
    font-size: 16px;
}

.item-object_view .thumbnail {
    padding: 0;
    height: inherit !important;
    overflow: hidden;
    border-radius: 9px;
    transition: .5s;
    border: none;
    position: relative;
    margin-bottom: unset;
}

.item-object_view .thumbnail:hover {
    transition: .5s;
    background-color: #f1f0f0;
    -moz-box-shadow: 3px 5px 8px rgba(224, 221, 221, 0.6);
    -webkit-box-shadow: 3px 5px 8px rgba(224, 221, 221, 0.6);
    box-shadow: 4px 8px 8px rgba(216, 214, 214, 0.6);
}

.item-object_view .thumbnail .app-link,
.item-object_view .thumbnail a {
    text-decoration: none;
    color: #333333;
}

.item-object__description {
    height: 41px;
    overflow: hidden;
    color: #5a5a5a;
    padding: 0;
    margin-top: 10px;
    margin-bottom: 5px;
}

.item-object_view .thumbnail .thumbnail-img {
    position: relative;
}

.item-object_view .thumbnail .thumbnail-img img {
    width: 100%;
    height: auto;
}

.item-object__wrapper {
    display: flex;
}

.item-object__wrapper .item-object__contact {
    margin-left: auto;
}

.item-object__info {
    padding: 3px 10px;
}

.item-object__info-address {
    text-wrap: balance;
    font-size: 14px;
    display: block;
    color: #0C5069 !important;
    font-weight: 600;
}

.item-object__info .last-row {
    padding-bottom: 10px;
    padding-top: 10px;
}

.item-object_view .item-object__address {
    font-size: 19px;
}

.item-object_view .item-object__author {
    font-size: 17px;
}

.item-object_view .item-object__phone {
    margin-top: 5px;
}

.item-object_view .item-object__phone .label-danger, .banner__phone .label-danger {
    font-size: 1em;
}

.item-object_view .item-object__phone-link {
    color: #3078b6;
    font-size: 18px;
    font-weight: 600;
}

.item-object__price {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    line-height: 18px;
}

.item-object__price .second-price {
    border-left: 2px solid #ccc;
    padding-left: 10px !important;
}

.item-object_view .item-object__price .first-price, .item-object_view .item-object__price .second-price {
    padding: 0;
}

.item-object_view .item-object__price .second-price {
    text-align: left;
    padding-left: 15px;
}

.item-object__phone-block {
    height: 30px;
}

.item-object__premium, .item-object__edit {
    position: absolute;
    top: 20px;
    left: 15px;
    z-index: 900;
}

.item-object__premium span {
    background-color: #ffb22c;
    padding: 8px 18px 8px 18px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    color: #312B2B;
}

.item-object__photo {
    position: relative;
}

.item-object__subways {

}

.item-object__room_count {
    padding: 5px 0 8px 0;
    display: flex;
    align-items: center;
}
.select2-search__field{
    background-color: #fbfbfb !important;
}
.select2-search__field::placeholder, .select2-selection__placeholder{
    color: #404040 !important;
}

.panel-title{
    color: #0d0d0d !important;
}

@media screen and  (max-width: 800px) {
    .item-object__user-phone-button {
        display: block;
        color: #ffffff !important;
        background-color: #337bb6;
        padding: 8px 32px 8px 32px;
        border-radius: 8px;
    }

    .show_user-phone,
    .full_user-phone {
        display: none !important;
    }
}

@media screen and (max-width: 1200px) {
    .apartments-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 990px) {
    .apartments-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 770px) {
    .apartments-list {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width: 500px) {
    .apartments-list{
        margin-bottom: 110px;
    }
    .paging-wrapper{
        bottom: -125px;
    }
    .pagination-lg > li > a,
    .pagination-lg > li > span {
        padding: 7px 12px;
    }
}