﻿body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: black;
    color:white;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

#header {
    width: 100%;
    text-align: center;
    padding: 10px;
    
}

#container {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
}

/* Linke Seite: Navigation mit Baum */
#sidebar {
    width: 3500px;
    min-width: 150px;
    max-width: 400px;
    border-right: 2px solid #ccc;
    display: flex;
    flex-direction: column;
    background-color: black;
    color:white;
}

    #sidebar h3 {
        text-align: center;
        background-color: black;
        margin: 0;
        padding: 10px;
        font-size: 16px;
    }

#treeview {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.ui-icon-triangle-1-e
{
    background-position-x:-16px !important;
    background-position-y:-128px !important;
}

/* Mittlerer Bereich */
#content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 10px;
    position: relative;
}

#toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background-color: #444;
}

button {
    background-color: #666;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

    button:hover {
        background-color: #888;
    }

#pdfSelector {
    width: 400px;
}


#pdfViewerObject
{
    width: 100%;
    height: 100%;
}


.pdfCanvas {
    display: block;
    margin-bottom: 10px;
    height: 100%;
}

#pdfViewer {
    width: 100%;
    height: calc(100vh - 120px); /* Platz für Toolbar */
    overflow-y: auto; /* Scrollbalken aktivieren */
    background-color: white;
    display: flex;
    flex-direction: column; /* Stellt sicher, dass die Seiten untereinander erscheinen */
    justify-content: center;
    align-items: center;
}




/* Splitter */
#splitter {
    width: 5px;
    cursor: col-resize;
    background: #aaa;
}

#lnkLizenz,#spanZugangsbestimmungen {
    font-size: xx-small;
    margin-left: auto;
    white-space: nowrap
}

td.DokumenteVorhanden span
{
    color:green;
    font-weight:bold;
}

td.DokumenteTeilweiseVorhanden span {
    color: orange;
    font-weight: bold;
}