﻿.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #003865;
    color: white;
    padding: 1rem;
    height:3rem;
}

.info-header {
    height: 12rem;
    color: white;
    background-color: #00234F;
    width:100%
}
.print-link {
    cursor: default;
    color: darkblue;
}
.header-right {
    display: flex;
    gap: 1rem;
    align-items: center;

}
.nav-scrollable{
    background-color: white;
}
.content {
    padding: 0rem;
    background-color: #f5f5f5;
    min-height: 100%;
}
.logo img {
    height: 0px;

}
.footer {
    text-align: center;
    padding: 1rem;
    background-color: #002d5a;
    color: white;
}
.benutzerhinweiszeile {
    min-height: 1rem;
}
.button-error{
    color:red;
}
.button-success{
    color:green;
}

@media (max-width: 768px) {
    .header, .footer {
        flex-direction: column;
        text-align: center;
    }

    .header-right {
        justify-content: center;
    }
}
.nav-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px; /* Passe die Breite an */
    margin: 10px;
}
.nav-button.active {
    background-color: #003865; /* Aktive Farbe */
    color: white; /* Textfarbe für aktiven Link */
}
.nav-button.active .nav-label {
    color: white;
}
.nav-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    width: 60px; /* Passe die Breite an */
    margin: 5px;
    padding:10px;
}

.content-paper {
    overflow-y: auto;
    max-height: 80vh;
    height: 80vh;
    margin-top: -5rem !important;
    width: 75vw;
    background-color: white !important;
    margin: auto;
}

.mobil-content .content-paper {
    overflow-y: auto;
    max-height: 80vh;
    height: 80vh;
    margin-top: -5rem !important;
    width: 95vw;
    background-color: white !important;
    margin: auto;
}

.mobil-content ul {
    padding-left: 0;
}

.nav-label {
    margin-top: 5px;
    color: #003865; /* Farbe des Texts passend zum Button */
    font-size: 12px;
    text-align: center;
    width: 60px; /* Die Breite des Textes */
    overflow: hidden; /* Versteckt überstehenden Text */
    text-overflow: ellipsis; /* Fügt '...' hinzu, wenn der Text zu lang ist */
}

.nav-button-container:hover .nav-button {
    background: #003865;
    color: white;
}
.nav-button-container:hover .nav-label {
    color: white;
}
.head-icon-container {
    
}
.head-icon {
    
}
.head-label {
    margin-left:0.5rem;
    align-content: center;
}

/* Begrenze die Breite des Dropdowns */
.dropdown-menu {
    margin-top: -10rem;
    width: 20px; /* Ein Drittel der Gesamtbreite */
    background-color: #003865; /* Hellblauer Hintergrund */
    color: white; /* Weiße Schrift */
}

/* Dropdown-Einträge stylen */
.dropdown-item {
    background-color: white !important; /* Hellblauer Hintergrund für Einträge */
    color: #003865 !important; /* Weiße Schrift für die Einträge */
}
.user-info {
    cursor: pointer;
    padding: 0 10px 0 10px;
    color: white;

}

.user-details {
    line-height: 1.2;
}

.mr-2 {
    margin-right: 8px;
}
.headlineContainer{
    margin-top:-5rem;
    color:white;
}
.sublineContainer{
    margin-top:2rem;
    font-size: 1rem;
    font-family: Roboto;
}

.flex-container {
    margin-left: 16px;
    margin-right: 16px;
    display: flex;
    flex-wrap: wrap; /* Komponenten umbrechen, wenn kein Platz mehr vorhanden ist */
    gap: 16px; /* Abstand zwischen den Komponenten */
}
.dropdown-menu-filter {
    width: 250px; 
}

    .flex-container .page {
        flex: 1 1 300px; /* Flex-Elemente erhalten mindestens 200px und teilen sich den Platz gleichmäßig */
        max-width: 350px; /* Maximalbreite der Komponente */
    }

    .color-black{
        color:black;
    }
    .color-red{
        color:red;
    }
    .color-orange{
        color:orange;
    }
.action-btn > *{
    color:white;
}
.centered {
    height: 70vh; /* Das Div nimmt die volle Höhe des Bildschirms ein */
}

.appimage img {
    max-height: 40vh; /* Bild nimmt 20% der Höhe des Viewports ein */
    object-fit: contain; /* Skaliert das Bild, ohne das Seitenverhältnis zu verändern */
}

.centered > p {
    text-align: center; /* Zentriert den Text */
    margin-top: 10px; /* Optional: Abstand zwischen Bild und Text */
    font-size: 1.5rem;
}
.call2action-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%; /* Balken über die gesamte Breite */
        height: 50px; /* Höhe des Balkens */
        display: flex;
        justify-content: center; /* Text horizontal zentrieren */
        align-items: center; /* Text vertikal zentrieren */
        color: white; /* Textfarbe */
        font-size: 1.5rem; /* Schriftgröße */
        z-index: 1000; /* Stellt sicher, dass der Balken immer sichtbar bleibt */
    }

    .call2action-bar p {
        margin: 0;
    }
    .c2a-yellow{
        color:black;
        background-color:yellow;
    }
.c2a-green {
    color: white;
    background-color: mediumseagreen;
}
.c2a-red {
    color: white;
    background-color: red;
}
.btn-area {
    position: relative;
    display: flex;
    justify-content: flex-end;
    top: -11rem; /* 3rem Abstand vom oberen Rand des parent containers */
    padding: 1rem;
}

.PrinterStatusOverlay {
    position: absolute;
    top: 160%; /* Positioniert das Overlay direkt unterhalb des Buttons */
    right: 0;
    width: auto; /* Breite des Buttons annehmen */
    background-color: #003865; /* Hintergrundfarbe des Overlays */

    box-shadow: 00px 4px 8px rgb(12 11 11); /* Schatten für einen schwebenden Effekt */
    z-index: 1000; /* Stellt sicher, dass das Overlay über anderen Elementen liegt */
    padding: 8px;
    border-radius: 4px;
}
.subButtonMenu {
    width: 50px;
    height: 50px;
}

.FirstButton {
    width: 50px;
    height: 50px;
    border-radius: 0px !important;
}

.qdp-list-title-row {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    gap: 0.75rem;
}

.qdp-list-title-content {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
}

.qdp-list-action-zone {
    flex: 0 0 150px;
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.qdp-list-action-zone .FirstButton,
.qdp-list-action-zone .mud-menu {
    margin-right: 0 !important;
}

@media (max-width: 700px) {
    .qdp-list-title-row {
        gap: 0.5rem;
    }

    .qdp-list-action-zone {
        flex-basis: 112px;
        min-width: 112px;
    }
}

    .FirstButton::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(128,128,128,0.2);
        border-radius: 50%;
        transform: translate(-50%,-50%);
    }

    .FirstButton:hover::before {
        width: 100%;
        height: 100%;
    }

.status-button {
    position: relative;
}

.status-table{
    width:100%;
    table-layout:auto;
}

.status-table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 2em 0 0;
}
.status-subline {
    text-decoration: underline;
    font-weight: bold;
}
.inlay {
    background-color: lightgrey !important;
    color:var(--color-blue);
    border-radius: 5px;
    padding: 0.5em;
    margin: 0.5em -1.5em 0.5em -1.5em;
}

.item-subzeilen {
    margin-top: 2em
}
.c2aMainLabel{
    font-size:10rem !important;
    text-align:center;
}
.qdp-border-left{
    border-left-width: 2rem;
}
.qdp-border-top {
    border-top-width: 2rem;
}
.qdp-border-right {
    border-right-width: 2rem;
}
.qdp-border-left-small {
    border-left-width: 0.15rem;
}
.popover-wrapper{
    position: relative;
    padding-top: 1.5rem;
    max-width:480px;
    min-width:320px;
}

.popover-close{
    position: absolute;
    top: .25rem;
    right: .25rem;
}
.popover-scroll{
    max-height: 60vh;
    overflow-y:auto;
}
