@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(1turn);
    }
}



.payment-form-wrapper {
    /*background-color: #f6f9fc;*/
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    -ms-flex: auto;
    flex: auto;
    min-width: 100%;
    /*min-height: 350px;*/

    -ms-flex-align: center;
    align-items: center;
    /*border-radius: 4px;*/
    /*box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);*/
    margin-left: -10px;
    margin-right: -10px;

    /*padding: 40px;*/
}

@media (max-width: 670px) {
    .payment-form-wrapper {
        padding: 0;
    }
}

.payment-form-wrapper.type-checkout {
    min-height: 200px;
    background-color: white;
    margin: 0;
}

.payment-form-wrapper * {
    font-family: Interface, Open Sans, Segoe UI, sans-serif;
    font-size: 15px;
    font-weight: 500;
}

.payment-form-wrapper form {
    margin: 40px 0 0 0;
    max-width: 496px !important;
    padding: 0 15px;
    position: relative;
    width: 100%;
    transition-property: opacity, transform;
    transition-duration: 0.35s;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}


.payment-form-wrapper.submitting form {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.payment-form-wrapper form > * + * {
    margin-top: 20px;
}


legend {
    margin: 0 !important;
    border-style: none !important;
}

.payment-form-wrapper .card-only {
    display: block;
}
.payment-form-wrapper .payment-request-available {
    display: none;
}

.payment-form-wrapper fieldset legend + * {
    clear: both;
}

/*.btn-easystripe {*/
/*-webkit-appearance: none;*/
/*-moz-appearance: none;*/
/*appearance: none;*/
/*outline: none;*/
/*border-style: none;*/
/*color: #fff;*/
/*}*/

.payment-form-wrapper input:-webkit-autofill {
    transition: background-color 100000000s;
    -webkit-animation: 1ms void-animation-out;
}

.payment-form-wrapper #card-element {
    padding: 10px;
    margin-bottom: 2px;
}

.payment-form-wrapper input {
    -webkit-animation: 1ms void-animation-out;
}

.payment-form-wrapper input::-webkit-input-placeholder {
    color: #9bacc8;
}

.payment-form-wrapper input::-moz-placeholder {
    color: #9bacc8;
}

.payment-form-wrapper input:-ms-input-placeholder {
    color: #9bacc8;
}

.button-confirm-wrapper {
    margin-top: 20px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}
/*.btn-easystripe {*/
/*display: block;*/
/*width: calc(100% - 12px);*/
/*height: 37px;*/
/*background-color: #d782d9;*/
/*border-radius: 2px;*/
/*color: #fff;*/
/*cursor: pointer;*/
/*}*/

/*.btn-easystripe:active {*/
/*background-color: #b76ac4;*/
/*}*/

.payment-form-wrapper .error-stripe svg .base {
    fill: #e25950;
}

.payment-form-wrapper .error-stripe svg .glyph {
    fill: #f6f9fc;
}

.payment-form-wrapper .error-stripe svg {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-top: -1px;
    margin-right: 10px;
}


.payment-form-wrapper .error-stripe {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    /*position: absolute;*/
    width: 100%;
    top: 100%;
    margin-top: 20px;
    left: 0;
    padding: 0 15px;
    font-size: 13px !important;
    opacity: 0;
    transform: translateY(10px);
    transition-property: opacity, transform;
    transition-duration: 0.35s;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}
.payment-form-wrapper .error-stripe.visible {
    opacity: 1;
    transform: none;
}

.payment-form-wrapper .error-stripe .message {
    color: #e25950;
    font-size: inherit;
}

.payment-form-wrapper .success-stripe .icon .border {
    stroke: #ffc7ee;
}

.payment-form-wrapper .success-stripe .icon .checkmark {
    stroke: #d782d9;
}

.payment-form-wrapper .success-stripe .title {
    color: #32325d;
}

.payment-form-wrapper .success-stripe .message {
    color: #8898aa;
}

.payment-form-wrapper .success-stripe .reset path {
    fill: #d782d9;
}





.payment-form-wrapper .success-stripe {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 10px;
    text-align: center;
    pointer-events: none;
    overflow: hidden;
}


.payment-form-wrapper .submitting .success-stripe {
    pointer-events: all;
}

.payment-form-wrapper .success-stripe > * {
    transition-property: opacity, transform;
    transition-duration: 0.35s;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    transform: translateY(50px);
}

.payment-form-wrapper .success-stripe .icon{
    /*margin: 15px 0 30px;*/
    margin-top: -50px;
    transform: translateY(70px) scale(0.75);
}

.payment-form-wrapper .success-stripe .icon svg{
    will-change: transform;
}


.payment-form-wrapper .success-stripe .icon .border {
    stroke: #ffc7ee;
    stroke-dasharray: 251;
    stroke-dashoffset: 62.75;
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: spin 1s linear infinite;
}

.submitting .success-stripe .icon {
    pointer-events: all;
    opacity: 1;
}


.journal-stripe {
    min-height: 200px!important;
    padding-top: 0!important;
    margin-left: 0!important;
    margin-right: 0!important;
}

.save-card-checkbox-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}
.save-card-checkbox-wrapper .form-check-label {
    padding-left: 10px;
}


/* Payment types tabs */
.payment-types-tabs .tab-content {
    text-align: center;
}
.payment-types-tabs .tab-pane.fade {
    /*min-height: 250px;*/
}
.payment-types-tabs #selectStoredcards {
    width: 250px;
    display: inline-block;
    margin-top: 20px;
}

/* // Payment types tabs */


/* Buttons */
.button-checkout-page {
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    border-style: none;
    margin: 0!important;

    display: block;
    width: 100%;
    height: 37px;
    background-color: #d782d9;
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
}
/* // Buttons */

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


.nav-tabs {
    border-bottom: none !important;
}
.custom-tab {
    width: 100px;
    height: 100px;
    margin-right: 10px;
}
.custom-tab.active>a,
.custom-tab.active>a:focus,
.custom-tab.active>a:hover {
    /*border-bottom-color: #ddd !important;*/
    border: 1px solid #ddd !important;
}

.custom-tab>a:hover {
    border: none !important;
}
.custom-tab > a {
    width: 100px;
    height: 100px;
    display: table-cell !important;
    vertical-align: middle;
    text-align: center;
    border-radius: 4px !important;
}

.custom-tab img {
    width: 80px;
}

.custom-tab-cards a {
    padding-top: 18px !important;
    font-size: 11px;
}
.custom-tab-cards img {
    margin-bottom: 5px;
}




/* CARD TEMPLATES */
.example .error {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    /*position: absolute;*/
    width: 100%;
    /*top: 100%;*/
    margin-top: 20px;
    left: 0;
    padding: 0 15px;
    font-size: 13px !important;
    opacity: 0;
    transform: translateY(10px);
    transition-property: opacity, transform;
    transition-duration: 0.35s;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

.example .error.visible {
    opacity: 1;
    transform: none;
}

.example .error .message {
    font-size: 12px;
}

.example .error svg {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-top: -1px;
    margin-right: 10px;
}
/* // CARD TEMPLATES */

#wechat-qrcode img {
    margin: 0 auto;
}
#msg-wechat {
    display: none;
    margin-top: 10px;
    font-size: 15px;
}



/* Journal fix */
/* html[class*=journal][class*=quick-checkout-page] */
.quick-checkout-payment .payment-form-wrapper.type-checkout {
    min-height: 0;
}
.quick-checkout-payment .btn-easystripe {
    display: none;
}
.quick-checkout-payment .button-checkout-page {
    display: none;
}
/* // Journal fix */