:root {
    --spargelgutblau: #1C376B;
    --spargelgutgelb: #FFDD00;
}

html, body {
    height: 95%;
}

#header {
    border-top: 20px solid var(--spargelgutblau);
}

#topdeco {
    border-top: 10px solid #ffffff;
    border-bottom: 10px solid var(--spargelgutgelb);
}

#logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
}

.fertig {
    background-color: green;
    color: white;
}

.haken {
    width: 20px;
    height: 20px;
}



label, .label_anzeige {
    margin-bottom: 10px;
    display: block;
}

.label_anzeige {
    font-weight: 700;
}

#loginform {
    border: 2px solid var(--spargelgutblau);
    border-radius: 50px;
    padding: 20px;
    width: fit-content;

}

#loginform button {
    display: block;
}

#content {
    font-family: Arial, Helvetica, sans-serif;
    display: grid;
    align-items: center;
    position: relative;
    top: 100px;
    padding-bottom: 70px;
}

#content.login {
    justify-content: center;
}

#tabelle,
#tabelle_restmenge {
    width: 100%;
}

th, td {
    border: 1px solid var(--spargelgutblau);
    padding: 10px;
}

th {
    background-color: var(--spargelgutblau);
    color: #ffffff;
}

td {
    border-top: none;
}

tr.vorbestellung,
tr.sortierung,
tr.verkaufsstand,
tr.vorbestellungeneinpacken {
    cursor: pointer;
}

#spalte_einheit {
    width: 28px;
}

#layer_background {
    opacity: 0.5;
    width: 100%;
    height: 100%;
    background-color: grey;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
}

#layer_form {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-items: center;
    height: 100%;
    width: 100%;
}

#form_vorbestellung,
#form_vorbestellung_readonly,
#form_sortierung,
#form_verkaufsstand, 
#vorbestellung_anzeige,
#form_loeschen_sortierung,
#form_loeschen_verkaufsstand,
#form_loeschen_vorbestellung,
#form_neue_vorbestellung_benachrichtigung,
#form_setfertig_vorbestellung {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    z-index: 1;
    background-color: #ffffff;
    border-radius: 50px;
    padding: 40px;
    opacity: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: left;
}

#form_lieferscheine_suchen_benachrichtigung {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    z-index: 1;
    background-color: #ffffff;
    border-radius: 50px;
    padding: 40px;
    opacity: 1;
}

#form_lieferscheine_suchen button {
    display: block;
}

#form_vorbestellung_readonly span {
    font-weight: 700;
    font-size: 36px;
    margin: 0 30px 10px 0;
}

#form_loeschen_sortierung,
#form_loeschen_verkaufsstand,
#form_loeschen_vorbestellung,
#form_neue_vorbestellung_benachrichtigung,
#txt_keine_fertigen_vorhanden,
#txt_nicht_fertige_vorhanden
 {
    display: none;
}

#form_suchen_vorbestellungen_admin {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 10px;
}

input, select {
    display: inline-block;
    font-size: 16px;
    margin-bottom: 10px;
    padding: 5px;
    color: #000000;
}

.zeile.vorbestellungeneinpacken input[type=checkbox] {
    margin: unset;
}

button {
    color: #ffffff;
    font-weight: 700;
    border-radius: 50px;
    background-color: var(--spargelgutblau);
    padding: 10px;
    width: 120px;
    margin: 20px 0 20px 10px;
    cursor: pointer;
}

h2 {
    margin-top: 0;
}

#menu {
    padding: 10px 0 0 160px;
}

.menu_item {
    display: inline-block;
    margin-right: 10px;
    font-family: Arial, Helvetica, sans-serif;
}

.menu_item a {
    text-decoration: none;
    color: var(--spargelgutblau);
    font-weight: 700;
    font-size: 16px;
}

#container_search {
    width: min-content;
}

.container_search_item.button_search {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 10px;
} 

.container_search_item {
    display: inline-block;
    color: var(--spargelgutblau);
    font-weight: 700;
}

#form_search_einpacken {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 10px;
}

#anzahl_fuer_morgen,
#anzahl_gesamt {
    font-weight: 700;
}

#datum_lieferscheine {
    width: 200px;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}