.almapay-payment-modal * {
  font-family: objektiv-mk3, sans-serif;
  letter-spacing: 0.4px;
}

.almapay-payment-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
    z-index: 9997;
}

.almapay-payment-modal .text-uppercase {
    text-transform: uppercase;
}

.almapay-payment-modal .text-capitalize {
    text-transform: capitalize;
}

.almapay-payment-modal .support {
    color: rgba(0,0,0,0.65);
    font-size: 12px;
    margin-top: -2px;
}

/* Modal Content/Box */
.almapay-payment-modal .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 410px;
    box-shadow: 0 14px 42px rgba(0, 0, 0, .55);
    border-radius: 10px;
    position: relative;
}

.almapay-payment-modal .modal-content .payment-header {
    padding: 10px 20px;
    border-bottom-width: 1px;
    border-color: #e4e4e4;
    border-bottom-style: solid;
    display: flex;
    justify-content: space-between;
}

.almapay-payment-modal .modal-content .payment-header .school-logo {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 10px;
}

.almapay-payment-modal .modal-content .payment-header .pay-securely-block {
    text-align: left;
}

.almapay-payment-modal .modal-content .payment-header .title {
    color: #000;
    font-weight: 600;
    font-size: 16px;
}

.almapay-payment-modal .modal-content .payment-content {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 0 0 10px 10px;
}

.almapay-payment-modal .modal-content .payment-content .amount-wrapper {
    margin-bottom: 24px;
}

.almapay-payment-modal .modal-content .payment-content .amount-label {
    font-size: 30px;
    color: #000;
    margin-bottom: 0;
    line-height: 1;
}

.almapay-payment-modal .modal-content .payment-content .email-label {
    color: #adadad;
    font-weight: 700;
}

.payment-divider {
    display: table;
    white-space: nowrap;
    text-align: center;
    background: transparent;
    font-weight: 500;
    color: rgba(0, 0, 0, .85);
    font-size: 16px;
}

.payment-form-header-divider {
    border-top: 1px solid rgba(0,0,0,0.07);
    margin: 32px 0;
}

.payment-divider .divider-text {
    display: inline-block;
    padding: 0 24px;
    color: rgba(0, 0, 0, 0.85);
}

.payment-divider:before {
    content: "";
    display: table-cell;
    position: relative;
    top: 50%;
    width: 50%;
    border-top: 1px solid #e8e8e8;
    -webkit-transform: translateY(50%);
    -ms-transform: translateY(50%);
    transform: translateY(50%);
}

.payment-divider:after {
    content: "";
    display: table-cell;
    position: relative;
    top: 50%;
    width: 50%;
    border-top: 1px solid #e8e8e8;
    -webkit-transform: translateY(50%);
    -ms-transform: translateY(50%);
    transform: translateY(50%);
}

#payment-request-button {
    border: 0;
}

.almapay-payment-modal .modal-content .payment-content .submit-payment-btn {
    white-space: nowrap;
    border: 0;
    outline: 0;
    display: inline-block;
    line-height: 45px;
    padding: 0 14px;
    -webkit-box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
    box-shadow: 0 4px 6px rgba(50, 50, 93, .11), 0 1px 3px rgba(0, 0, 0, .08);
    color: #fff;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .025em;
    text-decoration: none;
    -webkit-transition: all .15s ease;
    -o-transition: all .15s ease;
    transition: all .15s ease;
    margin-top: 10px;
    width: 100%;
    height: 45px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.almapay-payment-modal .modal-content .payment-content .submit-payment-btn .loader.hide {
    display: none;
}

.almapay-payment-modal .modal-content .payment-content .submit-payment-btn.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.almapay-payment-modal .modal-content .payment-form .form-row label {
    color: #333;
    letter-spacing: .025em;
}

.almapay-payment-modal .modal-content .close {
    margin-right: 16px;
    display: inline-block;
    vertical-align: middle;
}

.almapay-payment-modal .modal-content .close svg {
    margin-top: 5px;
}

.almapay-payment-modal .payment-header-data-wrapper {
    display: inline-block;
    vertical-align: middle;
}

.almapay-payment-modal .close:hover,
.almapay-payment-modal .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.spinner {
    margin-left: 10px;
    text-align: center;
    display: inline-block;
}

.spinner > div {
    width: 12px;
    height: 12px;
    background-color: #FFF;

    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.spinner .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

/**
 * The CSS shown here will not be introduced in the Quickstart guide, but shows
 * how you can use CSS to style your Element's container.
 */
.StripeElement {
    display: block;
    max-width: 500px;
    outline: 0;
    border-radius: 4px;
    background: #fff;
    padding: 12px 14px;
    margin: 10px 0 4px;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid #e8e8e8;
    color: #424770;
    letter-spacing: 0;
    font-size: 14px;
}

.StripeElement--focus {
    box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
    border-color: #fa755a;
}

.StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}

span.pay-label {
    display: inline-block;
}

.loader {
    border: 2px solid #fff;
    border-top: 2px solid var(--primary-color);;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 8px;
}

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

@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0)
    }
    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bouncedelay {
    0%, 80%, 100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    40% {
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}

@media only screen and (max-width: 36rem) {
    .almapay-payment-modal .modal-content {
        width: 100%;
        height: 100vh;
        top: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0;
    }
    #almapay-layover-text {
        font-size: 24px !important;
    }

}

