﻿:root {
    --body: #fff;
    --main: #00759c;
    --main-hover: #00688d;
    --border: #fff;
    --text: #000;
    --text-secondary: #fff;
    --hover: #222;
    --hover-secondary: #ddd;
}

html {
    box-sizing: border-box;
    height: 100%;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-size: 20px;
    width: 100vw;
    height: 100%;
    overscroll-behavior-y: contain;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    font-family: Arial;
}

.nodisplay {
    display: none !important;
}

.jconfirm-title {
    height: auto !important;
    text-align: center;
    font-weight: bold;
    color: var(--text-secondary) !important;
}

.jconfirm-content {
    text-align: center;
    color: var(--text-secondary) !important;
}

.jconfirm-holder {
    width: 90% !important;
    margin-left: 5% !important;
}

.header {
    width: 100%;
    background-color: var(--main);
    color: var(--text);
    font-size: 30px;
    height: 94px;
    text-align: center;
    top: 0;
    z-index: 2;
    margin: 0;
    Display: flex;
    box-shadow: 0 1px 1px 0 rgb(60 64 67 / 8%), 0 1px 3px 0 rgb(60 64 67 / 16%);
    position: sticky;
}

.footer {
    width: 100%;
    background-color: var(--main);
    height: 50px;
    position: fixed;
    bottom: 0;
    z-index: 2;
    box-shadow: 0 1px 1px 0 rgb(60 64 67 / 8%), 0 1px 3px 0 rgb(60 64 67 / 16%);
}

.mainBody {
    width: 100%;
    height: 100%;
    Display: flex;
    flex-direction: column;
    overflow-x: hidden;
    margin-bottom: 50px;
}

.c_prnt {

}

.c_prnt .c_chld {
    display:none;
}

.success {
    background-color: lightgreen !important;
}

#dArtikel {
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 3px;
}

#dArtikel>label {
    font-weight: bold;
    text-decoration: underline var(--main);
}

.flexC {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#dGenLagerAuswahl input {
    font-size: 25px;
}

#dMeldung {
    z-index: 1;
    position: fixed;
    bottom: 2px;
    right: 2px;
    width: 100%;
}

.list {
    width: 100%;
    border-radius: 5px;
    border: 1px solid var(--main);
    background-color: var(--body);
    box-shadow: 0 1px 1px 0 rgb(60 64 67 / 8%), 0 1px 3px 0 rgb(60 64 67 / 16%);
    margin-bottom: 4px;
    padding: 2px 5px;
}

.dInvLagerSelect {
    width: 80%;
    margin-left: 10%;
    border: 1px solid var(--main);
    border-radius: 5px;
    box-shadow: 0 1px 1px 0 rgb(60 64 67 / 8%), 0 1px 3px 0 rgb(60 64 67 / 16%);
    background-color: var(--body);
    margin-bottom: 12px;
    position: fixed;
    top: 50%;
    transform: translate(0, -50%);
}

.bCancel {
    border: 1px solid gray;
    padding: 5px 8px;
    text-align: center;
    transition: .2s;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 6px;
    box-shadow: 0 1px 1px 0 rgba(60, 64, 67, .08), 0 1px 3px 0 rgba(60, 64, 67, .16);
}

.bCancel:hover {
    background-color: gray;
    color: var(--text-secondary);
}

.backdrop {
    background-color: rgba(0, 0, 0, .6);
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.bConfirm {
    border: 1px solid var(--main);
    padding: 5px 8px;
    text-align: center;
    width: 150px;
    transition: .2s;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 6px;
    box-shadow: 0 1px 1px 0 rgba(60, 64, 67, .08), 0 1px 3px 0 rgba(60, 64, 67, .16);
}

.jconfirm .jconfirm-box {
    background: var(--main) !important;
}

.btn-default {
    border: 2px solid var(--border) !important;
    padding: 6px 14px !important;
    text-align: center !important;
    width: auto !important;
    transition: .2s !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    display: inline-block !important;
    margin-bottom: 6px !important;
    background-color: transparent !important;
    font-size: 16px !important;
    color: var(--text-secondary) !important;
}

.bConfirm:hover,
.btn-default:hover {
    background-color: var(--main-hover) !important;
    color: var(--text-secondary) !important;
}

#dInvHeader,
#dGenHeader {
    background-color: var(--main);
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 6px;
    color: var(--text-secondary);
    box-shadow: 0 1px 1px 0 rgba(60, 64, 67, .08), 0 1px 3px 0 rgba(60, 64, 67, .16);
    position: sticky;
    top: 50px;
}

.HalfFlex {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

.dInvLagerItem {
    width: 80%;
    margin-left: 10%;
    border: 1px solid var(--main);
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 12px;
    transition: .2s;
    box-shadow: 0 1px 1px 0 rgba(60, 64, 67, .08), 0 1px 3px 0 rgba(60, 64, 67, .16);
}

.dInvLagerItem:hover {
    background-color: var(--main);
    color: var(--text-secondary);
    cursor: pointer;
}

.dInvLagerItem .dLagerAuswahlNr {
    display: inline-block;
    margin: 12px !important;
}

.dInvLagerItem .iChkbxLager {
    width: 20px;
    height: 20px;
    display: inline-block;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    margin: 12px !important;
}

.dInvLagerItem .iChkbxLager:checked {
    background-color: var(--main);
}

input, textarea {
    display: block;
    width: 98vw;
    max-width: 100%;
    padding: 0;
    margin: 1vw !important;
    box-sizing: border-box;
    border: 1px solid var(--main);
    font-size: 30px;
    box-shadow: 0 1px 1px 0 rgba(60, 64, 67, .08), 0 1px 3px 0 rgba(60, 64, 67, .16);
    border-radius: 3px;
}

input[type="checkbox"] {
    border-style: none;
    background: var(--body);
}

input[type="number"] {
    max-width: 50%;
    text-align: center
}

input[type="file"] {
    border: 1px solid #ccc;
    display: none;
    cursor: pointer;
    min-height: 30px;
    margin: 10px;
}

.optiondiv select {
    margin-left: calc(50% - 120px);
    color: black;
    margin-top: 10px;
    border: 1px solid var(--main);
    background-color: var(--body);
    padding: 5px 10px;
    font-size: 20px;
    border-radius: 3px;
    text-decoration: none;
    width: 240px;
    display: inline-block;
    text-align: center;
    transition: .2s;
    cursor: pointer;
    box-shadow: 0 1px 1px 0 rgba(60, 64, 67, .08), 0 1px 3px 0 rgba(60, 64, 67, .16);
}

#LogCont p {
    margin: 0px;
    text-align: center;
}

#LogCont {
    margin: 10px;
}

#LogCont .list {
    margin-bottom: 10px;
}

#LogCont .list div {
    word-break: break-all;
    text-align: center;
}

.optiondiv p {
    margin-bottom: 0px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
}

.option {
    color: black;
    margin-top: 10px;
    border: 1px solid var(--main);
    background-color: var(--body);
    padding: 5px 10px;
    font-size: 20px;
    border-radius: 3px;
    box-shadow: 0 1px 1px 0 rgba(60, 64, 67, .08), 0 1px 3px 0 rgba(60, 64, 67, .16);
    text-decoration: none;
    width: 40px;
    display: inline-block;
    text-align: center;
    transition: .2s;
    cursor: pointer;
}

.leftoption {
    margin-left: calc(50% - 120px);
    color: black;
    margin-top: 10px;
    border: 1px solid var(--main);
    background-color: var(--body);
    padding: 5px 10px;
    font-size: 20px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    box-shadow: 0 1px 1px 0 rgba(60, 64, 67, .08), 0 1px 3px 0 rgba(60, 64, 67, .16);
    border-right: 0px;
    text-decoration: none;
    width: 120px;
    display: inline-block;
    text-align: center;
    transition: .2s;
    cursor: pointer;
}

.rightoption {
    color: black;
    margin-top: 10px;
    border: 1px solid var(--main);
    background-color: var(--body);
    padding: 5px 10px;
    font-size: 20px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    box-shadow: 0 1px 1px 0 rgba(60, 64, 67, .08), 0 1px 3px 0 rgba(60, 64, 67, .16);
    text-decoration: none;
    margin-left: -6px;
    width: 120px;
    display: inline-block;
    text-align: center;
    transition: .2s;
    cursor: pointer;
}

.optiondiv .rightoption:hover,
.optiondiv .leftoption:hover,
.optiondiv .rightoption.aktiv,
.optiondiv .leftoption.aktiv {
    color: var(--text-secondary);
    background-color: var(--main);
}

.bInvSnr {
    border-radius: 25px;
    width: auto;
    padding: 3px 14px;
    font-size: 16px;
    margin-top: 0px;
}

div[snr] {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 12px;
}

center {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
}

center button {
    text-transform: uppercase;
}

button {
    margin-top: 20px;
    background-color: var(--body);
    border: 2px solid var(--main);
    width: 100%;
    padding: 0;
    font-size: 20px;
    border-radius: 3px;
    color: var(--text);
    transition: .2s;
}

button:hover {
    background-color: var(--main);
    cursor: pointer;
    color: var(--text-secondary);
}

button:hover>img {
    filter: invert(100%);
}

.col2 {
    width: 50%;
    display: inline-block;
}

.countBtn {
    font-size: 28px;
    display: inline-block;
    border: 1px solid var(--main);
    width: 36px;
    height: 36px;
    text-align: center;
    justify-content: center;
}

.jconfirm .jconfirm-box div.jconfirm-closeIcon {
    zoom: 150%;
}

button[disabled=true] {
    color: grey;
}

button[disabled=false] {
    color: black;
}

.done {
    box-shadow: inset 0px 0px 0px 1px green;
    margin-top: 3px !important;
}

button[actpos] {
    margin: 9px;
    position: absolute;
    right: 0;
}

.savebutton {
    position: fixed;
    top: 0px;
    left: 2px;
    width: 90px !important;
    height: 30px;
    float: left;
    font-size: 15px !important;
    margin-top: 0px !important;
}

.bScrollToBottom {
    position: fixed;
    top: 0px;
    left: 90px;
    width: 70px !important;
    height: 30px;
    float: left;
    font-size: 15px !important;
    margin-top: 0px !important;
}

.bScrollToTop {
    position: fixed;
    top: 0px;
    height: 30px;
    right: 90px;
    width: 70px !important;
    float: right;
    font-size: 15px !important;
    margin-top: 0px !important;
}


.myShow {
    display: flex;
    flex-direction: column;
}



table {
    border-spacing: 10px;
}

.Flex {
    display: flex;
    flex-wrap: wrap;
}

.FlexDirColumn {
    flex-direction: column;
}

.Flex2Inner {
    flex: 0 50%;
    max-width: 50%;
}

.Flex3Inner {
    flex: 0 33.33%;
}

.Flex4 {
    display: flex;
    flex-direction: row;
}

.Flex4Inner {
    flex: 0 25%
}

label {
    font-family: Arial;
    font-weight: bold;
    display: inline-block;
    padding: 5px;
    width: 50%;
    font-size: 30px;
}

.bordered label {
    font-family: Arial;
    font-weight: bold;
    padding: 0px;
    font-size: 20px;
}

.bordered p {
    font-size: 13px;
    margin: 0px;
}

.bordered a {
    font-weight: bold;
}

select {
    font-size: 30px;
    display: inline-block;
    width: 49%;
    border-radius: 3px;
    border: 1px solid var(--main);
    background-color: #f9f9f9;
    box-shadow: 0 1px 1px 0 rgb(60 64 67 / 8%), 0 1px 3px 0 rgb(60 64 67 / 16%);
}

.filter {
    font-size: 30px;
    display: block;
    width: 100%;
    height: 40px;
    background-color: var(--main);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    box-shadow: 0 1px 1px 0 rgb(60 64 67 / 8%), 0 1px 3px 0 rgb(60 64 67 / 16%);
}

.WeHeader {
    background-color: #f9f9f9;
    padding-bottom: 5px;
    top: 88.4px;
    position: sticky;
}

.sticky {
    background-color: #f9f9f9;
    padding-bottom: 5px;
    top: 0;
    position: sticky;
}

.bordered {
    border-radius: 3px;
    margin: 5px;
    background-color: lightblue;
    padding: 5px;
    padding-top: 0px;
    box-shadow: 0 1px 1px 0 rgb(60 64 67 / 8%), 0 1px 3px 0 rgb(60 64 67 / 16%);
}

.messagebox {
    position: absolute;
    left: 80px;
    top: 6px;
    width: 100%;
    height: auto;
    z-index: 2;
}

span {
    display: block;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 128px;
    margin-top: 10px
}

.details div {
    font-size: 15px;
}

.details label {
    font-size: 15px;
}

#dMainMenu {
    width: 100%;
    align-items: center;
    justify-content: space-around;
    flex-flow: row wrap;
}

#dMainMenu button {
    width: 30%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

#dMainMenu button img, #dWaAuswahl button img  {
    margin-top: 10px;
    width: 128px;
    height: 128px;
}

@media only screen and (max-width: 768px) {
    #dMainMenu button {
        width: 45%;
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
}

.jconfirm.jconfirm-white .jconfirm-bg,
.jconfirm.jconfirm-light .jconfirm-bg {
    background-color: black !important;
    opacity: .4 !important;
}

#dLoginPage label {
    font-size: 30px;
}

#dLoginPage {
    background-color: var(--main);
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 100;
}

.dFlex {
    display: flex;
    justify-content: center;
}

.iNew {
    background-color: var(--main-hover);
    color: #5d99b5;
    border-radius: 3px;
    padding: 2px 10px;
    border: none;
    width: 80vw;
    margin: 12px 10vw !important;
    font-size: 22px;
}

.bNew {
    background-color: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border);
    border-radius: 3px;
    text-transform: uppercase;
    transition: .2s;
    padding: 3px 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 15px;
    cursor: pointer;
    font-size: 20px;
}

.bNew:hover {
    background-color: var(--main-hover);
}

.bNew img {
    filter: invert(100%);
    height: 24px;
    width: 24px;
}

.invInput {
    width: calc(100% - 2vw);
    font-size: 20px;
    text-align: center;
}

.WeArtikelContainer label,
input,
select {
    padding: 0px;
    margin: 0px;
}

.ArtImage {
    width: auto;
    height: 150px;
    padding: 10px;
    border-radius: 3px;
    box-shadow: 0 1px 1px 0 rgb(60 64 67 / 8%), 0 1px 3px 0 rgb(60 64 67 / 16%);
}

#dOptionen {
    background-color: var(--body);
    height: 100%;
    width: 100%;
    z-index: 1;
}

#dSeriennummern, #dEBSeriennummern {
    display: flex;
    width: 100vw;
    height: calc(100vh - 140px);
    max-height: calc(100vh - 140px);
    z-index: 1;
    position: absolute;
    background-color: var(--body);
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    overflow-y: scroll;
}

#iScanSnr, #iEBScanSnr {
    margin-top: 30px;
}

#dSnrs>div, #dEBSnrs>div {
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
}

#dFreifelder {
    display: flex;
    width: 100vw;
    height: 100%;
    z-index: 1;
    background-color: white;
    flex-direction: column;
    align-items: center;
}

#dFreifelder>div {
    align-items: center;
    flex-direction:column;
    display: flex;
}

#dFreifelder p {
    margin-bottom: 0px;
}

.iconmedium.inactive {
    border: 2px red solid;
}

.iconmedium.active {
    border: 2px solid;
    animation: blinkActive 1s infinite forwards;
}

.ubertastatur {
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 3;
}

.icon {
    height: 20px;
    width: 20px;
    background-repeat: no-repeat;
}

.iconmedium {
    height: 30px;
    width: 30px;
    background-repeat: no-repeat;
}

/*Animations*/
.lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid var(--border);
    border-color: var(--border) transparent var(--border) transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes blinkActive {
    50% {
        border-color: lightgreen;
    }
}