/* Variables 
* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
  align-content: center;
  height: 100vh;
  width: 100vw;
}
*/

.rm_stripe_fields {
    background-color: transparent;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

.rm_stripe_fields form#rm-stripe-payment-form {
    width: 30vw;
    min-width: 500px;
    align-self: center;
    box-shadow: 0px 0px 0px 0.5px rgba(50, 50, 93, 0.1),
        0px 2px 5px 0px rgba(50, 50, 93, 0.1), 0px 1px 1.5px 0px rgba(0, 0, 0, 0.07);
    border-radius: 7px;
    padding: 40px;
    background-color: #fff;
    /*background-color: #f7f8f9;*/
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.rm_stripe_fields .rm-stripe-hidden {
    display: none;
}

rm_stripe_fields #rm-stripe-payment-message {
    color: rgb(105, 115, 134);
    font-size: 16px;
    line-height: 20px;
    padding-top: 12px;
    text-align: center;
}

.rm_stripe_fields #rm-stripe-payment-element {
    margin-bottom: 24px;
}

/* Buttons and links */
.rm_stripe_fields button {
    background: #5469d4;
    font-family: Arial, sans-serif;
    color: #ffffff;
    border-radius: 4px;
    border: 0;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    transition: all 0.2s ease;
    box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
    width: 100%;
}
.rm_stripe_fields button:hover {
    filter: contrast(115%);
}
.rm_stripe_fields button:disabled {
    opacity: 0.5;
    cursor: default;
}

/*--- Stripe Product Box----*/

.rm-stripe-product-info-box {
    width: 100%;
    max-width: 600px !important;
    margin: 0 auto;
    height: 100%;
    padding: 30px;
}

.rm-stripe-product-info-box .rm-stripe-product-info-box-wrap {
    width: 30vw;
    min-width: 500px;
    align-self: center;
    box-shadow: 0px 0px 0px 0.5px rgb(50 50 93 / 10%), 0px 2px 5px 0px rgb(50 50 93 / 10%), 0px 1px 1.5px 0px rgb(0 0 0 / 7%);
    border-radius: 7px;
    background-color: #fff;
    margin-top: 15px;
}


.rm-stripe-product-title {
    width: 100%;
    border-bottom: 1px solid #efefef;
    font-size: 16px;
    padding: 10px 10px;
    display: flex;
    font-weight: 600;
}

.rm-stripe-product-title span svg {
    margin-right: 5px;
}

.rm-stripe-product-info-box .rm-stripe-product-info-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    padding: 13px 10px;
    border-bottom: 1px solid #efefef;
}

.rm-stripe-product-info-box .rm-stripe-product-info-row.rm-subtotal{
    font-size: 14px;
    color: #746f6f;
    font-weight: normal;
} 

.rm-stripe-product-info-box .rm-stripe-product-info-row:last-child{
       border-bottom: 0px solid #efefef
}

span.rm-stripe-product-quantity {
    display: inline-block;
    padding: 0px 6px 0px 0px;
}

.rm-stripe-email-label{    
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 2px;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

#rm-stripe-payment-form input#rm-stripe-email {
    background-color: #fff;
    border-radius: 5px;
    transition: background 0.15s ease, border 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
    border: 1px solid #e6e6e6;
    box-shadow: 0px 1px 1px rgb(0 0 0 / 3%), 0px 3px 6px rgb(0 0 0 / 2%);
    width: 100%;
    padding: 12px 10px;
    margin: 5px 0px 12px 0px;
}

.rm-stripe-product-price {
    font-weight: 600;
}

.rm-stripe-product-total-price {
    text-align: right;
    width: 100%;
    font-weight: 600;
}

/*--- Stripe Product Box End----*/



/* spinner/processing state, errors */
.rm_stripe_fields .rm-stripe-spinner,
.rm_stripe_fields .rm-stripe-spinner:before,
.rm_stripe_fields .rm-stripe-spinner:after {
    border-radius: 50%;
}
.rm_stripe_fields .rm-stripe-spinner {
    color: #ffffff;
    font-size: 22px;
    text-indent: -99999px;
    margin: 0px auto;
    position: relative;
    width: 20px;
    height: 20px;
    box-shadow: inset 0 0 0 2px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}
.rm_stripe_fields .rm-stripe-spinner:before,
.rm_stripe_fields .rm-stripe-spinner:after {
    position: absolute;
    content: "";
}
.rm_stripe_fields .rm-stripe-spinner:before {
    width: 10.4px;
    height: 20.4px;
    background: #5469d4;
    border-radius: 20.4px 0 0 20.4px;
    top: -0.2px;
    left: -0.2px;
    -webkit-transform-origin: 10.4px 10.2px;
    transform-origin: 10.4px 10.2px;
    -webkit-animation: loading 2s infinite ease 1.5s;
    animation: loading 2s infinite ease 1.5s;
}
.rm_stripe_fields .rm-stripe-spinner:after {
    width: 10.4px;
    height: 10.2px;
    background: #5469d4;
    border-radius: 0 10.2px 10.2px 0;
    top: -0.1px;
    left: 10.2px;
    -webkit-transform-origin: 0px 10.2px;
    transform-origin: 0px 10.2px;
    -webkit-animation: loading 2s infinite ease;
    animation: loading 2s infinite ease;
}

@-webkit-keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@media only screen and (max-width: 600px) {
    .rm_stripe_fields form#rm-stripe-payment-form {
        width: 80vw;
        min-width: initial;
    }
    
    .rm-stripe-product-info-box .rm-stripe-product-info-box-wrap {
        width: 80vw;
        min-width: initial;
    }
    
    
}





/*---Stripe Loader---*/

.rm-stripe-loader{
    width: 70px;
    text-align: center;
    margin: -10px auto 55px auto;
}
.rm-stripe-loader > .rm-stripe-loader-dots{
    background-color:#5469d4;
    border-radius:100%;
    display:inline-block;
    width:14px;
    height:14px;
    -webkit-animation:rm-stripe-loader-bounce 1.4s infinite ease-in-out both;
    animation:rm-stripe-loader-bounce 1.4s infinite ease-in-out both;
}

.rm-stripe-loader-overlay {
    position: absolute;
    background-color: rgb(255 255 255);
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}
    
.rm-stripe-loader .rm-stripe-loader-1{-webkit-animation-delay:-0.32s;animation-delay:-0.32s;}

.rm-stripe-loader .rm-stripe-loader-2{-webkit-animation-delay:-0.16s;animation-delay:-0.16s;}

@-webkit-keyframes rm-stripe-loader-bounce{
    0%, 80%, 100%{-webkit-transform:scale(0) }
    40%{-webkit-transform:scale(1.0) }
}
@keyframes rm-stripe-loader-bounce{
    0%, 80%, 100%{-webkit-transform:scale(0);transform:scale(0);}
    40%{-webkit-transform:scale(1.0);transform:scale(1.0);}
}


/*---Stripe Loader End---*/