/**
 * BoxHouse custom styles.
 * Add BoxHouse-specific CSS below this comment, without HTML tags.
 * Scope selectors to the intended component to avoid site-wide overrides.
 */

/* Gravity Forms review page */
.bh-review-page .bh-review-intro h3 {
    color: #f07e2b;
    font-size: 22px;
    margin: 0 0 6px;
}
.bh-review-page .bh-review-intro p {
    margin: 0 0 20px;
    color: #0b2239;
}

/* Override the legacy table markup {all_fields} outputs */
.bh-review-page table,
.bh-review-page table table {
    width: 100% !important;
    border-collapse: collapse;
    margin: 0 0 20px;
    background: transparent !important;
}
.bh-review-page tr,
.bh-review-page td {
    background: transparent !important;
}
.bh-review-page td {
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(11, 34, 57, 0.1);
}
.bh-review-page td[width="20"],
.bh-review-page td:empty {
    display: none;
}

/* No border under the final row, so a leftover spacer can't draw a stray line */
.bh-review-page table > tbody > tr:last-child > td {
    border-bottom: 0;
}

/* Answers: black, readable, no link styling */
.bh-review-page font,
.bh-review-page td,
.bh-review-page td a,
.bh-review-page td a:visited {
    font-family: inherit !important;
    font-size: 15px !important;
    color: #0b2239 !important;
    line-height: 1.5;
    text-decoration: none !important;
}

/* Question labels: bold orange */
.bh-review-page td strong {
    color: #f07e2b !important;
    font-weight: 700;
    display: block;
}

/* Checkbox answers render as a list; make them sit like plain text */
.bh-review-page td ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Keep the popup from clipping the buttons on small screens */
.bh-review-page .gform_page_footer {
    padding-top: 12px;
}