﻿
.diagram-container {
    background: transparent;
    display: block;
    height:400px;
    margin-top:8px;
}
.diagram-canvas {
    height: 100%;
    padding: 0;
    margin: 0;
}
/*.djs-palette {
    width: 470px !important;
    height: 110px !important;
}*/


.viewport .djs-group:first-child .djs-visual rect {
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: red;
    stroke-width: 1.5px;
    fill: yellow;
    fill-opacity: 0.95;
}

.viewport > .djs-group:first-child > .djs-visual:first-child path,
.viewport > .djs-group:first-child > .djs-visual:first-child text {
    display: none;
}

.bjs-powered-by
{
    right:unset;
    left:40px;
}
div.djs-container,
.djs-container div,
.bjs-container {
    transform-origin: unset;
}

.djs-container svg:first-of-type {
    /*background: yellow;*/
    /*padding: 15px 0 0 130px;*/
}

    .djs-container svg:first-of-type g:first-child {
        

    }

/*#region  to be checked*/
.diagram-note {
    background-color: rgba(66, 180, 21, 0.7);
    color: White;
    border-radius: 5px;
    font-family: Arial;
    font-size: 12px;
    padding: 5px;
    min-height: 16px;
    width: 50px;
    text-align: center;
}

.needs-discussion:not(.djs-connection) .djs-visual > :nth-child(1) {
    stroke: rgba(66, 180, 21, 0.7) !important; /* color elements as red */
}
/*#endregion*/


/*#region from Mena: not used*/

#canvas {
    /*width: 100%;
    height: 600px;
    border: 1px solid #ccc;*/
}

#input-container {
    margin-top: 10px;
}

#input-overlay {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

/*#endregion*/