/* <editor-fold desc="About block"> */
.buy-rpay-page .about-block {
    position: relative;
    padding-top: 60px;
    padding-bottom: 80px;
    background: #f6f8fa;
}
.buy-rpay-page .about-block .about-container { max-width: 1138px; }
.buy-rpay-page .about-block .desc {
    padding-top: 16px;
    color: #221f1f;
}
.buy-rpay-page .about-block .btn-wrapper { padding-top: 32px; }
.buy-rpay-page .btn-link-icon {
    display: inline-flex;
    width: 217px;
    padding: 13px;
}
.buy-rpay-page .btn-white { padding: 15px 9px; }
.buy-rpay-page .about-block .btn-link-icon { margin-right: 16px; }
.buy-rpay-page .about-block .btn-white { width: 260px; }

.buy-rpay-page .about-block .video-container {
    max-width: 830px;
    margin: 60px auto 0;
}
.buy-rpay-page .about-block .video-wrapper {
    position: relative;
    padding-bottom: 54.7%; /* 56.25% for 16:9, for 1:1 = 100% */
    border: 12px solid #fff;
    border-radius: 22px;
    box-shadow: 0 25px 50px -12px #00000040;
}
.buy-rpay-page .about-block video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.buy-rpay-page .about-block .preview-wrapper {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    overflow: hidden;
}
.buy-rpay-page .about-block .preview-wrapper * { cursor: pointer; }
.buy-rpay-page .about-block .preview-wrapper .label {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 9px;
    color: #fff;
    background: linear-gradient(90deg, #00C950 0%, #009966 100%);
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0 6.89px 10.34px -2.07px #0000001a;
    text-transform: uppercase;
}
.buy-rpay-page .about-block .preview-wrapper .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 155px;
    height: 155px;
    transform: translate(-50%, -50%);
}

@media (max-width: 1300px) {
    .buy-rpay-page .about-block .desc-wrapper { max-width: 500px; }
}
@media (max-width: 992px) {
    .buy-rpay-page .about-block {
        padding-top: 40px;
        padding-bottom: 30px;
    }
    .buy-rpay-page .about-block .btn-link-icon {
        width: 260px;
        margin-right: 0;
        margin-bottom: 16px;
    }

    .buy-rpay-page .about-block .video-wrapper { padding-bottom: 54.4%; }
    .buy-rpay-page .about-block .preview-wrapper .play-btn {
        width: 100px;
        height: 100px;
    }
}
@media (max-width: 768px) {
    .buy-rpay-page .about-block .title br { display: none; }
    .buy-rpay-page .about-block .btn-link-icon {
        margin-right: 16px;
        margin-bottom: 0;
    }

    .buy-rpay-page .about-block .video-container { margin-top: 40px; }
    .buy-rpay-page .about-block .video-wrapper { padding-bottom: 53.7%; }
}
@media (max-width: 576px) {
    .buy-rpay-page .about-block .desc {
        padding-top: 12px;
        font-size: 16px;
    }
    .buy-rpay-page .about-block .btn-wrapper { padding-top: 16px; }
    .buy-rpay-page .about-block .btn-link-icon {
        margin-right: 0;
        margin-bottom: 16px;
    }

    .buy-rpay-page .about-block .video-container { margin-top: 30px; }
    .buy-rpay-page .about-block .video-wrapper {
        padding-bottom: 54.9%;
        border-width: 5px;
    }
}
/* </editor-fold> */
/* <editor-fold desc="Opportunities block"> */
.buy-rpay-page .opportunities-block-rti .opportunity:nth-child(even) .desc-wrapper { padding-left: 20px; }
.buy-rpay-page .opportunities-block-rti .opportunity:nth-child(odd) .desc-wrapper { padding-right: 20px; }

@media (max-width: 768px) {
    .buy-rpay-page .opportunities-block-rti .opportunity:nth-child(even) .desc-wrapper { padding-left: 0; }
    .buy-rpay-page .opportunities-block-rti .opportunity:nth-child(odd) .desc-wrapper { padding-right: 0; }
}
/* </editor-fold> */
/* <editor-fold desc="Benefits block"> */
.buy-rpay-page .benefits-table-block .title { max-width: 994px; }
.buy-rpay-page .benefits-table-block .btn-link-icon,
.buy-rpay-page .benefits-table-block .btn-white {
    width: 260px;
}
/* </editor-fold> */
/* <editor-fold desc="Tariff block"> */
.buy-rpay-page .tariff-block {
    padding-top: 60px;
    padding-bottom: 60px;
    background: #f6f8fa;
    text-align: center;
    overflow: hidden;
}
.buy-rpay-page .tariff-block .commission {
    padding-top: 16px;
    font-weight: 400;
}
.buy-rpay-page .tariff-block .commission u {
    position: relative;
    display: inline-block;
    margin-left: 40px;
    font-size: 50px;
    font-weight: 900;
    text-decoration: none;
    z-index: 1;
}
.buy-rpay-page .tariff-block .commission u:before {
    content: "";
    position: absolute;
    width: 353px;
    height: 180px;
    top: -66px;
    left: -127px;
    background: url(../images/buy-rpay-page/block4-dizzle.svg) center center no-repeat;
    background-size: 100%;
    z-index: -1;
}
.buy-rpay-page .tariff-block .commission u:after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 1px;
    width: 100%;
    height: 3px;
    background: #221f1f;
}
.buy-rpay-page .tariff-block .bottom-text {
    padding-top: 24px;
    color: #221f1f;
}

@media (max-width: 768px) {
    .buy-rpay-page .tariff-block .commission u { margin-top: 16px; }
}
/* </editor-fold> */

/*todo: прибрати це діло, коли стилі попапу переїдуть до style.css*/
.popup {
    width: 469px;
    padding: 32px;
    border-radius: 8px;
}
.popup .popup-close {
    padding: 0;
    background: none;
    border-radius: 0;
}
.popup .popup-close:hover { background: #eaeaea; }
.popup .popup-close:hover svg path { stroke: #221f1f; }
.popup .form-title { padding-bottom: 24px; }
.popup .popup-container { padding-top: 24px; }
.popup .form-v3 .input-block { padding-top: 0; }
.popup .form-v3 .btn-wrapper { padding-top: 8px; }
.popup .personal-data-agreement {
    max-width: 400px;
    padding-top: 16px;
    color: #585757;
}

@media (max-width: 576px) {
    .popup {
        width: 95%;
        padding: 20px;
    }
}