﻿.drag-drop-resize .resize-container {
    position: absolute;
    display: inline-block;
    cursor: move;
    margin: 0 auto;

    /* Set starting point*/
    top: 0px; 
    left: 0px;
}

.drag-drop-resize .resize-container img {
    display: block
}

.drag-drop-resize .resize-container:hover img,
.drag-drop-resize .resize-container:active img {
    outline: 2px dashed #db902d;    
    transition: outline-width .2s;
}

.drag-drop-resize .resize-container:hover .resize-handle-ne,
.drag-drop-resize .resize-container:active .resize-handle-ne,
.drag-drop-resize .resize-container:hover .resize-handle-se,
.drag-drop-resize .resize-container:active .resize-handle-se,
.drag-drop-resize .resize-container:hover .resize-handle-nw,
.drag-drop-resize .resize-container:active .resize-handle-nw,
.drag-drop-resize .resize-container:hover .resize-handle-sw, 
.drag-drop-resize .resize-container:active .resize-handle-sw {
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    background-color: #db902d;
    z-index: 999;
    transition: .2s;
}

.drag-drop-resize .resize-handle-nw {
    top: -5px;
    left: -5px;
    cursor: nw-resize;
}

.drag-drop-resize .resize-handle-sw {
    bottom: -5px;
    left: -5px;
    cursor: sw-resize;
}

.drag-drop-resize .resize-handle-ne {
    top: -5px;
    right: -5px;
    cursor: ne-resize;
}

.drag-drop-resize .resize-handle-se {
    bottom: -5px;
    right: -5px;
    cursor: se-resize;
}