.cropper {
    position: relative;

    width: 260px;
    height: 260px;

    user-select: none;

    background: #eee;
}

.cropper_empty {
    background-color: #eee;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.cropper-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    background: rgba(0, 0, 0, .5);
}

.cropper-frame {
    position: absolute;

    padding: 2px;
}

.cropper-inner-frame {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    overflow: hidden;

    cursor: move;

    border-radius: 50%;
    outline: 1px dashed #fff;
}

.cropper-image {
    position: absolute;
}

.cropper-image img {
    max-width: 100%;
    max-height: 100%;
}

.cropper-knob {
    position: absolute;

    width: 5px;
    height: 5px;

    background: #fff;
}

.cropper-knob__nw {
    top: 0;
    left: 0;

    margin: -3px 0 0 -3px;

    cursor: nw-resize;
}

.cropper-knob__n {
    top: 0;
    left: 50%;

    margin: -3px 0 0 -3px;

    cursor: n-resize;
}

.cropper-knob__ne {
    top: 0;
    right: 0;

    margin: -3px -3px 0 0;

    cursor: ne-resize;
}

.cropper-knob__w {
    top: 50%;
    left: 0;

    margin: -3px 0 0 -3px;

    cursor: w-resize;
}

.cropper-knob__e {
    top: 50%;
    right: 0;

    margin: -3px -3px 0 0;

    cursor: e-resize;
}

.cropper-knob__sw {
    bottom: 0;
    left: 0;

    margin: 0 0 -3px -3px;

    cursor: sw-resize;
}

.cropper-knob__s {
    bottom: 0;
    left: 50%;

    margin: 0 0 -3px -3px;

    cursor: s-resize;
}

.cropper-knob__se {
    right: 0;
    bottom: 0;

    margin: 0 -3px -3px 0;

    cursor: se-resize;
}

.cropper__discard {
    position: absolute;
    top: 4px;
    left: 4px;

    display: none;

    padding: 3px;

    border: 1px solid #ccc;
    border-radius: 2px;
    background: #fff;
}

.cropper_intact:hover .cropper__discard {
    display: block;
}

.cropper_intact .cropper-overlay,
.cropper_intact .cropper-frame,
.cropper_empty .cropper-overlay,
.cropper_empty .cropper-frame {
    display: none;
}
