.footer {
    background-color: var(--secondary-background-color);
    flex: 0 0 auto;
}

.footer__wrapper {
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.footer__title {
    color: var(--third-text-color);
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: 1px;
    margin: 0 0 30px;
    display: flex;
    align-items: center;
}
.footer__title i {
    display: none;
}
.footer__items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__right-container {
    display: flex;
}

.footer__banner-link {
    display: block;
    border-radius: 5px;
    overflow: hidden;
    max-width: 129px;
    max-height: 40px;
}

.footer__banner-link:first-of-type {
    margin-right: 10px;
    margin-bottom: 10px;
}

.footer__item {
    display: flex;
    font-size: 14px;
    color: var(--third-text-color);
    font-weight: 400;
}

.footer__time {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.footer__time .footer__text {
    margin: 0;
}


.footer__phone {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.footer__phone .footer__text {
    margin: 0;
}

.footer__text {
    color: var(--third-text-color);
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.5px;
    margin: 0 0 20px;
}

.footer__text_form {
    font-style: italic;
}

.footer__link {
    color: var(--third-text-color);
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}

.footer__link:hover {
    color: var(--accent-color);
}

.footer__title .i {
    font-size: 22px;
}

.footer__form-container {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 0 8px;
    border-bottom: 1px solid var(--border-color);
}

.footer__input {
    display: block;
    flex: 1 1 auto;
    padding: 10px;
    margin: 0;
    border: none;
    outline: none;
}

.footer__button {
    display: block;
    width: 110px;
    height: 45px;
    background-color: var(--main-backgroun-color);
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 1px;
    border: none;
}

.footer__container {
    width: 100%;
    background-color: var(--main-backgroun-color);
}

.footer__dropdown {
    width: 80%;
    margin: 0 auto 80px;
}

.footer__dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin: 0 0 10px;
    transition: all 0.4s ease-in-out;
}

.footer__dropdown-btn .footer__title {
    margin: 0;
}

.footer__dropdown-btn_active {
    background-color: #e5e5e5;
    border-radius: 10px;
}

.footer__dropdown-btn_active .mdi {
    transform: rotate(180deg);
}

.footer__dropdown-items {
    padding: 0 15px;
    margin: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
}

.footer__dropdown_hidden {
    display: none;
}

.footer__dropdown-items_hidden {
    height: 0 !important;
    visibility: hidden;
}

.footer__left {
    width: 30%;
    padding: 50px;
    background: var(--footer-accent-color);
}

.footer__banners {
    display: flex;
    flex-wrap: wrap;
}

.footer__banners-right {
    display: flex;
    flex-direction: column;
}

.footer__banner-right {
    margin: 0 5px 5px 0;
    border-radius: 5px;
    overflow: hidden;
    display: block;
}

.footer__banners {
    padding-top: 10px;
}

.footer__right {
    display: flex;
    width: 70%;
    flex-direction: column;
}

.footer__right-wrapper {
    display: flex;
    padding: 60px 0 60px 50px;
    width: 75%;
}

.footer__banners-right-wrapper {
    display: flex;
}

.footer__copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--secondary-text-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    border-top: 1px solid var(--secondary-border-color);
    padding: 35px 0;
    margin: 0px 50px;

}

.footer__logo {
    display: block;
    max-width: 100%;
    width: 215px;
    height: 43px;
    margin: 0 auto 10px;
}

.footer__logo img {
    width: 100%;
    height: 100%;
}

.footer__column {
    margin: 0 10px;
    width: 100%;
}

.footer__column_right {
    width: 25%;
    padding: 60px 50px 60px 0;
}

@media (max-width: 1699px) {
    .footer__right-container {
        flex-direction: column;
    }
    .footer__right-wrapper {
        padding-right: 50px;
        width: 100%;
    }
    .footer__column_right {
        width: 100%;
        padding: 0 50px 60px 50px;
        margin-left: 0;
    }
    .footer__items-wrapper {
        display: flex;
        margin-top: 10px;
        max-width: 700px;
        width: 100%;
        justify-content: space-between;
    }
    .footer__items-wrapper .footer__title {
        margin-bottom: 5px;
    }

}

@media (max-width: 991px) {
    .footer__wrapper {
        flex-direction: column;
    }
    .footer__left {
        width: 100%;
        background: none;
        padding-bottom: 0;
    }
    .footer__description {
        text-align: center;
    }
    .footer__banners {
        justify-content: center;
    }
    .footer__right-wrapper {
        flex-direction: column;
        padding: 0 50px;
    }
    .footer__right {
        width: 100%;
    }
    .footer__title i {
        display: block;
        transition: all 0.3s ease-in-out;
    }
    .footer__title {
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: center;
        cursor: pointer;
    }
    .footer__items {
        display: none;
    }
    .footer__items_last {
        display: block;
    }

    .footer__title_acitve i {
        transform: rotate(180deg);
    }
    .footer__banners-right-title {
        cursor: auto;
    }
}

@media (max-width: 767px) {

    .footer__items-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .footer__banners-right-title {
        justify-content: center;
    }
}