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

.cropper-container > * {
    box-sizing: border-box;
}

.cropper-container {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}

.cropper-wrapp { /*здесь определяется ширина редактируемой картинки*/
    display: inline-block;
    vertical-align: top;
    -ms-flex: 0 0 87%;
    -webkit-flex: 0 0 87%;
    flex: 0 0 87%;
    max-width: 87%;
    min-height: 550px;
    max-height: 550px;
}

.avablock-preview-img {
    overflow: hidden;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    background-color: white;
    margin-bottom: 6px;
    display: block;
}

.avablock-preview-img:last-of-type {
    margin-bottom: 0px;
}

.avablock-preview-img > img {
    max-width: 100%;
}

.avablock-preview-img--circle {
    border-radius: 50px;
}

.cropper-panel { /*здесь определяется ширина левой панели редактора*/
    -webkit-box-flex: 0;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
    -ms-flex: 0 0 13%;
    flex: 0 0 13%;
    -webkit-flex: 0 0 13%;
    max-width: 13%;
    padding: 20px 10px;
    background-color: #e9ecef;
    border: 1px solid rgb(206, 212, 218);
    width: 120px;
    font-size: 14px;
    color: #475669;
    font-family: 'apercu_pro', sans-serif;
    text-align: center;

}

.cropper-panel .hint,
.filter__editor .hint,
.filter__inp-question .hint {
    right: 0;
    position: absolute;
    padding: 6px 9px 6px 9px;
    background: rgba(255, 255, 255, 1);
    color: #475669;
    font-size: 14px;
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.3);
    z-index: 100;
    border-radius: 3px;
    white-space: nowrap;
    display: none;
    top: 45px;
    text-align: left;
    font-family: apercu_pro, sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: none;
    font-weight: normal;
    width: auto;
}

.cropper-panel__flex-box > div > div:not(:last-of-type) {
    margin-bottom: 20px;
    display: block;
}

.cropper-panel__act__block {
    width: 77px;
    height: 39px;
    padding-top: 8px;
    position: relative;
    background-color: white;
    display: inline-block;
    box-sizing: border-box;
    border-radius: 2px;
    text-align: center;
    cursor: pointer;
}

.cropper-panel .fa {
    font-size: 24px;
    cursor: pointer;
    width: 100%;
    position: relative;
    height: 100%;
    color: black;
}

.cropper-panel__dbl-act__block {
    display: inline-block;
    padding-top: 8px;
    position: relative;
    background-color: white;
    box-sizing: border-box;
    border-radius: 2px;
    text-align: center;
    cursor: pointer;
    width: 40px;
    vertical-align: middle;
    height: 39px;

}

.cropper-panel__dbl-act .cropper-panel__dbl-act__block:last-of-type {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 2px;
    border-top-right-radius: 2px;
    border-top-left-radius: 0px;
    margin-left: -5px;
}

.cropper-panel__flex-box {
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;

    height: 100%;
    flex-direction: column;
    -webkit-flex-direction: column;
}

.img-editor-actions__preview div {
    font-size: 14px;
    color: #475669;
    display: block;
}

.filter__editor {
    position: absolute;
    right: -45px;
    top: 8px;
    cursor: pointer;
    text-decoration: none;
}

.filter__editor .fa-camera {
    cursor: pointer;
}

.form-btn {
    background: #fff;
    border: 1px solid #ff8e41;
    padding: 11px 66px 13px 66px;
    box-sizing: border-box;
    border-radius: 2px;
    color: #ff8e41;
    font-size: 15px;
    cursor: pointer;
    margin-top: 40px;
    font-family: 'apercu_pro', sans-serif;
}

.form-btn:hover {
    background-color: #e27200;
    color: white;
}

.cropper-panel .fa-external-link, .cropper-panel .fa-camera {
    color: #318cc6;
    background-color: white;
}

.filter__editor .hint {
    top: 25px;
}

.cropper-panel__act__block:hover,
.cropper-panel__dbl-act__block:hover,
.cropper-panel__dbl-act__block:hover a,
.cropper-panel__act__block:hover a,
.cropper-panel__dbl-act__block:hover .link-blue,
.cropper-panel__act__block:hover .link-blue,
.cropper-panel__act__block:hover .fa,
.cropper-panel__dbl-act__block:hover .fa {
    background-color: #ff8e41;
    color: white;
}

.filter__editor i:hover {
    color: #ff8e41 !important;
}

.filter__inp-block--error {
    border-color: #da4c4c;
    box-shadow: 0px 0px 0px 1px #da4c4c;
    border-radius: 2px;
    position: relative;
}

.filter__inp-question {
    position: absolute;
    right: 4px;
    top: 6px;
}

.filter__inp-question i {
    color: #da4c4c;
    background: #fff;
    position: relative;
    font-size: 19px;
}

.section--grey .filter__inp-question .hint {
    top: 21px;
}

.cropper-panel__info-btm {
    margin-top: 25px;
    font-family: 'apercu_pro', sans-serif;
    font-size: 15px;
    color: black;
}

.img-editor-actions__btn {
    position: relative;
    display: inline-block;
    font-size: 14px;
    background: #ff8e41;
    color: #fff;
    font-weight: normal;
    text-align: center;
    box-sizing: border-box;
    border: 1px solid #ff8e41;
    border-radius: 2px;
    margin-top: 20px;
    margin-bottom: 15px;
    padding-top: 3px;
    width: 95px;
    height: 39px;
}

.img-editor-actions__btn:hover {
    background: #e27200;
    border: 1px solid #e27200;
}

.cropper-panel__loader {
    background-image: url(/i/tophotels/loader-editor.gif);
    background-repeat: no-repeat;
    width: 30px;
    height: 31px;
    position: absolute;
    background-size: 22px;
    right: 22px;
    top: 7px;
    display: none;
}

.js-loader:hover .cropper-panel__loader {
    background-color: #ff8e41;
}

.cropper-panel__loader:hover {
    background-color: #ff8e41 !important;
}

.cropper-container .request-overflow {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    text-align: center;
    width: 87%;
}

.cropper-container .request-loader__img {
    margin-top: 220px;
    display: inline-block !important;
    width: 100px !important;
    height: 100px !important;
}

.cropper-panel .fa.fa-rotate-right::after {
    content: '\f2f9';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.cropper-panel .fa.fa-rotate-left::after {
    content: '\f2ea';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.cropper-panel .fa.fa-arrows-h::after {
    content: '\f337';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.cropper-panel .fa.fa-external-link::after {
    content: '\f35d';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

#tab-pjax-avatar .filter-new .hint {
    right: 0;
    left: auto;
}

@media screen and (max-width: 1200px) {

    .cropper-container .request-overflow {
        width: 100%;
    }

    .cropper-wrapp {
        display: inline-block;
        vertical-align: top;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        -webkit-flex: 0 0 100%;
        max-width: 100%;
    }

    .cropper-panel {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        -webkit-flex: 0 0 100%;
        max-width: 100%;
    }

    .cropper-panel__flex-box {
        flex-direction: row;
        -webkit-flex-direction: row;
        -webkit-justify-content: space-around;
        justify-content: space-around;
        width: 100%;
    }

    .cropper-container .hint {
        opacity: 0;
        display: none !important;
    }

    .img-editor-actions__button .hint,
    .filter__editor .hint {
        opacity: 0;
        display: none !important;
    }

}

@media screen and (max-width: 768px) {
    .cropper-container .request-overflow {
        display: none!important;
    }
}

@media screen and (max-width: 639px) {

    .filter__editor {
        right: 11px;
    }

    .cropper-wrapp {
        min-height: auto;
        max-height: none;
    }

}

@media screen and (max-width: 425px) {
    .cropper-panel__flex-box {
        justify-content: space-between;
        -webkit-justify-content: space-between;
    }



}
