.credorx-gateway-loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 99999999999;
}

form.checkout.processing .credorx-gateway-loader {
    display: block;
}

.credorx-gateway-loader>div {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% - 60px);
    margin: 0 auto;
    border: 16px solid #b0b1b2;
    border-radius: 50%;
    border-top: 16px solid #f37a2f;
    width: 120px;
    height: 120px;
    -webkit-animation: credorx-gateway-spin 2s linear infinite;
    /* Safari */
    animation: credorx-gateway-spin 2s linear infinite;
}

.credorax-validation-message {
    color: #b22222;
    font-size: 1.5rem;
    display: none;
}

.form-row.woocommerce-invalid .credorax-validation-message {
    display: block;
}

#credorax-allowed-cards>span {
    display: block;
    font-size: 14px;
    vertical-align: text-top;
    opacity: 0.8;
    font-style: italic;
}

#payment .payment_methods #credorax-allowed-cards img.credorax-cc-type-icon {
    display: inline-block;
    width: 40px;
    max-height: initial;
    height: auto;
    margin: 5px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: all .6s ease;
}

#payment .payment_methods #credorax-allowed-cards img.credorax-cc-type-icon.active {
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.5);
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    -webkit-transition: all .6s ease;
}

#payment .payment_methods #credorax-allowed-cards img.credorax-cc-type-icon.inactive {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: 0.4;
}

/* Safari */
@-webkit-keyframes credorx-gateway-spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

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

    100% {
        transform: rotate(360deg);
    }
}
