
input[type="checkbox"] + label.dhx_editor_shapebar__label {
    display: none;
}

.diagram-container {
    margin-left: 10px;
    margin-right: 40px;
}

    .diagram-container.readonly .dhx_layout-cell.dhx_editor_shapebar {
        display: none;
    }

.diagram-tache {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    border: 1px solid #ccc;
    color: #3d3d3d;
    background-color: #fff;
}

    .diagram-tache.tache-type-1 > .diagram-tache-type {
        background-color: #32a43f;
    }

    .diagram-tache.tache-type-2 > .diagram-tache-type {
        background-color: #e85301;
    }

    .diagram-tache.tache-type-3 > .diagram-tache-type {
        background-color: #09367a;
    }

    .diagram-tache.tache-type-4 > .diagram-tache-type {
        background-color: #0469b7;
    }

    .diagram-tache.done > .diagram-tache-name {
        transition: all linear 250ms;
    }

    .diagram-tache.done.tache-type-1 > .diagram-tache-name {
        background-color: #c8f3cd;
    }

    .diagram-tache.done.tache-type-2 > .diagram-tache-name {
        background-color: #ffe0cf;
    }

    .diagram-tache.done.tache-type-3 > .diagram-tache-name {
        background-color: #d0dced;
    }

    .diagram-tache.done.tache-type-4 > .diagram-tache-name {
        background-color: #c9e8ff;
    }

    .diagram-tache.done:hover > .diagram-tache-name {
        color: #3d3d3d;
        background-color: #fff;
        transition: all linear 250ms;
    }

    .diagram-tache > .diagram-tache-done {
        display: none;
        position: absolute;
        top: 3px;
        left: 5px;
        background-color: #fff;
        border-radius: 50px;
        width: 15px;
        height: 15px;
        background-image: url(../../images/ico/check-green.svg);
        background-repeat: no-repeat;
        background-position: center center;
    }

    .diagram-tache > .diagram-tache-inprogress {
        position: absolute;
        top: 3px;
        left: 5px;
        background-color: #fff;
        border-radius: 50px;
        width: 15px;
        height: 15px;
        background-image: url(../../images/ico/hourglass-grey.svg);
        background-repeat: no-repeat;
        background-position: center center;
    }

    .diagram-tache.done > .diagram-tache-done {
        display: block;
    }

    .diagram-tache > .diagram-tache-type {
        display: block;
        font-size: 11px;
        text-align: center;
        color: #fff;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
    }

    .diagram-tache > .diagram-tache-inprogress {
        position: absolute;
        font-size: 24px;
        color: #ff0000;
        top: 3px;
        right: 5px;
        background-color: #fff;
        border-radius: 50px;
        width: 15px;
        height: 15px;
        text-align: center;
    }

    .diagram-tache > .diagram-tache-name {
        display: block;
        height: calc(100% - 20px);
        width: 100%;
        font-size: 12px;
        overflow: hidden;
        line-height: 16px;
        padding: 3px;
        box-sizing: border-box;
        border-bottom-left-radius: 3px;
        border-bottom-right-radius: 3px;
    }

    .diagram-tache > .diagram-tache-required {
        position: absolute;
        font-size: 24px;
        color: #ff0000;
        top: 3px;
        right: 5px;
        background-color: #fff;
        border-radius: 50px;
        width: 15px;
        height: 15px;
        text-align: center;
    }


    .diagram-tache > aside {
        display: none;
        position: absolute;
        right: -10px;
        bottom: 0;
        transform: translate(0, 25%);
    }

    .dhx_diagram_item--selected .diagram-tache > aside,
    .diagram-tache:hover > aside {
        display: flex;
    }

.dhx_diagram_resizer > .dhx_diagram_resizer_grip {
    display: none;
}

    .dhx_diagram_resizer > .dhx_diagram_resizer_grip.dhx_diagram_resizer_grip--line {
        display: block;
    }

.diagram-tache > aside > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1), 0px 2px 16px rgba(0, 0, 0, 0.12);
    margin: 0 4px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 16px;
    background-image: url(../../images/ico/edit-blue.svg)
}

.diagram-tache.inprogress > aside > a,
.diagram-tache.done > aside > a {
    background-image: url(../../images/ico/see-blue.svg)
}

.diagram-tache > aside > a:hover {
    background-color: #eee;
}
