

.cancel-form {
    padding: 20px;
    background-color: #e9e9e9;
    margin: 20px 0;
    border-radius: 5px;
}
.cancel-form input[type="email"] {
    width: 100%;
    padding: 8px;
    font-size: 20px;
}
.cancel-form button[type="submit"]:active,
.cancel-form button[type="submit"] {
    border: unset;
    border-radius: 3px;
    width: unset;
    background: unset;
    background-color: #33ccff;
}

.cancel-alert {
    text-align: center;
    font-size: 14px;
}

.cancel-alert.success {
    color: green;
}
.cancel-alert.error {
    color: red;
}

body.page-id-4679 #main {
    background-color: #fff;
}

.pm-methods .pm-icon-rekvisit {
    font-size: 15px;
    line-height: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.subscribers {

}
.subscribers-title {
    font-weight: bold;
    font-size: 22px;
    margin-bottom: 10px;
}
.deal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background-color: #f7f7f7;
    padding: 10px 10px;
    box-shadow: 0px 1px 3px #b7b7b7;
    font-size: 14px;
}



.payment {
    display: block;
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
    background-color: #e2e2e2;
    position: relative;
    box-shadow: 0 2px 3px grey;
    font-size: 18px;
    line-height: 150%;
    margin: 0 auto;
}
.payment + .payment {
    margin-top: 25px;
}

.payment *:before, 
.payment *:after,
.payment * {
    box-sizing: border-box;
    margin: 0;
}
.alert-payment-success {
    display: none;
}
.payment-success .alert-payment-success::before {
    width: 64px;
    height: 64px;
    background-image: url(img/checked.png);
    background-position: center;
    background-repeat: no-repeat;
    content: " ";
    display: block;
    margin: 0 auto;
}
.payment-success .alert-payment-success {
    display: block;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    border-radius: 10px;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    border: 0;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 30px;
    color: #fff;
    background-color: #40d2fb;
    animation: hideAlert 4s linear forwards;
    -webkit-animation: hideAlert 4s linear forwards;
    z-index: 1;
}
@keyframes hideAlert {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
.payment-logo {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}
.payment-button a:last-child,
.payment > div:last-child {
    margin-bottom: 0;
}
.payment-title {
    text-transform: uppercase;
    margin-bottom: 13px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.payment-group .payment-input {
    margin-bottom: 10px;
}

.payment-group .payment-input:last-child {
    margin-bottom: 0;
}



.payment-input-qrcode {
    display: none;
    position: absolute;
    width: 100%;
    background-color: #e2e2e2;
    left: 0;
    margin-top: -8px;
    height: 286px;
}

.payment-input-qrcode.active {
    display: block;
}


.qr-desc {
    font-size: 14px;
    text-align: center;
    display: block;
    width: 280px;
    line-height: 18px;
    margin: -8px auto 0 auto;
}


.qrcode-sbp {
    background-image: url(../assets/img/qrcode.png);
    background-position: center;
    background-size: 100% auto;
    display: block;
    height: 260px;
    width: 280px;
    max-width: 100%;
    margin: 0 auto;
}

.qrcode-sbp img {
    display: block;
    margin: 0 auto;
    height: 100%;
    opacity: 0; 
    transition: opacity 1000ms; 
}

.qrcode-sbp img.active {
    opacity: 1;
}


.payment-input input {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px !important;
}
.payment-terms label a {
    color: #353535;
}
.payment-terms label {
    display: block;
    font-size: 12px;
    cursor: pointer;
    line-height: normal;
    margin-bottom: 1em;
}

.payment-terms input {
    position: relative;
    bottom: -2.5px;
}

.payment-button a {
    display: block !important;
    width: 100% !important;
    padding: 10px !important;
    background-color: #9ad9f5 !important;
    color: #fff !important;
    border: 0 !important;
    border-bottom: 2px #1da5d1 solid !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    text-align: center !important;
    text-decoration: none !important;
    margin-bottom: 10px !important;
}
.payment-button a:hover {
    opacity: 0.9;
}

.payment-button a.payment-btn-month {
    background-color: #40d2fb !important;
    border-bottom: 2px #1da5d1 solid !important;
}

.deal-item.animated {
    background-color: #ffdada;
}

.deal-item.animated,
.cancel-form button[type="submit"].animated,
.payment-button a.payment-btn-month.active {
    background-size: 50px 50px;
    background-image: linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.2) 75%,
        transparent 75%,
        transparent
    );
    animation: move_animated 1s linear infinite;
}

@keyframes move_animated {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 50px 50px;
  }
}

#other-error {
    color: red;
    font-size: 10px;
    line-height: 14px;
    display: block;
    margin-bottom: 5px;
}

#other-error:empty {
    display: none;
}

.payment-error {
    color: red;
    font-size: 10px;
    min-height: 22px;
    line-height: 14px;
    display: block;
}

p.payment-error {
    margin-top: 0 !important;
    margin-bottom: 1em !important;
}

.widget-title {
    display: none;
}
.payment-checkbox {
    margin-bottom: 20px;
}
.payment-checkbox label {
    display: block;
    cursor: pointer;
}
.payment-input-calc {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}
.payment-input-calc a {
    display: inline-block;
    width: calc(50% - 5px);
    text-align: center;
    background-color: #fff;
    padding: 6px;
    margin-bottom: 10px;
    text-decoration: none;
    color: #777;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.payment-input-calc a:hover {
    background-color: #f0f8ff;
    color: #353535;
}
.payment-input-calc + input[type="text"] {
    text-align: center;
}
input::-webkit-input-placeholder {
    color: #ccc;
}
input::-moz-placeholder {
    color: #ccc;
}
input:-moz-placeholder {
    color: #ccc;
}
input:-ms-input-placeholder {
    color: #ccc;
}


.payment-switcher {
	position: relative;
    overflow: hidden;
}

.payment > input[type="radio"] {
	position: absolute;
	left: -10000px;
}

.pm-switch {
	display: flex;
	justify-content: space-between;
}
.pm-switch label {
    position: relative;
    padding-left: 34px;
    line-height: 42px;
    font-size: 15px;
    display: inline-block;
    height: 42px;
    width: calc(100% / 2);
    border: 1px solid transparent;
    border-bottom-color: #cccccc;
    cursor: pointer;
}
.pm-switch label::after, .pm-switch label::before {
    border-radius: 50%;
    position: absolute;
    left: 10px;
    content: '';
}
.pm-switch label::before {
    width: 14px;
    height: 14px;
    border: 1px solid #767676;
    background-color: #fff;
    top: 11px;
    display: inline-block;
}
.pm-switch label::after {
    display: none;
    background-color: #1aa5d1;
    width: 10px;
    height: 10px;
    top: 13px;
    left: 12px;
}

#pay-payonce:checked ~ .payment-switcher .pm-switch label[for="pay-payonce"]::after,
#pay-recurrent:checked ~ .payment-switcher .pm-switch label[for="pay-recurrent"]::after {
	display: inline-block;
} 

#pay-payonce:checked ~  .payment-switcher .pm-switch label[for="pay-payonce"]::before,
#pay-recurrent:checked ~ .payment-switcher .pm-switch label[for="pay-recurrent"]::before {
    border-color: #1fa5d2;
} 

#pay-payonce:checked ~ .payment-switcher .pm-switch label[for="pay-payonce"],
#pay-recurrent:checked ~ .payment-switcher .pm-switch label[for="pay-recurrent"] {
    border: 1px solid #cccccc;
    border-bottom-color: transparent;
}

.pm-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 10px 0;
}

.pm-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 10px 0;
}

@media (min-width: 768px) {
    .pm-links {
        display: inline-block;
        width: calc(100% / 2 - 5px);
        margin: unset;
    }

    .pm-links a.pm-icon {
        display: inline-block;
        width: 100%;
    }
}

.pm-icon {
    width: calc(100% / 2 - 5px);
    background-color: #fff;
    height: 48px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90% 60%;
}

a.pm-icon,
.pm-icon {
    text-align: center;
    font-size: 16px;
    line-height: 48px;
    color: #40d2fb;
    font-weight: bolder;
    text-decoration: none;
}
.pm-icon.pm-icon-sms {
    display: none;
}


.pm-icon:hover {
	background-color: #fbfbfb;
}

.pm-icon-vmm {
	background-image: url(svg/pm-vmm.svg);
}
.pm-icon-sberpay {
	background-image: url(svg/pm-sberpay.svg);
}

.pm-icon-yoomoney {
	background-image: url(svg/pm-yoomoney.svg);
}
.pm-icon-yapay {
    display: none;
    pointer-events: none;
	background-image: url(svg/pm-yapay.svg);
}
.pm-icon-tinkoff {
	background-image: url(svg/pm-tinkoff.svg);
}

.pm-icon input {
	position: absolute;
	left: -1000px;
}

.pm-icon .radio-handler {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background-color: rgb(255 255 255 / 50%);
    position: absolute;
    top: 0px;
    
}

a.pm-icon .radio-handler,
label.pm-icon .radio-handler {
    border: 3px solid #33ccff;
}

label.pm-icon.pm-icon-sbp .radio-handler,
a.pm-icon .radio-handler {
    background-color: unset;
}

.pm-icon:hover .radio-handler {
	background-color: unset; 
}

.pm-icon input:checked ~ .radio-handler {
    border: 3px solid #40d2fb;
    background-color: unset; 
}

#pay-recurrent:checked ~ .payment-switcher .pm-methods .pm-icon[data-type="once"] {
    display: none;
}


.pm-desc {
    font-size: 14px;
    line-height: 120%;
    display: none;
    position: relative;
}

.pm-desc label, .pm-desc a {
    cursor: pointer;
    text-decoration: underline;
    color: #585858;
}

.pm-desc > div a {
    color: #33ccff;
}

#pay-recurrent:checked ~ .pm-desc {
    display: block;
}

.payment-cancel {
    margin-top: 5px;
    color: red;
    display: none;
}

#payment-cancel {
    position: absolute;
    left: -10000px;
}

#payment-cancel:checked + .payment-cancel {
    display: block;
    width: 100%;
    font-size: 10px;
}

.wrap-modal {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,.5);
}
.modal {
    background-color: #fff;
    border-radius: 15px;
    max-width: 460px;
    padding: 40px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}
.modal__title {
    font-size: 16px;
    font-weight: 600;
    padding-left: 32%;
    background-image: url(/wp-content/uploads/2019/09/RVera_logo_web-300x127.png);
    background-size: 100px;
    background-repeat: no-repeat;
}
.modal__alert {
    background-color: #ceffed;
    padding: 30px 20px;
    border-radius: 15px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 25px 0;
}
.modal__alert::before {
    display: inline-block;
    width: 21px;
    height: 21px;
    background-image: url(svg/ic-success.svg);
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    margin-right: 10px;
    vertical-align: middle;
}
.modal__button {
    background-color: #6496dc;
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 15px;
    font-size: 16px;
    display: block;
    text-decoration: none;
}
.modal__button:hover {
    color: #fff;
    opacity: .8;
}
.modal .modal__close {
    position: absolute;
    top: 0px;
    right: -50px;
    display: inline-block;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.modal .modal__close::after,
.modal .modal__close::before {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    content: '';
    position: absolute;
    top: 50%;
}
.modal .modal__close::after {
    transform: rotate(45deg);
}
.modal .modal__close::before {
    transform: rotate(-45deg);
}

.wrap-modal > .modal__close {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%; 
    height: 100%;
}



.wrap__progress {
    display: inline-block;
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    padding: 20px;
    padding-bottom: 10px;
    box-sizing: border-box;
    background-color: #e2e2e2;
    position: relative;
    box-shadow: 0 2px 3px #bfbfbf;
    font-size: 18px;
    line-height: 150%;
    margin-bottom: 15px;
}

.payment-progress {
    position: relative;
    height: 12px;
    margin-bottom: 15px;
    background-color: #f7f7f7;
    border-radius: 10px;
    box-shadow: 0px 0px 4px #e2e2e2 inset;
    overflow: hidden;
}
.payment-progress-bar {
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    background-color: #33ccff;
    border-radius: 10px;
}
.payment-progress-text {
    margin: 5px 0;
}
.payment-progress-text strong {
    display: block;
    font-size: 28px;
    color: #33ccff;
    font-weight: 500;
    line-height: 110%;
}


@media (max-width: 767px) {
    a.pm-icon.pm-icon-sms {
        display: inline-block;
    }

    #pay-recurrent:checked ~ .payment-switcher .pm-methods .pm-links {
        display: none;
    }

    
    label.pm-icon.pm-icon-sbp .radio-handler {
        background-color: rgb(255 255 255 / 50%);
    }
    
    .qr-desc {
        display: none;
    }

    label.pm-icon.pm-icon-sbp .pm-name {
        opacity: 0;
    }

    label.pm-icon.pm-icon-sbp input:checked ~ .radio-handler {
        background-color: unset;
    }

    .pm-icon-vmm {
        order: 1;
    }
    .pm-icon-sbp {
        order: 2;
        background-image: url(svg/pm-sbp.svg);
    }
    .pm-icon-sberpay {
        order: 3;
    }
    .pm-icon-sms {
        order: 4;
    }
    .pm-icon-yapay {
        order: 5;
    }
    .pm-icon-rekvisit {
        order: 6;
    }
    .pm-icon-yoomoney {
        order: 7;
    }
    .pm-icon-tinkoff {
        order: 8;
    }

    .wp-container-3 {
        margin-bottom: unset !important;
        gap: 0em !important;
    }

    .cancel-form {
        margin:  0;
    }

    .wp-block-spacer {
        display: none;
    }

    .entry-content p {
        line-height: 130%;
    }
}

@media (max-width: 378px) {
    .pm-switch label {
        font-size: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .payment {
        padding: 10px;
    }
}


@media (max-height: 670px) {
    .payment-input-calc a {
        padding: 4px 6px;
        font-size: 16px;
        line-height: 24px;
        height: 32px;
    }

    .payment-input input {
        padding: 6px 10px !important;
        font-size: 16px;
    }

    .payment-error {
        min-height: 19px;
    }


    .pm-icon {
        height: 42px;
    }

    a.pm-icon, .pm-icon {
        line-height: 42px;
    }

    .payment-button a {
        padding: 4px 10px !important;
    }

    .pm-desc {
        font-size: 13px; 
    }

    .payment-terms label {
        font-size: 11px;
        line-height: 120%;
    }

}


.alert-pa-error {
    display: flex;    
    flex-direction: column;
    height: 100%;
    width: 100%;
    border-radius: 10px;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    border: 0;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 30px;
    color: #fff;
    background-color: #40d2fb;
    /*animation: hideAlert 4s linear forwards;
    -webkit-animation: hideAlert 4s linear forwards;
    */
    padding: 0 15px;
    z-index: 1;
	line-height: 1.2;
	
}
a.retray {
    background-color: #ffffff !important;
    border-bottom: 2px #cfdce1 solid !important;
    color: #40d2fb !important;
    font-size: 20px;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
}