/* Mobile form/CTA fixes - action sheet section 10 */

@media (max-width: 767px) {
    /* Prevent iOS Safari auto-zooming the page when an input is focused
       (only happens below 16px font-size) */
    .lead-form input,
    .lead-form textarea,
    .lead-form select,
    .contact-form-s1 input,
    .contact-form-s1 textarea,
    .contact-form-s1 select,
    .form-control {
        font-size: 16px !important;
    }

    .mobile-cta-bar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9998;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    }

    .mobile-cta-bar a {
        flex: 1;
        text-align: center;
        padding: 14px 10px;
        font-weight: 600;
        font-size: 15px;
        text-decoration: none;
        min-height: 44px;
        box-sizing: border-box;
    }

    .mobile-cta-bar a.mobile-cta-call {
        background: #051829;
        color: #fff;
    }

    .mobile-cta-bar a.mobile-cta-quote {
        background: #fdc900;
        color: #051829;
    }

    /* Keep page content and the cookie banner clear of the sticky bar */
    body {
        padding-bottom: 50px;
    }

    .cookie-banner {
        bottom: 50px !important;
    }
}

@media (min-width: 768px) {
    .mobile-cta-bar {
        display: none;
    }
}
