.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 {
    outline: 2px 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: 25%;
	top: 25%;
	margin-left: -13%;
	margin-top: -15%;
	z-index: 999;
	width: 400px;
	height: 400px;
    border: solid 3px rgba(222,60,80,.9);
	box-sizing: content-box;
	pointer-events: none;
    /*background-color: rgba(0,0,0,0.5);*/
}

/*.pepe{*/
    /*position: relative;*/
    /*background-color: rgba(0,0,0,0.5) !important;*/
/*}*/

.overlay:after,
.overlay:before {
	content: '';
	position: absolute;
	display: block;
	width: 204px;
	height: 60px;
    border-left: none 0 rgba(222,60,80,.9);
	border-right: none 0 rgba(222,60,80,.9);
}

.overlay:before {
	top: 0;
	margin-left: -2px;
	margin-top: -40px;
}

.overlay:after {
	bottom: 0;
	margin-left: -2px;
	margin-bottom: -40px;
}

.overlay-inner:after,
.overlay-inner:before {
	content: '';
	position: absolute;
	display: block;
	width: 40px;
	height: 204px;
    border-top: none 0 rgba(222,60,80,.9);
	border-bottom: none 0 rgba(222,60,80,.9);
}

.overlay-inner:before {
	left: 0;
	margin-left: -40px;
	margin-top: -2px;
}

.overlay-inner:after{
	right: 0;
	margin-right: -40px;
	margin-top: -2px;
}

.js-crop {
	color: #FFFFFF;
	background-color: rgb(222,60,80);

}

.btn-crop img {
	vertical-align: middle;
	margin-left: 8px;
}