#EPSACropDialog {
    background: #222222;
    display: flex;
    align-items: center;
}
a#epsa_save_submit {
    /* text-shadow: inherit;*/
    color: inherit;
    /* text-decoration: underline; */
    background: #1a1a1a;
    border: 0;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    font: 14px roboto, sans-serif;
    padding: 5px 40px;
    display: none;
}
.ui-dialog-buttonpane.ui-widget-content.ui-helper-clearfix {
    background: #222222;
    border: 0;
    margin-top: 10px;
}
.epsacrop-image-crop p {
    display: none;
}
.epsacrop-image-crop {
    border: 0 !important;
    background-color: #222 !important;
    padding: 0px !important;
}
.ui-button-text-only .ui-button-text {
    padding: 0 !important;
}
.ui-dialog {
    z-index: 260 !important;
    background: #222222;
    left: calc(50% - 260px) !important;
    top:236px !important;
    border-radius: 6px;
    border: 0 !important;
    box-shadow: 0 11px 22px rgb(26 26 26 / 60%);
}
.epsacrop-presets-menu {
    display: none;
}
.ui-dialog-titlebar {
    display: none;
}
.ui-dialog .ui-dialog-content {
    padding: 0 0 0 3px !important;
    overflow: hidden;
}
.jcrop-holder {
    overflow: hidden;
}
.jcrop-holder > div:first-child >div {
    border-radius: 50%;
}
.jcrop-holder >div:first-child >div:nth-child(2) > div:nth-child(1),
.jcrop-holder >div:first-child >div:nth-child(2) > div:nth-child(2){
    background: white url(/sites/all/libraries/Jcrop_back0.9.8/css/Jcrop.gif) top left repeat;
    height: 1px !important;
    top: 0 !important;
    width: calc(100% - 4px) !important;
    left: 2px !important;
}
.jcrop-holder >div:first-child >div:nth-child(2) > div:nth-child(2) {
    top: inherit !important;
    bottom: 0 !important;
}
.jcrop-holder >div:first-child >div:nth-child(2) > div:nth-child(3), .jcrop-holder >div:first-child >div:nth-child(2) > div:nth-child(4) {
    background: white url(/sites/all/libraries/Jcrop_back0.9.8/css/Jcrop.gif) top left repeat;
    width: 1px !important;
    left: 0 !important;
    top: 2px !important;
    height: calc(100% - 4px) !important;
}
.jcrop-handle {
    background-color: #000 !important;
    opacity: 32 !important;
    border-radius: 50%;
}
.jcrop-holder >div:first-child >div:nth-child(2) > div:nth-child(4) {
    left: inherit !important;
    right: 0;
}
button.ui-button:nth-child(1) > span.ui-button-text:after {
    content: 'Применить';
}
button.ui-button:nth-child(2) > span.ui-button-text:after {
    content: 'Отменить';
}
.ui-widget-overlay {
    z-index: 250 !important;
    background: rgba(34,34,34,0.7);
    position: absolute;
    top: 0;
    left: 0;
}


.ui-dialog-buttonset button.ui-state-default {
    background: none;
    border: 0;
    color: #787777;
    cursor: pointer;
    font: 500 14px roboto, sans-serif;
    padding: 9px 25px;
    float: right;
    margin: 0 !important;
}
.ui-dialog-buttonset button.ui-state-default:nth-child(2):hover {
    color: #fff;
}
.ui-dialog-buttonset button.ui-state-default:nth-child(1):hover {
    background: rgba(15, 15, 15, .6);
    border-radius: 3px;
    color: #fff;
}