:root {
    --slot-width: 150px;
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    49% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

.time-separator {
    animation: blink 2s linear infinite;
}

.grid-container {
    white-space: nowrap;
    overflow-x: scroll;
    position: relative;
    height: 100vh;
}

.current-timeline-container {
    top: 0;
    /*left: 330px;*/
    position: absolute;
    z-index: 10;
}

.current-timeline-line {
    width: 1px;
    background: red;
    height: 400px;
    margin-left: 16px;
}

.current-timeline-value {
    font-size: 0.8em;
    color: red;
}

.slots-container {
    padding-top: 50px;
}

.slots-wrapper {
    padding-left: 16px;
}

.slot {
    display: inline-grid;
    width: var(--slot-width);
}

.slot-timeline {
    font-size: 0.8em;
    color: #626465fc;
}

.slot-kitchen {
    height: 150px;
    border: 1px solid black;
    text-align: center;
    cursor: pointer;
}

.slot-delivery {

}

.slot-index {
    padding-left: 50px;
    color: darkblue;
}

.pool-delivery {
    height: 30px;
    border: 1px solid black;
    padding: 2px;
}

.delivery-route {
    display: inline-block;
    /*margin-right: 2px;*/
    height: 24px;
    overflow-y: clip;
    border: 2px solid;
    position: absolute;
    cursor: pointer;
}

.delivery-workload {
    display: inline-block;
    height: 24px;
}

.delivery-workload[data-type="COMPENSATOR"] {
    background: #f4d6d6;
}

.delivery-workload[data-type="MOVING"] {
    background: #04E76275;
}

.delivery-workload[data-type="RETURNING"] {
    background: #89FC0075;
}

.delivery-workload[data-type="CLIENT"] {
    background: #008BF875;
}

.delivery-workload[data-type="OUTLET"] {
    background: #F5B70075;
}

.order-mark {
    position: absolute;
    font-size: 1.5em;
    line-height: 1.35em;
    color: red;
    z-index: 1;
}

.routes-line {
    position: relative;
    border-bottom: 1px dashed orange;
    padding: 2px 0;
    height: 30px;
}

.delivery-route:hover {
    border: 2px solid rgb(86, 180, 239);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.05) inset, 0px 0px 8px rgba(82, 168, 236, 0.6);
}

.delivery-route-lag {
    position: absolute;
    display: inline-block;
    background-color: #eaeaea;
    height: 24px;
    width: 100px;
}

.workload-duration {
    font-size: 12px;
    padding-left: 3px;
}

.kitchen-workload {
    display: inline-block;
    position: absolute;
    height: 148px;
}


.kitchen-statistic {
    position: absolute;
    bottom: 0px;
    left: 33%;
}

.kitchen-workload-container{
    position: relative;
}

.pool-kitchen-container > .kitchen-workload:last-of-type {
    border-right: none;
}

.kitchen-workload[data-type="ORDER"] {
    background-color: #005dff8c;
}

.kitchen-workload[data-type="COMPENSATOR"] {
    background-color: #f4d6d6;
}