.tb-cropper-modal {
    position: fixed;
    background:rgba(0,0,0,0.3);
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1200;
}
.tb-cropper-modal .tb-cropper-modal-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 800px;
    max-height: 500px;
    top: 50%;
    left: 50%;
    margin: auto;
    transform: translateX(-50%) translateY(-50%);
    display: flex;
    flex-direction: column;
}

.tb-cropper-modal .tb-cropper-modal-inner .tb-cropper-modal-header {
    position: static;
    height: 60px;
    display: flex;
    align-items: center;
    background-color: #fff;
    color: #000;
    padding: 1.5rem;
    top: 0;
    left: 0;
    width: 100%;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border: 1px solid #e8e8e8;
    flex: 0 0 60px;
}
.tb-cropper-modal .tb-cropper-modal-inner .tb-cropper-modal-header i {
    margin-left: auto;
    font-size: 14px;
    cursor: pointer;
}
.tb-cropper-modal .tb-cropper-modal-inner .tb-cropper-modal-content {
    padding-top: 0;
    padding-bottom: 0;
    height: 100%;
    overflow-y: auto;
    background-color: #fff;
    overflow-x: hidden;
    flex: 1;
}
.tb-cropper-modal .tb-cropper-modal-inner .tb-cropper-modal-footer {
    position: static;
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    background-color: #fff;
    color: #000;
    padding: 1.5rem;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border: 1px solid #e8e8e8;
    flex: 0 0 60px;
}
.tb-cropper-modal .tb-cropper-modal-inner .tb-cropper-modal-footer .btn {
    margin-left: auto;
    background-color: #f36f28;
    color: #fff;
    min-width: 120px;
    font-size: 14px;
}

/* overwrite for creator */

body.body-creator .tb-cropper-modal {
    background: rgba(0,0,0,0.3);
}

body.body-creator .tb-cropper-modal .tb-cropper-modal-inner .tb-cropper-modal-header {

    background-color: #f8fafb;
    color: #4E5155;
    height:48px;
}

body.body-creator .tb-cropper-modal .tb-cropper-modal-inner .tb-cropper-modal-header h5 {
    margin-bottom:0;
}

body.body-creator .tb-cropper-modal .tb-cropper-modal-inner .tb-cropper-modal-header .close {
    font-size:80%;
}

body.body-creator .tb-cropper-modal .tb-cropper-modal-inner .tb-cropper-modal-content {
    padding-top: 48px;
    padding-bottom: 60px;
    height: 100%;
    overflow: hidden;
    background-color: #fff;
}
body.body-creator .tb-cropper-modal .tb-cropper-modal-inner .tb-cropper-modal-footer {

    background-color: #fff;

}

body.body-creator .tb-cropper-modal .tb-cropper-modal-inner .tb-cropper-modal-footer .btn {
    background-color:#CC4B27;
    color:#fff;
    min-width: 100px;
}
