.ex_footer_top {
    position: relative;
    background: #1C1C1C;
}

.ex_footer_top .ds-footer-logo {
    filter: invert(1);
}

.ex_footer_top .ds-footer-subscribe-text {
    color: #fff;
}

.ex_footer_top .ds-footer-subscribe-button {
    border-radius: 8px !important;
}

.ex_footer_center {
    background: #151515;
    padding: 24px 0;
}

.ex_footer_center_list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ex_footer_center_list_icon {
}

.ex_footer_center_list_items {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ex_footer_center_list_item {
    color: white;
    font-weight: 500;
}

.ex_footer_center_list_text {
    font-weight: 300;
    color: white;
}

.ex_footer_center_list_text span {
    color: white;
}

.ex_footer_center .ex_footer_title {
    font-weight: 600;
    color: white;
}

.ex_footer_center .ex_footer_title_mb_16 {
    margin-bottom: 16px;
}

.ex_footer_center .ex_footer_links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: white;
    font-weight: 300;
}

.ex_footer_center .ex_footer_link {
}

.ex_footer_center .ex_footer_center_social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    margin-top: 16px;
    margin-bottom: 24px;
}

.ex_footer_center .ex_footer_center_social_item {
    width: 40px;
    height: 40px;
    display: flex;
    border-radius: 50px;
    background: white;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.ex_footer_center .ds-footer-phones-shedule {
    gap: 24px;
}

.ex_footer_center .ex_footer_title_button {
    display: none;
}

.ex_footer_bottom {
    background: #1C1C1C;
    min-height: 64px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.ex_footer_bottom .ds-footer-copyrights {
    color: #fff;
}

.ex_footer_bottom .ds-footer-payments {
    display: flex !important;
    flex-direction: row;
    align-items: center !important;
    gap: 8px;
}

.ex_footer_bottom .ds-footer-payments-item {
    border-radius: 50px !important;
    max-height: 32px;
    background: white;
    padding: 0 6px;
}

@media (max-width: 767px) {
    .ex_footer_center .ds-footer-phones-shedule {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 18px;
    }

    .ex_footer_center > .container-xl > .row {
        flex-direction: column;
    }

    .ex_footer_menu_block {
        padding: 12px 16px 0 16px;
        border: 1px solid #4B4B4B;
        border-radius: 12px;
        margin-bottom: 8px;
    }

    .ex_footer_center .ex_footer_title {
        font-size: 16px;
        position: relative;
        margin-bottom: 16px !important;
    }

    .ex_footer_center .ex_footer_menu_block .ex_footer_title_button {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        height: 28px;
        width: 28px;
        padding: 0;
        margin: 0;
        background: transparent !important;
        border: none !important;
        cursor: pointer;
        transform: rotate(-180deg);
        transition: transform .5s;
    }

    .ex_footer_center .ex_footer_menu_block.ex_f_menu_open .ex_footer_title_button {
        transform: rotate(0deg);
        transition: transform .5s;
    }

    .ex_footer_menu_block.ex_f_menu_open .ex_footer_title {
        margin-bottom: 16px !important;
    }

    .ex_footer_center .ex_footer_menu_block .ex_footer_links {
        max-height: 0;
        overflow: hidden;
        transition: max-height .5s ease;
    }

    .ex_footer_center .ex_footer_menu_block.ex_f_menu_open .ex_footer_links {
        max-height: 500px;
        transition: max-height .5s;
    }

    .ex_footer_center .ex_footer_center_social {
        margin: 0;
        margin-bottom: 18px;
    }

    .ds-footer-address.d-flex.flex-column.align-items-start > .ex_footer_title {
        margin: 0;
    }

    .col-md-8.col-xl-6.ds-footer-subscribe.mb-3.mb-md-0 {
        background: #1C1C1C;
        margin: 0 !important;
        border: none;
    }

    .ex_footer_top::before {
        width: calc(100% - 10px);
        height: 80px;
    }

    .ex_footer_bottom .ds-footer-payments {
        display: flex !important;
        margin: 0;
        padding: 0;
        border: none;
    }

    .ex_footer_footer {
        padding: 0 16px 16px;
        display: flex !important;
        flex-direction: column-reverse !important;
        gap: 16px;
    }

    .ds-footer-subscribe-input.active {
        height: 100px;
    }
}

@media (max-width: 1024px) {
    .ex_footer_top {
        padding: 0 70px;
    }
}

@media (max-width: 768px) {
    .ex_footer_top {
        padding: 0 0px;
    }
}

#footer-make-subscribe {
    position: absolute;
    right: 2px;
    top: 2px;
    border-radius: 8px !important;
    height: 40px;
}

#footer-subscribe #InputSubscribeEmail {
    border-radius: 8px !important;
    height: 44px;
    border: none;
}