#AdvertisementPicture_list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px
}

.section-choice-case {
    padding: 0;
}

.section-choice-case::before {
    content: none !impotant;
    background: none;
}

.section-choice-case::after {
    content: none !impotant;
    background: none;
}

#AdvertisementPicture_list .template-download.in {
    display: grid;
    grid-template-areas:"picture picture""checkbox checkbox""rotate delete";
    width: 50%;
    padding: 10px;
}

#AdvertisementPicture_list .template-download.in .preview {
    grid-area: picture;
}

#AdvertisementPicture_list .template-download.in .preview a {
    display: block;
}

#AdvertisementPicture_list .template-download.in .preview a img {
    object-fit: cover;
    width: 100%;
}

#AdvertisementPicture_list .template-download.in .input.checkbox {
    grid-area: checkbox;
    margin-bottom: 10px;
    margin-top: 10px;
}

#AdvertisementPicture_list .template-download.in .rotate-model {
    grid-area: rotate;
    min-width: auto;
    width: 130px
}

#AdvertisementPicture_list .template-download.in .delete-model {
    grid-area: delete;
    min-width: auto;
    width: 130px
}

#flashMessage.message {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

#flashMessage.message.success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

#flashMessage.message.error {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.star, .star.active, .case-item .star {
    background-color: #fff0 !important;
}

.agent-block .agent-image-wrap .agent-image {
    height: inherit;
}

.section-case-card .swiper-slide {
    text-align: center;
}

.filter-control-block > div:nth-child(4) > button {
    color: #fff;
    background-color: #ee121d;
    padding: 0 24px;
    height: 46px;
    border-radius: calc(0% + 50px);
    border: 1px solid #ddd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 0;
    transform: translateY(-15px);
}



#AdvertisementIndexForm {
    display: flex;
    flex-direction: column;
}

.agent-block {
    display: flex;
    flex-direction: column;
    width: 480px;
}

.filter-search-text-wrapper::after {
    content: "Например, ул. Крылова, 6";
    position: absolute;
    top: 12px;
    right: 10px;
    color: #b8b8b8;
    font: 400 14px/1 'Montserrat', Georgia, Serif;
}

@media (max-width: 640px) {
    .agent-block {
        flex-direction: row;
        margin-bottom: 15px;
    }
}

.mortgage-calc-wrap {
    padding: 56px 0 0 0px;
    width: 600px;
}

.jq-number {
    width: 600px;
}

.section-case-card h2 {
    margin-bottom: 20px;
}

.section-case-card .title-normal {
    margin-bottom: 40px;
}

#showHideSocial {
    border: none;
    background: none;
    transition: .2s ease;
}

#showHideSocial:hover {
    transform: scale3d(1.2, 1.2, 1.2);
}

.social-icon {
    display: flex;
}

#socialIcon a img {
    width: 40px;
    height: 40px;
}

#socialIcon a {
    display: inline-block;
    width: 45px;
    height: 45px;
    position: relative;
    margin-right: 6px;
    transition: .2s ease;
}

#socialIcon a:hover {
    transform: scale3d(1.2, 1.2, 1.2);
}

#socialIcon .i-share {
    background: url("/uploads/share_icon.png") no-repeat;
}


#socialIcon .i-share.icon-share-telegram {
    background-position: 0 0;
}

#socialIcon .i-share.icon-share-wa {
    background-position: -49px 0;
}

#socialIcon .i-share.icon-share-viber {
    background-position: -99px 0;
}


#socialIcon .i-share.icon-share-vk {
    background-position: -150px 0;
}

.offer-price {
    margin-bottom: 36px;
}

.offer-price .custom-size {
    width: 82%;
}

.gift {
    position: fixed;
    right: 30px;
    top: 25em;
    z-index: 999;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 5em;
    height: 5em;
    padding: 14px;
    cursor: pointer;
    background: url("/uploads/assets/svg/gift.svg") no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    transition: all .3s ease;
}

.gift:hover {
    transform: scale3d(1.3, 1.3, 1.3);
}

.section-text .text-block, .section-text .text-block * {
    font-family: "Montserrat", Georgia, Serif !important;
}

.section-text .text-block ul {
    margin-top: inherit;
}

.section-count .h2-fn {
    font-size: 40px;
}

.section-count {
    padding: 132px 0 152px;
}

.count {
    padding-bottom: 60px;
}

.count h2 {
    padding-left: 0;
}

.count h2::before {
    content: none;
}

h1 .top-word {
    margin-left: 0;
}

html {
    font: 16px/24px 'Montserrat';
}

h2 {
    font: 400 40px/1 'Montserrat', Georgia, Serif !important;
}

.mobile-nav ul.nav a, .mobile-nav ul.nav .underline, .mobile-nav ul.nav .dashed, .mobile-nav ul.nav .dotted {
    font: 400 24px/1 'Montserrat', Georgia, Serif !important;
}

.phone-link {
    font: 500 21px/1 'Montserrat', Georgia, Serif !important;
}

.hamburger::before {
    font: 400 16px/1 'Montserrat', Georgia, Serif !important;
}

.btn-consult {
    font: 500 16px/1 'Montserrat', Georgia, Serif !important;
}

input.input-header-search {
    font: 400 16px/1 'Montserrat', Georgia, Serif !important;
}

.nav-item .nav-title {
    font: 500 29px/32px 'Montserrat', Georgia, Serif !important;
}

.case-item .case-title {
    font: 400 14px/26px "Montserrat", Georgia, Serif !important;
}

.case-item .case-price {
    font: 300 24px/1px 'Montserrat', Georgia, Serif !important;
}

.case-item .case-text {
    font: 400 16px/26px 'Montserrat', Georgia, Serif !important;
}

.case-item .case-id {
    font: 500 14px/1 'Montserrat', Georgia, Serif !important;
}

.btn-spoiler {
    font: 400 16px/1 'Montserrat', Georgia, Serif !important;
}

.advantages-slider-list .advantages-to-slide {
    font: 400 15px/18px 'Montserrat', Georgia, Serif;
}

.advantages-pagination .swiper-pagination-current {
    font: 400 42px/35px 'Montserrat', Georgia, Serif;
}

.advantages-slide .advantages-slide-title {
    font: 24px/35px 'Montserrat', Georgia, Serif;
}

.advantages-slide .advantages-slide-text {
    font: 400 16px/27px 'Montserrat', Georgia, Serif;
}

.member-item .member-name {
    font: 500 24px/1 'Montserrat', Georgia, Serif;
}

.member-item .member-position {
    font: 300 16px/1 'Montserrat', Georgia, Serif;
}

.member-item .member-phone {
    font: 400 24px/27px 'Montserrat', Georgia, Serif;
}

.member-item .member-email {
    font: 300 16px/32px 'Montserrat', Georgia, Serif;
}

.review-pagination-fraction .swiper-pagination-current {
    font: 400 42px/1 'Montserrat', Georgia, Serif;
}

.review-slide .review-slide-text {
    font: italic 400 17px/28px 'Montserrat', Georgia, Serif;
}

.review-slide .review-slide-text .review-view-all {
    font: 500 16px/18px 'Montserrat', Georgia, Serif;
}

.review-slide .review-slide-author .review-author-name {
    font: 500 21px/22px 'Montserrat', Georgia, Serif;
}

.nav-item .nav-callback {
    font: 500 16px/1 'Montserrat', Georgia, Serif;
}

.nav-item .nav-info {
    font: 400 16px/1 'Montserrat', Georgia, Serif;
}

input[type=text], input[type=email], input[type=tel], textarea {
    font: 400 19px/1 'Montserrat', Georgia, Serif;
}

.form-agree-check {
    font: 400 14px/21px "Montserrat";
}

.btn {
    font: 500 16px/1 'Montserrat', Georgia, Serif;
}

.social-list::before {
    font: 400 17px/24px 'Montserrat', Georgia, Serif;
}

.footer-nav .footer-nav-link {
    font: 300 13px/19px 'Montserrat', Georgia, Serif;
}

.footer-nav-title {
    font: 400 17px/1 'Montserrat', Georgia, Serif;
}

.layout-footer .mail-link {
    font: 400 17px/1 'Montserrat', Georgia, Serif;
}

.copyright-text, .user-info-list {
    font: 300 13px/18px 'Montserrat', Georgia, Serif;
}

.label-title {
    font: 300 16px/1 'Montserrat', Georgia, Serif;
}

.modal-form-title, .si-success-modal-title {
    font: 400 38px/48px 'Montserrat', Georgia, Serif;
}

.modal-time, .success-time {
    font: 300 28px/36px 'Montserrat', Georgia, Serif;
}

.ani-input-wrap label {
    font: 400 16px/1 'Montserrat', Georgia, Serif;
}

.modal-form-title, .si-success-modal-title {
    font: 400 38px/48px 'Montserrat', Georgia, Serif;
}

.modal-time, .success-time {
    font: 300 28px/36px 'Montserrat', Georgia, Serif;
}

.deal-wheel {
    font-size: calc(var(--size) / 20) !important;
}

.breadcrumbs .breadcrumbs-link {
    font: 400 18px/1 'Montserrat', Georgia, Serif;
}

.case-price-info .case-id {
    font: 500 24px/1 'Montserrat', Georgia, Serif;
}

.case-price-info .case-price-total {
    font: 300 24px/1 'Montserrat', Georgia, Serif;
}

.case-price-info .case-price-space {
    font: 300 24px/1 'Montserrat', Georgia, Serif;
}

.agent-block .agent-info .agent-name {
    font: 500 24px/22px 'Montserrat', Georgia, Serif;
}

.agent-block .agent-info .agent-phone {
    font: 400 16px/1 'Montserrat', Georgia, Serif;
}

.agent-block .agent-info .agent-email {
    font: 300 16px/1 'Montserrat', Georgia, Serif;
}

.case-text-info-block p {
    font: 400 16px/1 'Montserrat', Georgia, Serif;
}

.case-text-info-block ul.marked {
    font: 400 16px/1 'Montserrat', Georgia, Serif;
}

.mortgage-calc-wrap .mortgage-title {
    font: 400 24px/1 'Montserrat', Georgia, Serif;
}

.jq-number input {
    font: 300 16px/1 'Montserrat', Georgia, Serif;
}

.mortgage-calc-result div {
    font: 400 18px/1 'Montserrat', Georgia, Serif;
}

.case-tabs-description .nav-tabs .tab-link {
    font: 400 18px/1 'Montserrat', Georgia, Serif;
}

.case-tab-description-text {
    font: 400 25px/24px 'Montserrat', Georgia, Serif !important;
}

.case-description-table td {
    font: 500 18px/1 'Montserrat', Georgia, Serif;
}

.phone-contact-link {
    font: 400 35px/1 'Montserrat', Georgia, Serif;
}

.address-contact-block .address-contact-title {
    font: 400 24px/1 'Montserrat', Georgia, Serif;
}

.address-contact-block .address-contact-text {
    font: 400 16px/25px 'Montserrat', Georgia, Serif;
}

.mail-contact-link {
    font: 400 16px/1 'Montserrat', Georgia, Serif;
}

.contact-form-title {
    font: 400 40px/46px 'Montserrat', Georgia, Serif;
}

.review-item .review-author .review-author-name {
    font: 500 24px/22px 'Montserrat', Georgia, Serif;
}

.review-item .review-text {
    font: italic 400 16px/28px 'Montserrat', Georgia, Serif;
}

.review-add-form .form-title {
    font: 400 40px/41px 'Montserrat', Georgia, Serif;
}

.review-add-form .form-subtitle {
    font: 400 24px/28px 'Montserrat', Georgia, Serif;
}

.jq-file .jq-file__name {
    font: 400 13px/1 'Montserrat', Georgia, Serif;
}

.show-map-block .show-map-title {
    font: 300 18px/1 'Montserrat', Georgia, Serif;
}

.choice-case-title {
    font: 400 16px/1 'Montserrat', Georgia, Serif;
}

.choice-label-big {
    font: 400 16px/1 'Montserrat', Georgia, Serif;
}

.filter-default {
    font: 300 18px/1 'Montserrat', Georgia, Serif;
}

.filter-option-hide {
    font: 300 18px/1 'Montserrat', Georgia, Serif;
}

.filter-num-result {
    font: 300 18px/1 'Montserrat', Georgia, Serif;
}

.choice-case-title {
    font: 400 16px/1 'Montserrat', Georgia, Serif;
}

.case-range {
    font: 400 16px/1 'Montserrat', Georgia, Serif;
}

.check-list-case li {
    font: 400 18px/1 'Montserrat', Georgia, Serif;
}

.show-map-block .show-map-btn::after {
    font: 300 18px/1 'Montserrat', Georgia, Serif;
}

.show-map-block .show-map-btn::before {
    font: 300 18px/1 'Montserrat', Georgia, Serif;
}

.section-team-all::before {
    background: url("../images/banner-head.png") no-repeat 50% 35%;
}

.star {
    top: 0;
}

.select2-container .select2-selection--multiple {
    border-radius: calc(0% + 50px);
}

.select2-selection--multiple .select2-search--inline .select2-search__field {
    padding-left: 25px !important;
    font-family: 'Montserrat';
    line-height: 11px;
}

.header-banner {
    width: 100%;
    height: 75px;
    text-align: center;
    background-color: red;
    padding: 20px 0;
    z-index: 9999;
    position: fixed;
    top: 0;
}

.text-banner {
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-decoration: underline;
}

.close-icon {
    width: 20px;
    height: 20px;
}

.banner-close {
    position: absolute;
    right: 30px;
}

.price-change {
    width: 20px;
}

.case-price-change {
    margin-bottom: 14px;
}
.news-item .news-image-wrap {
    height: 370px;
}

#toTop {
    position: fixed;
    display: inline-block;
    bottom: 30px;
    left: 40px;
    width: 40px;
    height: 40px;
    z-index: 1000;
    cursor: pointer;
    text-align: center;
    color: #fff;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease-in-out;
}

#toTop:hover {
    transform: scale(1.2);
}

#toTop svg {
    position: relative;
    top: 12px;
    right: -1px;
    fill: #fff;
    transition: all .3s ease-in-out;
}

#toTop.show {
    opacity: 1;
    visibility: visible;
    left: calc(2%);
}

.agent-adv_count {
    margin-top: 20px;
    color: #333;
    font: 16px/24px 'Montserrat';
}
.h2-cif {
    font-family: "Montserrat", Georgia, Serif !important;
}
.h2-fn {
    font-family: "Montserrat", Georgia, Serif !important;
}

.h1-main {
    font: 400 82px/85px 'Montserrat', Georgia, Serif;
    font-size: 40px;
    position: absolute;
    bottom: 0;
    color: white;
}

.layout-header.dark .h1-main {
    top: 60px;
    height: 40px;
    line-height: 40px;
}

.layout-header.dark .btn-consult {
    height: 40px;
    margin: 0;
}


.member-item .member-image-wrap .member-image {
    filter: unset;
}

.layout-header .mail-link .mail-link-text {
    display: none;
}

.section-case .h2-fn {
    font-size: 40px;
}

.section-list-news .h2-fn {
    font-size: 40px;
}

.section-advantages .h2-fn {
    font-size: 40px;
}

.section-team .h2-fn {
    font-size: 40px;
}

.section-review .h2-fn {
    font-size: 40px;
}

.review-slide-text p {
    max-height: 135px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.section-form.form-main .form-content > h2 {
    font-size: 40px !important;
}

.add-text-main p,
.add-text-main li {
    font-size: 16px;
}

.section-text .text-block {
    font-size: 16px;
}

.section-text h3 {
    margin-bottom: 30px;
    font: 500 24px/36px 'Open Sans', sans-serif;
}

.section-text p, .section-text ul.marked {
    font: 16px/28px 'Open Sans', sans-serif;
    width: inherit;
}

.news-item .news-date {
    font: 400 16px/1 'Montserrat', Georgia, Serif;
}

.news-item .news-title {
    font: 400 24px/48px 'Montserrat', Georgia, Serif;
}

.contact-info-block .phone-contact-link {
    font: 400 24px/1 'Montserrat', Georgia, Serif;
}

.news-item.news-big-item .news-title {
    font: 400 40px/65px 'Montserrat', Georgia, Serif;
}

.location_full {
    margin-left: 5px;
    font: 400 24px/1 'Times New Roman', sans-serif
}

.h2-fn {
    color: rgb(51, 51, 51);
    display: block;
    font-family: "Times New Roman", sans-serif;
    font-size: 60px;
    font-style: normal;
    font-weight: 400;
    line-height: 60px;
    margin-bottom: 78px;
    margin-top: 0px;
    padding-left: 96px;
    position: relative;
}

.h2-fn::before {
    top: 30px !important;
}

.section-text .h2-fn::before {
    top: 20px !important;
}

.case-image-wrap img {
    width: 100%;
}
.favorite-link {
    display: block;
    width: 30px;
    height: 18px;
    cursor: pointer;
    z-index: 51;
    position: absolute;
    top: 100px;
    left: calc(50% - 592px);
    border-color: transparent;
}
.favorite-link:before {
    content: 'ИЗБРАННОЕ';
    font: 400 16px/1 'Montserrat', Georgia, Serif !important;
    color: #fff;
    position: absolute;
    top: 10px;
    right: -130px;
}
.favorite-link.dark:before {
    color: #000;
}
.si-phone .group-link {
    display: flex;
    gap: 10px;
    align-items: end;
}
.si-phone .group-link .link-item {
    width: 35px;
    height: 35px;
    display: flex;
}
.si-phone .btn-consult {
    border-radius: 0;
    width: 100%;
}
.block-rieltor-link .rieltor-link {
    width: 35px;
    height: 35px;
}
.group_swiper-button {
    display: flex;
    justify-content: end;
    flex-direction: row-reverse;
    margin-top: 25px;
    gap: 25px;
}
.news-button-next,
.news-button-prev {
    position: relative;
}
.h2-fn {
    margin-bottom: 30px;
}
.section-case {
    padding: 40px 0 50px;
}
.section-advantages {
    padding: 40px 0 40px;
}
.section-count {
    padding: 40px 0 40px;
}
.section-team {
    padding: 40px 0 40px;
}
.section-review {
    padding: 40px 0 40px;
}
.section-list-news {
    padding: 40px 0 40px;
}
.swiper-pagination.review-pagination-bullet {
    bottom: 40px;
}
.section-review .wrapper-button {
    display: flex;
    justify-content: center;
    align-items: center;
}
.section-review .wrapper-button .btn {
    border-radius: 0;
    width: 300px;
}
.template .case-item .case-title {
    color: #00A1DD;
    text-align: left;
    font: 600 16px/1 'Montserrat', Georgia, Serif !important;
}
.template .case-item .case-address {
    font: 400 14px/26px 'Montserrat', Georgia, Serif !important;
    color: #4c4c4c;
}
.template .case-item .case-due_date {
    font: 400 16px/26px 'Montserrat', Georgia, Serif !important;
    color: #4c4c4c;
}
.template .case-item .case-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
@media (min-width: 640.5px) {
    .form-main {
        padding: 220px 0 64px;
    }
}

@media (max-width: 640px) {
    .section-selected {
        padding: 40px 0 80px;
    }
    .favorite-link {
        left: 20px;
        width: 56px;
        height: 32px;
    }
    .favorite-link:before {
        content: '';
    }
}

@media (max-width: 640px) {
    .col-xs-1 {
        width: 100% !important;
    }

    .choice-option-case {
        flex-direction: column;
        align-items: start;
    }

    .h1-main {
        font-size: 30px;
        bottom: inherit;
        top: 130px;
    }

    .si-phone .phone-link {
        display: none !important;
    }

    .filter-control-block > div:nth-child(4) > button {
        transform: translateY(15px);
    }

    .mortgage-calc-result {
        margin: 0;
    }

    #case-card .container .row {
        display: flex;
        flex-direction: column-reverse;
    }

    .container {
        padding: 0 20px;
    }

    .case-price-info {
        margin: 0 0 44px 5px;
    }

    .mortgage-calc-result + .btn-wrap .btn-mortgage {
        margin-left: 0;
    }
    .section-case {
        padding: 30px 0 30px;
    }
    .section-advantages {
        padding: 30px 0 65px;
    }
    .section-count {
        padding: 132px 0 30px;
    }
    .section-team {
        padding: 30px 0 30px;
    }
    .section-list-news {
        padding: 170px 0 30px !important;
    }
    .form-main {
        padding: 30px 0 90px;
    }
}
