﻿
/*Footer*/
.footer-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background: #18154B;
    color: #FFF;
    justify-content: center;
    padding: 50px;
}

.footer-contact {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0px 150px;
    border-bottom: 2px solid #232E75;
    padding: 0px 90px 20px;
}

.contact-img {
    display: flex;
    justify-content: center;
}

    .contact-img img {
        width: 100px;
    }

.contact-style {
    display: flex;
    justify-content: center;
    text-align: center;
    padding-top: 35px;
    line-height: normal;
    font-size: 19.5px;
    font-style: normal;
    font-weight: 700;
}


.loader{
    display: flex;
    justify-content: center;
}




.contact-telephone {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    margin-top: 34px;
    width: 100%;
}

.nav-row {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 90px;
}

.nav-main {
    display: flex;
    flex-direction: column;
    gap: 55px;
}

    .nav-main a {
        color: #FFF;
        font-size: 22px;
        font-style: normal;
        font-weight: 800;
        line-height: normal;
        text-transform: uppercase;
    }


.nav-main-button {
    display: flex;
    justify-content: center;
}

    .nav-main-button button {
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 130%;
        color: #FFF;
        padding: 14px 26px;
        border-radius: 10px;
        background: #1453AC;
        transition: all 0.3s;
        filter: drop-shadow(1px 4px 10px rgba(0, 0, 0, 0.55));
    }

        .nav-main-button button:hover {
            transition: all 0.3s;
            box-shadow: 8px 8px 20px 0px rgba(20, 82, 170, 0.90), -8px -8px 16px 0px rgba(20, 84, 174, 0.90), 8px -8px 16px 0px rgba(20, 82, 170, 0.20), -8px 8px 16px 0px rgba(20, 82, 170, 0.20), -1px -1px 2px 0px rgba(20, 82, 170, 0.50) inset, 1px 1px 2px 0px rgba(20, 84, 174, 0.30) inset;
        }


.nav-list {
    display: flex;
    gap: 100px;
}


.To-buyers a {
    padding-bottom: 8px;
    color: #CFCFCF;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

    .To-buyers a:hover {
        text-decoration: underline;
    }

.To-buyers li {
    padding-bottom: 8px;
}



    .To-buyers li:first-child {
        margin-bottom: 18px;
        color: #FFF;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        letter-spacing: 0.32px;
        text-transform: uppercase;
    }


.Catalog a {
    padding-bottom: 26px;
    color: #CFCFCF;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

    .Catalog a:hover {
        text-decoration: underline;
    }

.Catalog li {
    padding-bottom: 26px;
}

    .Catalog li:first-child {
        color: #FFF;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        letter-spacing: 0.32px;
        text-transform: uppercase;
    }

.modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    padding: 30px;
    overflow-y: auto;
    display: none;
    transition: opacity 0.5s ease-in-out;
}


.modal__main {
    top: 20%; /* �������� �� 20% ���� */
    position: relative;
    max-width: 750px;
    background-color: #F0F5FB;
    margin: auto;
    color: #373C59;
    border-radius: 16px;
    padding: 75px 73px 59px;
    cursor: default;
}

.modal__title {
    text-align: center;
    font-weight: 700;
    font-size: 60px;
    margin-bottom: 30px;
}

.modal__container {
    display: flex;
    flex-direction: column;
    font-size: 30px;
    margin-bottom: 30px;
    gap: 30px;
}

.modal__btn {
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    color: #FFF;
    padding: 14px 26px;
    border-radius: 10px;
    background: #1453AC;
    transition: all 0.3s;
}


.modal-btn {
    display: flex;
    justify-content: center;
    padding-top: 15px;
}

.modal__btn:hover {
    transition: all 0.3s;
    filter: drop-shadow(1px 4px 10px rgba(0, 0, 0, 0.55));
}

.modal__close {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 22px;
    position: absolute;
    top: 10px;
    right: 10px;
    outline: 1px solid transparent;
    outline-offset: 3px;
    transition: outline-color .15s ease-in-out;
    border-radius: 3px;
    padding: 0;
    text-align: center;
    display: block;
    width: 30px;
    height: 30px;
    color: #373C59;
}

.modal label {
    margin-bottom: 5px;
    margin-left: 15px;
    color: #5B5B5B;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%; /* 23.4px */
}

.modal input {
    background: #F0F5FB;
    height: 50px;
    color: #5B5B5B;
    padding-left: 15px;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%; /* 23.4px */
    box-shadow: 13px 13px 33px 0px rgba(175, 179, 183, 0.90), -13px -13px 26px 0px rgba(255, 255, 255, 0.90), 13px -13px 26px 0px rgba(175, 179, 183, 0.20), -13px 13px 26px 0px rgba(175, 179, 183, 0.20), -1px -1px 2px 0px rgba(175, 179, 183, 0.50) inset, 1px 1px 2px 0px rgba(255, 255, 255, 0.30) inset;
}

.modal__close:focus-visible {
    outline-color: green;
}


/*�����������*/
.message-row-ok {
    transition: left 0.5s ease, right 0.5s ease;
    position: fixed;
    display: flex;
    padding: 30px;
    overflow-y: auto;
    bottom: 10px;
    left: 0px;
    z-index: 123;
    display: none;
}

.message-row-error {
    transition: left 0.5s ease, right 0.5s ease;
    position: fixed;
    display: flex;
    padding: 30px;
    overflow-y: auto;
    bottom: 10px;
    left: 0px;
    z-index: 123;
    display: none;
}

.message-row-fill {
    transition: left 0.5s ease, right 0.5s ease;
    position: fixed;
    display: flex;
    padding: 30px;
    overflow-y: auto;
    bottom: 10px;
    left: 0px;
    z-index: 123;
    display: none;
}
.message-row-file {
    transition: left 0.5s ease, right 0.5s ease;
    position: fixed;
    display: flex;
    padding: 30px;
    overflow-y: auto;
    bottom: 10px;
    left: 0px;
    z-index: 123;
    display: none;
}

    .message-row-fill.fade-out {
        opacity: 0;
        pointer-events: none;
    }

.message-row-error.fade-out {
    opacity: 0;
    pointer-events: none;
}

.message-row-ok.fade-out {
    opacity: 0;
    pointer-events: none;
}
.message-row-file.fade-out {
    opacity: 0;
    pointer-events: none;
}





.message-style {
    display: flex;
    background: #ffffff;
    color: #373C59;
    padding: 25px;
    border-radius: 12px;
    gap: 35px;
    box-shadow: 0 6px 20px -5px rgba(0, 0, 0, 0.1);
}

.text-1 {
    font-weight: 700;
    font-size: 20px;
}

.text-2 {
    font-weight: 500;
}

.message-text-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message-style img {
    width: 45px;
}

.message-style .close {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    position: absolute;
    top: 33px;
    right: 37px;
    outline: 1px solid transparent;
    outline-offset: 3px;
    transition: outline-color .15s ease-in-out;
    border-radius: 3px;
    padding: 0;
    text-align: center;
    display: block;
    width: 30px;
    height: 30px;
    color: #373C59;
}

    .message-style .close:hover {
        opacity: 1;
    }


.accept {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.accept input {
    box-shadow: none;
}

.accept span {
    color: #5B5B5B;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
}

.accept a {
    color: #5B5B5B;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    text-decoration: underline;
    text-transform: none;
}

    @media screen and (max-width: 769px) {

        .contact-style{
            font-size: 15.5px;
        }

        .nav-row{
            flex-direction: column;
        }
        
        .nav-list{
            justify-content: center;
        }

        .nav-main a{
            text-align: center;
        }
        .footer-contact {
            gap: 0px 111px;
            padding: 0px 0px 13px;
        }

        .modal__main {
            max-width: 641px;
            padding: 48px 49px 51px;
        }

        .modal__title{
            font-size: 46px;
        }
        
        .modal input {
            height: 45px;
            font-size: 16px;
        }
        
        .modal label{
            font-size: 16px;
        }
        
        .modal__btn{
            font-size: 16px;
        }


    }

    @media screen and (max-width: 425px) {

        .accept {
            flex-direction: column;
            text-align: center;
        }


            .accept span {
                font-size: 15px;
            }

            .accept a {
                font-size: 15px;
            }
        .footer-contact{
            display: flex;
            flex-direction: column;
            padding: 0px;
        }

        .contact-img{
            display: none;
        }

        .nav-row{
            flex-direction: column;
        }
        
        .nav-main a{
            text-align: center;
            font-size: 16px;
        }

        .nav-main-button button{
            font-size: 15px;
        }

        .nav-list{
            flex-direction: column;
            gap: 30px;
            text-align: center;
        }

        .modal__title {
            font-size: 25px;
        }

        .modal__main {
            max-width: 641px;
            padding: 30px 29px 4px
        }

        .modal label {
            font-size: 13px;
            margin-left: 0px
        }





    }