﻿@import url('../css/OtbasybankLibrary/blocks.css');
/*НОВЫЕ СТИЛИ БАСПАНЫ*/
.footer {
    /* overflow: hidden;
    position: fixed;
    bottom: 0;*/
    position: unset !important;
    align-items: center;
    background: #008b8a;
    padding-top: 60px;
    padding-bottom: 40px;
    color: var(--first-color);
}

    .footer .footer-row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .footer .footer-row.first {
            margin-bottom: 40px;
            justify-content: space-between;
        }

            .footer .footer-row.first .content-item {
                align-items: center;
            }

                .footer .footer-row.second .content-item .i-content,
                .footer .footer-row.second .content-item .i-content,
                /* Добавил стили ко второй строке футера */
                .footer .footer-row.first .content-item .i-content,
                .footer .footer-row.first .content-item .i-content * {
                    /* font-size: 24px; */
                    /* font-weight: 500; */
                    /* line-height: 1.14; */
                    /* margin-bottom: 10px; */
                    /* Убрал нижний отступ */
                    /* color: var(--first-color) !important; */
                    /* text-decoration: none; */
                    /* color: #fff; */
                    font-family: Ubuntu;
                    font-style: normal;
                    font-weight: normal;
                    font-size: 22px;
                    line-height: 25px;
                    text-align: center;
                    color: #FFFFFF;
                }

                .footer .footer-row.second .content-item .i-title,
                .footer .footer-row.third .content-item .i-title,
                /* Добавил стили ко второй и третей строке футера */
                .footer .footer-row.first .content-item .i-title {
                    font-family: Ubuntu;
                    font-style: normal;
                    font-weight: normal;
                    font-size: 14px;
                    line-height: 30px;
                    text-align: center;
                    color: #FFFFFF;
                    margin-bottom: 3px;
                    /* font-family: Helvetica; */
                    /* font-size: 14px; */
                    /* line-height: 1.14; */
                    /* margin-bottom: 10px;  */
                    /* Изменил, было: 30px */
                    /* color: #fff; */
                    /* color: var(--first-blur-color); */
                }

            .footer .footer-row.first .icon-box {
                display: flex;
                flex-direction: row;
                align-items: center;
                font-size: 40px;
            }

                .footer .footer-row.first .icon-box p {
                    font-size: 30px;
                }

        .footer .footer-row.second {
            display: flex;
            align-items: center; /* Изменил, было: stretch */
            margin-bottom: 60px;
        }
            /* @media(max-width: 1200px){
                    .box {
                        width: 100%;
                        display: grid;
                        grid-template-columns: 1fr 1fr;
                        flex-direction: column;
                        align-items: center;
                        }
        } */

            .footer .footer-row.second .box .btn-footer {
                display: flex;
                align-items: center;
                justify-content: center;
                height: 40px;
                width: 59%;
                max-width: 220px;
                background-color: #40a8a7;
                font-family: Ubuntu;
                font-size: 14px;
                font-weight: 500;
                line-height: 1.43;
                text-align: center;
                color: var(--first-color);
            }

                .footer .footer-row.second .box .btn-footer:not(:last-child) {
                    margin-bottom: 20px;
                }

            .footer .footer-row.second .box.left {
                margin-bottom: 20px;
            }

            .footer .footer-row.second .box.right .btn-footer.video {
                box-sizing: border-box;
                background: transparent;
                border: 1px solid var(--first-color);
                cursor: pointer;
            }

                .footer .footer-row.second .box.right .btn-footer.video svg {
                    margin-right: 10px;
                }

.box.right {
    margin-top: 14px; /* Добавил верхний отступ */
}


.footer .footer-row.second .social-box {
    display: flex;
    flex-direction: row;
    font-size: 20px;
    /* margin-bottom: 40px; */ /* Убрал нижний отступ */
}

    .footer .footer-row.second .social-box a {
        color: var(--first-color);
    }

        .footer .footer-row.second .social-box a:not(:last-child) {
            margin-right: 30px;
        }

.footer .footer-row.third .copy-text {
    font-family: Ubuntu;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 16px;
    /* identical to box height */
    color: #FFFFFF;
}

.footer-menu {
    /* display: flex; */
    /* flex-basis: auto; */
    /* justify-content: space-between; */
    /* flex-basis: 40%; */
    /* display: grid; */
    /* grid-template-columns: 1fr; */
    /* grid-template-columns:min-content; */
    text-align: center;
    /* margin-left: auto; */
    /* margin-right: auto; */
}


.footer-menu--items {
    /* color: #fff; */
    /* padding-right: 56px; */
    /* text-decoration: underline #fff 1px;*/
    font-family: Ubuntu;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 18px;
    /* text-decoration: underline #FFFFFF 1.9px; */
    color: #FFFFFF;
}
/* Убрал точки */
li {
    list-style: none;
}
/* .list_style {
        color: #fff;
        text-decoration: #fff;
    } */
/* .icon-box {} */
.list_style {
    margin-right: 55px;
}

.list_style--items {
    /* color: var(--first-blur-color); */
    /* text-decoration: underline var(--first-blur-color); */
    font-family: Ubuntu;
    font-style: normal;
    font-weight: normal;
    font-size: 13px;
    line-height: 30px;
    text-decoration-line: underline;
    color: white; /*#C1FDF2*/
}

.i-titles {
    font-family: Ubuntu;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 18px;
    color: #FFFFFF;
    padding-top: 13px;
    margin-right: 30px;
}

.footer-menu.linksHref {
    width: 100%;
}

    .footer-menu.linksHref ul.nav {
        justify-content: space-between;
        width: 100%;
        margin: 0px;
        display: flex;
        gap: 0px;
    }

@media (max-width: 700px) {
    .footer-menu.linksHref ul.nav {
        justify-content: center;
    }

    .footer .footer-row.second {
        /* flex-direction: row; */
        /* background: red; */
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: right;
        /* text-align: center;    */
    }

    .social-box {
        align-items: center;
        text-align: right;
        margin-left: auto;
        margin-right: auto;
    }

    .list_style {
        text-align: right;
    }

    .footer .footer-row.second .content-item .i-title,
    .footer .footer-row.second .content-item .i-content,
    .footer .footer-row.second .content-item .i-content {
        text-align: left;
    }

    li.nav-item.footer-menu--items {
        font-family: Ubuntu;
        font-style: normal;
        font-weight: normal;
        font-size: 12px;
        line-height: 11px;
        text-decoration-line: underline;
        color: #FFFFFF;
    }

    .footer-row.first.justify-content-center {
        margin: 10px 0px;
    }

    .footer {
        padding: 16px;
    }

    ul.nav.justify-content-center {
        margin: 0px;
    }

    .box.left {
        display: none;
    }

    .footer-row.second {
        width: 100%;
        grid-template-columns: 1fr 1fr !important;
        grid-column: 1;
    }

    .footer-row.second {
    }

    .box.center-right {
        grid-column: 1;
        grid-row: 1;
    }

    .content-item.footer-app {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        align-items: center;
        justify-content: center;
        grid-gap: 10px;
    }

        .content-item.footer-app p.i-titles {
            grid-column-start: span 2;
            text-align: center;
            margin: 0px;
        }

    .footer-row.third {
        align-items: center;
    }

    .content-item.footer-app a {
        margin-right: 0px !important;
    }

    .box.center-left.list_style {
        grid-column: 1;
        grid-row: 3;
        font-family: Ubuntu;
        font-style: normal;
        font-weight: normal;
        font-size: 12px;
        line-height: 11px;
        text-decoration-line: underline;
        color: #C1FDF2;
        width: max-content;
        margin: 0px;
        grid-column-end: span 2;
    }

        .box.center-left.list_style ul li a div {
            font-family: Ubuntu;
            font-style: normal;
            font-weight: normal;
            font-size: 12px;
            line-height: 21px;
            text-decoration-line: underline;
            color: #C1FDF2;
            /*width: max-content;*/
        }

    .mainContentPool {
    }

    .footer-row.third p {
        text-align: center;
    }

    p.i-title {
        font-family: Ubuntu;
        font-style: normal;
        font-weight: normal;
        font-size: 10px !important;
        line-height: 11px;
        text-align: center !important;
        color: #FFFFFF;
    }

    p.i-content {
        font-family: Ubuntu;
        font-style: normal;
        font-weight: normal;
        font-size: 12px !important;
        line-height: 11px;
        text-align: center;
        color: #FFFFFF;
    }

    .footer-row.second {
        width: 100% !impporant;
    }

    .social-box img {
        width: 19px;
    }

    .social-box a {
        margin: 0px !important;
    }

    .social-box {
        grid-gap: 28px;
    }

    .content-item.footer-details {
        width: 100% !important;
    }



    nav.footer-menu ul.nav.justify-content-center {
        /* justify-content: space-around !important;*/
    }

    .footer-row.second {
        margin: 8px 0px 19px 0px !important;
    }

    p.i-content {
        text-align: center !important;
    }

    .box.center-left.list_style {
        margin: 4px;
    }

    .footer .footer-row.third .copy-text {
        font-size: 12px !important;
    }
}

@media (max-width: 360px) {
    .footer .footer-row.second {
        grid-template-columns: 1fr;
        display: flex;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
}


@media (min-width: 768px) {
    .footer {
        padding-top: 31px;
        padding-bottom: 17px;
        /*padding-left: var(--padding-layout);*/
        /*padding-right: var(--padding-layout);*/
    }

        .footer .footer-row {
            flex-direction: row;
        }

            .footer .footer-row.first {
                justify-content: space-between;
                margin-bottom: 24px;
            }

                .footer .footer-row.first .content-item {
                    align-items: stretch;
                }

                    .footer .footer-row.first .content-item .i-content {
                        margin-bottom: 10px;
                    }

                    .footer .footer-row.first .content-item .i-title {
                        margin-bottom: 0;
                    }

                .footer .footer-row.first .icon-box {
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    font-size: 40px;
                    margin-bottom: 40px;
                }

                    .footer .footer-row.first .icon-box p {
                        font-size: 30px;
                    }

            .footer .footer-row.second {
                justify-content: flex-start;
                margin-bottom: 30px;
                margin-top: 30px;
            }


                .footer .footer-row.second .box {
                    width: 100%;
                    display: grid; /* Изменил, был: flex */
                    /* flex-direction: column; */
                    align-items: unset; /* Изменил, был: flex-end */
                    /* grid-template-columns: 1fr; */
                }

                    .footer .footer-row.second .box .btn-footer {
                        padding: 10px 0;
                        width: 220px;
                        margin-bottom: 0 !important;
                    }

                        .footer .footer-row.second .box .btn-footer.first {
                            margin-right: 2px;
                        }

                    .footer .footer-row.second .box.left {
                        margin-bottom: 0;
                        display: flex;
                        /* margin-left: 100px; */
                        /* Пока что, добавил */
                    }

                    .footer .footer-row.second .box.right {
                        justify-content: flex-end;
                    }



            .footer .footer-row.third {
                flex-direction: row-reverse;
                justify-content: space-between;
            }

                .footer .footer-row.third .social-box {
                    display: flex;
                    flex-direction: row;
                    font-size: 20px;
                    margin-bottom: 0;
                }

    footer .footer-row.third .social-box i:not(:last-child) {
        margin-right: 30px;
    }

    footer .footer-row.third .copy-text {
        text-align: center;
    }
}


.footerSoc {
    height: 40px;
    margin: 0 auto;
    width: 200px;
}

    .footerSoc a span {
        height: 30px;
        width: 30px;
    }

footerSoc img {
    height: 30px;
    width: 30px;
}

@media (max-width:600px) {
    .footer .footer-row.second {
        grid-template-columns: 1fr;
    }
}

footer {
    margin-top: auto !important;
}
/*footer {*/
/*display: none !important;*/

/*opacity:0;}*/
@media (min-width:700px) and (max-width:1200px) {
    .footer-row.second {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        margin: 0 auto;
    }

        .footer-row.second div {
            margin: 0 auto;
            width: max-content !important;
        }

    .footer-row.third {
        flex-direction: column !important;
        grid-gap: 21px;
        text-align: -webkit-center;
    }
}

.depozit-date :hover {
    color: #008b8a;
}

.safety_memo {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    font-size: 14px;
    line-height: 1.4;
    display: inline-block;
    max-width: 100%;
}

@media (max-width: 700px) {
    .box.center-left.list_style {
        width: 100%;
        text-align: left;
        padding: 0 10px;
    }

        .box.center-left.list_style ul {
            width: 100%;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

            .box.center-left.list_style ul li {
                width: 100%;
            }

    .safety_memo {
        display: block;
        text-align: left;
        font-size: 13px;
        line-height: 1.4;
        padding: -1 8px;
    }
}
