/* Allgemeine Einstellungen */
body {
    background-color: #002b36;
    color: #839496;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

a {
    color: #268bd2;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    position: relative;
    z-index: 1000;

}

#content-area {
    position: relative;
    margin-top: 2em;
    /*width: 98%;*/
    margin-right: 13px;
    margin-left: 10px;

}

.content-data {
    display: block;
    margin-right: 1rem;
    margin-left: 1rem;

}

.disabled{
    display: none;
}


/* Login-Seite */
.login-container {
    width: 300px;
    margin: 100px auto;
    padding: 20px;
    background-color: #073642;
    border-radius: 5px;
}

.login-container h1 {
    text-align: center;
    color: #93a1a1;
}

.login-container label {
    display: block;
    margin-top: 10px;
}

.login-container input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    background-color: #002b36;
    border: 1px solid #586e75;
    color: #839496;
}

.login-container button {
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    background-color: #268bd2;
    border: none;
    color: #fdf6e3;
    cursor: pointer;
}

.login-container button:hover {
    background-color: #2aa198;
}

/* Megamenu */
.megamenu {
    background-color: #073642;
    padding: 10px;
}

.main-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.main-menu>li {
    display: inline-block;
    position: relative;
}

.main-menu>li>a {
    padding: 10px 15px;
    display: block;
    color: #93a1a1;
}

.submenu,
.sub-submenu {
    display: none;
    position: absolute;
    background-color: #002b36;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.main-menu>li:hover>.submenu {
    display: block;
    top: 100%;
    left: 0;
}

.submenu>li:hover>.sub-submenu {
    display: block;
    top: 0;
    left: 100%;
}

.submenu>li>a,
.sub-submenu>li>a {
    padding: 10px 15px;
    display: block;
    color: #839496;
    white-space: nowrap;
}

.submenu>li,
.sub-submenu>li {
    position: relative;
}

div.table-bistro-artikel {
    max-width: 100%;

}


table,
th,
td,
caption {
    border: thin solid #034555;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    border-width: thin 0 0 thin;
    margin: 0 0 1em;
    table-layout: auto;
    max-width: 100%;
}

th,
td {
    font-weight: normal;
    text-align: left;
}

th {
    font-weight: 700;
}



#data-table-produkte td:nth-child(1),
#data-table-produkte th:nth-child(1) {
    text-align: center;
    width: 100px;
    /* Breite festlegen */
    max-width: 100px;
    word-wrap: break-word;
}

#data-table-produkte td:nth-child(1) {
    font-size: small;
}

#data-table-produkte td:nth-child(2),
#data-table-produkte th:nth-child(2) {
    text-align: center;
    width: 70px;
    /* Breite festlegen */
    max-width: 70px;
    word-wrap: break-word;
}

table#data-table-produkte tbody tr td form input#name {
    width: 50px;
    text-align: center;
}

#data-table-produkte td:nth-child(3),
#data-table-produkte th:nth-child(3) {
    text-align: center;
    width: 70px;
    /* Breite festlegen */
    max-width: 70px;
    word-wrap: break-word;
}

#data-table-produkte td:nth-child(4),
#data-table-produkte th:nth-child(4) {
    width: 380px;
    /* Breite festlegen */
    max-width: 400px;
    word-wrap: break-word;
}

#data-table-produkte td:nth-child(5),
#data-table-produkte th:nth-child(5) {
    text-align: center;
    width: 100px;
    /* Breite festlegen */
    max-width: 100px;
    word-wrap: break-word;
}

#data-table-produkte td:nth-child(6),
#data-table-produkte th:nth-child(6) {
    text-align: center;
    width: 100px;
    /* Breite festlegen */
    max-width: 100px;
    word-wrap: break-word;
}

#data-table-produkte td:nth-child(7),
#data-table-produkte th:nth-child(7) {
    text-align: center;
    width: 50px;
    /* Breite festlegen */
    max-width: 50px;
    word-wrap: break-word;
}

/* --------------------- Atkikelliste Pop-up Styles -----------------------*/

.modal-dialog {
    max-width: 60% !important;
}

.modal-dialog fieldset{
    min-width: auto;
    padding: inherit;
    margin: auto;
    border: gray 1px solid;
}

.modal-dialog legend{
    float: unset;
    text-align: center;
}


/* tabelle  */
.modal #data-table-produkte{
    width: 100%;
    flex: fit-content;
}

.modal #data-table-produkte.table{
  width: 100%;
  flex: fit-content;
  display: inline-table;
}

.modal #data-table-produkte .tr{
    display: inline-grid;
    float: left;
}

.modal #data-table-produkte .th, 
.modal #data-table-produkte .td{
  flex: auto;
  display: inline-flex;
  height: 44px;
}


/* anzahl */
.modal #data-table-produkte .anzahl{
    max-width: 70px;
    text-align: center;
}
.modal #data-table-produkte .anzahl input{
    width: 50px;
    padding: 0;
}

/* einheit */
.modal #data-table-produkte .einheit{
    max-width: 170px;
    text-align: center;
}

.modal #data-table-produkte .einheit select{
    width: 150px;
    padding: 0;
}

/* Bezeichnung */
.modal #data-table-produkte .bezeichnung{
    max-width: 320px;
    text-align: center;
}
.modal #data-table-produkte .bezeichnung input{
    width: 320px;
    padding: 0;
}

/* Nummer */
.modal #data-table-produkte .nummer{
    max-width: 120px;
    text-align: center;
}
.modal #data-table-produkte .nummer input{
    width: 100px;
    padding: 0;
}

/* EK Preis Netto */
.modal #data-table-produkte .ekpreis{
    max-width: 130px;
    text-align: center;
}
.modal #data-table-produkte .ekpreis input{
    width: 80px;
    padding: 0;
}

.modal #data-table-produkte .programm{
    width: 340px;
    max-width: 340px;
    float: right;
}

.modal #data-table-produkte .programm{
    width: 340px;
    max-width: 340px;
    float: right;
}

.modal #data-table-produkte .programm{
    width: 340px;
    max-width: 340px;
    float: right;
}

.modal #data-table-produkte .programm .pbe{
    margin: 0.3rem;
}

.modal #data-table-produkte .programm label{
    min-width: 80px;
}

/* ---------------- Stückgutartikel ------------*/
/*.modal #data-table-stueckgut.table.tabel-access-bistro-artikelliste.stueckgut-artikel div.thead div.tr div.th.ekpreis*/

/* tabelle  */
.modal #data-table-stueckgut{
    width: 100%;
    flex: fit-content;
}

.modal #data-table-stueckgut.table{
  width: 100%;
  flex: fit-content;
  display: inline-table;
}

.modal #data-table-stueckgut .tr{
    display: inline-grid;
    float: left;
}

.modal #data-table-stueckgut .th, 
.modal #data-table-stueckgut .td{
  flex: auto;
  display: inline-flex;
  height: 44px;
}

/* Bezeichnung */
.modal #data-table-stueckgut .bezeichnung{
    max-width: 320px;
    text-align: center;
}
.modal #data-table-stueckgut .bezeichnung input{
    width: 320px;
    padding: 0;
}

.modal #data-table-produkte-stueckgut .element-artikel-check {
    float: left;
    margin-right: 1rem;
    width: 100%;
    height: auto;
    padding: inherit;
      padding-left: inherit;
    padding-left: 1rem;
    cursor: pointer;
}



.edit-artikel, .delete-artikel{
    cursor: pointer;
}

.next-left{
    float:left;
}

/*************** stückliste **************/

.stueckgut-liste{
    display: inline-flex;
}

.stueckgut-liste #data-table-produkte{
    display: block;
}

#stueckliste-add{
    flex: auto;
}

.stueckgut-liste #data-table-produkte tr{
    display: inline-flex;
}

.stueckgut-liste #data-table-produkte td:nth-child(1),
.stueckgut-liste #data-table-produkte th:nth-child(1) {
        text-align: center;
        width: 100px;
        /* Breite festlegen */
        max-width: 100px;
        word-wrap: break-word;
        
       
    } 
.stueckgut-liste #data-table-produkte td input{
            width: 50px;
    }

.stueckgut-liste #data-table-produkte td:nth-child(1) {
        font-size: small;
    }

.stueckgut-liste #data-table-produkte td:nth-child(2),
.stueckgut-liste #data-table-produkte th:nth-child(2) {
        text-align: center;
        width: 70px;
        /* Breite festlegen */
        max-width: 70px;
        word-wrap: break-word;
    }

.stueckgut-liste table#data-table-produkte tbody tr td form input#name {
        width: 50px;
        text-align: center;
    }

.stueckgut-liste #data-table-produkte td:nth-child(3),
.stueckgut-liste #data-table-produkte th:nth-child(3) {
        text-align: center;
        width: 380px;
        /* Breite festlegen */
        max-width: 400px;
        word-wrap: break-word;
    }

.stueckgut-liste #data-table-produkte td:nth-child(4),
.stueckgut-liste #data-table-produkte th:nth-child(4) {
        width: 100px;
        /* Breite festlegen */
        max-width: 100px;
        word-wrap: break-word;
    }

.stueckgut-liste #data-table-produkte td:nth-child(5),
.stueckgut-liste #data-table-produkte th:nth-child(5) {
        text-align: center;
        width: 100px;
        /* Breite festlegen */
        max-width: 100px;
        word-wrap: break-word;
    }

.stueckgut-liste #data-table-produkte td:nth-child(6),
.stueckgut-liste #data-table-produkte th:nth-child(6) {
        text-align: center;
        width: 100px;
        /* Breite festlegen */
        max-width: 100px;
        word-wrap: break-word;
    }

.stueckgut-liste #data-table-produkte td:nth-child(7),
.stueckgut-liste #data-table-produkte th:nth-child(7) {
        text-align: center;
        width: 50px;
        /* Breite festlegen */
        max-width: 50px;
        word-wrap: break-word;
    }

/* ---------------------  Wizard Styles -----------------------*/
.wizard {
    max-width: 600px;
    margin: 20px auto;
    background-color: #073642;
    padding: 20px;
    border-radius: 5px;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

.wizard h2 {
    color: #93a1a1;
}

.wizard p {
    color: #839496;
}

.wizard button {
    background-color: #268bd2;
    color: #fdf6e3;
    padding: 10px 15px;
    border: none;
    margin: 5px;
    cursor: pointer;
}

.wizard button:hover {
    background-color: #2aa198;
}

.wizard input[type="date"] {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background-color: #002b36;
    border: 1px solid #586e75;
    color: #839496;
    border-radius: 3px;
}

/*

.link-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #268bd2;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.link-button:hover {
    background-color: #2aa198;
}
    */
.link-button {
    background-color: #268bd2;
    color: #fdf6e3;
    padding: 10px 15px;
    border: none;
    margin: 5px;
    cursor: pointer;
}

/* Wizard grid */
.parent {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 8px;
}



.div3 {
    grid-row-start: 2;
}

.div4 {
    grid-row-start: 2;
}

#sprit table .element-block {
    width: 50% !important;
}

#sprit table .element-block .diesel {
    width: 10% !important;
}

#sprit table .element-block .e5 {
    width: 10% !important;
}

/************** LOADING *************/

.loading {
    display: none;
    width: 100%;
    height: 100%;
    background-color: white;
    position: absolute;
    z-index: 10000;
    content: "LOADING";
    top: 0px;
    background-image: url(../images/banner-background.jpg);
    background-position: bottom center;
    background-repeat: no-repeat;
}

.loadingtext {
    background-image: url(../images/loading.png);
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

#myProgress {
    position: relative;
    top: 48%;
    width: 386px;
    margin-right: auto;
    margin-left: auto;
    left: -27px;
}

#myBar {
    width: 1%;
    height: 30px;
    background-color: #4CAF50;
}

#myBarText {
    float: left;
    text-align: center;
    width: 390px;
    position: relative;
    top: -19px;
}