/* hides the iframe */
.spgf-hidden {
    display: none;
}

/*START - Styling for modal, modal content and other related elements */

.spgf-modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.spgf-modal.is-active{
    display: block !important;
}

.gform_previous_button.not-active {
    display: none !important;
}

.spgf-confirmation-target {
    width: 100%;
    min-height: 200px;
    max-width: 100%;
    border: none;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .spgf-confirmation-target {
        min-height: 600px;
    }
}

#payment-widget-modal-button {
    background-color: #0060af;
    border-color: #0060af;
    color: #fff;
    font-weight: bold;
}

#payment-widget-modal-button:hover {
    background-color: #000;
    border-color: #000;
}

.payment-amount-container {
    text-align: center;
}
.payment-amount-container .payment-widget-modal-amount {
    background-color: #efefef;
    border-radius: 25px;
    padding: 10px 20px;
}

.payment-widget-modal-content {
    margin: 15% auto;
    width: 40%;
}

.payment-widget-modal-content .wpwl-form-card {
    margin-bottom: 10px;
}

.button-is-disabled-for-processing {
    opacity: 0.5;
}

.spgf-custom-confirmation {
    font-size: 18px;
    text-decoration: underline;
    position: relative;
    display: block;
    margin-bottom: 20px;
}

.return-to-pay-form {
    display: inline-block;
    padding: 10px 15px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border: 1px solid #000
}

.return-to-pay-form:hover, .return-to-pay-form:focus {
    text-decoration: none;
}

.return-to-pay-form:hover {
    color: #fff;
}

.payment-failed-redirection-message {
    display: inline-block;
    font-size: 15px;
    text-decoration: underline;
    margin-left: 50%;
    position: relative;
}

.spgf-payment-form .gfield:first-of-type input {
    margin-bottom: 0 !important;
}

.spgf-payment-form .gfield input {
    margin-top: 0 !important;
}

@media screen and (max-width: 480px) {
    .payment-widget-modal-content {
        width: 80%;
    }

    .payment-widget-modal-content .wpwl-wrapper-brand {
        padding: 0;
        width: 100%;
    }

    .payment-widget-modal-content .wpwl-brand-card {
        display: none;
    }

    .spgf-custom-confirmation {
        width: 50%;
        top: 0;
        margin: 0;
    }
}

/*END - Styling for modal, modal content and other related elements */
