@import 'DavidsonWeb.Client.tk4bj5o6ze.bundle.scp.css';

/* _content/DavidsonWeb/Components/Account/Pages/Login.razor.rz.scp.css */
/* ?? Login hero: smaller overall, logo right-aligned on desktop ?? */
.login-hero[b-54ti5tr6v6] {
    min-height: 90px;
}

    /* Desktop: constrain logo to the right side, keep it compact */
    .login-hero img[b-54ti5tr6v6] {
        position: absolute;
        right: 1.25rem;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        max-height: 70px;
        max-width: 45%;
        object-fit: contain;
        display: block;
    }

    /* Overlay text stays on the left and is vertically centred */
    .login-hero .contact-hero-overlay[b-54ti5tr6v6] {
        justify-content: center;
        padding: 0.75rem 1.25rem;
        background: linear-gradient(to right, rgba(20, 70, 110, 0.92) 50%, transparent 100%);
    }

/* ?? Mobile: shrink the whole hero bar ?? */
@media (max-width: 767.98px) {
    .login-hero[b-54ti5tr6v6] {
        min-height: 60px;
    }

    /* On mobile the logo returns to normal flow (no absolute positioning)
       so it stacks naturally and doesn't overlap the text */
    .login-hero img[b-54ti5tr6v6] {
        position: static;
        transform: none;
        max-height: 44px;
        max-width: 55%;
        margin: 0.4rem auto;
    }

    .login-hero .contact-hero-overlay[b-54ti5tr6v6] {
        padding: 0.4rem 0.85rem;
        background: linear-gradient(to bottom, transparent 20%, rgba(20, 70, 110, 0.85) 100%);
    }

        .login-hero .contact-hero-overlay h1[b-54ti5tr6v6] {
            font-size: 1.1rem;
        }

        .login-hero .contact-hero-overlay h2[b-54ti5tr6v6] {
            font-size: 0.8rem;
        }
}
/* _content/DavidsonWeb/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-taj63hywqj] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-taj63hywqj] {
    flex: 1;
}

.sidebar[b-taj63hywqj] {
    background-image: linear-gradient(180deg, rgb(1, 12, 35) 0%, rgb(18, 38, 100) 100%);

}

.top-row[b-taj63hywqj] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-taj63hywqj]  a, .top-row[b-taj63hywqj]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-taj63hywqj]  a:hover, .top-row[b-taj63hywqj]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-taj63hywqj]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-taj63hywqj] {
        justify-content: space-between;
    }

    .top-row[b-taj63hywqj]  a, .top-row[b-taj63hywqj]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-taj63hywqj] {
        flex-direction: row;
    }

    .sidebar[b-taj63hywqj] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-taj63hywqj] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-taj63hywqj]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-taj63hywqj], article[b-taj63hywqj] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-taj63hywqj] {
    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 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-taj63hywqj] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.text-title[b-taj63hywqj] {
    font-family: "Voces", serif;
    color: #1a4a8c;
}

.text-subtitle[b-taj63hywqj] {
    font-family: "Voces", serif;
    color: #2a5fa8;
}

a[b-taj63hywqj], .btn-link[b-taj63hywqj] {
    color: #1a6fb5;
}

.card-custom[b-taj63hywqj] {
    border-radius: 12px;
    padding: 16px;
    background-color: #f8fafd;
    max-height: 95vh;
    overflow-y: auto;
    scrollbar-width: thin;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border: 1px solid #dce8f5;
}


/* _content/DavidsonWeb/Components/Layout/NavMenu.razor.rz.scp.css */
/* ?? Hamburger toggle ?? */
.navbar-toggler[b-myorf1emxp] {
    appearance: none;
    cursor: pointer;
    width: 3rem;
    height: 2.2rem;
    color: white;
    position: absolute;
    top: 0.65rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.5rem rgba(255, 255, 255, 0.08);
    transition: background-color 0.2s ease;
}

.navbar-toggler:checked[b-myorf1emxp] {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ?? Logo header ?? */
.navbar[b-myorf1emxp] {
    padding: 0.5rem 0.75rem;
    min-height: 0;
    position: relative;
}

/* Center the logo in the navbar bar */
.navbar .container-fluid[b-myorf1emxp] {
    justify-content: center;
}

/* Desktop: full-size logo */
.navbar-brand[b-myorf1emxp] {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

    .navbar-brand img[b-myorf1emxp] {
        max-height: 90px;
        width: auto;
        display: block;
    }

/* Mobile: centered logo, larger size, room for hamburger on the right */
@media (max-width: 640px) {
    .navbar .container-fluid[b-myorf1emxp] {
        justify-content: center;
    }

    .navbar-brand[b-myorf1emxp] {
        margin: 0 auto;
    }

    .navbar-brand img[b-myorf1emxp] {
        max-height: 65px;
    }

    .navbar[b-myorf1emxp] {
        padding: 0.4rem 3.5rem 0.4rem 0.75rem;
    }
}

/* ?? Sidebar scroll container ?? */
.nav-scrollable[b-myorf1emxp] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-myorf1emxp] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-myorf1emxp] {
        display: none;
    }

    .nav-scrollable[b-myorf1emxp] {
        display: block;
        height: calc(100vh - 110px);
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: thin;
    }
}

/* ?? Nav items ?? */
.nav-item[b-myorf1emxp] {
    font-size: 0.88rem;
    padding-bottom: 0.15rem;
}

    .nav-item:first-of-type[b-myorf1emxp] {
        padding-top: 0.75rem;
    }

    .nav-item:last-of-type[b-myorf1emxp] {
        padding-bottom: 0.75rem;
    }

    .nav-item[b-myorf1emxp]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 6px;
        height: 2.6rem;
        display: flex;
        align-items: center;
        line-height: 1;
        width: 100%;
        padding: 0 0.5rem;
        transition: background-color 0.15s ease, color 0.15s ease;
    }

    .nav-item[b-myorf1emxp]  a.active {
        background-color: rgba(255, 255, 255, 0.2);
        color: white;
    }

    .nav-item[b-myorf1emxp]  .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }

/* ?? Bootstrap icon stubs ?? */
.bi[b-myorf1emxp] {
    display: inline-block;
    position: relative;
    width: 1.1rem;
    height: 1.1rem;
    margin-right: 0.6rem;
    top: -1px;
    background-size: cover;
    flex-shrink: 0;
}

.bi-house-door-fill-nav-menu[b-myorf1emxp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-myorf1emxp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-myorf1emxp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-myorf1emxp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-myorf1emxp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-myorf1emxp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-myorf1emxp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-myorf1emxp] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

/* ?? Dropdown trigger ?? */
.nav-link[b-myorf1emxp] {
    cursor: pointer;
    user-select: none;
    touch-action: manipulation; /* removes 300ms tap delay on iOS */
}

.dropdown-chevron[b-myorf1emxp] {
    margin-left: auto;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.45);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.nav-item.open .dropdown-chevron[b-myorf1emxp] {
    transform: rotate(180deg);
}

/* ?? Dropdown panel ?? */
.dropdown-content[b-myorf1emxp] {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.2s ease;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

    .dropdown-content.show[b-myorf1emxp] {
        max-height: 1200px;
        opacity: 1;
        padding: 0.25rem 0.25rem 0.5rem;
    }

/* ?? Sublink cards ??
   ::deep is required because NavLink renders a child <a> tag that
   Blazor scoped CSS cannot target without it.                       */
[b-myorf1emxp] .nav-sublink {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
    padding: 0.5rem 0.7rem;
    margin-bottom: 0.3rem;
    border-radius: 8px;
    background-color: #1a3a5c !important;
    border: 1px solid rgba(70, 130, 180, 0.6) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    flex-shrink: 0;
    min-width: 0;
}

[b-myorf1emxp] .nav-sublink:hover {
    background-color: #255a9e !important;
    border-color: rgba(100, 160, 210, 0.9) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

[b-myorf1emxp] .nav-sublink.active {
    background-color: steelblue !important;
    border-color: #78b4e0 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.nav-item.dropdown[b-myorf1emxp] {
    position: relative;
}






/* _content/DavidsonWeb/Components/Layout/RightSideBar.razor.rz.scp.css */
body[b-t5bkc6aihp] {
}

.card-wrapper[b-t5bkc6aihp] {
    width: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
}

.right-sidebar[b-t5bkc6aihp] {
    /* Keep the sidebar within the viewport and allow internal scrolling */
    max-height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 8px;
    /* If you have a fixed header, set --header-height globally and uncomment the lines below:
       top: var(--header-height, 0px);
       max-height: calc(100vh - var(--header-height, 0px));
       position: sticky;
    */
}

/* Thumbnail cards */
.card-custom-thumbnail[b-t5bkc6aihp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 8px;
    padding: 12px;
    background-color: steelblue;
    border-radius: 8px;
    width: 100%;
    min-height: 120px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-custom-thumbnail:hover[b-t5bkc6aihp] {
    padding: 16px 32px;
    font-size: 1.25rem;
    background-color: #4682b4;
}

.card-custom-thumbnail img[b-t5bkc6aihp] {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin: 0;
}

.card-custom-thumbnail p[b-t5bkc6aihp] {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff !important;
    text-align: center;
    width: 100%;
    padding: 0 4px;
}

/* News card - restored original coloring and padding */
.card-custom[b-t5bkc6aihp] {
    background-color: #2c3e50;
    padding: 16px;
    border-radius: 8px;
    box-sizing: border-box;
}

/* Keep alternate news item sizing but do not override the original card background color */
.card-custom-alt-1[b-t5bkc6aihp] {
    background-color: transparent;
    padding: 8px;
    border-radius: 6px;
    box-sizing: border-box;
}

/* ── Quick-link thumbnails ── */
.sidebar-link[b-t5bkc6aihp] {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none !important;
}

    .sidebar-link:hover[b-t5bkc6aihp] {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
    }

.sidebar-thumb[b-t5bkc6aihp] {
    position: relative;
    height: 72px;
    overflow: hidden;
    background-color: #1a6fa8;
}

    .sidebar-thumb img[b-t5bkc6aihp] {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        opacity: 0.65;
        transition: opacity 0.2s ease;
    }

    .sidebar-link:hover .sidebar-thumb img[b-t5bkc6aihp] {
        opacity: 0.80;
    }

.sidebar-thumb-label[b-t5bkc6aihp] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.85rem;
    font-family: "Voces", serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

/* ── News panel ── */
.sidebar-news-panel[b-t5bkc6aihp] {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(70, 130, 180, 0.15);
    background: white;
}

.sidebar-news-header[b-t5bkc6aihp] {
    background-color: steelblue;
    color: white;
    padding: 0.55rem 1rem;
    font-family: "Voces", serif;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.01em;
    margin: 0;
}

.sidebar-news-list[b-t5bkc6aihp] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-news-link[b-t5bkc6aihp] {
    display: block;
    text-decoration: none !important;
    border-bottom: 1px solid #eaf3fb;
    transition: background 0.15s ease;
}

    .sidebar-news-link:last-child[b-t5bkc6aihp] {
        border-bottom: none;
    }

    .sidebar-news-link:hover .sidebar-news-item[b-t5bkc6aihp] {
        background: #eaf3fb;
    }

.sidebar-news-item[b-t5bkc6aihp] {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.55rem 0.85rem;
    transition: background 0.15s ease;
}

.sidebar-news-date[b-t5bkc6aihp] {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: white;
    background-color: steelblue;
    border-radius: 4px;
    padding: 0.2rem 0.45rem;
    line-height: 1.3;
    text-align: center;
    min-width: 48px;
    margin-top: 1px;
}

.sidebar-news-desc[b-t5bkc6aihp] {
    font-size: 0.82rem;
    color: #2c4a5e;
    line-height: 1.4;
    margin: 0;
}
