html, body {
    margin: 0px;
    padding: 0px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12pt;
    line-height: 1.4;
    background-color: rgb(36,45,56);
    color: rgb(255,255,255);
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    
    overscroll-behavior: auto;
}

html {
    height: 100%;
    width: 100%;
    position: fixed;
    overflow-y: scroll;
    overscroll-behavior: auto;
}

body {
    height: 100%;
    width: 100%;
    position: fixed;
    overflow-y: scroll;
    overscroll-behavior: auto;
}

ul#sitemap
{
    margin:0px;
    padding:16px;
    position:absolute;
    left:0px;
    top:0px;
    bottom:0px;
    right:0px;
    overflow-y:auto;
    list-style:none;
    user-select:none;
    -webkit-user-select:none;
    -moz-user-select:none;
    z-index:50;
}

ul#sitemap > li
{
    margin:0px;
    padding:8px;
    font-size:15pt;
    border-bottom:1px solid rgb(56,66,79);
}

ul#sitemap > li:first-child {
    padding: 0;
}

ul#sitemap > li:first-child > ul {
    margin: 0;
    padding: 0;
    width: 100%;
    list-style: none;
    display: flex;
    align-items: stretch;
    margin-bottom:8px;
}

ul#sitemap > li:first-child > ul:last-child {
    margin-bottom: 16px;
}

    ul#sitemap > li:first-child > ul > li {
        margin: 0;
        padding: 0;
        width: 100px;
        text-align: center;
        font-size: 13pt;
        background-color: rgb(41,51,64);
        margin-right: 8px;
        flex-grow: 1;
        padding-top: 12px;
        padding-bottom: 12px;
        border-radius: 2px;
        vertical-align: middle;
    }

ul#sitemap > li:first-child > ul > li.come {
    background-color: rgb(24,185,24);
    border:1px solid rgb(46,205,46);
}

ul#sitemap > li:first-child > ul > li.manlogout {
    background-color: rgb(154,188,255);
    border: 1px solid rgb(255,255,255);
}

ul#sitemap > li:first-child > ul > li.leave {
    background-color: rgb(188,29,73);
    border: 1px solid rgb(198,53,93);
}

ul#sitemap > li:first-child > ul > li.pause {
    background-color: rgb(0,130,153);
    border: 1px solid rgb(26,143,163);
}

ul#sitemap > li:first-child > ul > li.homecost {
    background-color: rgb(247,166,52);
    border: 1px solid rgb(26,143,163);
}

ul#sitemap > li:first-child > ul > li:active {
    background-color: rgb(46,141,239);
    border: 1px solid rgb(67,153,241);
}

        ul#sitemap > li:first-child > ul > li.StampDisabled {
            pointer-events: none;
            cursor: not-allowed;
            background-color: rgb(102,102,102);
            border: 1px solid rgb(120,120,120);
            animation: pulse 3s infinite;
        }

@keyframes pulse {
    0% {
        background-color: #B5B9B3;
        border-radius: 150px;
    }

    100% {        
        background-color: #454646;
        border-radius: 1px;
    }
}

ul#sitemap > li:first-child > ul > li:last-child {
    margin: 0px;
}

ul#sitemap > li:first-child > ul > li.currentauftrag {
    text-align: left;
    padding-top: 0px;
    padding-bottom: 0px;
}

ul#sitemap > li.action:active {
    background-color: rgb(46,141,239);
}




input.search {
    background-image:url(../Assets/SearchWhite.png);
    background-repeat:no-repeat;
    background-position:8px center;
    padding-left:34px;
}

input:invalid {
    background-color: #ff6666;
    border-color: RGB(255,0,0);
    box-shadow: none;
}

input:-moz-submit-invalid {
    background-color: #ff6666;
    border-color: RGB(255,0,0);
    box-shadow: none;
}

input:-moz-ui-invalid {
    background-color: #ff6666;
    border-color: RGB(255,0,0);
    box-shadow: none;
}



div.login {
    /*background-color:rgb(41,51,64);*/
    position: absolute;
    left: 20px;
    top: 20px;
    right: 20px;
    bottom: 20px;
}

div.login > form
{
    width:100%;
}

div.login h1 {
    margin:0px;
    padding:0px;
    display:block;
    margin-bottom:16px;
}


div.login label {
    margin:0px;
    padding:0px;
    display:block;
    margin-bottom:8px;
}

div.login input {
    margin: 0px;
    padding: 8px;
    display: block;
    font-size: 13pt;
    width: calc(100% - 16px);
    color:rgb(255,255,255);
    background-color: rgb(90,90,90);
    background-color: rgb(61,71,84);
    border-radius: 4px;
    margin-bottom: 8px;
    border: 0;
}

div.login button {
    margin:0px;
    padding:8px;
    display:block;
    font-size:13pt;
    border-radius:4px;
    width:100%;
    border:0;
    background-color:rgb(255,255,255);
    color: black;
}

span {
    margin: 0px;
    padding: 8px;
    font-size: 13pt;
}

img {
    width: 100%;
    height: auto;
}

.imgSmall {
    width: 100%;
    height: auto;
    transition: ease-out 0.5s;
    overflow-x: hidden;
}

.imgFull {
    height: 150%;
    width: auto;
    overflow-x: scroll;
}


video {
    width: 100%;
    height: auto;
}


#btTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    font-size: 10px;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
    opacity: 0.6;
    filter: Alpha(opacity=60); /* IE8 and earlier */
}

#btTop:hover {
    background-color: #555;
}

@media screen and (min-width: 640px) {
    div.login
    {
        width:300px;
        left:calc(50% - 150px);
    }

}


@media screen and (min-width: 640px) {

    ul#sitemap {
        box-sizing: border-box;
        right: unset;
        width: 300px;
    }
}


@media print {

    div.page {
        margin:0px;
        width:128mm;
    }
}

web-panel.scrollpanel {
    overflow-y: auto;
}


body > h2 {
    position: absolute;
    left: 0px;
    bottom: 0px;
    right: 0px;
    font-size: 8pt;
    text-align: right;
    padding: 10px;
    background-color: rgb(56,65,76);
    margin: 10px;
}
web-confirm {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 2000;
    background-color: rgba(100,100,100,0.6);
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    display:none;
}

web-confirm > div {
    padding: 16px;
    position: absolute;
    background-color: RGB(255,255,255);
    background-color: rgb(51,61,74);
    border: 1px solid rgb(71,81,94);
    width: 300px;
    box-shadow: 0px 0px 16px RGBA(0, 0, 0, 0.5);

    left: calc(50% - 166px);
    min-height: 28px;
    top: 0px;


    visibility: hidden;
}

web-confirm > div > button {
    padding:6px;
    background-color: rgb(24,185,24);
    border: 1px solid rgb(46,205,46);    
    font-size: 14pt;
    margin-top: 15px;
    min-width: 100px;    
    border-radius: 4px;
    color: rgb(255,255,255);
}

web-confirm > div > button:last-child {
    padding:6px;
    background-color: rgb(188,29,73);
    border: 1px solid rgb(198,53,93);
    float: right;
    margin-right: 16px;

}

web-confirm > div > h1 {
    margin: 0px;
    padding: 0px;
    display: block;
    margin-bottom: 2px;
    border-bottom: 1px solid rgb(71,81,94);
    color: rgb(255,255,255);
    padding-bottom: 4px;
    font-weight: bold;
    font-size: 14pt;
}

web-confirm > div > textarea {
    margin: 0px;
    padding: 0px;
    display: block;
    color: RGB(220,220,220);
    margin-top: 8px;
    margin-bottom: 12px;
    width: 100%;
    background: rgb(235,235,235);
    resize: none;
    border: 0px;
}

web-confirm > div > label {
    margin: 0px;
    padding: 0px;
    display: block;
    color: RGB(255,255,255);
    margin-top: 8px;
    margin-bottom: 12px;
}

web-confirm.show {
    display:block;
}

web-confirm.show > div {
    visibility: visible;
    animation: fadeIn 0.5s ease;
    -webkit-animation: fadeIn 0.5s ease;
}




@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate(0px, 50px) scale(0.5, 0.5);
    }

    100% {
        opacity: 1;
        transform: translate(0px, 0px);
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate(0px, 50px) scale(0.5, 0.5);
    }

    100% {
        opacity: 1;
        transform: translate(0px, 0px);
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate(0px, 50px) scale(0.5, 0.5);
    }

    100% {
        opacity: 1;
        transform: translate(0px, 0px);
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate(0px, 50px) scale(0.5, 0.5);
    }

    100% {
        opacity: 1;
        transform: translate(0px, 0px);
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translate(0px, 50px) scale(0.5, 0.5);
    }

    100% {
        opacity: 1;
        transform: translate(0px, 0px);
    }
}




web-overlay {
    position: fixed;
    z-index: 1000;
    left: 16px;
    top: 16px;
    bottom: 16px;
    right: 16px;
    background-color: rgb(36,45,56);
}

web-overlay > h1 {
    margin: 8px 16px 8px 16px;
    padding: 8px;
    font-size: 14pt;
    border-bottom: 1px solid rgb(76,96,99);
}
@-moz-keyframes aspin {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes aspin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes aspin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


web-reload {
    position: fixed;
    left: calc(50% - 32px);
    top: 0px;
    width: 60px;
    height: 60px;
    background-color: rgba(61,71,84,0.8);
    border-radius: 50%;
    visibility: hidden;
    z-index: 1000;
}

web-reload > div {
    display:block;
    height:60px;
    border-radius: 50%;
    font-size:8pt;
    border: 5px solid rgb(95,192,254);
    border-color: rgb(95,192,254) transparent rgb(95,192,254) transparent;
    box-sizing:border-box;
    line-height:50px;
    text-align:center;
    color:rgb(255,255,255);
}


web-reload.show {
    visibility:visible;
}

    web-reload.show > div {
        -webkit-animation: aspin 1.5s infinite;
        -moz-animation: aspin 1.5s infinite;
        -o-animation: aspin 1.5s infinite;
        animation: aspin 1.5s infinite;
    }web-split
{
    display:table;
    width:100%;
}

web-split > *
{
    display:table-cell;
}

web-split > label {
    vertical-align:middle;
}web-switcher {
    margin: 0px;
    padding: 4px;
    /*display: block;*/
    min-height: 30px;
    position: relative;
    background-color: rgb(31,41,54);
    border-radius: 15px;
    width: 80px;
    float: right;
    border: 2px solid rgb(56,66,79);
}

web-switcher > span {
    margin: 0px;
    padding: 0px;
    position: absolute;
    top: 4px;
    left: 2px;
    height: 30px;
    width: 30px;
    border-radius: 15px;
    background-color: rgb(106,125,126);
    -webkit-transition: .4s;
    transition: .4s;
}


    web-switcher > span[checked="true"] {
        -webkit-transform: translateX(50px);
        -ms-transform: translateX(50px);
        transform: translateX(50px);
        background-color: rgb(0,122,204);
    }

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
      border-radius: 50%;
}


web-toast {
    position: fixed;
    min-width: 200px;
    width: 200px;
    left: calc(50% - 113px);
    box-shadow: 0px 0px 16px RGBA(0, 0, 0, 0.5);
    border-radius: 3px;
    color: rgb(255,255,255);
    font-size: 11pt;
    padding: 12px;
    z-index: 1100;
    opacity: 0;
    display: hidden;
    top: 40px;
}

    web-toast.show {
        opacity: 1;
        background-color: rgb(20, 135, 219);
        -webkit-animation: fadein 0.5s;
        animation: fadein 0.5s, fadeout 0.5s 3.5s;
        border: 1px solid rgb(2, 105, 189);
    }

    web-toast.error {
        opacity: 1;
        background-color: rgb(255, 0, 0);
        -webkit-animation: fadein 0.5s;
        animation: fadein 0.5s, fadeout 0.5s 3.5s;
        border: 1px solid rgb(128,0,0);
    }

@-webkit-keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 40px;
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 40px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        top: 40px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        top: 40px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}


web-view {
    background-color: rgb(41,51,64);
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    visibility: hidden;
    z-index: 100;
}

web-view > h1 {
    margin: 8px 16px 8px 16px;
    padding: 8px;
    font-size: 15pt;
    border-bottom: 1px solid rgb(76,96,99);
}

web-view > input {
    margin: 0;
    padding: 8px;
    margin-left:16px;
    margin-right:16px;
    background-color: rgb(31,41,54);
    box-sizing:border-box;
    border-radius:4px;
    color:rgb(255,255,255);
    width:calc(100% - 32px);
    border:0;
}

web-view.front {
    visibility: visible;
    z-index: 110;
}

web-view > web-panel {
    position:absolute;
    top:62px;
    left:16px;
    right:16px;
    bottom:16px;
    z-index: 100;
    /*background:rgb(100,100,100);*/
}

web-view > section {
    position: absolute;
    top: 62px;
    left: 16px;
    right: 16px;
    height: 32px;
    /*background:rgb(100,100,100);*/
}

web-view > section > button {
    border: 0;
    padding: 6px;
    color: rgb(95,192,254);
    background-color: rgb(61,71,84);
    margin-right: 4px;
    border-radius: 16px;
    font-size: 10pt;
}




web-view > div.breadcrumbNavigation {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 16pt;
    font-weight: bold;
}

web-view > div.breadcrumbNavigation button {
    background: transparent;
    color: rgb(255,255,255);
    border: 0;
    padding: 8px;
    margin: 4px;
    font-size: 16pt;
    font-weight: bold;
}

web-view > div.breadcrumbNavigation button:hover {
    color: rgb(180,180,180);
    border: 0;
    padding: 8px;
    }





web-view > web-panel > ul {
    margin: 0;
    padding: 0;
    list-style: none;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    overflow-x: hidden;
    overflow-y: auto;
}

web-view > web-panel > ul .horizontalScroll {
    overflow-x: scroll;
}

web-view > web-panel > ul > li {
    display: block;
    padding: 8px;
    font-size: 12pt;
    border-bottom: 1px solid rgb(56,66,79);
}

web-view > web-panel > ul > li.action {
     font-size: 18pt;
}

web-view > web-panel > ul > li.action:active {
    background-color: rgb(46,141,239);
}

web-view > web-panel > ul > li > label {
    color: rgb(156,166,179);
    display: block;
}

web-view > web-panel > ul > li > label.time {
    color: rgb(95,192,254);
    display:inline-block;
    float:right;
}


web-view > web-panel > ul > li > button {
    border: 0;
    padding:6px;
    margin-top:4px;
    color: rgb(95,192,254);
    background-color: rgb(61,71,84);
    margin-right:4px;
    border-radius: 4px;
    font-size: 10pt;
}

    web-view > web-panel > ul > li > input[type=checkbox] {
        display:inline;
        margin-right:8px;
    }

web-view > web-panel > ul > li > table {
    width: 100%;
    border-collapse: collapse;
    color: rgb(156,166,179);
}

web-view > web-panel > ul > li > table tr:nth-child(2) {
    color: rgb(95,192,254);
}


web-view > web-panel > ul > li > label:first-child {
    color: rgb(255,255,255);
}

    web-view > web-panel > ul > li > a {
        font-size: 12pt;
        color: rgb(95,192,254);
        text-decoration:none;
        display: block;
    }

web-view > web-panel > ul > li > label > img {
    margin:0;
    display: block;
    max-width:100%;
    margin-top:6px;
    margin-bottom:6px;
}




web-view > web-panel > h2 {
    margin: 0;
    padding: 8px;
    display: block;
    padding-bottom:0px;
    color: rgb(255,255,255);
    font-size: 12pt;
}

web-view > web-panel > h3 {
    margin: 0;
    padding: 8px;
    display: block;
    padding-top:0px;
    color: rgb(95,192,254);
    font-size: 12pt;
}

web-view > web-panel > h4 {
    margin: 0;
    padding: 8px;
    display: block;
    margin-top:8px;
    padding-top: 0px;
    color: rgb(95,192,254);
    font-size: 12pt;
}


web-view > web-panel > select {
    margin: 0;
    padding: 8px;
    display: block;
    background-color: rgb(31,41,54);
    box-sizing: border-box;
    border-radius: 4px;
    color: rgb(255,255,255);
    /*width: calc(100% - 32px);*/
    font-size: 12pt;
    width: 100%;
    border: 0;
}


web-view > web-panel select {
    margin: 0;
    padding: 8px;
    display: block;
    background-color: rgb(31,41,54);
    box-sizing: border-box;
    border-radius: 4px;
    color: rgb(255,255,255);
    /*width: calc(100% - 32px);*/
    font-size: 12pt;
    width: 100%;
    border: 0;
}


web-view > web-panel > input {
    margin: 0;
    padding: 8px;
    display: block;
    background-color: rgb(31,41,54);
    box-sizing: border-box;
    border-radius: 4px;
    color: rgb(255,255,255);
    width: calc(100% - 32px);
    font-size: 12pt;
    width: 100%;
    border: 0;
}

web-view > web-panel input {
    margin: 0;
    padding: 8px;
    display: block;
    background-color: rgb(31,41,54);
    box-sizing: border-box;
    border-radius: 4px;
    color: rgb(255,255,255);
    width: calc(100% - 32px);
    font-size: 12pt;
    width: 100%;
    border: 0;
}

    web-view > web-panel > textarea {
        border: 0px;
        resize: none;
        width: calc(100% - 16px);
        height: calc(30%);
        background-color: rgb(31,41,54);
        color:rgb(255,255,255);
        padding:10px;
    }


    web-view > web-panel > button {
        border: 0;
        color: rgb(95,192,254);
        background: transparent;
        font-size: 12pt;
    }

web-view > web-panel > button.right {
    margin-top:12px;
    float:right;
}

web-view > web-panel > button.left {
    margin-top:12px;
    float: left;
}


web-view > web-panel > button:active {
    background-color: rgb(71,81,94);
}




web-view > web-panel.search {
    top: 102px;
}

web-view > button.back {
    position: absolute;
    right: 16px;
    top: 12px;
    width: 30px;
    height: 30px;
    border: 0;
    outline: 0;
    text-align: center;
    background-color: rgb(61,71,84);
    background-image: url(../Assets/Home.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 26px;
    border-radius: 2px;
}

web-view > button.back:hover {
    background-color: rgb(39,118,236);
}
web-view > button.back:active {
    background-color: rgb(39,118,236);
}


web-view table {
    border:0;
    width:100%;
    border-collapse:collapse;
}

    web-view table label {
        display: block;
        padding: 8px;
        font-size: 12pt;
    }

web-view table input {
    margin: 0;
    padding: 8px;
    display: block;
    background-color: rgb(31,41,54);
    box-sizing: border-box;
    border-radius: 4px;
    color: rgb(255,255,255);
    width: calc(100% - 8px);
    font-size: 12pt;
    border: 0;
}

web-view table button {
    border: 0;
    color: rgb(95,192,254);
    background: transparent;
    font-size: 12pt;
}

web-view table button:active {
    background-color: rgb(71,81,94);
}

web-view table select {
    margin: 0;
    padding: 8px;
    display: block;
    background-color: rgb(31,41,54);
    box-sizing: border-box;
    border-radius: 4px;
    color: rgb(255,255,255);
    /*width: calc(100% - 32px);*/
    font-size: 12pt;
    width: 100%;
    border: 0;
}

@media screen and (min-width: 640px) {
    web-view {
        left: 300px;
    }
}



web-hsplit {
    margin: 0px;
    width: 100%;
    height:auto;
    display: -webkit-flex;
    -webkit-flex-flow: row nowrap;
    display: flex;
    flex-flow: row nowrap;
    box-sizing: border-box;
    padding: 0px;
}

web-hsplit > * {
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    position: relative;
}

web-overlay {
    margin:0px;
    padding:16px;
    background-color: rgb(41,51,64);
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 2000;
    display: flex;
    flex-flow: column nowrap;
}

web-overlay > * {
    flex: auto;
    box-sizing: border-box;
    resize: none;
}

web-overlay > h1 {
    flex-grow: 0;
    font-size: 14pt;
    color: rgb(95, 192, 254);
    padding:0px;
    margin: 0px;
    border: 0;
}

web-overlay > web-line {
    height:1px;
    min-height:1px;
    max-height:1px;
    background-color:rgb(76,96,99);
}
web-overlay > div {
    padding:8px;
    display: block;
    overflow: auto;
    font-size: 14pt;
}

web-overlay > button {
    flex-grow: 0;
    padding:10px;
    font-size: 13pt;
    border-radius: 4px;
    color: rgb(255,255,255);
    background-color: rgb(85, 182, 244);
    border: 0;
    outline: 0;
}

web-overlay > button:active {
    background-color: rgb(49,128,246);
}

web-overlay > *:not(:last-child) {
    margin-bottom: 10px;
}



ul.stpline > li {
    position:relative;
    padding-left:32px;
}

ul.stpline > li:before {
    position: absolute;
    left: 6px;
    top: 0px;
    width: 3px;
    bottom: 0px;
    content: " ";
    background: rgb(95, 192, 254);
    box-sizing: border-box;
}

ul.stpline > li:after {
    position: absolute;
    left: 0px;
    top: 10px;
    width: 15px;
    height: 15px;
    content: " ";
    border-radius: 50%;
    background-color: rgb(41,51,64);
    border: 2px solid rgb(95, 192, 254);
    box-sizing: border-box;
}

ul.stpline > li.come:before {
    background: rgb(24,185,24);
}
ul.stpline > li.come:after {
    border-color: rgb(24,185,24);
}

ul.stpline > li.leave:before {
    background: rgb(255,128,0);
}
ul.stpline > li.leave:after {
    border-color: rgb(255,128,0);
}

ul.stpline > li.gourmet:before {
    background: rgb(161, 72, 206);
}
ul.stpline > li.gourmet:after {
    border-color: rgb(161, 72, 206);
}

.auftragListe > li:active {
    background-color: rgb(31,41,54);
}

/* Auftrag */
#auftragPanel {
    top: 120px;
}

web-panel > #auftragbutton {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 13pt;
    background-color: rgb(64,65,119);
    color: rgb(255,255,255);
    border: 1px solid rgb(54,55,109);
    border-radius: 2px;
    margin-top: 8px;
}

web-panel > #auftragbutton:hover {
    cursor: pointer;
    background-color: rgb(74,75,129);
}

web-panel > #auftragbutton:active {
    background-color: rgb(54,55,109);
}



/* Auftrag Suche */

#auftragSuchePanel {
    top: 158px;
}

web-panel > #suche {
    margin-top: 8px;
}



/* Auftrag Journal */
#start {
    margin-left: 20px;
    margin-right: 8px;
    background-color: rgb(24,185,24);
    border: 1px solid rgb(46,205,46);
    color: rgb(255 255 255);
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 2px;
    font-size: 13pt;
}

#start:hover {
    background-color: rgb(34,195,34);
}

#start:disabled {
    opacity: 0.3;
}

#start:active {
    background-color: rgb(14,175,14);
}

#stop {
    background-color: rgb(188,29,73);
    border: 1px solid rgb(198,53,93);
    color: rgb(255,255,255);
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 2px;
    font-size: 13pt;
}

#stop:hover {
    background-color: rgb(198,39,83);
}

#stop:disabled {
    opacity: 0.3;
}

#stop:active {
    background-color: rgb(178,19,63);
}

#auftragJournal {
    top: 128px;
}

web-panel > #header {
    font-size: 13pt;
    font-weight: bold;
}

web-panel > #header > #auftrag {
    border-right: 1px solid rgb(56,66,79);
    padding-right: 4px;
}

web-panel > #header > #position {
    border-right: 1px solid rgb(56,66,79);
    padding-right: 4px;
}

web-panel > #info {
    margin-top: 8px;
}

#kostenstellenInfo:disabled {
    opacity: 0.3;
}.fahrtenbuchwrap {
    display: grid;
    grid-template-columns: auto auto;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 10px;
    padding-right: 10px;
    overflow-y: hidden;
}

.fahrtenbuchitem {
    border: 1px solid rgb(56,66,79);
    margin: 4px;
    padding: 6px;
}

#btStartFahrt {
    margin: 0;
    padding: 0;
    width: 150px;
    text-align: center;
    font-size: 13pt;
    color: rgb(255, 255, 255);
    background-color: rgb(24,185,24);
    border: 1px solid rgb(46,205,46);
    margin-right: 8px;
    flex-grow: 1;
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 2px;
    float: right;
}

#btStopFahrt {
    margin: 0;
    padding: 0;
    width: 150px;
    text-align: center;
    font-size: 13pt;
    color: rgb(255, 255, 255);
    background-color: rgb(188,29,73);
    border: 1px solid rgb(198,53,93);
    margin-right: 8px;
    flex-grow: 1;
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 2px;
    float: right;
}.KarteiMonatsBrowser{
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 10px;
}

    .KarteiMonatsBrowser .btNextMonth {
        background-image: url(../../Assets/Arrows-Right-Round-icon.png);
        background-size: cover;
        background-color: transparent;
        width: 48px;
        height: 48px;
        margin-left: 20px;      
    }

    .KarteiMonatsBrowser .btPrevMonth {
        background-image: url(../../Assets/Arrows-Left-Round-icon.png);
        background-size: cover;
        background-color: transparent;
        width: 48px;
        height: 48px;
        margin-right: 20px;
    }

.KarteiMonatsBrowser .lbCurMonat {
        font-size: 1.5em;        
}


.KarteiDiensteTable {
    display: table;
    width: 100%;
    margin-left: 1px;
}

.KarteiDiensteTable > ul {
    display: table-row;
    border-collapse:collapse;
}

.KarteiDiensteTable > ul > li {
    display: table-cell;
    border: 1px solid rgb(41, 51, 64);
    width: calc(90% / 7);    
    background-color: rgb(61,71,84);
    border-radius: 4px;
    padding-left: 4px;
    padding-bottom: 4px;    
}

.KarteiDiensteTable > ul > li:first-child {
    min-width: 60px;
    max-width: 60px;
    width: 60px;
}

.KarteiDiensteTable > ul > li > ul {
      display: table;      
}

.KarteiDiensteTable > ul > li > ul > li {
     display: table-cell;
     border: none;
     min-height: 20px;
     height: 20px;
}

.KarteiDiensteTable .wochenende {
    background-color: rgb(91,101,114);
}

.KarteiDiensteTable .text-dunkel {
     color: rgb(60,60,60);        
     padding-right: 1px;
     font-size: 0.9em;
}

 .KarteiDiensteTable .text-hell {
     color: whitesmoke;
     padding-right: 1px;
     font-size: 0.9em;
 }


.KarteiDiensteTable > ul > li > ul > li > label {
    margin-right: 2px;
}

.KarteiDiensteTable > ul > li > ul > li:first-child {
    font-size:0.7em;
    color: whitesmoke;
    display: table-row;

}
/* Mitarbeiter Liste */
#maliste.status {
}

#maliste.status > li {
    position: relative;
    padding-left:24px;
}

#maliste.status > li:before {
    position: absolute;
    left: 1px;
    top: 8px;
    content: "■";
    /*color: rgb(188,29,73);*/
}

#maliste.status > li.online:before {
    position: absolute;
    left: 1px;
    top: 8px;
    content: "■";
    /*color: rgb(0, 255, 144);*/
}
web-view > web-scroll {
    position: absolute;
    top: 62px;
    left: 16px;
    right: 16px;
    bottom: 16px;
    overflow-x:hidden;
    overflow-y:auto;
}


web-view > web-scroll > textarea {
    border: 0px;
    resize: none;
    width: calc(100% - 16px);
    height: calc(30%);
    background-color: rgb(31,41,54);
    color: rgb(255,255,255);
    padding: 10px;
}

web-view > web-scroll > canvas {
    border: 0px;
    width: 100%;
    height: calc(80%);
    background-color: rgb(31,41,54);
}


web-view > web-scroll > video {
    border: 0px;
    width: 100%;
    height: calc(50%);
    background-color: rgb(31,41,54);
}


web-view > web-scroll > button {
    border: 0;
    color: rgb(95,192,254);
    background: transparent;
    font-size: 12pt;
}
web-panel[name=kstinfopanel] {
    bottom: auto;
    height: auto;
    padding-bottom:16px;
    border-bottom: 1px solid rgb(76,96,99);
    display:none;
}


web-panel[name=stplist] {
   /* top: 162px;*/
}

#kommentarPanel > button {
    margin: 0;
    margin-top: 8px;
    padding: 9px;
    background-color: rgb(0,122,204);
    box-sizing: border-box;
    border-radius: 4px;
    color: rgb(255,255,255);
    font-size: 12pt;
    outline: 0;
    border: 0;
}

#kommentarPanel > button:active {
    background-color: rgb(0, 108, 181);
}

#kommentarPanel > button.right {
    position: absolute;
    right: 0px;
}
ul.timelist > li > label {
    display: block;
}
/*Tickets*/
#btStartAuftrag {
    margin: 0;
    padding: 0;
    width: 150px;
    text-align: center;
    font-size: 13pt;
    color: rgb(255, 255, 255);
    background-color: rgb(24,185,24);
    border: 1px solid rgb(46,205,46);
    margin-right: 8px;
    flex-grow: 1;
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 2px;
    vertical-align: middle;
}


#btTicketAbbruchWrapper {
    margin: 8px 16px 8px 16px;
    align-content: center;
    text-align: center;
    border-bottom: 1px solid rgb(76,96,99);
    border-Top: 1px solid rgb(76,96,99);
}


#btTicketAbbruch, #btTicketAbbruchCancel {
    display: inline-block;
    margin: 10px;
    width: 150px;
    text-align: center;
    font-size: 13pt;
    color: rgb(255, 255, 255);
    background-color: rgb(24,185,24);
    border: 1px solid rgb(46,205,46);
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 2px;
}

    #btTicketAbbruch, #btTicketAbbruchCancel:disabled,
    #btTicketAbbruch[disabled], #btTicketAbbruchCancel [disabled] {
        border: 1px solid #999999;
        background-color: #cccccc;
        color: #666666;
    }

    #btTicketAbbruch, #btTicketAbbruchCancel:enabled,
    #btTicketAbbruch[enabled], #btTicketAbbruchCancel [enabled] {
            color: rgb(255, 255, 255);
            background-color: rgb(24,185,24);
            border: 1px solid rgb(46,205,46);
    }

#qrReader {
    z-index: 200;
}

#qrReaderAbr {
    z-index: 200;
}



#btQRCamera {
    position: absolute;
    right: 72px;
    top: 12px;
    width: 30px;
    height: 30px;
    border: 0;
    outline: 0;
    text-align: center;
    background-color: rgb(225, 228, 232);
    background-image: url(../Assets/qrcodescan.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 26px;
    border-radius: 2px;
}

/*#ckAuftragDurchgefuehrt {
    transform: scale(1.8);
    margin-top: 20px;
    margin-bottom: 20px;
}*/

.divAG {
    border-top: 1px solid rgb(76,96,99);
    /*border-radius: 4px;*/
    padding-top: 10px;
    padding-bottom: 10px;
}

.divAG > .flex-container {
    display: flex;
    flex-direction: row;
    width: 100%;

}

 .divAG >   .flex-container > * {
        margin: 4px;
        flex-basis: 100%;
    }

    .divAG > .flex-container > button {
        width: 100%;
        padding: 0;
        width: auto;
        text-align: center;
        font-size: 15pt;
        color: rgb(255, 255, 255);
        background-color: rgb(24,185,24);
        border: 1px solid rgb(46,205,46);
        margin-right: 8px;
        padding-top: 12px;
        padding-bottom: 12px;
        border-radius: 2px;
        vertical-align: middle;
    }

        .divAG > .flex-container > button[class=BTSwitch] {
            background-color: rgb(247,166,52);
            border: 1px solid rgb(26,143,163);
        }

        .divAG > .flex-container > select {
            padding: 0;
            width: auto;
            text-align: center;
            font-size: 15pt;
            color: rgb(255, 255, 255);
            background-color: rgb(0,130,153);
            border: 1px solid rgb(26,143,163);
            margin-right: 10px;
            padding-top: 12px;
            padding-bottom: 12px;
            border-radius: 2px;
            vertical-align: middle;
            flex-basis: 70%;
        }

    .divAG > .flex-container > input {
        font-size: 15pt;
        padding-top: 12px;
        padding-bottom: 12px;
        margin-right: 8px;
        vertical-align: middle;
        flex-basis: 75%;
    }

#Fahrtteilung {
    font-size: 15pt;
    color: rgb(255, 255, 255);
    padding-left: 4px;
    padding-bottom: 15px;
}

    .divAG > .flex-container > label {
        font-size: 15pt;
        padding-top: 12px;
        padding-bottom: 12px;
        margin-right: 8px;
        vertical-align: middle;
        flex-basis: 20%;
    }

#pnAuftrag span {
    margin-left:0px;
    padding:0px;
}

#viewTicketStopAuftrag .classDurchgefuehrt{
    margin-top: 10px;
    margin-bottom: 10px;
    color: rgb(255,255,255);
}

#viewTicketStopAuftrag web-switcher {
    margin-top: 10px;
    margin-bottom: 10px;
    right:0px;
}

#viewTicketStopAuftrag #btStopAuftrag {
    margin-bottom: 10px;
    padding: 0;
    width: 100%;
    text-align: center;
    font-size: 13pt;
    color: rgb(255, 255, 255);
    background-color: rgb(188,29,73);
    border: 1px solid rgb(198,53,93);
    margin-right: 8px;
    flex-grow: 1;
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 2px;
    vertical-align: middle;
    display: block;
}

#labelTicketAGGestartet {
    margin: 0;
    padding-left: 0px;    
    padding-right: 0px;
    margin-left: 0px;
    text-align: center;
    color: rgb(255, 255, 255);
    background-color: rgb(24,185,24);
    border: 1px solid rgb(46,205,46);
    margin-right: 8px;
    flex-grow: 1;
    border-radius: 2px;
}

#labelTicketUeberschrift {
    margin-right: 8px;
}

#ticketListe {
    overflow-y: auto;
}

#ticketListe li {
    border-bottom: 2px solid rgb(160, 166, 174);
}

#ticketListe span {
    margin-left: 0px;
    padding: 0px;
}

#journalReload {
    position: absolute;
    right: 40px;
    top: 18px;
    width: 20px;
    height: 20px;
    border: 0;
    outline: 0;
    text-align: center;
    background-color: ghostwhite;
    background-image: url(../Assets/reload.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 15px;
    border-radius: 2px;
}

#labelTicketID {
    margin: 0;
    padding-left: 0px;
    padding-right: 0px;
    margin-left: 0px;
    text-align: center;
    color: rgb(255, 255, 255);
    background-color: rgb(102, 153, 255);
    border: 1px solid rgb(191, 191, 191);
    margin-right: 8px;
    flex-grow: 1;
    border-radius: 2px;
}


/* Mitarbeiter Liste */
#ZutrittListe.status {
}

#ZutrittListe.status > li {
    position: relative;
    padding-left: 24px;
}

#ZutrittListe.status > li:before {
    position: absolute;
    left: 1px;
    top: 8px;
    content: "■";
    color: rgb(188,29,73);
}

#ZutrittListe.status > li.warn:before {
    position: absolute;
    left: 1px;
    top: 8px;
    content: "■";
    color: rgb(215, 171, 105);
}


#ZutrittListe.status > li.ok:before {
    position: absolute;
    left: 1px;
    top: 8px;
    content: "■";
    color: rgb(0, 255, 144);
}
