/*
 * Payment step (step 5) card form: a copy of the c2stripe plugin's styles
 * (templates/template-pay.php), so it looks exactly as before. The payment
 * itself goes to the CRM's Stripe account for the booking.
 */

    /**
 * 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.
 */

    .vc_row[data-vc-full-width].vc_hidden {
        opacity: 1;
    }


    .example.example2 {
        background-color: #fff;
        border-radius: 10px;
        background-color: #f9f9f9;
        padding: 15px 25px 25px 25px;
    }

    .msg-div {
        padding: 10px;
        border: 1px solid #fff;
        margin-bottom: 5px;
        border-radius: 10px;
        color: #fff;
    }

    .example.example2 * {
        font-family: Source Code Pro, Consolas, Menlo, monospace;
        font-size: 16px;
        font-weight: 500;
    }

    .example.example2 .row {
        display: -ms-flexbox;
        display: flex;
        margin: 0 5px 10px;
    }

    .example.example2 .field {
        position: relative;
        width: auto;
        margin: 0;
        overflow: hidden;
    }

    .example.example2 .field.half-width {
        width: 50%;
    }

    .example.example2 .field.quarter-width {
        width: calc(25% - 10px);
    }

    .example.example2 .baseline {
        position: absolute;
        width: 100%;
        height: 1px;
        left: 0;
        bottom: 0;
        background-color: #86888a;
        transition: background-color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .example.example2 label {
        color: #86888a;
        white-space: nowrap;
        float: left;
        margin: 0;
        line-height: 50px;
        margin-right: 15px;
    }

    .example.example2 .input {
        width: 100%;
        color: #32325d;
        background-color: transparent;
        margin: 0;
        height: 50px;
        padding: 0 15px;
        box-shadow: none;
        border: 0;
    }

    .example.example2 .input::-webkit-input-placeholder {
        color: transparent;
        transition: color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .example.example2 .input::-moz-placeholder {
        color: transparent;
        transition: color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .example.example2 .input:-ms-input-placeholder {
        color: transparent;
        transition: color 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .example.example2 .input.StripeElement {
        opacity: 0;
        transition: opacity 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
        will-change: opacity;
    }

    .example.example2 .input.focused,
    .example.example2 .input:not(.empty) {
        opacity: 1;
    }

    .example.example2 .input.focused::-webkit-input-placeholder,
    .example.example2 .input:not(.empty)::-webkit-input-placeholder {
        color: #86888a;
    }

    .example.example2 .input.focused::-moz-placeholder,
    .example.example2 .input:not(.empty)::-moz-placeholder {
        color: #86888a;
    }

    .example.example2 .input.focused:-ms-input-placeholder,
    .example.example2 .input:not(.empty):-ms-input-placeholder {
        color: #86888a;
    }

    .example.example2 .input.focused+label,
    .example.example2 .input:not(.empty)+label {
        color: #aab7c4;
        transform: scale(0.85) translateY(-25px);
        cursor: default;
    }

    .example.example2 .input.focused+label {
        color: #333333;
    }

    .example.example2 .input.invalid+label {
        color: #ffa27b;
    }

    .example.example2 .input.focused+label+.baseline {
        background-color: #333333;
    }

    .example.example2 .input.focused.invalid+label+.baseline {
        background-color: #e25950;
    }

    .example.example2 input,
    .example.example2 button {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        outline: none;
        border-style: none;
    }

    .example.example2 input:-webkit-autofill {
        -webkit-text-fill-color: #e39f48;
        transition: background-color 100000000s;
        -webkit-animation: 1ms void-animation-out;
    }

    .example.example2 .StripeElement--webkit-autofill {
        background: transparent !important;
    }

    .example.example2 input,
    .example.example2 button {
        -webkit-animation: 1ms void-animation-out;
    }

    .example.example2 button {
        display: block;
        width: calc(100% - 30px);
        height: 40px;
        margin: 40px 15px 0;
        background-color: #333333;
        border-radius: 4px;
        color: #fff;
        text-transform: uppercase;
        font-weight: 600;
        cursor: pointer;
    }

    .example.example2 button:disabled {
        background: gray;
        cursor: not-allowed;
    }

    .example.example2 .error svg {
        margin-top: 0 !important;
    }

    .example.example2 .error svg .base {
        fill: #e25950;
    }

    .example.example2 .error svg .glyph {
        fill: #fff;
    }

    .example.example2 .error .message {
        color: #e25950;
    }

    .example.example2 .success .icon .border {
        stroke: #abe9d2;
    }

    .example.example2 .success .icon .checkmark {
        stroke: #333333;
    }

    .example.example2 .success .title {
        color: #32325d;
        font-size: 16px !important;
    }

    .example.example2 .success .message {
        color: #8898aa;
        font-size: 13px !important;
    }

    .example.example2 .success .reset path {
        fill: #333333;
    }

    .paymentdiv {
        background-color: #702d42;
        padding: 20px 20px 20px 20px;
        border-radius: 15px;
        box-shadow: rgba(0, 0, 0, 0.4) 3px 3px 6px;
    }

    .paybutton {
        margin-top: 12px;
    }

    div#card-errors {
        color: #fff;
    }

    .paymenthead {
        border-bottom: 1px solid #edf2f8;
        margin-bottom: 10px;
    }

    .paymentwidget {
        color: #51696d;
        font-family: sans-serif;
    }

    #example-2 .column {
        margin-bottom: 10px;
    }

    input#amountpayable::-webkit-outer-spin-button,
    input#amountpayable::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    input#amountpayable {
        -webkit-appearance: none;
        -moz-appearance: textfield;
        appearance: none;
    }


    @media (min-width: 769px) {
        .vc_row[data-vc-full-width].vc_hidden {
            display: block;
        }

        .customfields {
            display: flex;
        }
    }

    @media (max-width: 768px) {

        .section_wrapper,
        .container,
        .four.columns .widget-area {
            max-width: 700px !important;
            padding-left: 0px !important;
            padding-right: 0px !important;

        }

        .vc_row[data-vc-full-width].vc_hidden {
            display: block;
        }

        .paymentdiv {
            padding: 5px;
        }

        .example.example2 {
            padding: 10px;
        }

        .vc_row-has-fill>.vc_column_container>.vc_column-inner {
            padding-top: 20px;
        }

        .example.example2 button {
            margin: 20px 15px 0;
        }


        .payment-overlay-div {
            display: block;
            position: absolute;
            width: 100%;
            height: 100%;
            background-color: #000000;
            z-index: 9;
            opacity: 0.1;
        }
}
