.globalpayments-sandbox-warning, .globalpayments-error {
    margin: 0 0 10px;
    padding: 12px;
    display: block;
    font-size: 1rem;
    background: #fae5e5;
    color: #e02b27;
    position: relative;
    border-radius: 2px;
    width: 100%;
}

.validation-error {
    font-size: 0.75rem;
    color: #FF7E7E;
}

.globalpayments_paymentgateway.payment-method-content iframe {
    width: 100%;
    /*min-height: 3.6em;*/
}

div[id^="GlobalPayments-overlay-"] {
    z-index: 10001 !important;
}

#globalpayments_paymentgateway_clickToPay_target {
    max-width: 350px;
}

@supports (-webkit-appearance: -apple-pay-button) {
    .apple-pay-button {
        display: inline-block;
        -webkit-appearance: -apple-pay-button;
    }
    .apple-pay-button-black {
        -apple-pay-button-style: black;
    }
    .apple-pay-button-white {
        -apple-pay-button-style: white;
    }
    .apple-pay-button-white-with-line {
        -apple-pay-button-style: white-outline;
    }
}

@supports not (-webkit-appearance: -apple-pay-button) {
    .apple-pay-button {
        display: inline-block;
        background-size: 100% 60%;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        border-radius: 5px;
        padding: 0px;
        box-sizing: border-box;
        min-width: 200px;
        min-height: 32px;
        max-height: 64px;
    }
    .apple-pay-button-black {
        background-image: -webkit-named-image(apple-pay-logo-white);
        background-color: black;
    }
    .apple-pay-button-white {
        background-image: -webkit-named-image(apple-pay-logo-black);
        background-color: white;
    }
    .apple-pay-button-white-with-line {
        background-image: -webkit-named-image(apple-pay-logo-black);
        background-color: white;
        border: .5px solid black;
    }
}

/* Card List Page */

.card-type > .discover, .card-type > .visa, .card-type > .mastercard, .card-type > .jcb, .card-type > .amex {
    max-width: 60px;
}

.table-credit-cards td {
    vertical-align: middle;
}

.buttons {
    display: flex;
    justify-content: flex-end;
}

.termsNotAgreed .credit-card-submit {
    position: relative;
    filter: grayscale(100%);
    pointer-events: none;
    touch-action: none;
    cursor: not-allowed;
}

.termsNotAgreed .credit-card-submit:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.5);
}

.termsNotAgreed .credit-card-submit:after {
    content: 'Please agree to terms and conditions';
    color: #E12619;
}

@media (min-width: 800px) {
    .secure-payment-form div.credit-card-card-cvv {
        margin: 0;
    }
}