html, body {
    margin: 10px 25px 0 25px;
    padding: 0;
    background: #000;
    color: #eee;
    font: 20px/120% 'Arial Narrow', 'Arial', sans-serif;
}

#overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 80%, rgba(0,0,0,1));
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#debug #overlay {
    display: none;
}

.board {
    height: 26px;
    padding: 10px 10px 0 10px;
    line-height: 26px;
    }
    .board .clock {
        float:left;
    }
    .board .boardname {
        float:right;
        padding-right: 72px;
    }

.card,
.actioncard {
    width: 410px;
    padding: 10px;
    margin: 10px;
    /*border:1px solid #ccc;*/
    overflow: hidden;
    float: left;
}

.card {
    height: 130px;
}

.actioncard {
    height: 95px;
}

.taskcard {
    width: 93%;
    padding: 10px;
    margin-top: 10px;
    overflow: hidden;
    float: left;
}

.taskcard .textbox {
    padding: 0;
    width: unset;
    float: unset;
}

.taskcard .textbox .name {
    margin-left: 10px;
}

.taskcard .number {
    border: solid 2px white;
    padding: 0 4px 0 4px;
    text-align: center;
}

.taskcard .duedate {
    float: right;
}

.taskcard .workers {
    float: right;
    text-align: right;
}

.taskcard .l2 {
    margin-top: 4px;
}

.pause {
    background: orange;
    color: #000
}

.working {
    background: #0c0;
}

.imgbox {
    width: 100px;
    height: 130px;
        overflow: hidden;
        float:left;
        overflow: hidden;
        }
        .imgbox img {
            width:100px;
            height:130px;
        }
    .textbox {
        float: left;
        width: 280px;
        padding: 8px 0 0 20px;
        overflow: hidden;
    }
        .name {
            height: 30px;
            font-weight: bold;
            font-size: 22px;
            line-height: 30px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .workshiftstart {
            height:30px;
            font-size:80%;
            line-height: 100%;
        }
        .activity {
            height:25px;
            overflow: hidden;
            }
            .activity .pause {
                font-size: 80%;
                padding-left: 10px
            }
        .action {
            padding-top:10px;
            height:25px;
            overflow: hidden;
        }

.chiefs {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.chief {
    padding: 1em;
    margin: 0.5em 0.5em;
    background: #333;
    width: 20%;
}

.chief .name {
    font-weight: bold;
    font-size: larger;
}

.plan {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    table-layout: fixed;
    color: black;
    background: white;
}

.plan th,
.plan .worker,
.plan .action {
    background: #eee;
}

.plan th, .plan td {
    padding: 6px 6px 2px;
    font-weight: normal;
}

.plan th.weekend {
    background: #ccc;
    font-weight: bolder;
}

.plan th.worker, .plan th.action,
.plan td.worker, .plan td.action{
    width: 150px;
    padding: 6px;
}

.plan .box .item-type {
    overflow: hidden;
    font-size: larger;
}

.plan .workplace-workshop {
    background: #ffc;
}

.plan .workplace-office {
    background: #fc6;
}

.plan .workplace-ext {
    background: #f96;
}

.plan .worker-item {
    padding: 2px;
    margin-bottom: 4px;
    color: black;
    overflow: hidden;
}

.plan .worker-item.worker-action {
    background-color: #ccdeff;
}

.plan .worker-item.worker-installation {
    background-color: #fcc;
}

.plan .worker-item.worker-installation_transport {
    background-color: #905959;
}

.plan .worker-item.worker-uninstallation {
    background-color: #fcf;
}

.plan .worker-item.worker-uninstallation_transport {
    background-color: #964f96;
}

.plan .worker-item.worker-workshop {
    background-color: #ffc;
}

.plan .worker-item.worker-office {
    background-color: #fc6;
}

.plan .worker-item.worker-available {
    display: none;
}

.plan .worker-item.worker-unavailable {
    background-color: white;
    min-height: 24px;
}

.plan .box {
    color: black;
    padding: 2px;
    margin-bottom: 4px;
    min-height: 10px;
}

.plan .plan-action {
    background-color: #ccdeff;
}

.plan .plan-installation {
    background-color: #fcc;
}

.plan .plan-installation_transport {
    background-color: #905959;
}

.plan .plan-uninstallation {
    background-color: #fcf;
}

.plan .plan-uninstallation_transport {
    background-color: #964f96;
}

.plan .plan-date-available {
    background-color: #cfc;
    color: black;
    vertical-align: top;
    min-height: 10px;
}

.plan .plan-date-unavailable {
    /*background-color: white;*/
    /*color: black;*/
    vertical-align: top;
    min-height: 10px;
}

.plan .time {
    min-height: 24px;
}

.plan .start {
    float: left;
    font-size: smaller;
}

.plan .end {
    float: right;
    font-size: smaller;
}

.plan .cleaner {
    clear: both;
}

.plan .plancard {
    border: solid 1px #333333;
    border-radius: 2px;
    display: inline-grid;
    justify-items: center;
    background: #fff;
    padding: 2px;
    margin-bottom: 2px;
}

.plan .plancard .worker {
    display: inline-block;
    height: 20px;
    width: 20px;
    padding: 2px;
    background: #fff;
}

.plan td.worker > div {
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    column-gap: 5px;
}

.plan td.worker .workplace {
    flex: 0 0 10px;
}

.plan td.worker > div > div {
    float: left;
}

.plan .plancard .worker.worker-unknown {
    &::before {
        content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' stroke='grey' fill='grey' viewBox='0 0 16 16'> <path d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6'/> </svg>");
    }
}

.plan .plancard .worker.worker-workshop {
    &::before {
        content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' stroke='grey' fill='%23ffc' viewBox='0 0 16 16'> <path d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6'/> </svg>");
    }
}

.plan .plancard .worker.worker-office {
    &::before {
        content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' stroke='grey' fill='%23fc6' viewBox='0 0 16 16'> <path d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6'/> </svg>");
    }
}

.plan .plancard .worker.worker-external {
    &::before {
        content: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' stroke='grey' fill='%23f96' viewBox='0 0 16 16'> <path d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6'/> </svg>");
    }
}

.plan td, .plan th {
    border: solid 1px #666;
}

.plan td {
    vertical-align: top;
    padding: 0;
}