/* ==========================================================
   THE DECK DUCKS - CONTACT FORM ADDITIONS
   Unique selectors only
   ========================================================== */


/* ----------------------------------------------------------
   Honeypot
   ---------------------------------------------------------- */

.deck-hp {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* ----------------------------------------------------------
   Google reCAPTCHA
   ---------------------------------------------------------- */

.deck-captcha {
    display: flex;
    align-items: center;
    width: 100%;
}

.deck-captcha .g-recaptcha {
    max-width: 100%;
}


/* ----------------------------------------------------------
   AJAX messages
   ---------------------------------------------------------- */

.deck-form-message {
    display: none;
    width: 100%;
    box-sizing: border-box;
    margin-top: 20px;
    padding: 15px 18px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}

.deck-form-message.is-visible {
    display: block;
}


/* ----------------------------------------------------------
   Success
   ---------------------------------------------------------- */

.deck-form-success {
    background: #f8f5df;
    border: 1px solid #e4d58a;
    color: #222222;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    white-space: nowrap;
}

.deck-form-success strong {
    color: #008000;
    font-weight: 700;
}

@media (max-width: 576px) {
    .deck-form-success {
        white-space: normal;
    }
}


/* ----------------------------------------------------------
   Error
   ---------------------------------------------------------- */

.deck-form-error {
    background: #fff2f2;
    border: 1px solid #efcaca;
    color: #a52b2b;
}


/* ----------------------------------------------------------
   Loading button
   ---------------------------------------------------------- */

.deck-quote-btn.is-loading {
    opacity: .7;
    cursor: wait;
}

.deck-quote-btn:disabled {
    cursor: wait;
}


/* ----------------------------------------------------------
   Mobile
   ---------------------------------------------------------- */

@media only screen and (max-width: 767px) {

    .deck-form-message {
        margin-top: 16px;
        padding: 13px 15px;
        font-size: 13px;
    }

    .deck-captcha {
        overflow-x: auto;
    }

}