/*
 * Custom HTML Forms - Theme Guard
 *
 * Purpose: keep forms visually consistent when themes/page builders
 * add aggressive global styles for buttons, inputs, headings, etc.
 */

.chf-form-wrapper,
.chf-form-wrapper * {
    box-sizing: border-box !important;
}

.chf-form-wrapper .funnel-container,
.chf-form-wrapper .va-funnel-container,
.chf-form-wrapper .container,
.chf-form-wrapper .chf-investment-calculator,
.chf-form-wrapper #app {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    color: inherit;
}

.chf-form-wrapper button,
.chf-form-wrapper input,
.chf-form-wrapper select,
.chf-form-wrapper textarea {
    font-family: inherit !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.chf-form-wrapper button {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    height: auto !important;
}

.chf-form-wrapper button {
    -webkit-appearance: none !important;
    appearance: none !important;
    background-image: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.chf-form-wrapper input,
.chf-form-wrapper textarea {
    background-image: none !important;
    box-shadow: none !important;
}

.chf-form-wrapper a,
.chf-form-wrapper button {
    text-decoration: none;
}

.chf-form-wrapper .btn-option,
.chf-form-wrapper .btn-primary,
.chf-form-wrapper .btn-secondary-option,
.chf-form-wrapper .btn-edit,
.chf-form-wrapper .btn-calculate,
.chf-form-wrapper .va-btn-option,
.chf-form-wrapper .va-btn-primary,
.chf-form-wrapper .option-button,
.chf-form-wrapper .style-card,
.chf-form-wrapper .btn-cancel,
.chf-form-wrapper .btn-apply,
.chf-form-wrapper .btn-modal-no,
.chf-form-wrapper .btn-modal-yes,
.chf-form-wrapper .btn-correct,
.chf-form-wrapper .btn-fix,
.chf-form-wrapper .btn-run,
.chf-form-wrapper .soft-reset-btn {
    font-family: inherit !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

@media (max-width: 782px) {
    .chf-form-wrapper .brand-logo,
    .chf-form-wrapper .amsc-logo,
    .chf-form-wrapper .logo-header img,
    .chf-form-wrapper .hero-header img,
    .chf-form-wrapper .hero-logo {
        display: none !important;
    }

    .chf-form-wrapper .logo-header,
    .chf-form-wrapper .hero-header {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

