html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 16px;
}

body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

h1, h2, h3 {
    margin: 0;
}

select, input {
    font-size: 18px;
}

input {
    width: 45mm;
}

input[type="submit"] {
    background-color: #333333;
    color: #fff;
    border-radius: 5px;
}

input[type="radio"] {
    width: 5mm;
}

input[type="radio"]:checked {
    accent-color: #ff6600;
    color: #fff;
}

button {
    font-size: 18px;
    /*background-color: rgb(92, 84, 84);*/
    background-color: #333333;
    color: #fff;
    border-radius: 5px;
    padding: 5px 10px;
}

button a {
    font-size: 18px;
    /*font-weight: 500;*/
    color: white;
    text-decoration: none;
}

#logoutbutton {
    position: absolute;
    bottom: 2mm;
    right: 20mm;
    padding-left: 2mm;
    padding-right: 2mm;
    background-color: #333333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    z-index: 9999; /* Setze einen höheren Wert als die anderen Elemente */
    font-size: 20px;
}

#logo-container {
    position: absolute;
    top: 14px;
    right: 5mm;
    z-index: 9999; /* Setze einen höheren Wert als die anderen Elemente */
}

#logo-container2 img {
    width: 30mm;
    height: auto;

}

.toggle-button {
    width: 10mm;
    margin-right: 3mm;
    padding: 1mm;
    height: 13mm;
}

.PDFanzeigen {
    display: inline-block; /* Damit der Inhalt auf einer Linie bleibt */
    width: auto; /* Oder, falls notwendig: width: 100%; */
    white-space: nowrap; /* Verhindert den automatischen Zeilenumbruch */
}

#objektschließen {
    position: absolute;
    bottom: 2mm;
    left: 2mm;
    background-color: #333333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    height: min-content;
    padding-left: 2mm;
    padding-right: 2mm;
    z-index: 9999; /* Setze einen höheren Wert als die anderen Elemente */
    font-size: 20px;
}

#objektschließenoben {
    margin-left: 3mm;
    padding: 2px;
    background-color: #c0c0c0;
    border: 1px solid #414141;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    height: min-content;
    padding-left: 2mm;
    padding-right: 2mm;
    z-index: 9999; /* Setze einen höheren Wert als die anderen Elemente */
    font-size: 18px;
}


#all-up {
    flex: 1;
    /*min-width: calc(95vw - 200px); /* 90% der Browserbreite minus der Sidebar */
    width: 90vw; /* 90% der Browserbreite */
    margin: 0 auto;
    padding: 14px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    overflow-y: auto;
    position: relative;
    padding: 20px;
    padding-top: 15mm; /* Platz für die obere Navbar */
}

#nachObenButton {
    display: none; /* Den Button standardmäßig ausblenden */
    position: fixed;
    bottom: 7mm;
    right: 7mm;
    padding: 10px;
    background-color: #222222;
    color: #fff;
    font-size: 32px;
    text-decoration: none;
    border-radius: 5px;
    height: 30px;
    width: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Setze einen höheren Wert als die anderen Elemente */
}

.page-break {
    page-break-before: always; /* Oder: page-break-after */
}

.error-message {
    color: red;
    display: block; /* Sicherstellen, dass die Fehlermeldung angezeigt wird */
    margin-top: 20px;
}

.error-message-klein {
    color: red;
    display: block; /* Sicherstellen, dass die Fehlermeldung angezeigt wird */
}

.success-message {
    color: green;
    font-weight: 900;
    display: block; /* Sicherstellen, dass die Erfolgsmeldung angezeigt wird */
    /*margin-top: 20px;*/
}

.heat-link {
    color: #ff6600;
    text-decoration: none; /* Entfernt die Unterstreichung */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.success-tooltip,
.error-tooltip { /* Füge diese Zeile hinzu, um beide Tooltips gleich zu stylen */
    position: fixed;
    top: 20mm;
    right: 30mm;
    min-width: min-content;
    width: 60mm;
    height: auto;
    background-color: #3ea23e; /* Erfolgshintergrund */
    color: white; /* Schriftfarbe */
    padding: 10px; /* Innenabstand */
    border-radius: 5px; /* Abgerundete Ecken */
    z-index: 1000; /* Über anderen Inhalten anzeigen */
    opacity: 0; /* Unsichtbar bis zur Anzeige */
    visibility: hidden; /* Tooltip standardmäßig versteckt */
    transition: opacity 1.1s ease; /* Sanfter Übergang */
}

.success-tooltip.show,
.error-tooltip.show { /* Füge diese Zeile hinzu, um beide Tooltips gleich zu stylen */
    visibility: visible; /* Tooltip sichtbar */
    opacity: 1; /* Voll sichtbar */
    animation: fadeIn 1.1s forwards; /* Animation beim Einblenden */
}

.success-tooltip.hide,
.error-tooltip.hide { /* Füge diese Zeile hinzu, um beide Tooltips gleich zu stylen */
    animation: fadeOut 1.1s forwards; /* Animation beim Ausblenden */
    opacity: 0; /* Unsichtbar bis zur Anzeige */
}

.error-tooltip {
    position: fixed;
    top: 20mm;
    right: 30mm;
    min-width: min-content;
    width: 60mm;
    height: auto;
    background-color: #aa0f0f; /* Fehlerhintergrund */
    color: white; /* Schriftfarbe */
    padding: 10px; /* Innenabstand */
    border-radius: 5px; /* Abgerundete Ecken */
    z-index: 1000; /* Über anderen Inhalten anzeigen */
    display: block; /* Tooltip anfangs block anzeigen */
    opacity: 0; /* Unsichtbar bis zur Anzeige */
    transition: opacity 3s; /* Sanfter Übergang */
}

.error-tooltip.show {
    opacity: 1; /* Voll sichtbar */
}

.error-tooltip-fest {
    position: fixed;
    top: 20mm;
    right: 30mm;
    min-width: min-content;
    width: 60mm;
    height: auto;
    background-color: #aa0f0f; /* Fehlerhintergrund */
    color: white; /* Schriftfarbe */
    padding: 10px; /* Innenabstand */
    border-radius: 5px; /* Abgerundete Ecken */
    z-index: 1000; /* Über anderen Inhalten anzeigen */
    display: block; /* Tooltip anfangs block anzeigen */
    opacity: 1; /* sichtbar */
    transition: opacity 3s; /* Sanfter Übergang */
}

.negative {
    color: red;
    font-weight: bold;
}

.ohne-differenz {
    color: #3ea23e;
    font-weight: bold;
}

.ergebnis-fett {
    font-weight: bolder;
}

/** nicht zu druckende Bereiche */
  @media print {
    .no-print {
        display: none;
    }
}

/* Beginn Footer */
/* Footer Links (erster Footer) */
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 5mm; /* Erhöht den Abstand zur unteren Kante */
    text-align: center;
    width: 90% !important;
    background-color: #222222;
    color: #fff;
}

/* Footer Bottom (zweiter Footer) */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 1mm; /* Direkte Platzierung am unteren Rand */
    text-align: center;
    width: 90% !important;
    background-color: #222222;
    color: #fff;
    padding-bottom: 1mm;
}

/* Gemeinsame Stile für Footer-Links */
.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.footer li {
    margin: 5mm;
}

.footer a {
    text-decoration: none;
    color: #fff;
}

/* Media Query für kleine Bildschirme */
@media (max-width: 768px) {
    .footer-links ul {
        flex-direction: column;
        align-items: center;
    }

    .footer-links li {
        margin: 2mm 0;
    }

    .footer-links {
        bottom: 6mm; /* Abstand erhöhen, um Platz für den unteren Footer zu schaffen */
    }
}


/*Ende Footer*/

.hauptdiv {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1mm;
}

.mobileinblenden {
    display: none !important; /* An kleinen Bildschirmen ausgeblendet */
}

.pceinblenden {
    display: block; /* An großen Bildschirmen eingeblendet */
}

/* Tabelle Einzelabrechnung */
table {
    width: 100%;
    border-collapse: collapse;
}
table, th, td {
    border: 1px solid black;
}
td {
    padding: 8px;
    text-align: left;
}


/*Bereich HKA Einzelabrechnung*/
.hka-einzeln-a4 {
    margin-left: 30mm;
    width: 210mm;
    height: 297mm;
    /*background-color: #f7f7f7;*/
}
.hka-einzeln-drei {
    width: 206mm;
    display: flex;
    justify-content: space-between; 
    align-items: flex-start; 
    padding: 2mm;
    margin-bottom: 15px; /* Optional: Abstand nach unten */
}

.hka-einzeln-kopf-adresse {
    flex: 1; /* Nimmt 1 Teil des verfügbaren Platzes ein */
    display: flex;
    flex-direction: column;
}

.hka-einzeln-kopf-footer{
    flex: 1; /* Nimmt 1 Teil des verfügbaren Platzes ein */
    text-align: center; /* Text zentrieren */
    display: flex;
    flex-direction: column;
}

.hka-einzeln-kopf-rechts {
    flex: 1; /* Nimmt 1 Teil des verfügbaren Platzes ein */
    text-align: right; /* Text am rechten Rand ausrichten */
    display: flex;
    flex-direction: column;
}

.hka-einzeln-heizkosten {
    width: 100mm; 
    text-align: left; 
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.hka-einzeln-mitte-leer {
    width: 10mm; 
    background-color: #fff;
    text-align: left; /* Text am rechten Rand ausrichten */
    display: flex;
    flex-direction: column;
}

.hka-einzeln-wasserkosten {
    width: 100mm; 
    text-align: left; 
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.hka-einzeln-elf {
    width: 206mm;
    display: flex;
    justify-content: space-between; 
    align-items: flex-start; 
    padding: 2px;
    font-size: 4mm;
    margin-bottom: 15px; /* Optional: Abstand nach unten */
}

.hka-einzeln-berechnung-1 {
    width: 12mm;
    justify-content: space-between; 
    align-items: flex-start; 
    padding: 2px;
    background-color: #fff;
    text-align: right;
    margin-bottom: 15px; /* Optional: Abstand nach unten */
}

.hka-einzeln-berechnung-2 {
    width: 35mm;
    justify-content: space-between; 
    align-items: flex-start; 
    padding: 2px;
    background-color: #fff;
    /*text-align: right;*/
    margin-bottom: 15px; /* Optional: Abstand nach unten */
}

.hka-einzeln-berechnung-3 {
    width: 25mm;
    justify-content: space-between; 
    align-items: flex-start; 
    padding: 2px;
    background-color: #fff;
    text-align: right;
    margin-bottom: 15px; /* Optional: Abstand nach unten */
}

.hka-einzeln-berechnung-4 {
    width: 2mm;
    display: block; /* Verhindert Flexbox-Anordnung */
    text-align: right;
    padding: 2px;
    background-color: #fff;
    position: relative;
    margin-bottom: 15px; /* Optional: Abstand nach unten */
}

.hka-einzeln-berechnung-4a {
    white-space: nowrap; /* Verhindert Zeilenumbrüche innerhalb des Divs */
    overflow: visible; /* Der Text wird über den Container hinaus angezeigt */
    display: block; /* Stellt sicher, dass der Text in einer neuen Zeile beginnt */
}

.hka-einzeln-berechnung-5 {
    width: 45mm;
    display: flex;
    justify-content: space-between; 
    align-items: flex-start; 
    padding: 2px;
    background-color: #fff;
    margin-bottom: 15px; /* Optional: Abstand nach unten */
}

.hka-einzeln-berechnung-6 {
    width: 22mm;
    justify-content: space-between; 
    align-items: flex-start; 
    padding: 2px;
    background-color: #fff;
    margin-bottom: 15px; /* Optional: Abstand nach unten */
}

.hka-einzeln-berechnung-7 {
    width: 28mm;
    justify-content: space-between; 
    align-items: flex-start; 
    padding: 2px;
    background-color: #fff;
    margin-bottom: 15px; /* Optional: Abstand nach unten */
}

.hka-einzeln-berechnung-8 {
    width: 23mm;
    justify-content: space-between; 
    align-items: flex-start; 
    padding: 2px;
    background-color: #fff;
    margin-bottom: 15px; /* Optional: Abstand nach unten */
}

.hka-einzeln-berechnung-9 {
    width: 75mm;
    margin-left: auto; /* Verschiebt den div nach rechts */
    padding: 2px;
    background-color: #fff;
    margin-bottom: 15px; /* Optional: Abstand nach unten */
    margin-right: 15px; 
    text-align: right; /* Text innerhalb des div rechtsbündig */
}

/* Sortierbare Spalten */
.sortierbare-tabelle th.sortable:after {
    content: " ▼";
    font-size: 0.8em;
}
.sortierbare-tabelle th.sortable.asc:after {
    content: " ▲";
}


/*sonstiges*/
.feld-nuransicht input {
    background-color: #f0f0f0; /* Setzt die Hintergrundfarbe auf grau */
    width: 40mm; /* Setzt die Breite des Eingabefeldes auf 2 cm */
    border: 1px solid #ccc; /* Optional: fügt eine Rahmenfarbe hinzu */
    font-size: 14px;
}

#uebersicht {
    position: absolute;
    top: 2mm;
    right: 2mm;
    background-color: #e6e6e6;
    padding: 10px;
    border-radius: 5px;
    max-width: max-content;
    color: #333333;
}

/*Wasserkosten*/
.wasserkosten-tab {
    width: 100%;
    border: #333333;
}

.wasserkosten-tab tr:hover {
    background-color: #ff660017;
}

.wasserkosten-tab tr:hover .wasserkosten-tab-label {
    background-color: #ff660017; /* Überschreibt den Hintergrund von wasserkosten-tab-label im Hover */
}

.wasserkosten-tab-label {
    width: 130mm;
    background-color: #f5f5f5;
}

.wasserkosten-tab-netto {
    width: 35mm;
    text-align: right;
}

.wasserkosten-tab-mwst {
    width: 35mm;
    text-align: right;
}

.wasserkosten-tab-brutto {
    width: 35mm;
    text-align: right;
}

.wasserkosten-tab-luecke {
    width: 70mm;
}

.wasserkosten-tab-luecke-zum-vorjahr {
    width: 10mm;
    border: none;
}

.wasserkosten-tab-luecke-zum-vorjahr:hover {
    background-color: #fff;
}

.wasserkosten-abstand {
    border: none;
}

.wasserkosten-abstand:hover {
    background-color: #fff;
}
/* Ende Wasserkosten*/


/*Dienstleistung*/
.dienstleistung-tab-label {
    width: 110mm;
    background-color: #f5f5f5;
}

.dienstleistung-tab-luecke-zum-vorjahr {
    width: 10mm;
    border: none;
}

.dienstleistung-tab-input {
    width: 100mm;
}

.dienstleistung-tab tr:hover {
    background-color: #ff660010; 
}

.dienstleistung-tab tr:hover .dienstleistung-tab-label {
    background-color: #ff660017;
}
/*Ende Dienstleistung*/


/*Stammdaten*/
.stammdaten-tab th {
    background-color: #f5f5f5;
    height: 10mm;
}

.stammdaten-tab-summe {
    background-color: #f5f5f5;
    height: 8mm;
    font-weight: 900;
}
/*Ende Stammdaten*/


/*Kostenaufstellung*/
.kostenaufstellung-tab {
    width: 290mm;
    border-collapse: collapse;
}

.kostenaufstellung-seite {
    font-weight: bold;
    writing-mode: vertical-lr;
    transform: rotate(180deg); 
    text-align: center;
    vertical-align: middle; /* Vertikale Zentrierung */
    width: 7mm;
    border: 1px solid black;
    padding: 0;
    position: relative;
    z-index: 1;
    line-height: 0.5; /* Zeilenhöhe auf Standard setzen */
}

.kostenaufstellung-seite::before {
    content: ''; /* Leeres Element */
    display: inline-block;
    height: 100%; /* Nimmt den verfügbaren Platz ein */
    padding-right: 2mm;
    vertical-align: middle; /* Zentrierung */
}

.kostenaufstellung-tab-label {
    width: 100mm;
    background-color: #f5f5f5;
}

.kostenaufstellung-seite-wärme {
    background-color: #ffc38c;
    padding: 0.1pt;
}

.kostenaufstellung-seite-wärme {
    background-color: #ffc38c;
    padding: 0.1pt;
}

.kostenaufstellung-seite-kaltwasser {
    background-color: #aee8ff;
}

.kostenaufstellung-seite-warmwasser {
    background: linear-gradient(to bottom, #aee8ff, #ffc38c);
}

.kostenaufstellung-seite-gartenwasser {
    background-color: #c7ffa7;
}

.kostenaufstellung-seite-lücke {
    border: 1px solid black;
}

.kostenaufstellung-tab tr:hover {
    background-color: #ff660010; 
}

.kostenaufstellung-tab tr:hover .kostenaufstellung-tab-label {
    background-color: #ff660017;
}
/*Ende Kostenaufstellung*/

/*WEG: Nutzer*/
.weg-nutzer-tab {
    width: 290mm;
    border-collapse: collapse;
}

.weg-nutzer-seite {
    font-weight: bold;
    writing-mode: vertical-lr;
    transform: rotate(180deg); 
    text-align: center;
    vertical-align: middle; /* Vertikale Zentrierung */
    width: 7mm;
    border: 1px solid black;
    padding: 0;
    position: relative;
    z-index: 1;
    line-height: 0.5; /* Zeilenhöhe auf Standard setzen */
}

.weg-nutzer-seite::before {
    content: ''; /* Leeres Element */
    display: inline-block;
    height: 100%; /* Nimmt den verfügbaren Platz ein */
    padding-right: 2mm;
    vertical-align: middle; /* Zentrierung */
}

.weg-nutzer-tab-label {
    width: 100mm;
    background-color: #f5f5f5;
}

.weg-nutzer-seite-lücke {
    border: 1px solid black;
}

.weg-nutzer-input {
    width: 173mm;
}

.weg-nutzer-tab tr:hover {
    background-color: #ff660010; 
}

.weg-nutzer-tab tr:hover .weg-nutzer-tab-label {
    background-color: #ff660017;
}

.weg-nutzer-tab th {
    background-color: #f5f5f5;
    height: 10mm;
}

.weg-nutzer-tab-buttons {
    /*display: flex;           /* Flexbox verwenden */
    justify-content: center; /* Horizontal zentrieren */
    align-items: center;     /* Vertikal zentrieren */
    height: 100%;            /* Stellt sicher, dass die Zelle ihre volle Höhe hat */
    padding: 1mm !important;
}

.weg-nutzer-button-grau {
    padding: 1mm !important;
    /*margin: -2mm !important;*/
    background-color: #222222 !important;
    width: max-content;
    height: 8.5mm;
    color: #ffffff;
    cursor: pointer;
}

.weg-nutzer-button-rot {
    background-color: #ff0000 !important;
    width: max-content;
    height: 8.5mm;
    color: #ffffff;
    cursor: pointer;
    margin-top: 3mm;
    padding: 1mm !important;
}

/* Eingabefeld im Lesemodus */
.weg-nutzer-input.readonly {
    background-color: #e9e9e9; /* Grauer Hintergrund für das Feld */
    border: 1px solid #d3d3d3; /* Grauer Rand */
    color: #6c6c6c;           /* Graue Schriftfarbe */
    pointer-events: none;     /* Deaktiviert Interaktionen */
}

.weg-nutzer-nebeneinander {
    display: flex;          /* Aktiviert Flexbox für nebeneinander liegende Elemente */
    gap: 20px;              /* Abstand zwischen den Buttons */
    justify-content: start; /* Optional: Ausrichtung der Buttons am Anfang */
    align-items: center;    /* Zentriert Buttons vertikal */
}

.weg-nutzer-nebeneinander {
    display: flex;          /* Aktiviert Flexbox für nebeneinander liegende Elemente */
    gap: 20px;              /* Abstand zwischen den Buttons */
    justify-content: start; /* Optional: Ausrichtung der Buttons am Anfang */
    align-items: center;    /* Zentriert Buttons vertikal */
}

.weg-nutzer-nebeneinander {
    display: flex; /* Felder nebeneinander anordnen */
    align-items: center; /* Vertikale Zentrierung */
    gap: 0; /* Abstand zwischen den Eingabefeldern */
    color: #6c6c6c; /* Graue Schriftfarbe */
    background-color: #e9e9e9; /* Grauer Hintergrund für readonly */
}

.weg-nutzer-mehrere-inputs {
    background-color: transparent; /* Hintergrundfarbe entfernen */
    border: none; /* Keine Rahmen */
    color: #6c6c6c; /* Graue Schriftfarbe */
    pointer-events: none; /* Deaktiviert Interaktionen */
    white-space: nowrap; /* Kein Zeilenumbruch */
}

.weg-nutzer-gruppen {
    font-weight: bold;
    background-color: #f2f2f2;
    text-align: center;
    padding: 7mm 1mm 1mm 1mm;
}

/*Ende WEG-Nutzer*/

/*Zählermiete*/
.zählermiete-tab {
    width: 220mm;
    border-collapse: collapse;
}

.zählermiete-seite {
    font-weight: bold;
    writing-mode: vertical-lr;
    transform: rotate(180deg); 
    text-align: center;
    vertical-align: middle; /* Vertikale Zentrierung */
    width: 7mm;
    border: 1px solid black;
    padding: 0;
    position: relative;
    z-index: 1;
    line-height: 0.5; /* Zeilenhöhe auf Standard setzen */
}

.zählermiete-seite::before {
    content: ''; /* Leeres Element */
    display: inline-block;
    height: 10%; /* Nimmt den verfügbaren Platz ein */
    vertical-align: middle; /* Zentrierung */
}

.zählermiete-tab-label {
    width: 100mm;
    background-color: #f5f5f5;
}

.zählermiete-seite-leer {
    padding: 0.1pt;
}

.zählermiete-seite-lücke {
    border: 1px solid black;
}

.zählermiete-tab tr:hover {
    background-color: #ff660010; 
}

.zählermiete-tab tr:hover .zählermiete-tab-label {
    background-color: #ff660017;
}
/*Ende Zählermiete*/


/*Kontrolle Zählermiete*/
.kontrolle-zählermiete-tab {
    width: 220mm;
    border-collapse: collapse;
}

.kontrolle-zählermiete-tab-label {
    width: 70mm;
    background-color: #f5f5f5;
}

.kontrolle-zählermiete-seite-leer {
    padding: 0.1pt;
}

.kontrolle-zählermiete-seite-lücke {
    border: 1px solid black;
}

.kontrolle-zählermiete-umlage {
    width: 20mm;
}

.kontrolle-zählermiete-kopf {
    background-color: #d8d8d8;
}

.kontrolle-zählermiete-brutto {
    background-color: #bdbcbc;
    text-align: right;
}

.kontrolle-zählermiete-netto {
    text-align: right;
}

.kontrolle-zählermiete-label-summe {
    text-align: right;
    background-color: #f5f5f5;
}

.kontrolle-zählermiete-tab tr:hover {
    background-color: #ff660010; 
}

.kontrolle-zählermiete-tab tr:hover .kontrolle-zählermiete-tab-label {
    background-color: #ff660017;
}

.kontrolle-zählermiete-tab tr:hover td.kontrolle-zählermiete-brutto {
    background-color: #ff660017; /* Ändert die Hintergrundfarbe beim Hover über die Zeile */
}

.kontrolle-zählermiete-tab tr:hover td.kontrolle-zählermiete-label-summe {
    background-color: #ff660017; /* Ändert die Hintergrundfarbe beim Hover über die Zeile */
}

.kontrolle-zählermiete-abstand {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

.kontrolle-zählermiete-tab tr:hover .kontrolle-zählermiete-abstand {
    background-color: #fff;
}
/*Ende Kontrolle Zählermiete*/


/*Kontrolle Dienstleistung*/
.kontrolle-dienstleistung-tab {
    width: 240mm;
    border-collapse: collapse;
}

.kontrolle-dienstleistung-tab-label {
    width: 130mm;
    background-color: #f5f5f5;
}

.kontrolle-dienstleistung-tab tr:hover {
    background-color: #ff660017;
}

.kontrolle-dienstleistung-tab tr:hover .kontrolle-dienstleistung-tab-label {
    background-color: #ff660017; /* Überschreibt den Hintergrund im Hover */;
}

.kontrolle-dienstleistung-tab tr:hover td.kontrolle-dienstleistung-brutto {
    background-color: #ff660017; /* Ändert die Hintergrundfarbe beim Hover über die Zeile */
}

.kontrolle-dienstleistung-seite-leer {
    padding: 0.1pt;
}

.kontrolle-dienstleistung-seite-lücke2 {
    border: 1px solid black;
}

.kontrolle-dienstleistung-abstand {
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
}

.kontrolle-dienstleistung-tab tr:hover .kontrolle-dienstleistung-abstand {
    background-color: #fff;
}

.kontrolle-dienstleistung-umlage {
    width: 20mm;
}

.kontrolle-dienstleistung-kopf {
    background-color: #d8d8d8;
}

.kontrolle-dienstleistung-netto {
    width: 30mm;
    text-align: right;
}

.kontrolle-dienstleistung-brutto {
    background-color: #bdbcbc;
    width: 30mm;
    text-align: right;
}

.kontrolle-dienstleistung-label-summe {
    text-align: right;
    background-color: #f5f5f5;
}

.kontrolle-dienstleistung-tab tr:hover td.kontrolle-dienstleistung-label-summe {
    background-color: #ff660017; /* Ändert die Hintergrundfarbe beim Hover über die Zeile */
}

.kontrolle-dienstleistung-abk {
    text-align: right;
    display: inline-block;
    width: 98%;
    color: #333;
}
/*Ende Kontrolle Dienstleistung*/


/*Heizkosten*/
.heizkosten-tab {
    width: 100%;
    border: #333333;
}

.heizkosten-tab tr:hover {
    background-color: #ff660017;
}

.heizkosten-tab tr:hover .heizkosten-tab-label {
    background-color: #ff660017; /* Überschreibt den Hintergrund von heizkosten-tab-label im Hover */
}

.heizkosten-tab-label {
    width: 130mm;
    background-color: #f5f5f5;
}

.heizkosten-tab-brutto {
    width: 35mm;
    text-align: right;
}

.heizkosten-tab-luecke {
    width: 70mm;
}

.heizkosten-tab-luecke-zum-vorjahr {
    width: 10mm;
    border: none;
}

.heizkosten-tab-luecke-zum-vorjahr:hover {
    background-color: #fff;
}

.heizkosten-abstand {
    border: none;
}

.heizkosten-abstand:hover {
    background-color: #fff;
}
/* Ende Heizkosten*/



/* Feste Navigation oben */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 13mm;
    background-color: #c0c0c0;
    z-index: 1000;
    display: flex;
    overflow-x: auto; /* Scrollleiste bei Überlauf */
}

.navbar select {
    border: 2px solid #ff6600;
    border-radius: 5px;
}

.navbar input {
    border: 2px solid #555;
    background-color: #ff66007e;
    border-radius: 5px;
}


.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    padding-left: 180px;
    
}

.navbar ul li {
    display: inline;
}

.navbar ul li a {
    display: inline-block;
    color: white;
    text-align: center;
    /*padding: 14px 20px;*/
    text-decoration: none;
}

.navbar ul li label {
    display: inline-block;
    color: #000;
    text-align: center;
    padding: 14px 1px 14px 30px;
    text-decoration: none;
}

.navbar ul li a:hover {
    background-color: #111;
}

.mitarbeiter-anzeigen {
    position: fixed;
    top: 1mm;
    right: 4mm;
    min-width: min-content;
    width: 30mm;
    height: 10mm;
    background-color: #9c9c9c;
    border: 1px solid #00000094;
    border-radius: 5px;
    z-index: 1000; 
    font-size: smaller;
    text-align: center;
}

/* Feste Navigation links */
.sidebar {
    position: fixed;
    top: 50px; /* Abstand zur oberen Navbar */
    left: 0;
    width: 60mm;
    height: 100vh;
    background-color: #c0c0c0;
    padding-top: 2mm;
    z-index: 999;
    overflow-y: auto; /* Scrollleiste bei Überlauf */
}

.sidebar ul {
    list-style-type: none;
    padding-left: 0;
}

.sidebar ul li {
    padding: 1px;
    text-align: left;
}

.sidebar ul li a {
    display: block;
    color: #000;
    text-decoration: none;
    padding: 4px 8px; /* 4px oben/unten, 8px links/rechts */
}

.sidebar a {
    display: block;
    color: #000;
    text-decoration: none;
    padding: 1px;
    text-align: left;
}

.sidebar ul li a:hover {
    background-color: #555;
    color: #fff;
}

.sidebar-menue {
    display: block;
    padding: 10px; 
    padding-bottom: 1px;
    border-bottom: 1px solid white;
    background-color:#9c9c9c;
    width: 53mm;
    height: max-content;
}

.sidebar-menue a.active {
    color:#ff6600;
    background-color:#555;
}

.sidebar-menue:hover {
    background-color:#5555551f;

}
/*Ende sidebar*/


/*Footer*/
.footerbar {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 13mm;
    background-color: #c0c0c0;
    border: 1pt solid white;
    z-index: 999;
}
/*Ende Footer*/


/*HKA einzeln: PDF-Ausgabe*/
.hka-einzeln-header {
    width: 203mm;
    border-top: 1mm solid #ff6600;
    border-left: 1mm solid #ff6600;
    height: 9mm;
    margin-bottom: 1mm;
    background-color: #dfdfdf;
    font-family: sans-serif, 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial;
    font-size: 18px;
    padding: 1mm 3mm;
}

.hka-einzeln-dummy {
    height: 50mm;
    background-color: #ffffff;
}

.hka-einzeln-kopf {
    max-width: 210mm;
    border-collapse: collapse;
    border: none;
    /*border-left: 1mm solid #ff6600;*/
    /*background-color: #f5fdf5b6;*/
    font-family: sans-serif, 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial;
    font-size: 12px;
    margin-bottom: 5mm;
}

.hka-einzeln-kopf td {
    height: 5mm;
    padding: 2 5 2 5;
    border: none;
}

.hka-einzeln-kopf-a {
    width: 75mm;
}

.hka-einzeln-kopf-b {
    width: 5mm;
}

.hka-einzeln-kopf-c {
    width: 40mm;
    text-align: right;

}

.hka-einzeln-kopf-d {
    width: 90mm;
}

.hka-einzeln-abstand-0 {
    margin-bottom: 0;
}

.hka-einzeln-abstand-5 {
    margin-bottom: 5mm;
}

.hka-einzeln-abstand-10 {
    margin-bottom: 10mm;
}

.hka-width-vw-80 {
    width: 80vw; 
}

.hka-einzeln-heizkosten {
    width: 210mm;
    border-collapse: collapse;
    border: 1px solid #fff;
    /*border: 1mm solid #ff6600;*/
    /*background-color: #f5fdf5b6;*/
    font-family: sans-serif, 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial;
    font-size: 12px;
    margin-bottom: 5mm;
}

.hka-einzeln-heizkosten td {
    height: 5mm;
    padding: 2 5 2 5;
    border: 1px solid #fff;
}

.hka-einzeln-heizkosten-a {
    width: 50mm;

}

.hka-einzeln-heizkosten-b {
    width: 20mm;
    text-align: right;
}

.hka-einzeln-heizkosten-c {
    width: 25mm;
    /*background-color: #aa0f0f;*/
}

.hka-einzeln-heizkosten-d {
    width: 5mm;
}

.hka-einzeln-heizkosten-f {
    width: 67mm;
    /*background-color: #9b8686;*/
}

.hka-einzeln-heizkosten-g {
    width: 28mm;
    text-align: right;
    /*background-color: #aa0f0f;*/
}


.hka-einzeln-heizkosten-aufteilung {
    width: 210mm;
    border-collapse: collapse;
    border: none;
    /*border-bottom: 1px solid #ff6600;*/
    /*background-color: #f5fdf5b6;*/
    font-family: sans-serif, 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial;
    font-size: 12px;
    margin-bottom: 3mm;
}

.hka-einzeln-heizkosten-aufteilung td {
    height: 5mm;
    padding: 2 5 2 5;
    border: none;
}

.hka-einzeln-heizkosten-aufteilung-a {
    width: 40mm;
}

.hka-einzeln-heizkosten-aufteilung-b {
    width: 20mm;
    text-align: right;
}

.hka-einzeln-heizkosten-aufteilung-c {
    width: 1mm;
    text-align: right;
}

.hka-einzeln-heizkosten-aufteilung-d {
    width: 50mm;
    text-align: right;
}

.hka-einzeln-heizkosten-aufteilung-e {
    width: 20mm;
    text-align: right;
}

.hka-einzeln-heizkosten-aufteilung-f {
    width: 7mm;
}

.hka-einzeln-heizkosten-aufteilung-g {
    width: 20mm;
}

.hka-einzeln-heizkosten-aufteilung-h td {
    border-bottom: 1px solid #ff6600;
}


.hka-einzeln-heizkosten-nutzerwechsel {
    width: 210mm;
    border-collapse: collapse;
    border: none;
    /*border-bottom: 1px solid #ff6600;*/
    /*background-color: #f5fdf5b6;*/
    font-family: sans-serif, 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial;
    font-size: 12px;
    margin-bottom: 5mm;
}

.hka-einzeln-heizkosten-nutzerwechsel td {
    height: 5mm;
    padding: 2 5 2 5;
    border: none;
}

.hka-einzeln-heizkosten-nutzerwechsel-a {
    width: 180mm;
    text-align: right;
}

.hka-einzeln-heizkosten-nutzerwechsel-b {
    width: 30mm;
    text-align: right;
}


.hka-einzeln-heizkosten-summe {
    width: 210mm;
    border-collapse: collapse;
    border: none;
    font-family: sans-serif, 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial;
    font-size: 12px;
    margin-bottom: 5mm;
}

.hka-einzeln-heizkosten-summe td {
    height: 5mm;
    padding: 2 5 2 5;
    /*border: none;*/
}

.hka-einzeln-heizkosten-summe-a {
    width: 142mm;
    text-align: right;
    border: 1px solid #fff;
}

.hka-einzeln-heizkosten-summe-b {
    width: 55mm;
    text-align: right;
    font-weight: bold;
    background-color: #f7f7f7;
    border: 1px solid #f7f7f7;
    border-bottom: 2px solid #ff6600!important;
}

.hka-einzeln-heizkosten-summe-c {
    width: 25mm;
    text-align: right;
    font-weight: bold;
    background-color: #f7f7f7;
    border: 1px solid #f7f7f7;
    border-bottom: 2px solid #ff6600 !important;
    border-right: 2px solid #ff6600 !important;
}

.hka-einzeln-zaehlerstaende {
    width: 210mm;
    border-collapse: collapse;
    border: none;
    /*border-bottom: 1px solid #ff6600;*/
    /*background-color: #f5fdf5b6;*/
    font-family: sans-serif, 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial;
    font-size: 12px;
    margin-bottom: 3mm;
}

.hka-einzeln-zaehlerstaende td {
    height: 5mm;
    padding: 2 5 2 5;
    border: none;
}

.hka-einzeln-zaehlerstaende-a {
    width: 30mm;
}

.hka-einzeln-zaehlerstaende-b {
    width: 25mm;
    /*text-align: right;*/
}

.hka-einzeln-zaehlerstaende-c {
    width: 45mm;
    /*text-align: right;*/
}

.hka-einzeln-zaehlerstaende-d {
    width: 50mm;
    text-align: right;
}

.hka-einzeln-zaehlerstaende-e {
    width: 30mm;
    text-align: right;
}

.hka-einzeln-zaehlerstaende-f {
    width: 30mm;
    text-align: right;
}

.hka-einzeln-kostenaufteilung {
    width: 210mm;
    border-collapse: collapse;
    border: none;
    /*border-bottom: 1px solid #ff6600;*/
    /*background-color: #f5fdf5b6;*/
    font-family: sans-serif, 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial;
    font-size: 12px;
    margin-bottom: 3mm;
}

.hka-einzeln-kostenaufteilung td {
    height: 5mm;
    padding: 2 5 2 5;
    border: none;
}

.hka-einzeln-kostenaufteilung-a {
    width: 55mm;
}

.hka-einzeln-kostenaufteilung-b {
    width: 15mm;
    text-align: right;
    /*background-color: #126812b6;*/
}

.hka-einzeln-kostenaufteilung-c {
    width: 10mm;
}

.hka-einzeln-kostenaufteilung-d {
    width: 125mm;
    /*text-align: right;*/
}

.hka-einzeln-kw {
    width: 100mm; 
    text-align: left; 
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.hka-einzeln-kw {
    width: 210mm;
    border-collapse: collapse;
    border: none;
    /*border: 1mm solid #ff6600;*/
    /*background-color: #f5fdf5b6;*/
    font-family: sans-serif, 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial;
    font-size: 12px;
    margin-bottom: 5mm;
}

.hka-einzeln-kw td {
    height: 5mm;
    padding: 2 5 2 5;
    border: none;
}

.hka-einzeln-kw-a {
    width: 50mm;
    /*background-color: #aa0f0f;*/
}

.hka-einzeln-kw-b {
    width: 20mm;
    text-align: right;
}

.hka-einzeln-kw-c {
    width: 30mm;
    /*background-color: #bd8383;*/
}

.hka-einzeln-kw-d {
    width: 12mm;
   /* background-color: #aa0f0f;*/
}

.hka-einzeln-kw-f {
    width: 70mm;
    /*background-color: #a135c2;*/
}

.hka-einzeln-kw-g {
    width: 28mm;
    text-align: right;
}

.bold {
    font-weight: bold; 
}

.border-bottom-black {
    border-bottom: 1px solid #000 !important;
}

.bg-5c5454 {
    background-color: #5c5454;
    color: #fff;
}
/*Ende HKA einzeln*/


/*Kontrolle-Umlage*/
.hka-ansicht-alle-container {
    display: flex;
    flex-direction: column;
    /*gap: 1px; /* Abstand zwischen den Zeilen */
}

.hka-ansicht-alle-row {
    display: flex;
    width: 100%;
    /*justify-content: space-between; /* Boxen nebeneinander */
    align-items: stretch; /* Stellt sicher, dass alle inneren Container die gleiche Höhe haben */
    gap: 10px;
}

.hka-ansicht-alle-row > div {
    flex: 1; /* Sorgt dafür, dass die Breiten gleichmäßig verteilt werden */
}

.aufklappbuttonobjektdaten,
.aufklappbuttonwärme,
.aufklappbuttonkw,
.aufklappbuttongw {
    width: 100%;
    box-sizing: border-box;
    padding: 1mm;
    /*background-color: #f9f9f9; /* Optional: Hintergrund */
}

.hka-ansicht-alle-objektdaten-row,
.hka-ansicht-alle-wärme-row,
.hka-ansicht-alle-kw-row,
.hka-ansicht-alle-gw-row {
    display: flex;
    border: 1px solid #ccc; /* Optional: Rahmen */
}

.hka-ansicht-alle-objektdaten-a,
.hka-ansicht-alle-objektdaten-b,
.hka-ansicht-alle-objektdaten-c,
.hka-ansicht-alle-wärme-a,
.hka-ansicht-alle-wärme-b,
.hka-ansicht-alle-wärme-c,
.hka-ansicht-alle-kw-a,
.hka-ansicht-alle-kw-b,
.hka-ansicht-alle-kw-c,
.hka-ansicht-alle-gw-a,
.hka-ansicht-alle-gw-b,
.hka-ansicht-alle-gw-c {
    /*flex: 1;*/
    padding: 1mm;
    text-align: left;
    border-right: 1px solid #ddd;
}

.hka-ansicht-alle-objektdaten-a {
    width: 30%;
    min-width: 40mm;
    font-size: small;
}
.hka-ansicht-alle-objektdaten-b {
    width: 20%;
    min-width: 40mm;
}
.hka-ansicht-alle-objektdaten-c {
    width: 10%;
    min-width: 20mm;
    text-align: right;
}

.hka-ansicht-alle-wärme-a {
    width: 10%;
    min-width: 40mm;
    font-size: small;
}
.hka-ansicht-alle-wärme-b {
    width: 10%;
    min-width: 20mm;
    text-align: right;
}

.hka-ansicht-alle-wärme-c {
    width: 12%;
    min-width: 25mm;
    text-align: right;
}

.hka-ansicht-alle-kw-a {
    width: 30%;
    min-width: 40mm;
    font-size: small;
}
.hka-ansicht-alle-kw-b {
    width: 15%;
    min-width: 20mm;
    text-align: right;
}

.hka-ansicht-alle-kw-c {
    width: 25%;
    min-width: 25mm;
    text-align: right;
}

.hka-ansicht-alle-gw-a {
    width: 30%;
    min-width: 40mm;
    font-size: small;
}
.hka-ansicht-alle-gw-b {
    width: 15%;
    min-width: 20mm;
    text-align: right;
}

.hka-ansicht-alle-gw-c {
    width: 25%;
    min-width: 25mm;
    text-align: right;
}

.hka-ansicht-alle-kontrolle {
    display: flex;
    flex-direction: column;
    gap: 5px; /* Abstand zwischen den Zeilen */
    /*width: 200mm;*/
}

.hka-ansicht-alle-kontrolle-row {
    display: flex;
    gap: 1mm; /* Abstand zwischen den Spalten */
}

.hka-ansicht-alle-kontrolle-a,
.hka-ansicht-alle-kontrolle-b,
.hka-ansicht-alle-kontrolle-c,
.hka-ansicht-alle-kontrolle-d,
.hka-ansicht-alle-kontrolle-e {
    /*flex: 1; /* Gleiche Breite für alle Spalten */
    padding: 5px;
    border: 1px solid #ccc; /* Rahmen für die Spalten */
    text-align: center; /* Text zentrieren */
    background-color: #f9f9f9; /* Hintergrundfarbe */
}

.hka-ansicht-alle-kontrolle-a {
    text-align: right;
    width: 75mm;
}

.hka-ansicht-alle-kontrolle-b,
.hka-ansicht-alle-kontrolle-c {
    text-align: right;
    width: 43mm;
}

.hka-ansicht-alle-kontrolle-d {
    text-align: left;
    width: 90.1mm;
}

.hka-ansicht-alle-kontrolle-e {
    text-align: right;
    width: 137.3mm;
}

.hka-ansicht-alle-objektdaten-überschrift {
    font-size: 1.5rem;
    font-weight: bold; 
    color: #5c5454;  
    margin-bottom: 10px;
    text-align: left; 
    border: 1px solid #5c5454;
    padding: 2mm;
}



/*HKA alle*/
.hka-alle-h2 {
    height: 20mm;
    line-height: 20mm;
}

/*globale Einstellungen*/
.globale-einstellungen-hka-box {
    border: 1px solid #ff6600; /* Optional: Rahmen */
    padding: 3mm;
    width: 50%;
    min-width: 100mm;
    box-sizing: border-box; /* Verhindert Überlappungen bei Padding */
}

.globale-einstellungen-header-box {
    /*border: 1px solid #ff6600; /* Optional: Rahmen */
    /*padding: 3mm;*/
    width: calc(100% - 116px);
    box-sizing: border-box; /* Verhindert Überlappungen bei Padding */
    word-wrap: break-word; /* Zeilenumbruch für lange Wörter */
    overflow-wrap: break-word; /* Alternative für modernen Browser-Support */
}

.globale-einstellungen-hka-a,
.globale-einstellungen-hka-b,
.globale-einstellungen-hka-c {
    /*flex: 1;*/
    padding: 1mm;
    text-align: left;
    border-right: 1px solid #ddd;
}

.globale-einstellungen-hka-a {
    width: 30%;
    min-width: 40mm;
    font-size: small;
}
.globale-einstellungen-hka-b {
    width: 20%;
    min-width: 40mm;
}
.globale-einstellungen-hka-c {
    width: 10%;
    min-width: 20mm;
    text-align: right;
}

.globale-einstellungen-container {
    display: flex;
    gap: 3mm;
}

@media (max-width: 768px) {
    .globale-einstellungen-hka-box {
        width: 100%; /* Volle Breite bei kleineren Bildschirmen */
        min-width: auto; /* Mindestbreite entfernen */
    }
    .globale-einstellungen-container {
        gap: 1mm; /* Weniger Abstand bei kleineren Bildschirmen */
        flex-wrap: wrap; /* Ermöglicht Zeilenumbruch bei kleineren Bildschirmen */
    }
}

@media (max-width: 480px) {
    .globale-einstellungen-hka-box {
        padding: 2mm; /* Kleinere Abstände auf sehr kleinen Bildschirmen */
    }
}


/* Container für den Kreis */
.circle-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 20px auto;
    float: left; /* Stellt sicher, dass der Kreis linksbündig bleibt */
}

.circle {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: left;
    align-items: center;
    transition: background 0.3s;
}

.circle::after {
    content: attr(data-fertig) " fertig, " attr(data-unfertig) " nicht fertig";
    position: absolute;
    padding-left: 4mm;
    font-size: 16px;
    font-weight: bold;
    color: white;
    z-index: 2;
    opacity: 0; /* Anfangs unsichtbar */
    transition: opacity 0.3s;
}

.circle:hover::after {
    opacity: 1; /* Sichtbar beim Hover */
}

.circle:hover {
    background: conic-gradient(#9c9c9c 0%, #9c9c9c 100%, #ff6600 0% 100%);
}


/*Index*/
.index-container {
    display: flex;
    flex-direction: row; /* Setzt die Kinder-Elemente nebeneinander */
    align-items: stretch; /* Sorgt dafür, dass alle Kinder die gleiche Höhe wie der Container haben */
    gap: 10px; /* Abstand zwischen den nebeneinanderstehenden Elementen */
}

.index-checked {
    width: 15mm;
    padding: 10px;
    text-align: center;
    flex-shrink: 0; /* Verhindert, dass dieses Element verkleinert wird */
    display: flex;
    align-items: center;
    justify-content: center; /* Zentriert den Inhalt innerhalb des Bereichs */
    background-color: transparent; /* Standard-Hintergrundfarbe */
}

.index-checked:hover {
    background-color: #f5f5f5;
}

.index-meldung {
    background-color: #f5f5f5;
    padding: 10px;
    flex-grow: 1; /* Nimmt den restlichen verfügbaren Platz ein */
    color: black;
    word-wrap: break-word; /* Zeilenumbruch für lange Inhalte */
}




