/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-jyscyuj3n8] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-jyscyuj3n8] {
    flex: 1;
}

.sidebar[b-jyscyuj3n8] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

/* min-height, not height: the row carries the alarm button and the muted-device notice as well,
   and those are taller than a line of text. Pinned to 3.5rem the row kept its size while its
   contents did not, so they bled out over the border into the page below (#2729). */
.top-row[b-jyscyuj3n8] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 0.25rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

    .top-row[b-jyscyuj3n8]  a, .top-row[b-jyscyuj3n8]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-jyscyuj3n8]  a:hover, .top-row[b-jyscyuj3n8]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-jyscyuj3n8]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* Matches fs-3. Here rather than as a class in the markup, because the Bootstrap utility carries
   !important and could then not be made smaller in the media query.
   min-width: 0 lets the title become narrower than its longest word - without it
   "Berufsfeuerwehrtag" pushes everything else out of the page (#2716). */
.top-row .app-title[b-jyscyuj3n8] {
    font-size: 1.75rem;
    min-width: 0;
}

@media (max-width: 640.98px) {
    /* Title and sign-in do not fit side by side on a phone, so the title takes a line of its own
       below (#2716). Wrapping and the flexible height come from the rule above, which every
       width needs. */
    .top-row[b-jyscyuj3n8] {
        justify-content: space-between;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    /* The title gets the first line to itself; below it there is room for the rest. */
    .top-row .app-title[b-jyscyuj3n8] {
        font-size: 1.15rem;
        flex-basis: 100%;
    }

    /* A long user name - a mail address, say - is wider than the room that is left on the line.
       The rules above set nowrap, so it is explicitly shortened here. */
    .top-row[b-jyscyuj3n8]  .nav a {
        max-width: 45vw;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* The gap belongs on the list, not on the link: the rule below takes the links' margin-left
       away, and without a replacement the user name and "Abmelden" would sit flush together. */
    .top-row[b-jyscyuj3n8]  .nav {
        column-gap: 1rem;
    }

    .top-row[b-jyscyuj3n8]  a, .top-row[b-jyscyuj3n8]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-jyscyuj3n8] {
        flex-direction: row;
    }

    .sidebar[b-jyscyuj3n8] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    /* 1020 is Bootstrap's own value for a sticky bar (.sticky-top), and it has to be that high:
       Bootstrap puts every button inside an .input-group on z-index 2 so its focus ring sits above
       its neighbours. At z-index 1 the bar lost against each of them - the "Vorhören" button on the
       settings page painted straight over "Abmelden" while scrolling. Modals are 1055 and stay
       above the bar, which is what the confirm dialog needs (#2729). */
    .top-row[b-jyscyuj3n8] {
        position: sticky;
        top: 0;
        z-index: 1020;
    }

    .top-row.auth[b-jyscyuj3n8]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-jyscyuj3n8], article[b-jyscyuj3n8] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-jyscyuj3n8] {
    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-jyscyuj3n8] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-om2hazj1sg] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    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.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-om2hazj1sg] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-om2hazj1sg] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-om2hazj1sg] {
    font-size: 1.1rem;
}

.bi[b-om2hazj1sg] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill[b-om2hazj1sg] {
    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[b-om2hazj1sg] {
    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[b-om2hazj1sg] {
    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");
}

.nav-item[b-om2hazj1sg] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-om2hazj1sg] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-om2hazj1sg] {
        padding-bottom: 1rem;
    }

    .nav-item[b-om2hazj1sg]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-om2hazj1sg]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-om2hazj1sg]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-om2hazj1sg] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-om2hazj1sg] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-om2hazj1sg] {
        display: none;
    }

    .nav-scrollable[b-om2hazj1sg] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Shared/BusyButton.razor.rz.scp.css */
/* Die Beschriftung behaelt ihren Platz, waehrend die Aktion laeuft: der Knopf aendert seine
   Groesse nicht und die Zeile springt nicht - der Ladekreis sitzt mittig darueber. */
.bfsoft-busy[b-d82mgrcjc5] {
    position: relative;
}

.bfsoft-busy .bfsoft-busy-content[b-d82mgrcjc5] {
    visibility: hidden;
}

.bfsoft-busy-spinner[b-d82mgrcjc5] {
    position: absolute;
    top: 50%;
    left: 50%;
    /* die Haelfte des 1rem, das ein .spinner-border-sm misst */
    margin-top: -0.5rem;
    margin-left: -0.5rem;
}
/* /Components/Shared/MarkdownFile.razor.rz.scp.css */
/* Das gerenderte Markdown kommt als MarkupString herein, seine Elemente tragen deshalb
   kein Scope-Attribut der Komponente. ::deep spricht diese Nachfahren an. */

.markdown-body[b-iomefwz3u9]  h2 {
    font-size: 1.35rem;
    margin-top: 1.75rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid #dee2e6;
}

.markdown-body[b-iomefwz3u9]  h2:first-child {
    margin-top: 0;
}

.markdown-body[b-iomefwz3u9]  h3 {
    font-size: 1.1rem;
    margin-top: 1rem;
    color: #b02a37;
}

.markdown-body[b-iomefwz3u9]  ul {
    margin-bottom: 1rem;
}

.markdown-body[b-iomefwz3u9]  li {
    margin-bottom: 0.25rem;
}
/* /Components/Shared/ViewAsRoleSwitch.razor.rz.scp.css */
/* The picker sits in the dark sidebar now (#2739). A white Bootstrap select would shine out of
   the bottom of the menu - exactly the prominence the switch was supposed to lose - so it takes
   the colours of the menu links, and a size below form-select-sm. */
.view-as[b-ybl69l6las] {
    /* The nav items above end in padding-bottom: 1rem; this keeps the same distance to Version. */
    margin-top: 0.25rem;
}

.view-as-label[b-ybl69l6las] {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
}

.view-as-select[b-ybl69l6las] {
    /* Class plus scope attribute beats Bootstrap's single class, so no !important is needed. */
    font-size: 0.75rem;
    padding: 0.1rem 1.75rem 0.1rem 0.5rem;
    color: #d7d7d7;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    /* Bootstrap's chevron is drawn in near-black and would disappear here. */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23d7d7d7' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.view-as-select:focus[b-ybl69l6las] {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

/* The dropdown itself is drawn by the browser over a light ground - without this the light grey
   text of the field would stand on white. */
.view-as-select option[b-ybl69l6las] {
    color: #212529;
    background-color: #fff;
}
