html, body {
    font: 100.01% Verdana, Arial, Helvetica, sans-serif;
    width: 100%;
    height: 100%;
    background-color: darkgray;
}

* {
    margin:0;
    padding:0;
    outline: none;
}

header {
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    color: #ffffff;
    background-color: #222244;
    font: 1em arial;
    z-index:1001;
}

#titel{
    height: 1.5em;
    border-bottom: solid .1em #ffffff;
}

/*Hauptmenue*/
.mainMenu {
    margin: 0;
    padding: 0.4em;
    width: 10em;
    border: none;
    border-bottom: solid 0.2em #222244;
    font: 0.8em arial;
    background-color: darkgrey; 
}

.hiddenMainMenu {
    margin: 0;
    padding: 0;
    width: 0em;
    border: none;
    border-bottom: solid 0.2em #222244;
    font: 0.8em arial;
    background-color: darkgrey; 
    visibility: collapse;
}

.aktiveMainMenu {
    margin: 0;
    padding: 0.4em;
    width: 10em;
    border: none;
    border-bottom: solid 0.2em buttonface;
    font: 0.8em arial;
    font-weight: bold;
    background-color: buttonface; 
}


/*IconLeiste*/
#iconbar{
    background-color: buttonface; 
    color: black; 
    padding: .2em 0em .8em 0em;
    font: 0.8em arial;
    height: 4.8em;
    max-height: 4.8em;
    overflow: hidden;
}

.menuicon{
    margin: 0;
    width: 5.8em;
    height: 1.8em;
    padding: .2em;
    border-style: none;
    font: 1em arial;
    text-align: left;
    vertical-align: top;
    color: black;
    background-color: buttonface; 
}

.menuicon_inaktiv{
    margin: 0;
    width: 5.8em;
    height: 1.8em;
    padding: .2em;
    border-style: none;
    font: 1em arial;
    text-align: left;
    vertical-align: top;
    color: lightgrey;
    background-color: buttonface; 
}

.menucheckboxicon{
    margin: 0;
    width: 9em;
    height: 1.8em;
    padding: .2em;
    border-style: none;
    font: 1em arial;
    text-align: left;
    vertical-align: top;
    background-color: buttonface; 
}

.iconBarTable{
    padding-left: .4em;
    padding-right: .4em;
    height: 5.3em;
    border-right: activeborder solid thin;
    display: inline-block;
    border-color: darkgray;
}

.smallIcon{
    height: 1.2em;    
}

.bigIcon{
    height: 3em;
}

.smallInput{
    width:2em;
    text-align: right;
}

/*Content*/
#inhalt {
    margin: 0;
    padding: 0;
    margin-top: 13.4em;
    font-size: .8em;
}


#filter:hover {
    left: 0px;
    transition: all .2s ease-out .5s;
}

#filter {
    position:fixed;
    top: 115px;
    left: -185px;
    width: 170px;
    height: 100%;
    text-align: left;
    padding-left: 16px;
    background-color: #003476;
    box-shadow: 4px 0px 4px black;
    transition: all .2s ease-out;
}

#fussbereich {
    clear: both;
    background-color: #C4CED3;
}

#tabAuftrag {
    border: 1px solid lightgrey;
    width: 100%;	
    /* white-space: nowrap; */
    border-collapse: collapse;
    background-color: white;
}

#tabAuftrag tr, #tabAuftrag td {
    border: 1px solid lightgrey; 
    /*transition: ease-out .5s;*/
} 

#tabAuftrag tr:hover{
    background-color: #bbbbff;
}

img {
    vertical-align:bottom; /* Entfernt den Abstand der Bilder unten*/
}

#tabAuftrag_kopf {
    top: 75px;
    border: 1px solid grey;
    background-color: #ee7f00;
    color: #ffffff;
    width: 100%;
    border-collapse: collapse;
    font: .8em arial, sans-serif;
} 

#tabAuftrag_kopf, #tabAuftrag_kopf th {
    border: 1px solid grey;
    background-color: #ee7f00;
    height: 48px;
} 

#myprompt{
    position:fixed;
    top:-20px;
    left:-20px;
    width:0px;
    height:0px;
    z-index:2000;
    font: 16px arial, sans-serif;
    background-color:#ee7f00;
    box-shadow: 4px 6px 10px black;
    overflow: hidden;
    border-width:thin;
    border-style: outset;
    text-align: center;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
}

#chatarea{
    border-radius: 2px; 
    width: 98%; 
    height: 70%; 
    background:#ffffff; 
    align-content: center;
    text-align: center;
    overflow-y: scroll;
}

.chatbubble{
    background: #ee7f00;
    width: 80%;
    border-radius: 30px 10px;
    padding:0px 15px 10px 15px;
    margin: 10px auto;
}

#newChatItem{
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.chatPicture{
    width: 14em;
    border: 1px solid #000;
    margin: 10px 5px 0 0;
}

.title{
    width:100%;
    color:#ffffff;
    background: #003476;
    margin-bottom: 16px;
    padding: 0px;
}

#info{
    position:fixed;
    display: none;
    top:8em;
    left:4em;
    z-index:1002;
    padding-top: 0px;
    font: 16px arial, sans-serif;
    background-color: #ccccff;
    overflow: auto;
    border-width:thin;
    border-style: outset;
    text-align: center;
}

#counter{
    position:fixed;
    top:3em;
    right:.4em;
    width: 10em;
    font-size: .8em;
    height: 1.2em;
    z-index:1003;
    color: white;
    overflow: hidden;
    text-align: right;
}

#shadow{
    position:fixed;
    top:0px;
    left:0px;
    width:0px;
    height:0px;
    z-index:1998;
    background-image:url('img/transparent.png');
}

#wait{
    position:fixed;
    visibility: hidden;
    top:0px;
    left:0px;
    width:0px;
    height:0px;
    z-index:1999;
    background-image:url('img/transparent.png');
    text-align: center;
}

#wait_img{
    position: relative;
    top: 50%;
}

#celloZeit, #hmZeit{
    color: #000000;
    background-color: #ccccff;
    border-width: thin;
    border-style: inset;
}

#tabAuftragFilter{
    visibility: collapse;
    white-space: nowrap;
}

input, textarea, select{
    font: 16px arial, sans-serif;
    border: 1px solid black;
}

button{
    font: 16px arial, sans-serif;
}

.aktiviert{
    background: #ccccff;
}

.deaktiviert{
    background: #ffffff;
}

blink {
    animation: blinker 1s linear infinite;
}
@keyframes blinker {  
    50% { opacity: 0.5; }
}



/*    Login-Bereich   */

#pin {
    margin-left: 10px;    
}

#pin td{
    height: 60px;    
    width: 60px;
    background-color: #ffffff;
}


#pin td:active {
    background-color: #003476;
}

#lieferschein {
    width: 96%;
    height: 580px;
    /*    width: 256px;
        height: 220px;
    */
    background-color: #ffffff;
    border: black medium inset;
    overflow: scroll;
}

/*+++++++ Planhelper +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#copytext{
    width:90%;
    height: 50em;
    overflow-y:scroll;
}

#planhelper {
    width:100%; 
    background-color:white;
    border: 1px solid black; 
    border-collapse: collapse;
}

#planhelper th, #planhelper td{
    border: 1px solid black;
}






/*+++++++ Rechnungen +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#listRechnungen{
    margin: 0px 2px 8px 2px;
    padding: 0px;
    height: 97.5%;
    background: #222244;
    border-style: inset;
    overflow-y: auto;
}

#showRG{
    width: 100%;
    height: 100%;
}


.rgListItem{
    margin: 2px;
    overflow: hidden;
    background-color: white;
    border: #000000 solid thin;
    text-align: right;
    padding-right: 2px;
}

/*+++++++ Handarbeit +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

#listJobs{
    position: fixed;
    top: 11em;
    left: 0px;
    bottom: 0px;
    margin-left: 0px;
    height: calc(100vh-11em);
    width: 22em;
    padding: 0px;
    background-color: #222244;
    overflow-y: scroll;
}


#listMA{
    position: fixed;
    top: 11em;
    right: 0px;
    bottom: 0px;
    margin-right: 0px;
    height: calc(100vh-11em);
    width: 22em;
    padding: 0px;
    background-color: #222244;
    overflow-y: scroll;
}

#hmContent{
    margin-left: 3em;
    margin-top: 1em;
    margin-right: 18em;
    min-width: 40em;
    font-size: 16px;
    font-weight: bold;
}

#hmPersonal{
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    width: 100%;
    min-height: 10em;
    padding-left: .5em;
}


#hmPersonalHistory{
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    width: 100%;
    min-height: 10em;
    padding-left: .5em;
}


.listItem{
    background-color: buttonface;
    height: 4em;
    width: 16em;
    margin: .5em;
    padding: .4em;
    border-style: outset;
    font: 14px arial;
    overflow: hidden;
}

.listItemDark{
    background-color: lightblue;
    height: 4em;
    width: 16em;
    margin: 1em;
    padding: .4em;
    border-style: outset;
    font: 14px arial;
    overflow: hidden;
}

.listItemDetail{
    background-color: buttonface;
    height: 16em;
    width: 18em;
    margin: 1em;
    padding: .4em;
    border-style: outset;
    font: 14px arial;
    overflow: hidden;
}

.listItemDetailTable{
    height: 11em;
    overflow-y: auto;
}

.listItemDetailTable input{
    width: 40px;
    text-align: right;
    padding-bottom: .2em;
}

.closeBtn{
    float: right;
}










/*------------.........Autocomplete----------------------------------------------------------------------------*/

.autocomplete {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    background-color: buttonface;
    width: 100%;
}

#searchAuftrag {
    border: 1px solid transparent;
    background-color: white;
    padding: 4px 8px 4px 8px ;
    font-size: 16px;
    margin-top: 3px;
    margin-bottom: 4px;
    width: 80%;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 32px;
    right: 0;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff; 
    border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
    background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
    background-color: DodgerBlue !important; 
    color: #ffffff; 
}





/*+++++++ Cello +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#celloContent{
    margin-left: 3em;
    margin-top: 1em;
    margin-right: 18em;
    font-size: 16px;
    font-weight: bold;
}

#celloPersonal{
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    width: 100%;
    padding-left: .5em;
}

#celloPersonalHistory{
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    width: 100%;
    padding-left: .5em;
}

.btnReste{
    float:right;
    padding:0px 4px 0px 4px;
    border:0;
    margin:0;
    font-weight:bold;
    background-color: #C4CED3;
}

.btnReste:hover {
    background-color: #003476;
    color: white;
}

.restepalette{
    margin: .2em;
    height: 3.6em;
    width: 3.6em;
    float: left;
    background-color: white;
    border: 1px solid black;
    font-size: 1em;
    text-align: center;
    background-image: url('img/palette_in_grey.png');
    background-repeat: no-repeat;
    background-size: 2.4em 2.4em;
    background-position: bottom;
}

.aktive_restepalette {
    margin: .2em;
    height: 3.6em;
    width: 3.6em;
    float: left;
    color: white;
    background: #222244;
    border: 1px solid white;
    font-size: 1em;
    font-weight: bolder;
    text-align: center;
    background-image: url('img/palette_in.png');
    background-repeat: no-repeat;
    background-size: 3em 3em;
    background-position: bottom;
}
.restepalette:hover{
    color: white;
    font-weight: bolder;
    background: #333355;
    border-color: white;
    background-image: url('img/palette_in.png');
    background-repeat: no-repeat;
    background-size: 3em 3em;
    background-position: bottom;
}



/*+++++++ Rechnungen +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#listRechnungen{
    margin: 0px 2px 8px 2px;
    padding: 0px;
    height: 97.5%;
    background: #222244;
    border-style: inset;
    overflow-y: auto;
}

#showRG{
    width: 100%;
    height: 100%;
}


.rgListItem{
    margin: 2px;
    overflow: hidden;
    background-color: white;
    border: #000000 solid thin;
    text-align: right;
    padding-right: 2px;
}




/*+++++++ Statistik  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

#stat_content{
    margin-top: -4em;
    margin-left: 22em;
    width: 80%;
}

.statChartDiv{
    width: 40%;
    float: left;
    padding: 4em;
    font-size :1.5em;
    font-weight: bold;
}





/*+++++JobPlan+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

#leftSide{
    position: fixed;
    width: 240px;
    float:left;
    height:85vh;
    background: #003476;
}

#jobList{
    margin: 0px 2px 8px 2px;
    padding: 0px;
    height: 98%;
    background: #ffffff;
    border-style: inset;
    overflow-y: auto;
}

.jobListItem{
    margin: 2px;
    overflow: hidden;
    background: url(img/white.png) no-repeat bottom right;
    background-color: #ee7f00;
    border: #000000 solid thin;
}

#content{
    margin: 0;
    padding: 0;
    width: 100%;
    margin-left: 240px; 
    width: calc(100% - 240px); 
    float:left;
}

#plantab{
    width: 100%; 
    vertical-align: top;
    border-collapse: collapse;
}

.tag{
    vertical-align: top;
    border-top: 1px solid #ffffff;
    color: #ffffff;
    background: #003476;
}

.zeit{
    vertical-align: top;
    border-top: 1px solid #ffffff;
    color: #ffffff;
    background: #003476;
}

.perso{
    vertical-align: top;
    border: 2px inset #003476;
    border-top: 2px solid #003476;
    color: #000000;
    background: #ffffff;
}

.spur{
    vertical-align: top;
    border: 1px solid #000000;
    width: 12%;
    min-height: 4.8em;
    height: 4.8em;
}

.jobItem{
    overflow: hidden;
    border: #003476 solid thin;
    background-color: #ee7f00;
}

.jobItem_active{
    position: absolute;
    width: calc(12% - 48px);
    margin-left: 2px;
    opacity: .8;
}

/* Teileintrag zum Auftrag gehörend */
.jobItemSelected{
    background-color: #ccccff;
}

/* Teileintrag zum Auftrag gehörend und Aktiv(ausgewählt) */
.activejobItemSelected{
    background-color: #aaaaff;
}

.jobItemDetails table, .jobItemDetails t, .jobItemDetails td{
    border: none;
    border-collapse: collapse;
    text-align: right;
    width: 100%; 
}

.jobItemDetails tr{
    min-height: min-content;
    height: auto;    
}

.delJobItem {
    height: 16px;
    width: 16px;
}








.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1005;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}