:root {
    --theme-color: #356188;
    --theme-color2: #f2f1f0;
    --box-shadow-blur: 5px;
    --box-shadow-offset: 3px;
    --box-shadow-color: lightgray
}

/* Allgemeines Makeup */
html {
    height: 100%;
    margin: 0px;
    padding: 0px;
}

header {
    margin: 0px;
    padding: 0px;
    background-color: var(--theme-color);
    overflow: auto;
    color: white;
}

body {
    margin: 0px;
    padding: 0px;
    font-family: Lato, Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

footer {
    padding: 5px;
}

div {
    margin: 0px;
    padding: 0px;
}

h1 {
    margin: 0px;
    padding: 10px;
    padding-left: 0px;
}

a {
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

nav {
    box-shadow: 0 var(--box-shadow-offset) var(--box-shadow-blur) 0 var(--box-shadow-color);
}

/* Sonderregeln */
nav>div {
    background-color: var(--theme-color2);
    color: white;

}

li {
    line-height: 1.5em;
}

nav a {
    display: inline-block;
    margin: 5px;
    padding: 5px;

    color: var(--theme-color);
    border-radius: 5px;
    border: 1px solid var(--theme-color);

    transition: background-color .5s
}

nav a:hover {
    background-color: rgb(208, 219, 221);
}

nav a.nav_selected {
    background-color: rgb(152, 193, 201);
}


.flex-v {
    display: flex;
    flex-direction: column;
    gap: .5em;
}

.flex-h {
    display: flex;
    flex-direction: row;
    gap: .5em;
}

/*
nav a::after {
    content: " |";
}
*/

header a {
    margin-left: 2px;
    padding: 2px;
    color: white;
    border-radius: 5px;
    border: 1px solid white;
    transition: background-color 0.5s;
}

header a:hover {
    background-color: rgb(158, 184, 196);
}

p {
    line-height: 1.5em;
    margin-top: 0px;
}

/* actionbox */
.actionbox {
    display: inline-block;
    vertical-align: text-top;
    border-radius: 5px;
    border: 1px solid black;
    box-shadow: var(--box-shadow-offset) var(--box-shadow-offset) var(--box-shadow-blur) 0 var(--box-shadow-color);
}

.actionbox>div:nth-child(1) {
    color: var(--theme-color);
    font-weight: bold;
    font-size: 1.5em;
    padding: 10px;
    border-radius: 5px 5px 0 0;
    background-color: var(--theme-color2);
    border-bottom: 1px solid black;
}

.actionbox>*:nth-child(2) {
    margin: 5px;
}

.actionbox input,
.actionbox select {
    display: block;
    box-sizing: border-box;
    margin-top: 5px;
    margin-bottom: 5px;
}

.actionbox table {
    width: 100%;
    border-spacing: 0px;
}

.actionbox td {
    padding: 5px;
    border-top: 1px solid gray;
    white-space: nowrap;
}

.actionbox td:nth-child(2) {
    width: 100%;
}

.actionbox tr:first-child td,
.actionbox tr:last-child td,
.actionbox .noTopline td {
    border-top: none;
}

.actionbox pre {
    border: 1px solid;
    border-radius: 5px;
    text-align: left;
    padding: 5px;
    margin: 0;
}

.actionbox ul.info {
    text-align: left;
    font-size: 0.8em;
    padding: 0;
    list-style-position: inside;
}

.actionbox td input,
.actionbox td select {
    width: 100%;
    height: 2em;
}

.actionbox td:first-child {
    text-align: left;
}

/* contentBox */
.contentBox {
    padding: 10px;
}

/* modal MessageBox */
.messageBox {
    margin: 20px;
}

.messageBox>div {
    font-size: 1.5em;
}

/* LoadingSpinner */
#loadingDivValue {
    display: inline-block;
    position: absolute;
    top: 43%;
    left: 0px;
    width: 100%;
    font-size: 1.5em;
    font-weight: bold;
}


/* workflow-box */
.workflowbox {
    display: flex;
    justify-content: center;
    margin: 20px;
}

.workflowbox>div {
    display: flex;
    border: 1px solid black;
    background-color: #f2f1f0;
    padding: 10px;
    box-shadow: 0 var(--box-shadow-offset) var(--box-shadow-blur) 0 var(--box-shadow-color);
}

.workflowbox>div:nth-child(1) {
    border-radius: 5px 0 0 5px;
}

.workflowbox>div:last-child {
    border-radius: 0 5px 5px 0;
}

.workflowbox>div:nth-child(even) {
    background-color: #383838;
    color: white;
    font-size: 2em;
    font-weight: bold;
    border-left: none;
    border-right: none;
    padding: 0px;
}

.workflowbox .active {
    background-color: rgb(255, 208, 121);
}

.workflowbox .done {
    background-color: rgb(179, 255, 179);
}

.workflowbox .needed {
    background-color: rgb(255, 157, 157);
}

.workflowbox a {
    color: var(--theme-color);
}


/* Select2 */
.select2-dropdown {
    width: 300px !important;
}

.left {
    float: left;
    margin-left: 10px;
}

.left::after {
    clear: both;
}

.right {
    float: right;
    margin-right: 10px;
}

.right::after {
    clear: both;
}

.centered {
    margin: auto;
}

.centeredContent {
    display: flex;
    text-align: center;
    justify-content: center;
}

.centeredContentVertical {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}


.leftedContent {
    text-align: left;
}

.v-centered {
    top: 50%;
}

.inlineblock {
    display: inline-block;
}

.inline {
    display: inline;
}

.block {
    display: block;
}



.bordered {
    border-radius: 5px;
    border: 1px solid black;
}

.hidden {
    display: none;
}

.warning {
    color: red;
}

.width_50 {
    width: 50%;
    box-sizing: border-box;
}

.width_100 {
    width: 100%;
    box-sizing: border-box;
}

.required {
    border-color: red;
    border-width: 2px;
}





tr.custom_row_alert {
    background: rgb(255, 209, 139);
}

.custom_row_error {
    background: rgb(255, 128, 128);
}

.custom_row_disabled {
    color: gray;
    font-style: italic;
}

.custom_row_disabled>* {
    display: none;
}



.custom-ui-icon>span {
    display: block;
    font: normal normal normal 14px/16px jquery-ui, sans-serif;
}

.custom-ui-icon {
    display: block;
    font: normal normal normal 14px/16px jquery-ui, sans-serif;
}


/* Icon zum Signalisieren ob PDF lesbar ist */
.ui-icon-textReadable0::before {
    color: red;
    content: '\e65e';
    font-size: .8em;
}

.ui-icon-textReadable1::before {
    color: green;
    content: '\e670';
    font-size: .8em;
    cursor: pointer;
}



.custom-ui-icon-alert>span::before {
    color: red;
    content: '\e65e'
}

.custom-ui-icon-circle-checked>span::before {
    color: green;
    content: '\e670'
}

.custom-ui-icon-circle-notice>span::before {
    color: red;
    content: '\e667'
}

.custom-ui-icon-help>span::before {
    color: grey;
    content: '\e661'
}

/* Custom Table */
table.custom-table th {
    font-weight: bold;
}

table.custom-table td,
table.custom-table th {
    border: #4297d7 solid 1px;
    padding: 5px;
    text-align: center;
}

.FormGrid>div,
.FormGrid>input {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 5px;
}

.deleted-row>* {
    color: gray !important;
    font-style: italic !important;
}

.noalias>* {
    color: red !important;
    font-style: italic !important;
}


.fancybox-overlay {
    z-index: 943 !important;
}

#editmodlist1.ui-jqdialog {
    z-index: 942 !important;
}

#viewmodlist1.ui-jqdialog {
    z-index: 1020 !important;
}

/* latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: local('Lato Regular'), local('Lato-Regular'), url(../fonts/S6uyw4BMUTPHjxAwXjeu.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    src: local('Lato Regular'), local('Lato-Regular'), url(../fonts/S6uyw4BMUTPHjx4wXg.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}