﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --main-nav-width: 64px;
    --top-alerts-height: 0px;
}

    :root:has(.main-nav.open) {
        --main-nav-width: 200px;
    }

    :root:has(.change-prompt) {
        --top-alerts-height: 36px;
    }

html, body {
    font-family: "Open Sans",sans-serif;
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", sans-serif;
    height: 100%;
    overflow: hidden;
}

html {
    height: 100%;
}

.ennovatis-popup-header {
    display: flex !important;
}

.std-popup-header {
    display: none !important;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #D7D7D7;
    border: 5.75px solid transparent;
    background-clip: padding-box;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb {
    background: #244a9a;
    border: 4px solid transparent;
    background-clip: padding-box;
    border-radius: 8px;
    transition: background 250ms;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #3b67d9;
        border: 4px solid transparent;
        background-clip: padding-box;
        border-radius: 8px;
    }

#app {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.k-picker-solid.k-focus, .k-picker-solid:focus {
    border-color: #bdc4cb;
    background-color: #bdc4cb !important;
    box-shadow: 0 0 0 .25rem rgba(87,152,190,.5)
}


.main-container {
    flex: 1 auto;
    display: flex;
    height: calc(100vh - 60px);
    overflow: hidden;
    background-color: #244a9a;
}

.main-content {
    background-color: white;
    border-radius: 10px 10px 0px 10px;
    overflow-y: auto;
    position: relative;
    flex: 1;
    padding: 20px;
    padding-right: 10px;
}

.change-prompt {
    font-size: 11px;
    background-color: #ff5757;
    color: white;
    padding: 10px;
    display: flex;
    align-content: center;
    gap: 10px;
}

.subpage-overlay {
    position: fixed;
    top: calc(60px + var(--top-alerts-height));
    right: 0;
    left: var(--main-nav-width);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
    background-color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: left 0.15s;
}

.subpage-title {
    padding: 12px;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #C2CDD6;
    background-color: #fafafa;
}

.subpage-content {
    padding: 20px;
    overflow: auto;
    position: relative;
    flex: 1 1 auto;
}

.subpage-footer {
    padding: 12px;
    display: flex;
    gap: 7px;
    justify-content: flex-end;
}


.topbar {
    background-color: #244a9a;
    height: 60px;
    display: flex;
    align-items: center;
}

.topbar-content {
    box-sizing: border-box;
    flex-grow: 1;
    padding: 8px;
    padding-left: 0;
    overflow: hidden;
    display: flex;
    gap: 8px;
}


.outlook-email-container {
    background-color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    width: 100%;
    height: calc(100vh - 400px);
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.outlook-email-header {
    /*  border-bottom: 1px solid #e1e1e1; */
    padding-bottom: 15px;
    margin-bottom: 2px;
}

.email-header-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.email-avatar-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.email-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.email-avatar-placeholder-sm {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
}

.email-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
}

.email-to {
    color: #333;
    font-size: 14px;
    margin-left: 5px;
}

.email-from {
    font-weight: bold;
    color: var(--portal-primary-color);
    font-size: 16px;
    margin-left: 5px;
}

.email-subject {
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
    display: block;
}

.email-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.email-body {
    color: #333;
    font-size: 14px;
}

    .email-body h1, .email-body h2, .email-body h3 {
        color: #444;
        font-weight: bold;
    }

    .email-body p {
        margin: 0;
        padding: 0;
        line-height: 1.4;
    }

    .email-body ul, .email-body ol {
        margin: 1em 0;
        padding-left: 20px;
    }

    .email-body img {
        max-width: 100%;
        height: auto;
        margin: 10px 0;
        display: block;
    }

    .email-body a {
        color: #1a73e8;
        text-decoration: underline;
    }


.email-body-scrollable {
    max-height: 750px;
    overflow-y: auto;
}

.email-from-line {
    display: flex;
    align-items: center;
    gap: 10px;
}



/* Shared Styles for Navigation */
.main-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #244a9a;
    padding: 20px 10px;
}

    .main-nav > hr {
        width: 100%;
        border: none;
        height: 1px;
        background-color: white;
        margin: 0px 5px;
        flex-shrink: 0;
    }

.hamburger {
    flex-direction: column;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    transition: margin-right 0.15s;
}

.nav-button {
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    margin: 10px 0;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}


    .nav-button:hover {
        background-color: #1e3b85;
        color: white;
    }

    .nav-button:active {
        transform: scale(0.95);
    }

    .nav-button img {
        width: 24px;
        height: 24px;
        margin-right: 0;
        flex-shrink: 0;
    }

    .nav-button span {
        display: none;
    }

    .nav-button.selected {
        background-color: white;
    }

        .nav-button.selected img {
            filter: none;
        }

.nav-footer {
    width: 100%;
    padding-top: 30px;
    margin-top: auto;
    display: flex;
    justify-content:center;
}

    .nav-footer img {
        height: 40px;    
        
    }

.home-container {
    text-align: center;
    max-width: 700px;
    margin: auto;
}

    .home-container > h1 {
        font-size: 1.5em;
        color: #244a9a;
        font-family: Open Sans, sans-serif;
    }

    .home-container > hr {
        margin-top: 40px;
        margin-bottom: 40px;
    }

.home-logo {
    height: 75px;
    width: 100%;
    object-fit: contain;
}


/* Layout for Mobile View */
@media (max-width: 767px) {
    .topbar {
        display: block;
        padding: 0 10px;
    }

    .main-nav {
        overflow-x: auto;
        scrollbar-width: none;
        box-sizing: border-box;
        flex-direction: row;
        width: 100%;
        height: 60px;
        border-right: none;
        position: fixed;
        bottom: 0;
        left: 0;
        padding: 0px 20px;
        transition: none;
    }

    .nav-button {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 33%;
        margin: 0px 10px;
    }

    .main-content {
        background-color: white;
        border-radius: 10px 10px 10px 10px;
        margin-bottom: 60px;
    }

        .main-content .zoom-content {
            zoom: 0.8;
        }


    .nav-footer,
    .hamburger,
    .main-nav > hr {
        display: none;
    }

    .subpage-overlay {
        bottom: 60px;
    }

    :root {
        --main-nav-width: 0px;
    }

    .userdash-top {
        display: none !important;
    }
}

/* Layout for Desktop View */
@media (min-width: 768px) {
    .main-nav {
        flex-direction: column;
        transition: width 0.15s;
        width: 64px;
        overflow-y: auto;
        scrollbar-width: none;
    }

        .main-nav.open {
            width: 200px;
        }

            .main-nav.open .nav-button {
                justify-content: start;
            }

                .main-nav.open .nav-button span {
                    display: inline; /* Show text */
                    margin-left: 10px;
                    color: white;
                }

                .main-nav.open .nav-button.selected span {
                    color: black;
                }

    .topbar.open .hamburger {
        margin-right: 135px;
    }

    .main-nav.open .logo-sm,
    .main-nav .logo-lg {
        display: none;
    }

    .main-nav.open .logo-lg,
    .main-nav .logo-sm {
        display: block;
    }

    .subpage-overlay {
        bottom: 0px;
    }
}

.nav-button img {
    filter: invert(1);
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.ObjektDropdown .k-list-container {
    max-height: 300px;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    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 {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

h1 {
    font-size: 2.1em;
    color: #244a9a;
    font-family: Open Sans,sans-serif;
}

h2 {
    font-size: 30px;
    color: #244a9a;
    font-family: "Open Sans", sans-serif;
    text-align: left;
    font-weight: 100;
}

h3 {
    font-size: 24px;
    color: #244a9a;
    font-family: "Open Sans", sans-serif;
    text-align: left;
    font-weight: 100;
}

h4 {
    font-size: 20px;
    color: #244a9a;
    font-family: "Open Sans", sans-serif;
    font-weight: 100;
}

h5 {
    font-size: 20px;
    color: #244a9a;
    font-family: "Open Sans", sans-serif;
    font-weight: 100;
}

.sidebar {
    width: 192px;
    background-color: #26b050;
}

.image {
    margin-top: 230px;
}

.login {
    border-left: groove;
}

.registrieren {
    border-left: groove;
}

.no-group-header .k-grouping-header {
    display: none;
}

.k-form-field > label {
    margin-bottom: 2px !important;
}

input.k-input-inner:read-only {
    background-color: #f0f0f0;
    color: #999;
    cursor: default;
}

.sticky-right {
    right: 0;
    transform: none;
}

.modal-logo {
    margin-left: -0px;
}

.modal-title {
    color: #244a9a;
    font-size: 20px;
    margin-top: 10px;
    margin-left: 7px;
}

.DropDownListAuswahl {
    min-width: 260px;
}

.CloseTelerikModalIcon {
    top: 0;
}

.Close_Modal {
    position: absolute;
    top: 20px;
    right: 10px;
    border: none;
    background: transparent;
}

    .Close_Modal:hover {
        color: #145FB4;
        transition: all 0.3s ease;
        transform: scale(1.1);
    }

    .Close_Modal:active {
        transform: scale(0.9);
        transition: all 0.3s ease;
    }

.k-window-titlebar {
    border-style: none !important;
    padding: 16px 16px 0px 16px;
}

.PopUpText {
    font-size: 100%;
    margin: 15px;
}

.warning-box {
    border: 1px solid #ffa500; /* Orange Rahmen */
    background-color: #fff3cd; /* Heller Hintergrund */
    color: #856404; /* Dunkler Text für gute Lesbarkeit */
    padding: 15px; /* Innenabstand */
    margin: 10px 0; /* Außenabstand oben und unten */
    border-radius: 5px; /* Abgerundete Ecken */
    text-align: center;
}

    .warning-box h5 {
        margin: 0; /* Entfernt den Standardabstand des h5-Elements */
    }


.missing-einheiten-grid .k-grid-content .k-grid-table tr td {
    background-color: #fff3cd;
}


.missing-einheiten-grid .k-grid-content .k-grid-table tr:nth-child(even) td {
    background-color: #ffe69a; /* Leicht dunklere Variante */
}

.missing-zaehlergruppen-grid .k-grid-content .k-grid-table tr td {
    background-color: #fff3cd;
}

.missing-zaehlergruppen-grid .k-grid-content .k-grid-table tr:nth-child(even) td {
    background-color: #ffe69a; /* Leicht dunklere Variante */
}

.import-ready-grid .k-grid-content .k-grid-table tr td {
    background-color: #d4edda;
}

.import-ready-grid .k-grid-content .k-grid-table tr:nth-child(even) td {
    background-color: #c3e6cb; /* Leicht dunklere Variante */
}

.longgrid-container {
    max-width: 100vw; /* Die Breite des Containers entspricht der Breite des Viewports */
    overflow-x: auto; /* Ermöglicht horizontales Scrollen innerhalb des Containers */
    overflow-y: hidden; /* Verhindert vertikales Scrollen innerhalb des Containers */
    box-sizing: border-box; /* Beinhaltet Padding und Border in der Gesamtbreite */
}

.k-dropzone-inner {
    background-color: #fff;
    width: 800px;
    margin: 0 0 20px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    border-radius: 8px;
    overflow: hidden;
    page-break-inside: avoid;
    break-inside: avoid;
    height: 500px;
}

.template-dropzone .dropzone-content {
    margin: 3em;
    text-align: center;
}

.dropzone-content .line {
    display: block;
    margin-bottom: .4em;
}

.dropzone-content p {
    margin-top: 1em;
    font-size: .9em;
}

.Image-delete-icon-button {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 5px;
    cursor: pointer;
    z-index: 10;
}

.TabStripContainer {
    display: flex; /* Aktiviert Flexbox */
    flex-direction: column; /* Stapelt die Kinder vertikal */
    align-items: center; /* Zentriert die Kinder horizontal */
    justify-content: center; /* Zentriert die Kinder vertikal */
    height: 100%; /* Setzt die Höhe des Containers */
}

.k-list-footer {
    padding: 5px;
}

    .k-list-footer .footer-button {
        width: 100%;
    }

/* Drag Und Drop */
/* Grundlegender style für die Dropzone */
.drop-container {
    border: 1px solid #D9D9D9;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
    min-width: 75%;
    min-height: 60px;
}

.drop-container-attribute {
    border: 1px solid #D9D9D9;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    margin: 10px 0 2.5px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    width: fit-content;
    min-height: 60px;
    max-width: 36%;
}

.drop-container-trennzeichen {
    border: 1px solid #D9D9D9;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    margin: 2.5px 0 10px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
    width: 50%;
    max-width: 75%;
}


/* Stil für die draggable Items */
.draggable-item {
    padding: 8px 15px;
    background-color: #f0f0f5;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    min-height: 40px;
}

    .draggable-item:hover {
        background-color: #fafaff;
        border: 2px #FFFFFF;
        box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    }

.draggable-item-attribut {
    padding: 8px 15px;
    background-color: #f0f0f5;
    border-radius: 1px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    flex: 0 0 calc(25% - 10px);
}

    .draggable-item-attribut:hover {
        background-color: #fafaff;
        border: 2px #FFFFFF;
        box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
    }

.draggable-item-trennzeichen {
    padding: 2px 10px;
    background-color: #f0f0f5;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    min-height: 28px;
}

    .draggable-item-trennzeichen:hover {
        background-color: #fafaff;
        border: 2px #FFFFFF;
        box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    }

.trennzeichen-flex-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.NoPadding {
    padding-left: 0;
}

.HigherIndex {
    z-index: 1000000000 !important;
}

.infobox {
    border: 0;
    min-height: 70px;
    margin: 0px;
    padding: 10px;
    padding-left: 80px;
    border-radius: 7px;
    background-color: #ebffef;
    background-image: url(/images/Icons/info-circle.svg);
    background-repeat: no-repeat;
    background-size: 48px;
    background-position: center;
    background-position-x: 16px;
    background-position-y: 50%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.infobox-warning {
    background-color: #f9edc6;
    background-image: url(/images/Icons/exclamation-circle.svg);
}

.infobox-error {
    background-color: #ff948c;
    background-image: url(/images/Icons/exclamation-circle.svg);
}

.infobox p {
    margin-bottom: 5px;
}

    .infobox p:last-child {
        margin-bottom: 0;
    }

.popup-fullsize-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .popup-fullsize-content > .k-tabstrip {
        flex: 1 auto;
    }

.btn-navbar {
    align-items: center;
    background-color: initial;
    background-image: linear-gradient(#ff6600, #f26100);
    border-radius: 8px;
    border-width: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .1),0 3px 6px rgba(0, 0, 0, .05);
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    font-family: expo-brand-demi,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-size: 16px;
    height: 32px;
    justify-content: center;
    line-height: 1;
    margin: 0;
    outline: none;
    overflow: hidden;
    padding: 0 32px;
    text-align: center;
    text-decoration: none;
    transform: translate3d(0, 0, 0);
    transition: all 150ms;
    vertical-align: baseline;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

    .btn-navbar:hover {
        box-shadow: rgba(0, 1, 0, .2) 0 2px 8px;
        opacity: .85;
        color: #fff;
    }

    .btn-navbar:active {
        outline: 0;
    }

    .btn-navbar:focus {
        box-shadow: rgba(0, 0, 0, .5) 0 0 0 3px;
    }

@media (max-width: 420px) {
    .btn-navbar {
        height: 48px;
    }
}

.ibs-content {
    display: flex;
    gap: 15px;
}

.ibs-formcontent {
    width: 75%;
    overflow: hidden;
    overflow-x: auto;
}

.ibs-statscontent {
    width: 25%;
}

.ibs-footer {
    height: 50px;
    text-align: right;
}

.ibs-side-panel {
    position: fixed;
    top: 56px;
    right: 0;
    height: calc(100% - 56px);
    width: 300px;
    border-left: solid 10px #244a9a;
    background-color: #f4f4f4;
    transition: transform 0.3s ease;
    transform: translateX(calc(100% - 5px));
    background-color: #244a9a;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

    .ibs-side-panel.open {
        transform: translateX(0);
    }

.ibs-panel-header {
    box-sizing: border-box;
    padding: 10px;
    height: 40px;
    color: #fff;
    text-align: center;
}

.ibs-panel-content {
    flex-grow: 1;
    border-radius: 10px 0 0 10px;
    overflow-y: auto;
    background-color: white;
    margin-bottom: 10px;
}

.ibs-panel-arrow {
    width: 27px;
    height: 27px;
    filter: invert(1);
}

.ibs-panel-toggle-button {
    position: fixed;
    left: -49px;
    top: 32px;
    width: 40px;
    height: 40px;
    background-color: #244a9a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
}

    .ibs-panel-toggle-button:focus {
        outline: none;
    }

    .ibs-panel-toggle-button .ibs-panel-arrow {
        font-size: 18px;
        transform: rotate(180deg);
        transition: transform 0.3s ease;
    }

.ibs-panel-up-button,
.ibs-panel-down-button {
    position: fixed;
    top: 34px;
    width: 34px;
    height: 34px;
    background-color: #244a9a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

    .ibs-panel-up-button:hover,
    .ibs-panel-down-button:hover {
        background-color: #244087;
    }

    .ibs-panel-up-button:active,
    .ibs-panel-down-button:active {
        background-color: #3d68d9;
    }

    .ibs-panel-up-button:disabled,
    .ibs-panel-down-button:disabled {
        cursor: default;
        opacity: 0.6;
    }

.ibs-panel-up-button {
    left: -95px;
}

.ibs-panel-down-button {
    left: -135px;
}

.ibs-side-panel.open .ibs-panel-arrow {
    transform: rotate(0);
}

.no-header .k-table-thead {
    display: none;
}

.zahler-row {
    cursor: pointer;
}

    .zahler-row.selected {
        background-color: #afc5ff;
    }

.createzaehler-mainform .k-form-legend {
    margin-bottom: 5px !important;
}

.createzaehler-mainform .k-form-field {
    margin-top: 5px !important;
}

.createzaehler-mainform .k-form-fieldset {
    background: #f3f2f2;
    padding: 10px !important;
    border-radius: 5px;
    margin: 10px 0 0 !important;
    width: 100%;
}

.createzaehler-mainform > .k-form-layout {
    width: 32%;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 200px);
    flex-wrap: wrap;
}

.createzaehler-mainform .k-grid-content {
    max-height: 400px;
}

.ibs-overview {
    text-align: center;
    margin: 30px auto;
    padding: 20px;
    max-width: 750px;
    border-radius: 10px;
    background-color: #f3f2f2;
}

    .ibs-overview h3 {
        margin-bottom: 10px;
        color: #333;
    }

    .ibs-overview hr {
        border: 0;
        height: 2px;
        background: rgba(33, 37, 41, 0.13);
        color: rgb(33, 37, 41);
        margin: 10px 0;
    }

    .ibs-overview .text-content {
        font-size: 16px;
        color: #555;
        line-height: 1.8;
    }

        .ibs-overview .text-content span {
            display: block;
        }

.grid-no-scroll .k-grid-content {
    overflow-y: auto;
}

.grid-no-scroll .k-grid-header,
.grid-no-scroll .k-grid-footer {
    padding-right: 0; /* version 2.26 and older requires !important here */
}

.grid-no-scroll .k-grid-header-wrap,
.grid-no-scroll .k-grid-footer-wrap {
    border-right-width: 0;
}

#disconnect-overlay {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

    #disconnect-overlay .overlay-modal {
        background: white;
        padding: 20px;
        border-radius: 10px;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

.userdash-top {
    height: 150px;
    width: 100%;
    display: flex;
    margin-bottom: 100px;
}

.userdash-top-right, .userdash-top-left {
    flex: 1;
    min-width: 80px;
}

.userdash-top-left {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

    .userdash-top-left > div {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .userdash-top-left img {
        width: 200px;
        margin-bottom: 20px;
        margin-left: 140px;
    }


@media (max-width: 1350px) {
    .userdash-top {
        margin-bottom: 40px;
    }

    .userdash-top-left img {
        display: none !important;
    }
}

.userdash-nav {
    width: 800px;
    min-width: 100px;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
}

.userdash-nav-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    height: 110px;
    width: 110px;
    padding: 20px;
    border-radius: 10px;
    background: inherit;
    transition: background 0.3s;
}

    .userdash-nav-button > .unselected-icon,
    .userdash-nav-button.selected > .selected-icon {
        display: block;
    }

    .userdash-nav-button.selected > .unselected-icon,
    .userdash-nav-button > .selected-icon {
        display: none;
    }

    .userdash-nav-button:hover {
        background: #f7f7f7;
    }

.selected-icon {
    filter: invert(23%) sepia(66%) saturate(637%) hue-rotate(196deg);
}

.userdash-nav-button img {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
}

.userdash-nav-button span {
    font-size: 16px;
    text-align: center;
    color: #858585;
    font-weight: 500;
}

.userdash-element {
    margin-bottom: 50px;
}

    .userdash-element > h2 {
        margin-bottom: 34px;
        padding-bottom: 4px;
        border-bottom: solid 2px #244a9a2e;
    }

.emobility-parking-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 40px;
    column-gap: 20px;
    margin: 0 auto;
    max-width: 1500px;
}

.emobility-parking {
    width: 650px;
    height: 100%;
    max-width: 95%;
}

    .emobility-parking h2 {
        margin-bottom: 16px;
        margin-left: 4px;
    }

.emobility-parking-abfahrt {
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    height: 68px;
    justify-content: center;
}

.emobility-parking-schedule {
    height: 57px;
    display: flex;
    min-width: max-content;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px
}

.emobility-parking-scheduleitem {
    flex: 1 0 auto;
    min-width: 70px;
}

.leistungen-stats {
    margin: 0 auto;
    max-width: 400px;
    font-size: large;
    display: flex;
    gap: 14px;
    flex-direction: column;
}

.chip {
    padding: 0 0.5em;
    border-radius: 1em;
    overflow: hidden;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(0, 0, 0, .08);
    display: inline-flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: white;
    background-color: gray;
}

    .chip.chip-secondary {
        color: black;
        background-color: #dbdbdb;
    }

    .chip.chip-success {
        color: white;
        background-color: #198754;
    }

    .chip.chip-warning {
        color: white;
        background-color: #c94a4a;
    }

    .chip.chip-empty {
        color: black;
        background-color: #e5e5e5;
    }

.status-chip {
    background-color: #44b712;
}

.status-chip-plugged {
    background-color: #44b712;
}

.status-chip-charging {
    background-color: #44b712;
}

.status-chip-unplugged {
    background-color: #f68b41;
}

.primary {
    background-color: #244a9a !important;
    color: white !important;
    border: none;
}

    .primary .k-dropdown-wrap {
        background-color: #244a9a !important;
        color: white !important;
        border: none;
    }

.k-list .k-item {
    background-color: #244a9a !important;
    color: white !important;
}

    .k-list .k-item:hover,
    .k-list .k-item.k-selected {
        background-color: #1e3a82 !important;
        color: white !important;
    }


.sliderpadding {
    padding-right: 20px;
    padding-left: 20px;
}

.fullsize {
    height: 100%;
    width: 100%;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
    display: block;
}

.slider-popover {
    width: 440px;
    max-width: 99vw;
}


    .slider-popover .k-popover-body {
        padding: 15px 7px;
    }

.slider-tick {
    font-style: italic;
    font-size: 13px;
}

.ennovatis-primary {
    background-color: #244a9a;
    color: white;
    transition: background-color 0.3s ease;
}

    .ennovatis-primary:hover {
        background-color: #1d3c87;
    }

    .ennovatis-primary:active {
        background-color: #162e6e;
    }

    .ennovatis-primary:focus {
        outline: 3px solid #ffcc00;
    }

.ennovatis-dropdown .k-button,
.ennovatis-secondary {
    border: solid 1px #c5ccd1;
    background-color: white;
    transition: background-color 0.3s ease;
}

    .ennovatis-dropdown .k-button:hover,
    .ennovatis-secondary:hover {
        background-color: #f0f0f0;
    }

    .ennovatis-dropdown .k-button:active,
    .ennovatis-secondary:active {
        background-color: #e0e0e0;
    }

    .ennovatis-dropdown .k-button:focus,
    .ennovatis-secondary:focus {
        background-color: #f5f5f5;
        outline: none;
    }

    .ennovatis-dropdown .k-button:disabled,
    .ennovatis-secondary:disabled {
        background-color: #eaeaea;
        cursor: not-allowed;
    }

.ennovatis-danger:hover {
    background-color: #f31700;
}

.ennovatis-danger:active {
    background-color: #ff422e;
}

.ennovatis-danger:focus {
    outline: 3px solid #f31700;
}

.ennovatis-card {
    border: solid 1px #dee5eb;
    border-radius: 15px;
    padding: 25px 30px;
    height: 100%;
    position: relative;
}

.ennovatis-card-settings {
    text-align: left;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: absolute;
    top: 10px;
    right: 10px;
}

.ennovatis-card-section {
    margin-bottom: 16px;
    min-width: 350px;
    flex: 1;
}

    .ennovatis-card-section label {
        font-size: large;
        color: #244a9a;
        font-weight: bold;
        margin-bottom: 16px;
    }

.ennovatis-toolbar {
    border: solid 1px #dee5eb;
    border-radius: 15px;
    background-color: white;
    padding: 8px;
}

    .ennovatis-toolbar .k-button {
        border: solid 1px #c5ccd1;
        background-color: white;
        transition: background-color 0.3s ease;
    }

        .ennovatis-toolbar .k-button:hover {
            background-color: #f0f0f0;
        }

        .ennovatis-toolbar .k-button:active {
            background-color: #e0e0e0;
        }

        .ennovatis-toolbar .k-button:focus {
            background-color: #f5f5f5;
            outline: none;
        }

        .ennovatis-toolbar .k-button:disabled {
            background-color: #eaeaea;
            cursor: not-allowed;
        }

.ennovatis-dropdown {
    border-radius: 6px;
    border: none;
}

    .ennovatis-dropdown > .k-input-inner {
        border: solid 1px #c5ccd1;
        border-radius: 6px 0 0 6px;
        background-color: white;
    }

    .ennovatis-dropdown .k-button {
        border-radius: 0 6px 6px 0;
    }

.gauege-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .gauege-container > span {
        font-weight: bold;
        margin-bottom: 4px;
    }

    .gauege-container > lable {
        font-weight: bold;
        color: #797979;
        margin-top: 4px;
    }

.multiselect-popover-display {
    display: block;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.underlined-div {
    border-bottom: 2px solid darkgray;
}

.eno-center-div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ennovatis-form-button {
    text-align: right;
    margin-top: 20px;
}

.ennovatis-base-popup {
}

    .ennovatis-base-popup > .k-window-actions {
        margin: 0;
        display: block;
        text-align: right;
    }

    .ennovatis-base-popup > .k-window-titlebar {
        padding: 8px 8px 0 8px;
    }

    .ennovatis-base-popup > .k-window-content {
        padding: 8px 16px;
    }

.core-base-popup {
}

    .core-base-popup > .k-window-actions {
        margin: 0;
        display: block;
        text-align: right;
    }

    /*  .core-base-popup > .k-window-titlebar {
        padding: 8px 8px 0 8px;
    }*/

    .core-base-popup > .k-window-content {
        padding: 8px 16px;
    }

.nutzer-manager {
}

    .nutzer-manager .ligenschaft {
        border: 1px solid #ccc;
        border-radius: 8px;
        margin-bottom: 30px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .nutzer-manager .ligenschaft-header {
        background-color: #f8f9fa;
        padding: 15px 20px;
        font-weight: 600;
        font-size: 1.25rem;
    }

    .nutzer-manager .einheit {
        border-top: 1px solid #9d9d9d;
        padding: 10px;
        padding-bottom: 40px;
        position: relative;
    }

    .nutzer-manager .einheit-header {
        font-size: 1.2em;
        color: black;
        margin-bottom: 10px;
        display: flex;
    }

    .nutzer-manager .add-button {
        right: 10px;
        top: 10px;
        position: absolute;
    }

    .nutzer-manager .error-lable {
        border: 1px solid #e74c3c;
        background-color: #fdecea;
        color: #c0392b;
        padding: 5px 10px;
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 15px;
        margin: 10px 0;
    }


.current-nutzer {
    background-color: #6da2f7 !important;
}

.k-table-td.k-command-cell span {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.form-buttons {
    display: flex;
    flex-flow: row;
    gap: 4px;
    flex-direction: row;
    justify-content: flex-end;
}

.k-chart-overlay {
    z-index: 99;
}

.pure-upload-button {
    border: none;
}

    .pure-upload-button .k-upload-dropzone {
        padding: 0;
    }

    .pure-upload-button .k-upload-status,
    .pure-upload-button .k-upload-files,
    .pure-upload-button .k-dropzone-hint {
        display: none !important;
    }


.notification {
    bottom: 30px !important;
    right: 30px !important;
}

    .notification .k-notification {
        padding: 13px;
        border: none;
        border-radius: 0px;
    }

        .notification .k-notification:has(.hide) {
            animation: fadeOut 700ms forwards;
        }

    .notification .k-notification-content {
        display: flex;
        gap: 10px;
        width: 400px;
    }

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        visibility: hidden;
    }
}

.upload-notification {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}

    .upload-notification .n-content {
        flex-grow: 1;
        min-width: 0;
    }

        .upload-notification .n-content b {
            color: var(--portal-primary-color);
            font-size: 15px;
            display: block;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

.mini-progress-bar {
    width: 100%;
    height: 5px;
    background: #d0e9d0;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 5px;
}

    .mini-progress-bar .progress {
        width: 0%;
        height: 100%;
        background: var(--portal-primary-color);
        transition: width 0.2s ease-in-out;
    }


.fullsize {
    width: 100%;
    height: 100%;
}

.unsupported-file-alert {
    background-color: #dcece8; /* Hintergrundfarbe */
    border-color: #008066; /* Randfarbe */
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.avatar {
    width: 60px;
    height: 60px;
    cursor: pointer;
    position: relative;
    transition: filter 0.3s ease-in-out;
}

    .avatar:hover {
        filter: brightness(1.2)
    }

    .avatar .upload-arrow {
        position: absolute;
        bottom: 15px;
        right: 15px;
        width: 30px;
        height: 30px;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    .avatar:hover .upload-arrow {
        opacity: 1;
    }

.core-base-popup .k-window-titlebar {
    border-color: var(--kendo-color-border, rgba(33, 37, 41, 0.13)) !important;
    color: inherit !important;
    background-color: unset !important;
}

.kibutton {
    color: #FFFFFF;
    background: linear-gradient(90deg, #4B5AFA 0%, #AC58FF 100%);
}

.k-tilelayout {
    padding: 0 !important;
    margin: 0 !important;
    background-color: white !important;
}

.k-toolbar.rounded {
    border-radius: 10px !important;
}

.k-toolbar.half-rounded {
    border-radius: 10px 10px 0 0 !important;
}

.einheiten-select-dropdown .k-button {
    width: 100%;
}

.einheiten-select-dropdown .k-button-text {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

    .einheiten-select-dropdown .k-button-text span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex: 1 1 auto;
        min-width: 0;
        text-align: start;
    }

    .einheiten-select-dropdown .k-button-text div {
        flex-shrink: 0;
        margin-left: 5px;
    }

.smaller-icon {
    height: 12px !important;
}

.einheiten-select-dropdown .dropdown-content {
    height: 100%;
    margin: 10px;
    overflow: hidden;
    overflow-y: auto;
}

.swal2-container {
    z-index: 99999 !important;
}

    .swal2-container.my-popup {
        z-index: 99999 !important;
    }

.details-pannel-grid th.k-header {
    padding: 20px;
    font-weight: 600;
}

.details-pannel-grid .k-master-row td {
    padding: 7px;
}

.beleg-grid {
    max-height: 1000px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.2s ease, opacity 0.4s ease;
}

    .beleg-grid.hidden {
        opacity: 0.7;
        max-height: 0;
    }


.abrechnungen-main-container {
    height: calc(100vh - 250px);
    display: flex;
    gap: 8px;
}

.abrechnungen-grid-pannel {
    /*flex: 0 0 900px;*/
    flex: 1;
    overflow: auto;
}

.abrechnungen-file-pannel {
    /* flex: 1 1 auto;
    min-width: 500px;*/
    flex: 2;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
}
abrechnungen-file-pannel.fullscreen {
    flex: 1 1 100%;
    width: 100%;
    height: 100%;
}
.float-right-button {
    margin-left: auto;
    margin-right: 8px;
}

.abrechnungen-card .k-card-body {
    padding: 0;
}

.selected-row {
    background-color: #bfd8ff !important;
}

.flat-splitter {
    border: none;
}

    .flat-splitter .k-splitbar {
        background-color: transparent;
        margin: 4px;
        border-radius: 4px;
        transition: background-color 300ms;
    }

        .flat-splitter .k-splitbar:hover {
            background-color: #f2f2f2 !important;
        }
