/* Start custom CSS for shortcode, class: .elementor-element-14a2829 *//* =====================================
   FINAL FIX - CF7 FIELDS IN ONE ROW
===================================== */

/* Remove CF7 paragraph interference */
.cb-quote-form .cb-grid > p {
    display: contents !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cb-quote-form .cb-grid > br {
    display: none !important;
}


/* FORCE ROW */
.cb-quote-form .cb-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;

    width: 100% !important;
    gap: 8px !important;

    margin-bottom: 17px !important;
}


/* 4 fields */
.cb-quote-form .cb-grid-4 .wpcf7-form-control-wrap {
    display: block !important;

    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* 3 fields */
.cb-quote-form .cb-grid-3 .wpcf7-form-control-wrap {
    display: block !important;

    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* ALL fields */
.cb-quote-form .cb-grid input,
.cb-quote-form .cb-grid select {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    height: 34px !important;

    margin: 0 !important;
    padding: 0 7px !important;

    box-sizing: border-box !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: #fff !important;
}


/* Product stays full width */
.cb-quote-form .cb-product,
.cb-quote-form .cb-product .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
}


/* Bottom row */
.cb-quote-form .cb-bottom {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}


/* Desktop */
@media (min-width: 769px) {

    .cb-quote-form .cb-grid-4 {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }

    .cb-quote-form .cb-grid-4 .wpcf7-form-control-wrap {
        flex: 1 1 0 !important;
    }

    .cb-quote-form .cb-grid-3 {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }

    .cb-quote-form .cb-grid-3 .wpcf7-form-control-wrap {
        flex: 1 1 0 !important;
    }
}/* End custom CSS */