.message_dm.fancybox-content {
    width: 80% !important;
    background-color: unset;
}

.gallery-block__photo svg{
    position: absolute;
    top: 46%;
    opacity: .7;
    transition: all .3s;
}
.gallery-block__photo:hover svg{
    opacity: .9;
}
.message_dm video {
    width: 100% !important;
}
.form_1 {
    display: none;
}

.contacts__grid .main-contacts.main-contacts--small {

    justify-content: space-between;
}

.projects {
    justify-content: space-around;
    flex-wrap: wrap;
    height: 100% !important;
    margin: 0px 0px 52px !important;
}

.block_promo_main_black_friday_item.not_anim {
    animation: unset;
    background-color: unset;
    gap: 18px;
    font-weight: 700;
    align-items: center;
}
.click_me_header_dm{
    padding: 4px 27px;
    background-color: #007A66;
    color: white;
    border-radius: 5px;
}
#block_promo_main_black_friday {
    background-color: #FBD100 !important;
}
#block_promo_main_black_friday:has(.not_anim) {
    background-color: white;
    justify-content: center;

}

#block_promo_main_black_friday span {
    color: #000000 !important;
    font-weight: 400;
}
.title_label_header_dm{
    color: #007A66;
}
.title_label_header_dm,
.click_me_header_dm {
    text-transform: uppercase;
}

#callibri-module-area {
    display: none;
}

#callibri_quiz_hook {
    display: none;
}

#callibri_quiz_closed_quiz {
    display: none;
}

#smartFilterDropDown779.none_visual_select_comm {
    display: none !important;
}

.button:disabled {
    opacity: 0.5;
}

/* .socials a.footer_social_tg{
    background:url(../local/assets/img/footer/tg_nw.png) center/contain no-repeat
} */

.socials>a[href*=t] {
    background: url(../../../local/assets/img/footer/tg_nw_25.svg) center/contain no-repeat
}

.footer__socials.socials>a[href*=vk] {
    background: url(../../../local/assets/img/footer/vk_nw_25.svg) center/contain no-repeat
}

.footer__socials.socials>a[href*=ru] {
    background: url(/local/templates/rascvetay-ctweb/img/svg/youtube.svg) center/contain no-repeat
}



.section_selection_apartments {
    /* margin-bottom: 30px; */
    margin-bottom: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}


.selection_apartments_inside {
    display: flex;
    flex-direction: column;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0px 0px 10px 5px #f6f6f6;
    width: 100%;
    border-radius: 8px;
}

.selection_apartments_inside img {
    /* margin-bottom: 10px; */
}

/* .apartments_inside_quadrature, .apartments_inside_price, .apartments_inside_mortgage, .apartments_inside_dedline, .apartments_inside_floor, .apartments_inside_ipoteka_percent {
    padding-bottom: 10px;
} */

.apartments_inside_characteristics {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    /* margin-top: 16px; */
}

.apartments_inside_characteristics span {
    margin-top: 16px;
}

.finished_renovation {
    margin: 10px 0;
    height: 30px;
}

.finished_renovation span {
    font-size: 14px;
    font-weight: 500;
    color: #007A66;
    display: inline-block;
    border: 1px solid rgba(0, 122, 102, 0.15);
    border-radius: 5px;
    padding: 5px 20px;
    background-color: rgba(0, 122, 102, 0.05);
}

.appartment_bloc_prices {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    margin-top: 16px;
}

.selection_apartments_inside_akcii {
    margin-top: 10px;
    /* height: 24px; */
}

.selection_apartments_inside_akcii .apartments_inside_price {
    color: #282828;
    text-decoration: line-through;
    text-decoration-color: #F45050;
    text-decoration-thickness: 2px;
    font-size: 16px;
    font-weight: 400;
}

.selection_apartments_inside .apartments_inside_price.promotion_price {
    font-size: 24px;
    margin-right: 7px;
}

.selection_apartments_inside .apartments_inside_price b {
    font-size: 24px;
    font-weight: 600;
}

.selection_apartments_inside_akcii .apartments_inside_price b {
    font-size: 16px;
    font-weight: 400;
}

.selection_apartments_inside_akcii .apartments_inside_akcii {
    display: inline-block;
    font-size: 16px;
    color: #E44E4E;
    font-weight: bold;
    margin-left: 20px;
}

.apartments_inside_price {
    /* font-weight: bold;
    font-size: 36px;
    color: #007A66;
    text-align: left; */
    font-weight: 600;
    font-size: 24px;
    color: #2B2A29;
    text-align: left;
}

.apartments_inside_quadrature {
    font-weight: 500;
    font-size: 16px;
    text-align: left;
    color: #282828;
}

.apartments_inside_project_name {
    font-weight: 500;
    font-size: 16px;
    color: #282828;
    text-align: left;
    /* text-decoration: underline;
    line-height: 1.3; */

}

.apartments_inside_housing_class {
    width: max-content;
    color: #282828;
    background-color: #F6ECBD;
    /* border: 1px solid #007A66; */
    /* border: 1px solid rgba(0, 122, 102, 0.15); */
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    /* margin-bottom: 10px; */
    font-size: 12px;
    font-weight: 500;
    margin-right: 10px;
}

.apartments_inside_black_friday {
    width: max-content;
    color: #000000;
    padding: 7px 10px 3px;
    border-radius: 5px;
    display: inline-block;
    background-color: #EFD53A;
    /* margin-bottom: 10px; */
    font-size: 12px;
    font-weight: 500;
    margin-right: 10px;
}

.apartments_inside_mortgage,
.apartments_inside_dedline,
.apartments_inside_floor {
    font-size: 12px;
    color: #828282;
    text-align: left;
    margin-top: 6px;
}

.apartments_inside_info_appart {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
}

.apartments_inside_info_appart span {
    font-size: 12px;
    color: #828282;
    text-align: left;
    /* margin-right: 16px; */
}

.apartments_inside_ipoteka_percent {
    font-size: 12px;
    color: #ca5820;
    font-weight: 500;
}


.apartments_inside_square {
    color: #828282;
    font-size: 16px;
}

.selection_apartments_inside_buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 13px;
}

.selection_apartments_inside_buttons a {
    height: 42px;
    width: 100%;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.selection_apartments_inside_buttons .selection_apartments_inside_buttons_bid {
    border: 1px solid rgba(0, 122, 102, 0.15);
    color: #007A66;
    max-width: 162px;
}

.selection_apartments_inside_buttons .selection_apartments_inside_buttons_more {
    background-color: #007A66;
    color: #fff;
    max-width: 128px;
}

.selection_apartments_inside_buttons .selection_apartments_inside_buttons_more:hover {
    border: 1px solid rgba(0, 122, 102, 0.15);
    color: #007A66;
    background-color: #fff;
    transition: 0.2s;
}

.choice_apartment {
    background-color: #007A66;
    padding: 13px 30px;
    font-size: 18px;
    border-radius: 8px;
    border: none;
    outline: none;
    text-align: center;
    cursor: pointer;
}

.choice_apartment a {
    color: #fff;
    text-decoration: none;
}

.choice_apartment:hover {
    color: white;
    box-shadow: 0px 0px 10px 0px #007A66;

}

.contain_slider_element {
    /* max-width: 280px; */
    max-width: 264px;
    margin: 0 auto;
    /* margin-bottom: 10px; */
}

.selection_apartments_inside img {
    /* height: 280px; */
    /* width: 280px; */
    /* object-fit: cover; */
}

.selection_apartments_inside:hover {
    z-index: 2;
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
    -webkit-box-shadow: 0 20px 8px -12px rgba(0, 0, 0, 0.05), 0 6px 20px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 8px -12px rgba(0, 0, 0, 0.05), 0 6px 20px 0 rgba(0, 0, 0, 0.05);
    transition: 0.5s;
}

.selection_apartments_inside:not(:hover) {
    transition: 0.5s;
}

/* Стили Слайдера */
.slider_card_layout .slick-dots li.slick-active button:before {
    color: #007A66;
}

.slider_card_layout .slick-dots li button:before {
    font-size: 7px;
}

.ui-selectmenu-menu .ui-menu-item:nth-last-child(-n+2) {
    display: none;
}


.block_ready_appart_key {
    /* background: url(/local/assets/img/main/banner_appart_ready.jpg) no-repeat center / cover; */
    background: url(/local/assets/img/main/banner_appart_ready_nw.png);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    height: 64px;
    margin-bottom: 40px;
}

.block_ready_appart_key_black_friday {
    font-size: 24px;
    font-weight: 700;
    color: #EFD53A;
    margin-right: 35px;
}

.block_ready_appart_key_info {
    display: flex;
    align-items: center;
}

.block_ready_appart_key_info span {
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    margin-right: 8px;
}

.block_ready_appart_key_info img {}

.block_ready_appart_key_btn a {
    margin-left: 51px;
    background-color: #fff;
    border-radius: 5px;
    width: 236px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: #007A66;
}

#navigation.bx-breadcrumb .bx-breadcrumb-item {
    display: flex;
    flex-direction: row !important;
    align-items: center;
}

.footer__contacts div:nth-child(2){
    margin: 0 32px;
}

.top-menu .top-menu__item.top-menu__item--root.top-menu__item--parent>ul {
    overflow-y: auto;
    max-height: 27vw;
    /* scrollbar-color: var(--green-clr) #f5f7f9; */
    scrollbar-width: thin;
}

@keyframes block_promo_main_black_friday {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

#block_promo_main_black_friday {
    overflow: hidden;
    white-space: nowrap;
    /* display: inline-block; */
    /* max-width: 1923px; */
    /* max-width: 40em; */
    background-color: #fff;
    height: 30px;
    display: flex;
    align-items: center;
    z-index: 999 !important;
}

.block_promo_main_black_friday_item {
    display: flex;
    font-size: 14px;
    font-weight: 600;
    /* width: fit-content; */
    animation: block_promo_main_black_friday 40s linear infinite;
}

.block_promo_main_black_friday_item span {
    margin: 0 32px;
    color: var(--green-clr);
    text-transform: uppercase;
}

.block_promo_main_black_friday_item span i {
    font-style: normal;
    color: rgba(0, 122, 102, 0.6);
}

@media (max-width:1500px) {
.top-menu__item--root.top-menu__item--active>a::after, .top-menu__item--root>a:hover::after {
    top: 90%;
}
}


@media (max-width:1000px) {
    /* #block_promo_main_black_friday {
        display: none;
    } */
}

@media (max-width:500px) {
    .block_ready_appart_key_info span {
        font-size: 16px;
    }

    .block_ready_appart_key_btn a {
        width: 150px;
        height: 28px;
        font-size: 12px;
        margin-left: 10px;
    }

    .block_ready_appart_key_info img {
        height: 25px;
    }
}

@media (max-width:430px) {

    .block_ready_appart_key {
        padding: 0 10px;
        justify-content: space-between;
    }

    .block_ready_appart_key_info span {
        margin-right: 5px;
        max-width: 150px;
    }
}