﻿.resize-container {
    position: relative;
    display: inline-block;
    cursor: move;
    margin: 0 auto;
}

.resize-container div {
    display: block;
    outline: 2px dashed rgba(22,6,8,.9);
    box-shadow: 0px 0px 0px 3000px rgb(200 200 200 / 50%);
}

.round .resize-container div, .round .ImagePreview {
    border-radius: 50%;
}

.resize-container:hover div,
.resize-container:active div {
    outline: 2px dashed rgba(222,60,80,.9);
}

.resize-handle-ne,
.resize-handle-ne,
.resize-handle-se,
.resize-handle-nw,
.resize-handle-sw {
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    background: rgba(222,60,80,.9);
    z-index: 999;
}

.resize-handle-nw {
    top: -5px;
    left: -5px;
    cursor: nw-resize;
}

.resize-handle-sw {
    bottom: -5px;
    left: -5px;
    cursor: sw-resize;
}

.resize-handle-ne {
    top: -5px;
    right: -5px;
    cursor: ne-resize;
}

.resize-handle-se {
    bottom: -5px;
    right: -5px;
    cursor: se-resize;
}

.resize-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -100px;
    margin-top: -100px;
    z-index: 999;
    border: dashed 2px rgba(222,60,80,.9);
    box-sizing: content-box;
    box-shadow: 0px 0px 0px 3000px rgb(200 200 200 / 0.5);
}

.remove::after
    {
        content: '✖';
        padding-left: 5px;
        color: #8b0000;
    }
