
.modules-editor {
    position: relative;
    overflow: auto;
    height: 100%;
    width: 100%;
    /*padding: 40px;*/
    -webkit-text-size-adjust: none;
}

.modules-editor .ui-selecting svg {
    -webkit-box-shadow: 0 0 5px #000;
    box-shadow: 0 0 5px #000;
}

.modules-editor .ui-selected svg {
    -webkit-box-shadow: 0 0 5px #000;
    box-shadow: 0 0 5px #000;
}

.ui-selectable-helper {
    position: absolute;
    z-index: 100;
    border: 1px dotted black;
}

.modules-editor > .svg-div {
    position: absolute !important;
    outline: transparent solid 5px;
}

.modules-editor > .svg-div svg {
    position: absolute;
    overflow: hidden;
    max-width: unset;
    max-height: unset;
}

.js-editor-loading {
    position: absolute;
    left: 0;
    top: 0;
    height: 800px;
    width: 800px;
    z-index: 20;
    display: none;
    background: #e2e2e2;
}

.js-editor-loading .fas {
    position: absolute;
    top: 45%;
    left: 45%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    color: #b6262c;
}

.editor-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.editor-wrapper {
    -webkit-text-size-adjust: none;
    position: relative;
    height: 800px;
    width: 100%;
    margin: 0 auto;
    overflow: auto;
    border: 1px solid #c2c2c2;
    background-position: 0px 0px, 10px 10px;
    background-size: 20px 20px;
    background-image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee 100%),linear-gradient(45deg, #eee 25%, white 25%, white 75%, #eee 75%, #eee 100%);
}

.editor-wrapper * {
    -webkit-text-size-adjust: none;
}

.editor-wrapper .item-name {
    position: unset !important;
    transform: unset !important;
    margin: 0 !important;
}

.editor__zoom {
    position: absolute;
    left: 20px;
    bottom: 50%;
    z-index: 100;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.editor__zoom_item {
    background: #fff;
    font-size: 30px;
    line-height: 0;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.editor__zoom_item.disabled {
    background: #f3f3f3;
    cursor: no-drop;
}

.editor__zoom_item:first-child {
    margin-bottom: 8px;
}

.editor-container .editor-result {
    width: 0;
    height: 0;
    overflow: hidden;
}

.js-editor-saving.saving {
    position: fixed;
    left: 0;
    top: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

.main #scroll-up.scroll-up {
    bottom: 15px;
}

.editor-tools {
    display: flex;
}