.editorMsg {
    font-size: 14px;
    color: #475669;
    font-family: 'apercu_pro', sans-serif;
}

.editorMsg__grey {
    background-color: #e4e5ea;
    display: block;
    padding: 15px 0;
    border-radius: 2px;

}

.editorMsg__inp-block {
    position: relative;
    width: 97%;
    border-radius: 2px;
    height: 37px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    margin-right: 15px;
    background: #fff;
    padding-bottom: 3px;
}

.editorMsg .popover {
    margin-top: 0;
}

.editorMsg__input {
    width: 90%;
    height: 100%;
    border: none;
    font-size: 14px;
    box-sizing: border-box;
    z-index: 1;
    color: #475669;
    font-family: 'apercu_pro', sans-serif;
    background-color: white;
    padding: 3px 10px
}

.editorMsg__input.editorMsg__input--trash {
    padding: 0;
    width: 100%;
}

.editorMsg__input--trash .SumoSelect > .CaptionCont > label > i:before {
    content: '\f2ed';
    font-family: "Font Awesome 5 Free";
    font-size: 20px;
    position: absolute;
    top: 2px;
    left: 2px;
}

.editorMsg__input--trash .SumoSelect > .CaptionCont > label {

    top: -2px;
    width: 39px;
    background-color: gainsboro;
}

.editorMsg__input.editorMsg__input--trash .SumoSelect > .CaptionCont > span {
    font-size: 14px;
    padding: 6px;
}

.editorMsg__input.editorMsg__input--trash .SumoSelect > .CaptionCont {
    height: 100%;
    padding: 0;
}

.editorMsg__input.editorMsg__input--trash .SumoSelect.open > .CaptionCont > label > i {
    transform: none;
    top: -5px;
}
.editorMsg__input.editorMsg__input--trash .SumoSelect {
    height: 100%;
}

.pb1 {
    padding-bottom: 1px;
}

.editorMsg__inp-block--sm {

    width: 190px;
}

.clockpicker_inp {
    width: 100%;
    height: 100%;
    padding: 0;
    font-size: 14px;
    color: #475669;
    font-family: 'apercu_pro', sans-serif;
    border: none;
}

.editorMsg__top-line {
    display: block;
    background: #d0d2da;
    padding: 7px 10px;
    font-family: apercu_pro, sans-serif;
    color: #475669;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 13px;
}

.editorMsg__actions > div {
    display: inline-block;
    margin-right: 25px;
}

.editorMsg__txta {
    resize: none;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    font-size: 14px;
    color: #475669;
    border: none;
    padding: 10px;
    padding-right: 50px;
    font-family: 'apercu_pro', sans-serif;

}

.editorMsg__big-ta {
    color: #ff8e41;
    font-size: 24px;
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

.editorMsg__txt-block {
    position: relative;
    height: 146px;
    width: 100%;
    margin-top: 20px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

.cropper-panel--pp .cropper-panel__flex-box div .editorMsg__inp-block--show1200 {
    display: none;
}

.editorMsg__txt-block.active {
    height: 600px;
}

.editorMsg__simbol-count {
    position: absolute;
    right: 26px;
    top: auto;
    bottom: 10px;
    display: inline-block;
    vertical-align: bottom;
    font-size: 17px;
    color: #999;
    margin-bottom: -2px;
    font-family: 'apercu_pro', sans-serif;
}

.editorMsg__btn {
    position: relative;
    display: inline-block;
    line-height: 35px;
    font-size: 15px;
    background: #ff8e41;
    color: #fff;
    font-weight: bold;
    text-align: center;
    box-sizing: border-box;
    border: 1px solid #ff8e41;
    border-radius: 3px;
    margin-right: 15px;
    margin-top: 20px;
    padding: 11px 50px;
}

.editorMsg__btn:hover {
    background: #e27200;
}

.editorMsg__btn.editorMsg__btn--contr {
    background: #fff;
    color: #ff8e41;
}

.editorMsg__file-block {
    position: absolute;
    right: -27px;
    top: 7px;
}

.editorMsg__file-block i {
    color: #ff8e41;
    cursor: pointer;
    font-size: 20px;
}

.editorMsg__file-block .hint {
    top: 23px;
    right: 0;
}

.rbt-e-block__full-pp {
    background-image: url(/i/crossroads.svg);
    width: 100%;
    height: 100%;
    background-position-x: center;
    background-position-y: 6px;
    background-repeat: no-repeat;
    background-size: 15px;
    display: block;
}

.editorMsg__photo > a {
    display: inline-block;
    width: 250px;
    height: 150px;
}

.editorMsg__photo > a img {
    width: 100%;
    height: 100%;
    border-radius: 2px;
    object-fit: cover;
}

.editorMsg__icon-abs {
    position: absolute;
    right: 0px;
    top: -1px;
    text-align: center;
    background-color: gainsboro;
    width: 39px;
    z-index: 5;
    height: 102%;
    border-top: 1px solid #ccc;
}

.editorMsg__icon-abs i {
    color: #ff8e41;
    margin-top: 8px;
    font-size: 17px;
}

.editorMsg__photo {
    display: inline-block;
    vertical-align: top;
    position: relative;
}

.editorMsg__photo-shadow {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    transition: 0.3s;
    text-align: center;
    padding-top: 24px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: white;
}

.editorMsg__photo-shadow a {
    color: white;
}

.editorMsg__photo-shadow > * {
    display: block;
    margin-bottom: 10px;
}

/*редактор картинки*/
.cropper-wrapp.cropper-wrapp-pp {
    -ms-flex: 0 0 90%;
    -webkit-flex: 0 0 90%;
    flex: 0 0 90%;
    max-width: 90%;
    max-height: 620px;
    min-height: 250px;
}

.modal.modal-photo-edit {
    padding: 15px;
    max-width: 1200px;
}

.cropper-container__close {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 12px;
    height: 12px;
    background: url(/i/close-12x12.png) no-repeat;
    cursor: pointer;
}

.cropper-container__close:hover {
    background: url(/i/close-12x12-red.png) no-repeat;
}

.cropper-container.cropper-container--pp {
    margin: 0;
}

.filter-pp__btn.filter-pp__btn--big {
    width: 250px;
    padding: 15px 0;
}

.cropper-panel.cropper-panel--pp {
    -ms-flex: 0 0 10%;
    flex: 0 0 10%;
    -webkit-flex: 0 0 10%;
    max-width: 10%;
    border: none;
    background-color: inherit;
    padding-right: 0;
    padding-bottom: 0;
}

.cropper-panel__act .editorMsg__inp-block {
    position: absolute;
    left: -104px;
    top: 41px;
    display: none;
}

/*end_редактор картинки*/

/*баттоны*/
.editorMsg .rbt-e-block {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    font-family: 'apercu_pro', sans-serif;
}

.editorMsg .rbt-e {
    display: none;
}

.editorMsg .rbt-e + label {
    display: inline-block;
    vertical-align: top;
    position: relative;
    line-height: normal;
    color: #475669;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    width: 27px;
    height: 27px;
}

.editorMsg .font-color .rbt-e + label {
    top: 0;
    left: 1px;
    width: 27px;
    height: 27px;
    vertical-align: middle;
    outline: none;
    border-radius: 5px;
}

.editorMsg .font-color .rbt-blue .rbt-e + label {
    background: #475669;
    box-shadow: 0 0 0 60px rgba(0, 0, 0, 0) inset, .1em .1em .2em #475669;
    background: linear-gradient(#72959C, #66848B 48%, #475669 52%, #466069);
}

.editorMsg .font-color .rbt-red .rbt-e + label {
    box-shadow: 0 0 0 60px rgba(0, 0, 0, 0) inset, .1em .1em .2em #800;
    background: linear-gradient(#FB9575, #F45A38 48%, #EA1502 52%, #F02F17);
}

.editorMsg .font-color .rbt-e:checked + label {
    position: relative;
    top: 1px;
    left: 1px;
    box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, 0.5) inset;
}

.editorMsg .font-size .label-rbt-e-cnt {
    font-size: 16px;
    font-family: 'apercu_pro', sans-serif;
    color: #475669;
    padding-top: 1px;
    position: static;
}

.editorMsg__img-wrap .rbt-block {
    display: block;
    height: auto;
    margin-bottom: 13px;
}

.editorMsg__photo:hover .editorMsg__photo-shadow {
    display: block;
}

.editorMsg .font-size .rbt-e + .label-rbt-e {
    top: 0;
    left: -1px;
    width: 27px;
    height: 27px;
    vertical-align: middle;
    outline: none;
    border-radius: 5px;
    background: #fff;
    text-align: center;
    box-shadow: 0 0 0 60px rgba(0, 0, 0, 0) inset, 0.1em 0.1em 0.2em #475669
}

.editorMsg .font-size .rbt-e:checked + .label-rbt-e {
    position: relative;
    top: 1px;
    left: 1px;
    box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, 0.5) inset;
}

.editorMsg .fsz .italic-font {
    margin-top: 5px;
    font-size: 17px;
    color: #475669;
}

.editorMsg > * {
    border-bottom: 1px solid white;
}

.editorMsg__block-in > div:not(:last-of-type) {

    border-bottom: 1px solid white;
}

.editorMsg > div:last-of-type {
    border-bottom: none;
}

.editorMsg__block-in {
    border: none;
}

/*баттоны-конец*/

/*Превью*/

.ribbon-preview-modal {
    background: white;
    padding: 25px 30px;
    max-width: 870px;
    box-sizing: border-box;
}

.ribbon-preview-modal .tape__item {
    width: auto;
}

.ribbon-preview-modal .filter-pp__close {
    top: 12px;
    right: 12px;
}

.ribbon-preview-mail {
    background: white;
    max-width: 870px;
    box-sizing: border-box;
}

.ribbon-preview-mail .filter-pp__mdl {

    padding: 25px 30px;
}

.ribbon-preview-mail__top .filter-pp__close {
    top: 16px;
    right: 10px;

}

.ribbon-preview-mail .tape__cnt-block {
    border-top: 1px solid #bcbcbc;
    margin-top: 25px;
    padding-top: 25px;
}

.ribbon-preview-mail .tape__item {
    width: 100%;
    border: none;
    margin-top: 0;
    padding: 0;
}

.ribbon-preview-mail__top {
    background: linear-gradient(to right, #fdbe42 0%, #fcaf17 25%);
    padding: 25px;
    margin: 0;
    position: relative;
}

.ribbon-preview-mail__top-logo {
    position: absolute;
    float: none;
    width: 46px;
    height: 38px;
    right: 20px;
    top: 20px;
    background-image: url(/i/lightsoft-white-logo.png);
    background-repeat: no-repeat;
}

.ribbon-preview-mail__top-ttl {
    color: white;
    display: inline-block;
    font-family: 'apercu_pro', sans-serif;

    font-size: 20px;
    font-weight: normal;
    margin-right: 15px;
}

.ribbon-editor-img-modal {
    padding: 15px;
    max-width: 1200px;
}

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

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

        width: auto;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;

    }

    .cropper-container__close {
        display: none;
    }

    .cropper-wrapp.cropper-wrapp-pp {
        -ms-flex: 0 0 100%;
        -webkit-flex: 0 0 90%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .editorMsg__photo-shadow {
        display: block !important;
        box-shadow: none;
        background-color: inherit;
        height: auto;
        left: 248px;
        top: 104px;
        width: 225px;
    }

    .editorMsg__photo-shadow > * {
        display: inline-block;
        text-transform: uppercase;

    }

    .editorMsg__actions > div {
        margin-right: 5px;
    }

    .editorMsg__photo-shadow a {
        color: #ff8e41;
    }

    .editorMsg__photo-del {
        color: #e03a3a;
        margin-left: 15px;
    }

    .filter-small--v2 .rbt-block {
        display: block;
        margin-top: 15px;
    }

    .mfp-content {
        height: auto !important;
    }

    .cropper-panel__act--hide1200, .cropper-panel__act .editorMsg__inp-block {
        display: none !important;
    }

    .editorMsg__inp-block--show1200 {
        display: block;
        position: static;
        margin-bottom: 0 !important;
        width: 100%;
        margin-top: 20px;
        height: 39px;
    }

    .editorMsg__btn {
        display: block;
        margin-right: 0;
        width: 50%;
    }

}

@media screen and (max-width: 713px) {
    .editorMsg .editorMsg__grey:last-of-type .editorMsg__inp-block--sm:last-of-type {
        display: block;
        margin-top: 15px;
    }

}

@media screen and (max-width: 576px) {
    .editorMsg__img-wrap .editorMsg__photo {
        display: block;
        padding-bottom: 40px;
    }

    .editorMsg .box-radio {
        display: inline-block;
        margin-bottom: 0;
        margin-top: 15px;
    }

    .editorMsg__img-wrap .w40p {
        width: auto !important;
        margin-left: 0 !important;
    }

    .editorMsg .editorMsg__inp-block--sm {
        display: block;
        width: 100%
    }

    .editorMsg .editorMsg__inp-block--sm:not(:first-child) {
        margin-top: 15px;
    }

    .editorMsg__photo-shadow {
        left: 0;
        top: 139px;
        text-align: left;
    }

    .editorMsg__file-block {
        right: 10px;
    }

    .modal .filter-pp__link-del {
        display: block;
        margin-top: 15px;
    }

    .editorMsg__btn {
        display: block;
        margin-right: 0;
        width: 100%;
    }

}

@media screen and (max-width: 425px) {
    .cropper-panel.cropper-panel--pp.cropper-panel__flex-box {
        flex-direction: column;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        padding: 0;

    }

    .cropper-panel.cropper-panel--pp .cropper-panel__flex-box {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
    }

    .cropper-panel.cropper-panel--pp .cropper-panel__flex-box div:last-of-type {
        flex-basis: 100%;
        -webkit-flex-basis: 100%;
        -ms-flex-basis: 100%;
    }

    .img-editor-actions__btn {
        width: 100%;
    }
}

