/* Brand-themed via CSS custom properties injected by _Layout from Branding:Theme.
   _Layout emits ONLY non-empty values, so a missing/blank config key leaves the
   variable undeclared and these var(--brand-*, #hex) fallbacks take effect. */

.btn-accent {
    background-color: var(--brand-accent, #FFEE00);
    color: var(--brand-on-accent, #004A99);
}



    .btn-accent:hover, .nav > li > a.btn-accent:hover, .nav > li > a.btn-accent:hover, .btn-accent:focus, .btn-accent:active:focus, .btn-accent:active, .btn-accent:active:hover, .btn-accent[disabled]:focus, .btn-accent[disabled]:hover, a.bg-primary:hover, a.bg-primary:focus, .funraisin-primary-nav ul li:hover a.btn-accent:hover, .funraisin-sticky-nav .navbar-nav > li:hover > a.btn-accent, .toggle-switch .btn.active, .bootstrap-select > .dropdown-toggle.bs-placeholder.btn-accent:hover {
        border-color: var(--brand-accent-hover, #FFF64C);
        background-color: var(--brand-accent-hover, #FFF64C);
        color: var(--brand-on-accent, #004A99);
    }


.blockquote-2.blockquote-brand {
    border-color: var(--brand-accent, #FFEE00) !important
}

.bg-brand {
    background-color: var(--brand-primary, #004A99);
}

a {
    color: #fff;
}

a:hover {
    color: #000;
}

.fc-green {
    color: green
}

.text-brand {
    color: var(--brand-primary, #004A99)
}

.fc-red {
    color: red
}

/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
    font-size: 7pt;
    margin-top:3px;
}

.p-6 {
    padding: 2rem 5rem 0rem 5rem !important;
}

/* Brand panel (desktop): keep the logo pinned top and footer pinned bottom, and let
   the hero image fill the remaining space with object-fit:cover. This makes any tenant
   hero image (portrait or landscape) fit the panel without pushing the page into a
   scrollbar. Mobile is unaffected (logo/hero are hidden below lg). */
@media (min-width: 992px) {
    .bg-image > .row {
        flex-wrap: nowrap;
        flex-direction: column;
        max-height: 100vh;
    }

        /* logo + footer keep their natural height. Override Bootstrap's `.col-12 { flex: 0 0 100% }`,
           whose 100% would otherwise apply to the main axis (height) in this column-direction flex. */
        .bg-image > .row > .col-12 {
            flex: 0 0 auto;
        }

    .bg-image > .row > .hero-cell {
        flex: 1 1 auto;
        min-height: 0;      /* allow shrinking below the image's intrinsic height */
        overflow: hidden;
    }

        .bg-image > .row > .hero-cell > div,
        .bg-image > .row > .hero-cell > div > a {
            display: block;
            height: 100%;
        }

    /* Per-tenant via Branding:Hero (injected in _Layout). Default "contain" shows the whole
       image at its own aspect ratio, scaled into the space between logo and footer — never
       cropped; "cover" fills that space and crops the overflow. */
    .bg-image .hero-img {
        width: 100% !important;   /* override inline data-width */
        height: 100%;
        object-fit: var(--hero-fit, contain);
        object-position: var(--hero-position, center);
        display: block;
    }

    /* Right column: vertically center the form when it fits the viewport. When the
       viewport is too short the row grows to the content height, leaving no free
       space, so the form stays top-aligned and scrollable (submit button never clipped). */
    .col-lg-8 > .row {
        align-content: center !important;
    }
}
