﻿.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-primary-dark);
    color: white;
    padding: 1rem;
    height: 3rem;
}

.info-header {
    height: 12rem;
    color: var(--color-primary-dark);
    background-color: var(--color-primary-light);
    width: 100%
}

.print-link {
    cursor: default;
    color: var(--color-primary);
}

.header-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-scrollable {
    background-color: white;
}

.content {
    padding: 0rem;
    background-color: var(--color-background);
    min-height: 100%;
}

.logo img {
    display: block;
    height: 2.2rem;
    max-width: 12rem;
    object-fit: contain;
}

.footer {
    text-align: center;
    padding: 1rem;
    background-color: var(--color-primary-dark);
    color: white;
}

.button-error {
    color: var(--color-error);
}

.button-success {
    color: var(--color-success);
}

@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: var(--color-primary); /* 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;
}

@media (max-width: 960px) {
    .info-header {
        height: 7rem;
    }

    .content-paper {
        width: calc(100vw - 24px);
        height: calc(100vh - 92px);
        max-height: none;
        margin-top: -3.5rem !important;
    }

    .content-paper .mud-tabs-toolbar {
        overflow-x: auto;
    }
}

@media (max-width: 600px) {
    .header {
        height: auto;
        min-height: 3rem;
        padding: 0.5rem;
    }

    .header-title {
        font-size: 0.95rem;
    }

    .logo img {
        height: 1.8rem;
        max-width: 8rem;
    }

    .header-right {
        width: auto !important;
    }

    .user-details {
        display: none;
    }

    .info-header {
        height: 4.5rem;
    }

    .content-paper {
        border-radius: 0 !important;
        box-shadow: none !important;
        height: calc(100vh - 58px);
        margin-top: -2rem !important;
        width: 100vw;
    }

    .content-paper .mud-tabs-panels {
        padding-left: 0;
        padding-right: 0;
    }
}

.nav-label {
    margin-top: 5px;
    color: var(--color-primary); /* 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: var(--color-primary);
    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: var(--color-primary); /* Hellblauer Hintergrund */
    color: white; /* Weiße Schrift */
}

/* Dropdown-Einträge stylen */
.dropdown-item {
    background-color: white !important; /* Hellblauer Hintergrund für Einträge */
    color: var(--color-primary) !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 */
}

    .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: var(--color-error);
}

.color-orange {
    color: var(--color-warning);
}

.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: var(--color-text);
    background-color: var(--color-yellow);
}

.c2a-green {
    color: white;
    background-color: var(--color-success);
}

.c2a-red {
    color: white;
    background-color: var(--color-error);
}

.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: var(--color-primary); /* 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;
}

    .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: #E8EEF0 !important;
    color: var(--color-primary);
    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;
}
