#paper {
    position: relative;
    /*border: 1px solid gray;*/
    display: inline-block;
    background: transparent;
    overflow: hidden;
    background-image: linear-gradient(rgb(49, 55, 59), rgb(30, 32, 33) 70%, rgb(28, 32, 35));
    border-radius: 5px;
    width: 100%;
    height: 100%;
}

#paper svg, #linkit_view svg {
    background: transparent;
}

#paper svg .link, #linkit_view svg .link {
}

.clipboard-input {
    opacity: 0;
    max-width: 5px;
    max-height: 5px;
    padding: 0px;
    margin: 0px;
    position: absolute;
}

.html-element {
    position: absolute;
    pointer-events: none;
    -webkit-user-select: none;
    padding: 5px;
    z-index: 2;
    cursor: grab;
    overflow: hidden;
    background: var(--workflow-tasks-background);
    border-radius: var(--designer-task-border-radius);
    border: unset;
    box-sizing: border-box;
    color: var(--workflow-tasks-color);
    list-style: none;
}
.html-element.note-element {
    background: unset !important;
}

.html-element.note-element .markdown_preview{
    padding: 0px 10px 0px 10px;
}

.linkit_view[read_only="true"] .element {
    cursor: default;
}

.html-elementxxx {
    -webkit-clip-path: polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%);
}

.dragged-element-container {
    width: 140px;
    height: 35px;
    display: inline;
}
.dragged-element-container>li.ui-draggable-handle {
    width: 100%;
    height: 35px;
    opacity: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.dragged-element-container>li.note-element.ui-draggable-handle {
    display: inline;
}
.dragged-element-container>li.ui-draggable-handle #name{
    width: unset;
}
.dragged-element {
    width: 100%;
    height: 30px;
    display: block;
    position: relative;
}

.html-element select,
.html-element input,
.html-element button {
    /* Enable interacting with inputs only. */
    pointer-events: auto;
}

.html-element label {
    /*pointer-events: auto;*/
    cursor: grab;
    text-align: left;
    text-shadow: rgba(153, 153, 153, 0.6) 0px 1px 2px;
    color: rgb(136, 136, 136);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    letter-spacing: normal;
    line-height: 20px;
}

.html-element span {
    vertical-align: middle;
}

.html-callback-element {
    position: absolute;
    bottom: 0;
}

.html-callback-element .label {
    color: rgb(245, 245, 245);
    display: none;

}

.html-element span[class^="icon-"], [class*=" icon-"] {
    margin-top: 0px;
    margin-right: 5px;
}

.html-element {

    cursor: grab;
    text-align: left;
    colorxxx: rgba(255, 255, 255, 0.60);
    display: block;
    font-size: 0.8em;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    letter-spacing: normal;
}

.html-element #header_container {
    line-height: 24px;
}

.html-element #name {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    vertical-align: middle;
    display: inline-block;

}


.html-element #color {
    height: 8px;
    width: 8px;
    display: inline-block;
    background: red;
    margin-right: 5px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;

}

.html-element #description {
    margin-bottom: 10px;
    margin-left: 20px;
    font-weight: 600;
    opacity: 0.8;
    display: inline-block;
}


.html-element .scroller_props{
}
.html-element #dynamic_props {
    width: 100%;
    margin-bottom: 10px;
}

.html-element .dynamic_prop {
    display: block;
}

.html-element #dynamic_props .key {
    position: relative;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    float: left;
    margin-left: 20px;
    opacity: 0.8;

}

.html-element #dynamic_props .value {

    font-weight: 600;
    margin-left: 20px;
    margin-bottom: 10px;
    word-break: break-all;
    white-space: pre-wrap;
}

.html-element #props_icons {
    float: right;
    zoom: 0.9;
    margin-top: 2px;
}

.html-element #props_icons [class^="ri-"], #props_icons [class*=" ri-"] {
    margin-left: 8px;
}

.html-element .ui-resizable-handle {
    pointer-events: auto;
    margin: 0px;
    width: 16px;
    height: 16px;
}
.html-element .ui-resizable-ne,
.html-element .ui-resizable-nw,
.html-element .ui-resizable-se,
.html-element .ui-resizable-sw{
    width: 5px;
    height: 5px;
}
.html-element .ui-resizable-ne {
    margin-right: 5px;
    margin-top: 5px;
    cursor: ne-resize;
}

.html-element .ui-resizable-nw {
    margin-left: 6px;
    margin-top: 6px;
    cursor: nw-resize;
}

.html-element .ui-resizable-se {
    margin-left: 6px;
    margin-top: 6px;
    cursor: se-resize;
}

.html-element .ui-resizable-sw {
    margin-left: 5px;
    margin-bottom: 5px;
    cursor: sw-resize;
}

.html-element .ui-resizable-s, .html-element .ui-resizable-n {
    width: calc(100% - 20px);
    margin-left: 10px;
    cursor: ns-resize;
    height: 10px;
}

.html-element .ui-resizable-e, .html-element .ui-resizable-w {
    margin-top: 10px;
    cursor: ew-resize;
    height: calc(100% - 20px);
}

.html-element .state_unknown {
    background: gray;
}

.html-element .state_active {
    background: #7CD14E;

}

.html-element .state_inactive_1 {
    background: #ffbd0f;

}

.html-element .state_inactive_2 {
    background: red;

}

.html-element.task_in_error {
    border: 3px solid var(--state-error);
}


.html-element.xselectable-selected {
    outline: 1px solid rgb(255 255 255 / 85%);
}



