.resize-container {
    position: relative;
    display: inline-block;
    cursor: move;
    margin: 0 auto;
}

.resize-container img {
    display: block
}

.resize-container:hover img,
.resize-container:active img {
    border: 1px dashed rgba(222,60,80,.9);
}

.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;
}

.overlay {
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -390px;
	margin-top: -220px;
	z-index: 999;
	width: 780px;
	height: 420px;
    outline: 1px solid rgba(222,60,80,.9);
	box-sizing: content-box;
	pointer-events: none;
}

.btn-crop {
	position: absolute;
	vertical-align: bottom;
	right: 15px;
	bottom: 15px;
	padding: 10px 28px 10px 28px;
	z-index: 999;
	background-color: #e19f00;
	border: none;
	border-radius: 3px;
    color: #191919;
}

.btn-crop img {
	vertical-align: middle;
	margin-left: 8px;
}

.btn-close-crop {
    position: absolute;
    vertical-align: top;
    left: 15px;
    top: 15px;
    padding: 12px 10px 0px 10px;
    z-index: 999;
    background-color: #191919;
    border: none;
    border-radius: 3px;
}

.btn-close-crop:hover {
    background-color: #46464b;
}

.btn-reset {
    position: absolute;
    vertical-align: bottom;
    left: 15px;
    bottom: 15px;
    padding: 6px 10px;
    z-index: 999;
    background-color: #787d82;
    border: none;
    border-radius: 3px;
    color: #FFF;
}

.btn-fit {
    position: absolute;
    vertical-align: bottom;
    left: 105px;
    bottom: 15px;
    padding: 6px 10px;
    z-index: 999;
    background-color: #787d82;
    border: none;
    border-radius: 3px;
    color: #FFF;
}


.shadow {
    background-color: rgba(44, 44, 44, 0.75);
}