/* Minification failed. Returning unminified contents.
(9,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(70,17): run-time error CSS1039: Token not allowed after unary operator: '-sos-red'
 */
/* Application styles, scoped to the app content area (#main) so nothing here can
   leak into the SOS chrome (header, footer, side menu). Accent color is the SOS
   deep red, used sparingly. */

#main {
    /* Bootstrap's body background maps onto #main via the scoped build; keep the
       content column on the skin's background and reserve white for the panel. */
    background-color: transparent;
    --sos-red: #990000;
}

/* ---- Page headings ---------------------------------------------------- */

#main .page-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0.75rem 0 0.25rem;
}

#main .page-lead {
    color: #5c636a;
    margin-bottom: 1.5rem;
}

/* ---- The form panel ---------------------------------------------------- */

#main .step-panel {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

#main .step-panel > :last-child {
    margin-bottom: 0;
}

/* ---- Form sections ----------------------------------------------------- */

#main fieldset.form-section {
    margin: 0 0 2rem;
    padding: 0;
    border: 0;
    min-width: 0;
}

#main .form-section legend {
    float: none;
    width: 100%;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0 0 0.4rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

#main .form-section .form-label {
    margin-bottom: 0.25rem;
    font-weight: 500;
}

#main .form-hint {
    color: #5c636a;
    font-size: 0.875rem;
}

/* Required-field marker */
#main .req {
    color: var(--sos-red);
    font-weight: 600;
}

/* ---- Inline validation -------------------------------------------------- */
/* Client-side errors use Bootstrap's .is-invalid/.invalid-feedback (scoped
   build); the rules below give the server-rendered MVC validation helpers the
   same look. */

#main .input-validation-error {
    border-color: #dc3545;
}

#main span.field-validation-error {
    display: block;
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.25rem;
}

#main span.field-validation-valid {
    display: none;
}

/* ---- Odds and ends ------------------------------------------------------ */

#main .vote-logo {
    max-width: 100%;
    height: auto;
}

#main .contact-block {
    line-height: 1.7;
}

#main hr {
    opacity: 0.15;
}

