/* Shared Blazor/account defaults. Site custom.css supplies optional theme tokens. */

/* Restore LC-driven plain links after library resets; component classes take precedence. */
a:where([href]) {
    color: var(--bs-link-color, #0d6efd);
    text-decoration: var(--bs-link-decoration, underline);
}

a:where([href]):where(:visited) {
    color: var(--bs-link-visited-color, var(--bs-link-color, #0d6efd));
    text-decoration: var(--bs-link-visited-decoration, var(--bs-link-decoration, underline));
}

/* Current-page styling is distinct from :active (pressed). Hover/focus still wins. */
a:where([href]):where(.active, [aria-current="page"]) {
    color: var(--bs-link-current-color, var(--bs-link-color, #0d6efd));
    text-decoration: var(--bs-link-current-decoration, var(--bs-link-decoration, underline));
}

a:where([href]):where(:hover, :focus-visible) {
    color: var(--bs-link-hover-color, #0a58ca);
    text-decoration: var(--bs-link-hover-decoration, underline);
}

a:where([href]):where(:focus-visible) {
    color: var(--bs-link-focus-color, var(--bs-link-hover-color, #0a58ca));
    text-decoration: var(--bs-link-focus-decoration, var(--bs-link-hover-decoration, underline));
}

a:where([href]):where(:active) {
    color: var(--bs-link-active-color, var(--bs-link-hover-color, #0a58ca));
    text-decoration: var(--bs-link-active-decoration, var(--bs-link-hover-decoration, underline));
}

/* Protected forms render the required reCAPTCHA disclosure separately. */
.grecaptcha-badge {
    visibility: hidden;
}

/* Skin tokens are set on the component classes, not :root, to isolate each region. */
.site-utility-bar {
    background-color: var(--site-utility-background, #e8e8e8);
    color: var(--site-utility-color, #555);
    border-bottom: var(--site-utility-border, 1px solid #dadada);
    box-shadow: var(--site-utility-shadow, inset 0 -1px 3px rgba(0, 0, 0, 0.03));
    font-family: var(--site-utility-font-family, var(--bs-default-font, var(--bs-font-sans-serif)));
    font-size: var(--site-utility-font-size, 1rem);
    min-height: 29px;
    padding: 0;
}

.site-utility-bar :where(.topbar-link, .navbar-tool, .badge-dkgrey, .utility-social),
.site-utility-bar .utility-social a:not([class]) {
    color: var(--site-utility-color, #555);
    text-decoration: none;
}

.site-utility-bar :where(.topbar-link, .navbar-tool, .badge-dkgrey):is(:hover, :focus-visible, :active),
.site-utility-bar .utility-social a:not([class]):is(:hover, :focus-visible, :active) {
    color: var(--site-utility-hover-color, #000);
}

.site-utility-bar .topbar-link > i,
.site-utility-bar .topbar-text > i {
    color: var(--site-utility-icon-color, #767676);
}

.site-utility-bar .topbar-link.icon-on > i {
    color: var(--site-utility-active-icon-color, var(--bs-primary-color, #0d6efd));
}

.site-utility-bar .utility-social a:not([class]) i {
    color: inherit !important;
}

.site-utility-bar .action-button,
.site-utility-bar .action-button:link,
.site-utility-bar .action-button:visited {
    background-color: var(--site-utility-action-background, var(--bs-primary-color, #0d6efd));
    color: var(--site-utility-action-color, #fff) !important;
    border: var(--site-utility-action-border, 1px solid #fff);
    font-family: inherit;
    font-size: var(--site-utility-action-font-size, 0.7rem);
    font-weight: 500;
    text-transform: var(--site-utility-action-text-transform, uppercase);
    letter-spacing: 0;
    padding: 4px 8px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.site-utility-bar .action-button:is(:hover, :focus-visible, :active) {
    background-color: var(--site-utility-action-hover-background, rgba(0, 0, 0, 0.75));
    color: var(--site-utility-action-hover-color, #fff) !important;
}

.site-footer {
    background-color: var(--site-footer-background, #262626);
    color: var(--site-footer-color, #999);
    border-top: var(--site-footer-border, 0);
    box-shadow: var(--site-footer-shadow, none);
    font-family: var(--site-footer-font-family, var(--bs-default-font, var(--bs-font-sans-serif)));
    font-size: var(--site-footer-font-size, 1rem);
}

.site-footer .site-footer-heading {
    color: var(--site-footer-heading-color, #999);
    font-family: var(--site-footer-heading-font-family, var(--site-footer-font-family, var(--bs-default-font, var(--bs-font-sans-serif))));
    font-size: var(--site-footer-heading-font-size, 1.5rem);
    font-weight: var(--site-footer-heading-font-weight, 400);
    margin-bottom: var(--site-footer-heading-margin-bottom, 0.5rem);
    padding-bottom: var(--site-footer-heading-padding-bottom, 0);
}

.site-footer .footer-list {
    color: var(--site-footer-color, #999);
    font-size: var(--site-footer-font-size, 1rem);
    font-weight: 400;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.site-footer .site-footer-item {
    position: relative;
    color: var(--site-footer-link-color, #999);
    padding-right: var(--site-footer-arrow-padding-right, 1.5rem);
    padding-bottom: var(--site-footer-list-item-padding-bottom, 0.3rem);
}

.site-footer .site-footer-item::after {
    content: "\203a";
    display: var(--site-footer-arrow-display, block);
    position: absolute;
    right: var(--site-footer-arrow-right, 20px);
    top: 50%;
    color: var(--site-footer-arrow-color, inherit);
    transform: translateY(-50%);
    transition: transform var(--site-footer-arrow-duration, 0.2s) ease,
        color var(--site-footer-arrow-duration, 0.2s) ease;
    pointer-events: none;
}

.site-footer .site-footer-item:is(:hover, :focus-within)::after {
    color: var(--site-footer-arrow-hover-color, inherit);
    transform: translate(var(--site-footer-arrow-hover-shift, 10px), -50%);
}

@media (prefers-reduced-motion: reduce) {
    .site-footer .site-footer-item::after {
        transition: none;
    }
}

.site-footer .footer-nav-item,
.site-footer .site-footer-item a,
.site-footer .site-footer-item .footer-nav-item:visited,
.site-footer .footer-feature-link {
    color: var(--site-footer-link-color, #999);
    font-family: var(--site-footer-link-font-family, var(--site-footer-font-family, var(--bs-default-font, var(--bs-font-sans-serif))));
    font-size: var(--site-footer-link-font-size, 0.8rem);
    font-weight: var(--site-footer-link-font-weight, 400);
    text-transform: var(--site-footer-link-text-transform, uppercase);
    text-decoration: none;
}

.site-footer .site-footer-item:is(:hover, :focus-within),
.site-footer .site-footer-item .footer-nav-item:is(:hover, :focus-visible, :active),
.site-footer .site-footer-item a:is(:hover, :focus-visible, :active),
.site-footer .footer-feature-link:is(:hover, :focus-visible, :active) {
    color: var(--site-footer-link-hover-color, #fff);
}

/* Footer newsletter field interior; configurable through site-footer skin settings. */
.site-footer .lead-signup-field .mud-input-outlined {
    background-color: var(--site-footer-signup-background, rgba(255, 255, 255, 0.12));
}
.site-footer .footer-social {
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1.25rem;
}

.site-footer .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    font-size: var(--site-footer-social-font-size, 2rem);
    color: var(--site-footer-social-color, #999);
    opacity: 0.85;
}

.site-footer .footer-social a:is(:hover, :focus-visible) {
    color: var(--site-footer-social-hover-color, var(--site-footer-social-color, #999));
    background-color: var(--site-footer-social-hover-background, rgba(255, 255, 255, 0.08));
    opacity: 1;
}

.site-subfooter {
    background-color: var(--site-subfooter-background, #000);
    color: var(--site-subfooter-color, #999);
    border-top: var(--site-subfooter-border, 0);
    box-shadow: var(--site-subfooter-shadow, none);
    font-family: var(--site-subfooter-font-family, var(--bs-default-font, var(--bs-font-sans-serif)));
    font-size: var(--site-subfooter-font-size, 0.8rem);
}

.site-subfooter .site-subfooter-text {
    color: var(--site-subfooter-color, #999);
    font-size: var(--site-subfooter-font-size, 0.8rem);
    font-family: var(--site-subfooter-font-family, var(--bs-default-font, var(--bs-font-sans-serif)));
    font-weight: var(--site-subfooter-text-font-weight, 400);
}

.site-subfooter a,
.site-subfooter a:visited {
    color: var(--site-subfooter-link-color, var(--bs-primary-color, #0d6efd));
    text-decoration: var(--site-subfooter-link-decoration, none);
}

.site-subfooter .compliance-footer-link,
.site-subfooter .compliance-link-button.compliance-footer-link {
    color: var(--site-subfooter-link-color, var(--bs-primary-color, #0d6efd));
    text-decoration: var(--site-subfooter-link-decoration, none);
}

.site-subfooter a:is(:hover, :focus-visible, :active),
.site-subfooter .compliance-footer-link:is(:hover, :focus-visible, :active),
.site-subfooter .compliance-link-button.compliance-footer-link:is(:hover, :focus-visible, :active) {
    color: var(--site-subfooter-link-hover-color, var(--bs-primarylight-color, #0a58ca));
    text-decoration: var(--site-subfooter-link-hover-decoration, underline);
}



@media (max-width: 767.98px) {
    .site-footer .container-fluid,
    .site-subfooter .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .site-subfooter .site-subfooter-text {
        overflow-wrap: anywhere;
    }
}

.blazor-error-boundary {
    padding: 1rem;
    color: #fff;
    background: #b32121;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.auth-page {
    max-width: var(--site-auth-page-width, 1080px);
    margin: 2rem auto;
}

.btn-brand {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--site-brand-color, var(--bs-primary, #0d6efd));
    --bs-btn-border-color: var(--site-brand-color, var(--bs-primary, #0d6efd));
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--site-brand-hover-color, var(--bs-primary, #0d6efd));
    --bs-btn-hover-border-color: var(--site-brand-hover-color, var(--bs-primary, #0d6efd));
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--site-brand-hover-color, var(--bs-primary, #0d6efd));
    --bs-btn-active-border-color: var(--site-brand-hover-color, var(--bs-primary, #0d6efd));
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--site-brand-color, var(--bs-primary, #0d6efd));
    --bs-btn-disabled-border-color: var(--site-brand-color, var(--bs-primary, #0d6efd));
}

/* =========================================
   BASE DOCUMENT
   ========================================= */

html,
body {
    /* font-family: 'Gotham', sans-serif; */ /* pull from dynamic stylesheet */
    height: 100%;
    margin: 0;
    /* font-size: 16px; */ /* pull from dynamic stylesheet */
    overflow-x: hidden;
}

/* Remove focus outline for h1 elements with tabindex="-1" */
h1[tabindex="-1"]:focus {
    outline: none;
}

/* =========================================
   IMPERSONATION BAR
   ========================================= */

.impersonation-bar {
    background: linear-gradient(135deg, #e7e6da 0%, #d4d3c7 100%);
    color: #282828;
    box-shadow: 0 2px 8px rgba(231, 230, 218, 0.4);
    position: sticky;
    top: 0;
    z-index: 1040;
    font-family: 'Gotham', Arial, sans-serif;
    border-bottom: 2px solid rgba(75, 102, 55, 0.2);
}

.impersonation-bar-container {
    padding: 0.3rem 1rem;
    max-width: 100%;
}

.impersonation-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.impersonation-info {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 1;
    min-width: 0;
}

.impersonation-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.9;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}

.impersonation-text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem;
    font-size: 0.8rem;
    line-height: 1.2;
}

.impersonation-label {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.impersonation-user {
    font-weight: 700;
    font-size: 0.825rem;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
}

.impersonation-id {
    opacity: 0.85;
    font-size: 0.75rem;
    font-weight: 500;
}

.impersonation-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.impersonation-input {
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(40, 40, 40, 0.25);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.6);
    color: #282828;
    font-size: 0.8rem;
    font-weight: 500;
    width: 130px;
    transition: all 0.2s ease;
    font-family: 'Gotham', Arial, sans-serif;
}

.impersonation-input::placeholder {
    color: rgba(40, 40, 40, 0.5);
}

.impersonation-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(40, 40, 40, 0.4);
    box-shadow: 0 0 0 2px rgba(40, 40, 40, 0.08);
}

.impersonation-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.6rem;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: 'Gotham', Arial, sans-serif;
}

.impersonation-btn svg {
    width: 14px;
    height: 14px;
}

.impersonation-btn-switch {
    background: #4b6637;
    color: #ffffff;
    border-color: #4b6637;
}

.impersonation-btn-switch:hover:not(:disabled) {
    background: #3d5329;
    border-color: #3d5329;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.impersonation-btn-switch:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.impersonation-btn-stop {
    background: #d65a46;
    color: #ffffff;
    border-color: #d65a46;
}

.impersonation-btn-stop:hover {
    background: #c24d38;
    border-color: #c24d38;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.impersonation-error {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.35rem;
    padding: 0.3rem 0.5rem;
    background: rgba(214, 90, 70, 0.15);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    border-left: 2px solid #d65a46;
    color: #282828;
}

.impersonation-error svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Mobile responsive adjustments */
@media (max-width: 767.98px) {
    .impersonation-bar-container {
        padding: 0.35rem 0.75rem;
    }

    .impersonation-content {
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
    }

    .impersonation-info {
        flex-direction: row;
        align-items: center;
        gap: 0.3rem;
    }

    .impersonation-icon {
        width: 16px;
        height: 16px;
    }

    .impersonation-text {
        font-size: 0.75rem;
        gap: 0.25rem;
    }

    .impersonation-label {
        display: none;
    }

    .impersonation-user {
        font-size: 0.8rem;
    }

    .impersonation-id {
        font-size: 0.725rem;
    }

    .impersonation-actions {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 0.35rem;
        width: 100%;
    }

    .impersonation-input {
        grid-column: 1 / -1;
        width: 100%;
        padding: 0.3rem 0.5rem;
    }

    .impersonation-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
        justify-content: center;
    }

    .impersonation-btn svg {
        width: 13px;
        height: 13px;
    }

    .impersonation-error {
        font-size: 0.7rem;
        padding: 0.3rem 0.5rem;
        margin-top: 0.3rem;
    }

    .impersonation-error svg {
        width: 13px;
        height: 13px;
    }
}

/* Mobile base font bump */
@media (max-width: 767px) {
    html {
        font-size: 18px;
    }
}

/* Prevent layout shift when moving between scrolling and non-scrolling pages */
@media (min-width: 768px) {
    .desktop-padding {
        padding-left: 16px;
    }
}

@media (max-width: 767px) {
    .desktop-padding {
        padding-left: 0;
    }
}

/* =========================================
   MAIN LAYOUT / STICKY FOOTER STRUCTURE
   ========================================= */

.page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

    .page > main {
        min-height: 100vh;
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
    }

.fixed-header {
    flex: 0 0 auto;
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--bs-body-bg, #fff);
    min-width: 0;
    width: 100%;
}

.primarynav-fixed-header {
    position: fixed;
    right: 0;
    left: 0;
}

.primarynav-fixed-header + .scrollable-content {
    padding-top: var(--fixed-header-height, 124px);
}

.primarynav-fixed-header.reduced-layout-header + .scrollable-content {
    padding-top: 29px;
}

@media (max-width: 767.98px) {
    .primarynav-fixed-header.reduced-layout-mobile-only-header + .scrollable-content {
        padding-top: 29px;
    }
}

@media (max-width: 767.98px) {
    .primarynav-desktop-only {
        display: none !important;
    }
}

/* Main scrolling/content region */
.scrollable-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    width: 100%;
}

/* Central body region absorbs extra vertical space */
.layout-main-fill {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    width: 100%;
}

.layout-main-container {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    width: 100%;
}

/* Page body wrapper grows so footer gets pushed down */
.layout-page-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    min-width: 0;
    width: 100%;
}

.layout-bodycontent-min-height {
    min-height: var(--site-content-min-height, 700px);
}

.layout-body-grow {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    width: 100%;
}

/* Legacy helper: keep flexible rather than rigid viewport height */
.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    min-width: 0;
    width: 100%;
}

/* =========================================
   INDEX LAYOUT OVERRIDES
   ========================================= */

/* Window should scroll for Index page */
.index-layout-root .fixed-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--bs-body-bg, #fff);
}

/* Disable inner scroller that causes the second scrollbar */
.index-layout-root .scrollable-content {
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
}

/* Make sure container itself is not forcing viewport height */
.index-layout-root .page-container {
    height: auto !important;
    min-height: 0 !important;
}

/* Common culprits that reintroduce inner scrollbars */
.index-layout-root .main,
.index-layout-root .vh-100,
.index-layout-root [style*="100vh"] {
    height: auto !important;
    min-height: auto !important;
}

/* If Telerik/Mud adds layout wrappers with overflow, neutralize them */
.index-layout-root .k-page-layout,
.index-layout-root .k-content,
.index-layout-root .mud-layout,
.index-layout-root .mud-main-content {
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
}

@media (max-width: 962px) {
    .index-layout-root .k-page-layout,
    .index-layout-root .k-content,
    .index-layout-root .mud-layout,
    .index-layout-root .mud-main-content {
        padding-top: 0 !important;
    }

    /* =========================================
   COMMON CONTENT / VALIDATION
   ========================================= */

    .content {
        padding-top: 1.1rem;
    }

    .valid.modified:not([type=checkbox]) {
        outline: 1px solid #26b050;
    }

    .invalid {
        outline: 1px solid #e50000;
    }

    .validation-message {
        color: #e50000;
    }

    .smalllink {
        font-size: small;
    }

    #blazor-error-ui {
        background: lightyellow;
        bottom: 0;
        box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
        display: none;
        left: 0;
        padding: 0.6rem 1.25rem 0.7rem;
        position: fixed;
        width: 100%;
        z-index: 1000;
    }

        #blazor-error-ui .dismiss {
            cursor: pointer;
            position: absolute;
            right: 0.75rem;
            top: 0.5rem;
        }

    hr.hrfade {
        border: 0;
        height: 1px;
        background-image: linear-gradient( to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0) );
    }

    .disabled-navlink {
        pointer-events: none;
        opacity: 0.5;
        cursor: not-allowed;
    }

    .no-space {
        margin: 0;
    }

    .modal-backdrop {
        z-index: 1050 !important;
    }

    .modal {
        z-index: 1060 !important;
    }

    /* Universally lessen x margins on mobile */
    @media (max-width: 962px) {
        .container,
        .container-fluid,
        .row,
        .content-wrapper,
        .main-wrapper {
            padding-left: 0 !important;
            padding-right: 0 !important;
            margin-left: 0 !important;
            margin-right: 0 !important;

            .no-mobile-x-margin {
                padding-left: 0 !important;
                padding-right: 0 !important;
            }
        }

        /* =========================================
   GLOBAL OUTER SCROLL BEHAVIOR
   ========================================= */

        :global(html),
        :global(body) {
            overflow-y: auto !important;
        }

        /* =========================================
   ACTION PANE / STICKY SIDE PANEL
   ========================================= */

        @supports (height: 100dvb) {
            .action-pane {
                position: sticky !important;
                top: calc(var(--header-offset) + var(--pad-y)) !important;
                height: calc(100dvb - var(--header-offset) - (var(--pad-y) * 2)) !important;
                align-self: start !important;
                display: flex !important;
                flex-direction: column !important;
                overflow: hidden !important;
                z-index: 3;
            }
        }

        @supports not (height: 100dvb) {
            .action-pane {
                position: sticky !important;
                top: calc(var(--header-offset) + var(--pad-y)) !important;
                height: calc(100vh - var(--header-offset) - (var(--pad-y) * 2)) !important;
                align-self: start !important;
                display: flex !important;
                flex-direction: column !important;
                overflow: hidden !important;
                z-index: 3;
            }
        }

        .action-inner {
            display: flex;
            flex-direction: column;
            min-height: 100%;
            width: 100%;
        }

        .action-scroll {
            flex: 1 1 auto;
            min-height: 0;
            overflow: auto;
            width: 100%;
            padding-left: 6px;
            padding-right: 2px;
        }

        /* Left side uses the page scroll only */
        .left-stack,
        .details-content,
        .video-box {
            height: auto !important;
            overflow: visible !important;
            min-height: 0;
        }

        @media (max-width: 991.98px) {
            .action-pane {
                position: static !important;
                top: 0 !important;
                height: auto !important;
                max-height: none !important;
            }

            .action-scroll {
                overflow: visible !important;
                max-height: none !important;
                padding-left: 0;
                padding-right: 0;
            }
        }

        /* =========================================
   SPACING UTILITIES
   ========================================= */

        .px-6 {
            padding-left: 4rem;
            padding-right: 4rem;
        }

        .px-7 {
            padding-left: 5rem;
            padding-right: 5rem;
        }

        .px-8 {
            padding-left: 6rem;
            padding-right: 6rem;
        }

        .px-9 {
            padding-left: 7rem;
            padding-right: 7rem;
        }

        .py-6 {
            padding-top: 4rem;
            padding-bottom: 4rem;
        }

        .py-7 {
            padding-top: 5rem;
            padding-bottom: 5rem;
        }

        .py-8 {
            padding-top: 6rem;
            padding-bottom: 6rem;
        }

        .py-9 {
            padding-top: 7rem;
            padding-bottom: 7rem;
        }

        /* =========================================
   SMALL UTILITIES / COLORS
   ========================================= */

        .recaptcha-disclosure a {
            text-decoration: underline;
        }

        .truncate {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        a.red {
            color: #ff0000;
        }

            a.red:hover {
                color: #de3d3d;
            }

        a.orange {
            color: var(--bs-primary-color);
        }

            a.orange:hover {
                color: var(--bs-primarydark-color);
            }

        a.white {
            color: #e9e7e7;
        }

            a.white:hover {
                color: #fff;
            }

        .margin20 {
            margin: 20px;
        }

        .minheight500 {
            min-height: 500px;
        }

        .minheight700 {
            min-height: 700px;
            background-color: white;
        }

        .offcanvas.offcanvas-start {
            width: 320px;
        }

        /* =========================================
   UNIVERSAL DROPDOWN STYLES
   ========================================= */

        .dropdown-menu {
            border: 1px solid #d9d9d9;
            border-radius: 8px;
            padding: 6px 0;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
            min-width: 220px;
        }

            .dropdown-menu .dropdown-item,
            .dropdown-menu a.dropdown-item,
            .dropdown-menu button.dropdown-item,
            .dropdown-menu .dropdown-item:link,
            .dropdown-menu .dropdown-item:visited {
                display: flex;
                align-items: center;
                width: 100%;
                padding: 10px 14px;
                border: 0;
                background: transparent;
                color: #222;
                font-size: 0.95rem;
                line-height: 1.25;
                text-decoration: none !important;
                box-shadow: none;
                white-space: nowrap;
                cursor: pointer;
            }

                .dropdown-menu .dropdown-item span,
                .dropdown-menu .dropdown-item i {
                    text-decoration: none !important;
                }

                .dropdown-menu .dropdown-item:hover,
                .dropdown-menu .dropdown-item:focus,
                .dropdown-menu .dropdown-item:active,
                .dropdown-menu a.dropdown-item:hover,
                .dropdown-menu a.dropdown-item:focus,
                .dropdown-menu button.dropdown-item:hover,
                .dropdown-menu button.dropdown-item:focus {
                    background: #f3f3f3;
                    color: #111;
                    text-decoration: none !important;
                    outline: none;
                }

                .dropdown-menu .dropdown-item.active,
                .dropdown-menu .dropdown-item:active {
                    background: #ededed;
                    color: #111;
                    text-decoration: none !important;
                }

                .dropdown-menu.utility-avatar-menu .dropdown-item.active,
                .dropdown-menu.utility-avatar-menu .dropdown-item:active,
                .dropdown-menu.utility-avatar-menu a.dropdown-item.active,
                .dropdown-menu.utility-avatar-menu a.dropdown-item:active,
                .dropdown-menu.utility-avatar-menu button.dropdown-item:active {
                    background: var(--bs-alternate-color) !important;
                    color: #fff !important;
                    text-decoration: none !important;
                }

            .dropdown-menu form {
                margin: 0;
            }

                .dropdown-menu form .dropdown-item {
                    border-radius: 0;
                }

            .dropdown-menu .dropdown-divider {
                margin: 6px 0;
                border-top-color: #e3e3e3;
            }

            .dropdown-menu .dropdown-header {
                padding: 8px 14px;
                font-size: 0.75rem;
                font-weight: 700;
                letter-spacing: 0.03em;
                text-transform: uppercase;
                color: black;
            }

        .mobile-nav-menu .dropdown-item {
            white-space: normal;
        }

        .dropdown-menu .dropdown-item i {
            flex: 0 0 auto;
            line-height: 1;
        }

        .utility-avatar-menu .dropdown-item {
            min-height: 40px;
        }

        /* Fallback for legacy/generated anchors inside dropdowns */
        .dropdown-menu > li > a,
        .dropdown-menu > li > button,
        .dropdown-menu > li > .nav-link {
            display: flex;
            align-items: center;
            width: 100%;
            padding: 10px 14px;
            color: #222;
            text-decoration: none !important;
            background: transparent;
            border: 0;
        }

            .dropdown-menu > li > a:hover,
            .dropdown-menu > li > button:hover,
            .dropdown-menu > li > .nav-link:hover,
            .dropdown-menu > li > a:focus,
            .dropdown-menu > li > button:focus,
            .dropdown-menu > li > .nav-link:focus {
                background: #f3f3f3;
                color: #111;
                text-decoration: none !important;
            }

        .dropdown-menu > li > span {
            display: block;
        }

        /* =========================================
   UTILITY BAR - MOBILE DROPDOWN NORMALIZATION
   ========================================= */

        .topbar .d-md-none .dropdown > .topbar-link,
        .topbar .d-md-none .dropdown-toggle.topbar-link,
        .topbar .d-md-none .topbar-text > .topbar-link {
            display: inline-flex;
            align-items: center;
            text-decoration: none !important;
            line-height: 1;
        }

            .topbar .d-md-none .dropdown > .topbar-link:hover,
            .topbar .d-md-none .dropdown > .topbar-link:focus,
            .topbar .d-md-none .dropdown-toggle.topbar-link:hover,
            .topbar .d-md-none .dropdown-toggle.topbar-link:focus,
            .topbar .d-md-none .topbar-text > .topbar-link:hover,
            .topbar .d-md-none .topbar-text > .topbar-link:focus {
                text-decoration: none !important;
            }

        .topbar .d-md-none .topbar-text.dropdown,
        .topbar .d-md-none .topbar-text .dropdown {
            display: inline-flex;
            align-items: center;
        }

        .topbar .d-md-none .dropdown-menu {
            min-width: 220px;
        }

            .topbar .d-md-none .dropdown-menu > li > a,
            .topbar .d-md-none .dropdown-menu > li > button,
            .topbar .d-md-none .dropdown-menu > li > .nav-link,
            .topbar .d-md-none .dropdown-menu .dropdown-item {
                display: flex;
                align-items: center;
                width: 100%;
                padding: 10px 14px;
                text-decoration: none !important;
                line-height: 1.25;
            }

                .topbar .d-md-none .dropdown-menu a,
                .topbar .d-md-none .dropdown-menu a:hover,
                .topbar .d-md-none .dropdown-menu a:focus,
                .topbar .d-md-none .dropdown-menu .dropdown-item span,
                .topbar .d-md-none .dropdown-menu .dropdown-item i {
                    text-decoration: none !important;
                }

        .topbar .d-md-none .dropdown-toggle.topbar-link {
            padding: 4px 0;
        }

        /* spacing between utility-social/support links if multiple inline items appear */
        .utility-social .d-md-inline-block,
        .utility-social .d-inline-block {
            margin-right: 0.5rem;
        }

            .utility-social .d-md-inline-block:last-child,
            .utility-social .d-inline-block:last-child {
                margin-right: 0;
            }


        .utility-avatar-menu button.dropdown-item {
            display: block;
            width: 100%;
            text-align: left;
        }


        /*telerik editor css*/

        .upload-description-editor .k-editor-content,
        .upload-description-editor .k-editor-content *,
        .upload-description-editor .k-editor-content p,
        .upload-description-editor .k-editor-content div,
        .upload-description-editor .k-editor-content span,
        .upload-description-editor .k-editor-content ul,
        .upload-description-editor .k-editor-content ol,
        .upload-description-editor .k-editor-content li {
            font-family: Arial, Helvetica, sans-serif !important;
            font-size: 14px !important;
            color: #000 !important;
        }

        .k-editor .k-toolbar .k-button.k-selected,
        .k-editor .k-toolbar .k-button.k-button-base.k-selected,
        .k-editor .k-toolbar .k-button.k-button-solid.k-selected,
        .k-editor .k-toolbar .k-button.k-button-solid.k-button-base.k-selected,
        .k-editor .k-toolbar .k-button-solid-base.k-selected,
        .k-editor-toolbar .k-button.k-selected,
        .k-editor-toolbar .k-button.k-button-base.k-selected,
        .k-editor-toolbar .k-button.k-button-solid.k-selected,
        .k-editor-toolbar .k-button.k-button-solid.k-button-base.k-selected,
        .k-editor-toolbar .k-button-solid-base.k-selected,
        .upload-description-editor .k-button-solid-base.k-selected {
            background-color: var(--bs-primary-color) !important;
            border-color: var(--bs-primary-color) !important;
            color: var(--kendo-color-on-primary, #fff) !important;
        }


/* Prevent Bootstrap scrollbar compensation from nudging the page behind the compliance modal. */
html.compliance-document-modal-open {
    scrollbar-gutter: stable;
}

body.compliance-document-modal-open,
body.compliance-document-modal-open .fixed-top,
body.compliance-document-modal-open .fixed-bottom,
body.compliance-document-modal-open .is-fixed,
body.compliance-document-modal-open .sticky-top {
    padding-right: 0 !important;
    margin-right: 0 !important;
}



body.modal-open.compliance-document-modal-open {
    overflow-x: hidden !important;
    overflow-y: scroll !important;
}
.footer-main-row > .footer-sponsor-col,
.footer-sponsor-col .footer-col-inner,
.footer-sponsor-image-wrap,
.footer-sponsor-link {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden;
}

.footer-sponsor-image-wrap,
.footer-sponsor-link {
    width: 100% !important;
}

.footer-sponsor-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
}
.footer-main-row > .footer-col {
    min-width: 0;
    border-right: 0;
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .footer-main-row > .footer-col:nth-child(2n + 1) {
        border-right: 1px solid #000;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .footer-main-row > .footer-col:not(:nth-child(3n)) {
        border-right: 1px solid #000;
    }
}

@media (min-width: 1200px) {
    .footer-main-row > .footer-col:not(:last-child) {
        border-right: 1px solid #000;
    }
}
.footer-feature-row > .footer-feature-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    border-right: 0;
    text-align: left;
}

.footer-feature-row .site-footer-heading {
    align-self: stretch;
    text-align: left;
}

.footer-feature-items {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: 100%;
    width: auto;
    align-self: center;
}

.footer-feature-items-center,
.footer-feature-items-end {
    flex-direction: row;
    justify-content: center;
    margin-right: auto;
    margin-left: auto;
}

.footer-feature-items-end {
    flex-wrap: nowrap;
}
.footer-feature-media-list {
    display: inline-flex !important;
    flex-flow: row nowrap !important;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    width: auto;
    max-width: 100%;
}

.footer-feature-media-list > .footer-feature-list-item,
.footer-feature-list-item {
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
    list-style: none;
}

.footer-feature-media-list .footer-feature-image-link,
.footer-feature-media-list .footer-feature-link {
    width: auto !important;
    height: auto !important;
    flex: 0 0 auto;
    border-radius: 0 !important;
    font-size: inherit !important;
}

.footer-feature-section-end {
    align-items: center;
}

.footer-feature-section-end .footer-feature-items {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
}

.footer-feature-section-end .footer-feature-item,
.footer-feature-section-end .footer-feature-image-link {
    display: inline-flex !important;
    flex: 0 0 auto;
    width: auto !important;
}

.footer-feature-item {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.footer-feature-section-center .footer-feature-item,
.footer-feature-section-center .footer-feature-item > * {
    display: inline-flex !important;
    align-items: center;
    flex: 0 0 auto;
    width: auto !important;
}

.footer-feature-link {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.footer-feature-link:hover {
    text-decoration: underline;
}

.footer-feature-signup {
    width: min(100%, 30rem);
    max-width: 100%;
    align-self: center;
}

.footer-feature-section-start .footer-feature-signup,
.footer-feature-section-end .footer-feature-items {
    align-self: center;
    margin-right: auto;
    margin-left: auto;
}

.footer-feature-image-link {
    max-width: 100%;
}

.footer-feature-image {
    display: block;
    max-width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .footer-feature-row > .footer-feature-section:not(:last-child) {
        border-right: 1px solid #000;
    }
}

@media (max-width: 767.98px) {
    .footer-feature-section,
    .footer-feature-section-start,
    .footer-feature-section-center,
    .footer-feature-section-end {
        text-align: center;
    }

    .footer-feature-items,
    .footer-feature-items-center,
    .footer-feature-items-end {
        justify-content: center;
    }
}





