#imageCropper {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 999;
    top: 0;
}

/* 
* Image Cropper
*/
.image-cropper {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 999
}

.image-cropper-box {
    position: relative;
    width: 100%;
    max-width: 960px;
    height: calc(100vh - 100px);
    background-color: #fff;
    padding: 20px;
    border-radius: 6px
}

.image-cropper-container {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.image-cropper-content {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 85%;
    background-color: #333;
}

.image-cropper-img {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 100%;
    opacity: .5;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.image-cropper-img:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1
}

.image-cropper-img img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    border: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.image-cropper-area {
    position: absolute;
    display: block;
    cursor: move
}

.image-cropper-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0
}

.image-cropper-grid-v {
    position: absolute;
    width: 33.3333%;
    height: 100%;
    top: 0;
    left: 33.3333%;
    border-left: thin solid #fff;
    border-right: thin solid #fff;
    opacity: .2;
}

.image-cropper-grid-h {
    position: absolute;
    width: 100%;
    height: 33.3333%;
    top: 33.3333%;
    left: 0;
    border-top: thin solid #fff;
    border-bottom: thin solid #fff;
    opacity: .2;
}

.image-cropper-area:after {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: thin solid #fff;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 1
}

.image-cropper-controls {
    display: block;
    text-align: center;
    padding-top: 20px;
    height: 15%;
}

.image-cropper-range {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background-color: #8898aa;
    outline: none;
    margin-bottom: 20px;
}

.image-cropper-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #5e72e4;
    cursor: pointer;
    -webkit-box-shadow: 0 0 3px #7f8da3;
    box-shadow: 0 0 3px #7f8da3;
    border: 3px solid #fff;
}

.image-cropper-range::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    box-shadow: 0 0 1px #8b95a5
}

.image-croppe-btn {
    display: inline-block;
    border: 0;
    padding: 9px 20px;
    border-radius: 4px;
    cursor: pointer;
    outline: none;
    font-size: 1.1em;
    color: #fff
}

.image-cropper-cancel {
    background-color: #8898aa;
}

.image-cropper-cancel:hover {
    background-color: #677483;
}

.image-cropper-okey {
    background-color: #5e72e4
}

.image-cropper-okey:hover {
    background-color: #4c61d8
}