
.payments-slider .slick-track {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: stretch;
}

.requirements-block {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    padding-bottom: 10px;
}

.requirements-item {
    position: relative;
    width: 100%;
    max-width: 825px;
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    margin-right: 30px;
    position: relative;
    display: flex;
    gap: 16px;

}

.payments-slider-item {
    height:auto !important;
}


.requirements-item.done .requirements-item-image:after, .requirements-item.delivered .requirements-item-image:after {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 12;
    display: block;
    content: "";
    background: rgba(255, 255, 255, 0.75);
    /*background:rgba(255,255,255,0.75) url(https://storage.yandexcloud.net/onf2/img/done-stamp.png) no-repeat center center;*/
}

/*
.requirements-item:nth-child(3n+3) {
    margin-right: 0;
}
*/

.requirements-item-title {
    font-size: 16px;
    color: #393939;
    font-weight: 500;
    padding: 0;
    margin-bottom: 0px;
    /*min-height: 11.5em;*/
    min-height: 0;
}

.requirements-item-title p {
    display: block;
    padding: 0;
    margin: 0;
    line-height: 1.4em;
    font-size: 16px;
    color: #393939;
    font-weight: 500;
}

.requirements-item-title strong, .requirements-item-title .name {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 24px;
    line-height: 1.2em;
    display: block;
}

.requirements-item-title span {
    color: #a7a7a7;
}

.requirements-item-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 278px;
    width: 100%;
    border-radius: 8px;
    max-height: 278px;
    overflow: hidden;
    position: relative;
}

.requirements-information {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    color: rgba(57, 57, 57, 1);
    text-align: left;
}

.requirements-title {
    font-family: "DIN Pro Condensed", sans-serif;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
}

.requirements-information p {
    margin-bottom: 24px;
    font-family: "DIN Pro", sans-serif;
    text-transform: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 15.4px;
}

.requirements-item .label, .donate-section .label {
    font-family: 'BebasNeue', serif;
    font-weight: 700;
    font-size: 70px;
    line-height: 1em;
    letter-spacing: 0em;
    text-transform: uppercase;
    color: #B71623;
    width: 279px;
    height: 120px;
    display: none;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    background: url(https://storage.yandexcloud.net/onf2/img/done-label.png) no-repeat center center;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 13;
    transform: translate(-50%, -50%);
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}

.requirements-item .label span, .donate-section .label span {
    flex: 1 auto;
    font-size: 40px;
    line-height: 30px;
    display: block;
}

.requirements-item .label div, .donate-section .label div {
    line-height: 0.9em;
}

.requirements-item.done .label, .requirements-item.done .label div, .card-page.done .label, .card-page.done .label div {
    font-size: 45px;
    line-height: 1em;
    letter-spacing: -0.05em;
}

.requirements-item.done .label.done, .card-page.done .label.done {
    display: flex;
}

.requirements-item.delivered .label.delivered, .card-page.delivered .label.delivered {
    display: flex;
}

.requirements-item-image img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.requirements-item .button {
    font-family: "DIN Pro Condensed", sans-serif;
    max-width: 171px;
    width: 100%;
    height: 48px;
    line-height: 48px;
    font-size: 16px;
    border-radius: 16px;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
    padding: 0 12px;
}

.payments-slider {
    margin: 25px 0 0 0;
    width: 100%;
}

.payment-page-container .payment-result-block {
    width: 825px;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.text-p {
    font-family: 'DIN Pro', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 19.8px;
    text-transform: none;

}

.payment-result-block .title {
    font-family: "DIN Pro Condensed", sans-serif ;
    font-size: 64px;
    font-weight: 700;
    line-height: 70.4px;
    margin-bottom: 16px;
}

.success-title {
    margin-top: 32px;
    font-family: "DIN Pro Condensed", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 35.2px;
    text-align: center;
}

.payment-page-container .payment-result-block {

    z-index: 10;

    padding: 24px 0 20px 0;
    color: #FFFFFF;
    text-align: center;
    max-width: 100%;
}

.payments-slider .slick-prev, .payments-slider .slick-next {
    width:48px;
    height:48px;
    background: url(https://storage.yandexcloud.net/onf2/img/slider-arrow.svg) center center no-repeat;
    transform: none;
    margin:-38px 0 0 0;
    right:-60px;
}

.payments-slider .slick-prev:hover, .payments-slider .slick-next:hover {
    opacity: 0.8;
}

.payments-slider .slick-prev {
    right:auto;
    left:-60px;
    transform: rotate(-180deg);
}

.payments-slider .slick-dots{
    position: static;
}

.slick-dots li {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0px 0px 30px 1px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(50px);
    width: 24px;
    height: 8px;
    border-radius: 100px;
}

.slick-dots li.slick-active {
    background: #ffffff;
}

.radar {
    margin-top: 32px;
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0px 0px 30px 1px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(50px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.radar p {
    font-family:"DIN Pro", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 17.6px;
    text-transform: none;

}

.radar .success-title {
    text-align: left;
    margin-top: 0;
}

.radar a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .6);
}

.radar a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.payment-amount {
    max-width:141px ;
}

.payment-date {
    max-width: 214px;
}


.modal-buttons-outer {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 100%;
    width: 100%;
}

.exit-button {
    background: rgba(212, 18, 28, 1);
}

.exit-button:hover {
    background: rgba(245, 30, 41, 1);
}

@media screen and (max-width:980px) {

    .success-title {
        font-size: 26px;
        line-height: 30px;
    }

    .payment-result-block .title {
        font-size: 48px;
        line-height: 52px;
    }

    /*.requirements-item {*/
    /*    width: 700px;*/
    /*}*/

    /*.payments-slider {*/
    /*    width: 700px;*/
    /*}*/

    .payments-slider-item .requirements-item-image {height:auto !important;}

    .payments-slider-item .requirements-item-title {
        margin-bottom: 15px;
    }

}


@media screen and (max-width:840px) {

    .payment-card-block {
        align-self: center;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .payment-card-contacts {
        max-width: 100%;
    }

    .payment-card-contacts, .contacts-item {
        max-width: 100%;
        width: 100%;
    }
    
    /*.requirements-item {*/
    /*    width: 600px;*/
    /*}*/

    /*.payments-slider {*/
    /*    width: 600px;*/
    /*}*/

    /*.slider-item-rigth-block{*/
    /*    max-width: 330px !important ;*/
    /*}*/

}


@media screen and (max-width:767px) {

    .button {
        height: 56px;
    }

    .text-p {
        font-size: 16px;
        line-height: 17.6px;
    }

    .payment-result-block .title {
        font-size: 32px;
        line-height: 36px;
    }

    .success-title {
        font-size: 20px;
        line-height: 22px;
    }

    .requirements-item {
        padding: 8px;
        gap: 8px;
    }

    .radar .success-title {
        font-size: 32px;
        font-weight: 700;
        line-height: 35.2px;
    }

    .radar p {
        font-size: 14px;
        font-weight: 400;
        line-height: 15.4px;
    }

    .radar .success-title {
        font-size: 24px;
        line-height: 26px;
    }

    .payment-order-text-content {
        padding: 16px;
    }

    .requirements-item-image img {
        object-fit: fill;
    }
    
    .payments-slider-item .requirements-item-image {
        max-height: 135px;
        max-width: 135px;
    }
    
}

@media screen and (max-width: 530px) {
    /*.payments-slider {*/
    /*    width:400px;*/
    /*}*/

    /*.payments-slider-item .requirements-item {*/
    /*    width:400px;*/
    /*}*/

    .payment-result-block .title {
        font-size: 30px;
        line-height: 33px;
    }

}

@media screen and (max-width: 440px){
    /*.payments-slider-item .requirements-item {*/
    /*    width:330px;*/
    /*}*/

    /*.payments-slider {*/
    /*    width:330px;*/
    /*}*/

    .requirements-information p {
        font-size: 12px;
        margin-bottom: 16px;
        line-height: 13.2px;
    }

    .requirements-title {
        font-size: 16px;
        margin-bottom: 8px;
        line-height: 24px;
    }
    
}


@media screen and (max-width:410px) {

    .payment-footer .button, .retry-payment-button {
        font-size: 16px;
        font-weight: 700;
        line-height: 24px;
    }

}
