/* Default CSS Stylesheet for a new Web Application project */

BODY, DIV, TABLE, TD, TR {
    FONT-FAMILY: Verdana, Helvetica, sans-serif;
    FONT-SIZE: 11px;
    FONT-WEIGHT: normal;
    LETTER-SPACING: normal;
    TEXT-TRANSFORM: none;
    WORD-SPACING: normal;
    vertical-align: top;
}

a:link, .link {
    cursor: pointer;
    color: #0E3E72;
    text-decoration: none
}

a:visited {
    color: #0E3E72;
    text-decoration: none
}

a:active {
    color: #0E3E72;
    text-decoration: none
}

a:hover {
    color: #0E3E72;
    text-decoration: underline
}

.textZentriert {
    font-weight: normal;
    font-size: 11px;
    word-spacing: normal;
    text-transform: none;
    font-family: Verdana, Helvetica, sans-serif;
    letter-spacing: normal;
    background-color: white;
    text-align: center;
}

.caption {
    font-family: Verdana;
    font-size: 16px;
    font-weight: bold;
}


.ordnerImage {
    position: relative;
    margin-right: 2px;
}


.ordnerText {
    position: relative;
    font-family: Verdana;
    font-size: 8pt;
}

.error {
    font-weight: bold;
    color: red;
    padding: 4px;
    border: 1px solid red;
    display: inline-block;
}

.main-grid {
    margin-left: 50px;
    margin-right: 50px;
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-template-rows: auto auto 1fr;
    gap: 0px 0px;
    grid-template-areas:
        "kopfzeile kopfzeile"
        "header header"
        "menu work";
    height: 100vh;
}

.kopfzeile {
    grid-area: kopfzeile;
    background-color: #284484;
    color: white;
    display: flex;
    flex-direction: row;
    padding: 5px;
}

.kopfzeile > * {
    margin-right: 20px;
}

.kopfzeile > a {
    color: white;
}

.kopfzeile > *:last-child {
    margin-right: unset;
    margin-left: auto
}

.header {
    grid-area: header;
    background-color: silver;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 4px;
    gap: 2px;
}

#menu {
    grid-area: menu;
    border: none;
    margin: 0px;
    padding: 5px;
    width: 100%;
    height: 100%;
    background-color: white;
    user-select: none;
}

#menu .link > img {
    content: url('/images/ordnerGeschlossen.gif');
    margin-right: 2px;
}

#menu .offen > .link {
    text-decoration: underline;
}

#menu .offen > .link > img {
    content: url('/images/ordnerOffen.gif');
}

#menu :not(.offen) > .sub {
    display: none;
}

#work {
    grid-area: work;
    border: none;
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    background-color: white;
}

.hidden {
    display: none !important;
}

#spinner {
    grid-column-start: menu;
    grid-column-end: work;
    grid-row: menu;
    background: rgba(0, 0, 0, .2);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.downloadcontainer:not(.loading) {
    cursor: pointer;
}

.downloadcontainer.contained {
    opacity: 0.5;
}

iframe {
    user-select: none;
}

#gridDokument, #gridDokumentErsatz {
    border: 1px solid #336666;
}

#gridDokument.multiselect:not(.multiselect-active) tr > td:first-child {
    display: none;
}

.link-menu > *:not(:first-child) {
    border-left: solid 1px #888888;
    padding: 5px;
}
