/* toolbar label & desc */
.rte-toolbar #tb-label { margin: 4px 0 20px; }
.rte-toolbar #tb-label table { margin: -4px auto 0; }
.rte-toolbar #tb-label table td { border: none !important; padding: 0 0 0 90px; height: 77px; white-space: nowrap; background: no-repeat 0 50%; }

/* CKEditor skin overrides */
.rte-toolbar .cke { visibility: visible; }
.rte-toolbar .cke_chrome *,
.rte-toolbar .cke_chrome a:hover,
.rte-toolbar .cke_chrome a:link,
.rte-toolbar .cke_chrome a:visited,
.rte-toolbar .cke_chrome a:active { white-space: normal; }

.rte-toolbar .cke_top { border-bottom: none; overflow: visible; }
.rte-toolbar .cke_top:after { content: '.'; display: block; height: 0; clear: both; visibility: hidden; }
.rte-toolbar .cke_toolbox { min-height: 33px; _height: 28px; }
.rte-toolbar .cke_toolbox { position: relative; z-index: 1; display: flex; flex-wrap: wrap;}

.rte-toolbar .cke_chrome .cke_button:hover,
.rte-toolbar .cke_chrome .cke_button:focus,
.rte-toolbar .cke_chrome .cke_button:active { border-color: transparent !important; background-color: transparent; }

.rte-toolbar .cke_chrome .cke_button:hover.cke_on,
.rte-toolbar .cke_chrome .cke_button:focus.cke_on,
.rte-toolbar .cke_chrome .cke_button:active.cke_on,
.rte-toolbar .cke_chrome .cke_button:hover.cke_off,
.rte-toolbar .cke_chrome .cke_button:focus.cke_off,
.rte-toolbar .cke_chrome .cke_button:active.cke_off,
.rte-toolbar .cke_chrome .cke_rcombo .cke_off a:hover .cke_text,
.rte-toolbar .cke_chrome .cke_rcombo .cke_off a:focus .cke_text,
.rte-toolbar .cke_chrome .cke_rcombo .cke_off a:active .cke_text,
.rte-toolbar .cke_chrome .cke_rcombo .cke_on .cke_text { opacity: 0.7; }

/* grab cursors */
.rte-toolbar .cke_chrome .cke_toolgroup,
.rte-toolbar .cke_chrome .cke_toolgroup *,
.rte-toolbar .cke_chrome .cke_rcombo a,
.rte-toolbar .cke_chrome .cke_rcombo a * { cursor: move; cursor: -webkit-grab; cursor: -moz-grab; }

.rte-toolbar .cke_chrome .cke_button a { margin: -2px 0; padding: 4px; }

body.tb-dragging * { cursor: -webkit-grabbing !important; }

/* selections */
.rte-toolbar #tb-selections { margin: 15px 5px 0; }

.rte-toolbar #tb-selections .disabled .cke_button_icon { opacity: 0.2; }

.redactor-box.redactor-styles-on {
    background: var(--ee-input-bg);
    border: 1px solid var(--ee-input-border);
    color: var(--ee-input-color);
}

.redactor-statusbar {
    background: var(--ee-panel-bg);
}

.redactor-statusbar li {
    color: var(--ee-input-color);
    border-right: 1px solid var(--ee-button-default-border);
}
.redactor-toolbar a,
.redactor-air a {
    color: var(--ee-button-default-color);
    background: var(--ee-panel-bg);
}

.redactor-styles {
    color: var(--ee-input-color);
} 


.cke_reset {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-decoration: none;
    width: auto;
    height: auto;
    vertical-align: baseline;
    box-sizing: content-box;
    position: static;
    transition: none;
}

.cke_inner {
    display: block;
    border-radius: 2px;
    -webkit-touch-callout: none;
    background: var(--ee-panel-bg);
    padding: 0;
}

.cke_chrome {
    visibility: inherit;
}
.cke_chrome {
    display: block;
    border: 1px solid #8195a0;
    border-radius: 3px;
    padding: 0;
}

.cke_top {
    border-bottom: 1px dotted #d5d5d5;
    padding-top: 5px;
    white-space: normal;
}
.cke_top, .cke_bottom {
    margin: 0 5px;
}
.cke_top, .cke_contents, .cke_bottom {
    display: block;
    overflow: hidden;
}

.cke_toolbar {
    float: left;
    margin: 0 5px 5px 0;
    padding-right: 5px;
    border-right: 1px dotted var(--ee-panel-border);
}

.cke_toolgroup {
    float: left;
}

.cke_ltr .cke_button:first-child, .cke_rtl .cke_button:last-child {
    border-radius: 2px 0 0 2px;
}

a.cke_button {
    display: inline-block;
    height: 18px;
    padding: 4px;
    outline: 0;
    cursor: default;
    float: left;
    border: 0;
}

.cke_button_icon {
    cursor: inherit;
    background-repeat: no-repeat;
    margin-top: 1px;
    width: 16px;
    height: 16px;
    float: left;
    display: inline-block;
    opacity: .8;
}

.cke_button_label {
    display: none;
    padding-left: 3px;
    margin-top: 1px;
    line-height: 17px;
    vertical-align: middle;
    float: left;
    cursor: default;
    color: #474747;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

.cke_button_icon {
    color: var(--ee-button-default-color);
    position: relative;

    svg {
        fill: var(--ee-button-default-color);
    }
}

.cke_button_icon.cke_button__bold_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10.187 17H5.773c-.637 0-1.092-.138-1.364-.415-.273-.277-.409-.718-.409-1.323V4.738c0-.617.14-1.062.419-1.332.279-.27.73-.406 1.354-.406h4.68c.69 0 1.288.041 1.793.124.506.083.96.242 1.36.478.341.197.644.447.906.75a3.262 3.262 0 0 1 .808 2.162c0 1.401-.722 2.426-2.167 3.075C15.05 10.175 16 11.315 16 13.01a3.756 3.756 0 0 1-2.296 3.504 6.1 6.1 0 0 1-1.517.377c-.571.073-1.238.11-2 .11zm-.217-6.217H7v4.087h3.069c1.977 0 2.965-.69 2.965-2.072 0-.707-.256-1.22-.768-1.537-.512-.319-1.277-.478-2.296-.478zM7 5.13v3.619h2.606c.729 0 1.292-.067 1.69-.2a1.6 1.6 0 0 0 .91-.765c.165-.267.247-.566.247-.897 0-.707-.26-1.176-.778-1.409-.519-.232-1.31-.348-2.375-.348H7z"></path></svg>');
}

.cke_button_icon.cke_button__italic_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M9.586 14.633l.021.004c-.036.335.095.655.393.962.082.083.173.15.274.201h1.474a.6.6 0 1 1 0 1.2H5.304a.6.6 0 0 1 0-1.2h1.15c.474-.07.809-.182 1.005-.334.157-.122.291-.32.404-.597l2.416-9.55a1.053 1.053 0 0 0-.281-.823 1.12 1.12 0 0 0-.442-.296H8.15a.6.6 0 0 1 0-1.2h6.443a.6.6 0 1 1 0 1.2h-1.195c-.376.056-.65.155-.823.296-.215.175-.423.439-.623.79l-2.366 9.347z"></path></svg>');
}

.cke_button_icon.cke_button__underline_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M3 18v-1.5h14V18zm2.2-8V3.6c0-.4.4-.6.8-.6.3 0 .7.2.7.6v6.2c0 2 1.3 2.8 3.2 2.8 1.9 0 3.4-.9 3.4-2.9V3.6c0-.3.4-.5.8-.5.3 0 .7.2.7.5V10c0 2.7-2.2 4-4.9 4-2.6 0-4.7-1.2-4.7-4z"></path></svg>');
}

.cke_button_icon.cke_button__strikethrough_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M7 16.4c-.8-.4-1.5-.9-2.2-1.5a.6.6 0 0 1-.2-.5l.3-.6h1c1 1.2 2.1 1.7 3.7 1.7 1 0 1.8-.3 2.3-.6.6-.4.6-1.2.6-1.3.2-1.2-.9-2.1-.9-2.1h2.1c.3.7.4 1.2.4 1.7v.8l-.6 1.2c-.6.8-1.1 1-1.6 1.2a6 6 0 0 1-2.4.6c-1 0-1.8-.3-2.5-.6zM6.8 9L6 8.3c-.4-.5-.5-.8-.5-1.6 0-.7.1-1.3.5-1.8.4-.6 1-1 1.6-1.3a6.3 6.3 0 0 1 4.7 0 4 4 0 0 1 1.7 1l.3.7c0 .1.2.4-.2.7-.4.2-.9.1-1 0a3 3 0 0 0-1.2-1c-.4-.2-1-.3-2-.4-.7 0-1.4.2-2 .6-.8.6-1 .8-1 1.5 0 .8.5 1 1.2 1.5.6.4 1.1.7 1.9 1H6.8z"></path><path d="M3 10.5V9h14v1.5z"></path></svg>');
}

.cke_button_icon.cke_button__subscript_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M7.03 10.349l3.818-3.819a.8.8 0 1 1 1.132 1.132L8.16 11.48l3.819 3.818a.8.8 0 1 1-1.132 1.132L7.03 12.61l-3.818 3.82a.8.8 0 1 1-1.132-1.132L5.9 11.48 2.08 7.662A.8.8 0 1 1 3.212 6.53l3.818 3.82zm8.147 7.829h2.549c.254 0 .447.05.58.152a.49.49 0 0 1 .201.413.54.54 0 0 1-.159.393c-.105.108-.266.162-.48.162h-3.594c-.245 0-.435-.066-.572-.197a.621.621 0 0 1-.205-.463c0-.114.044-.265.132-.453a1.62 1.62 0 0 1 .288-.444c.433-.436.824-.81 1.172-1.122.348-.312.597-.517.747-.615.267-.183.49-.368.667-.553.177-.185.312-.375.405-.57.093-.194.139-.384.139-.57a1.008 1.008 0 0 0-.554-.917 1.197 1.197 0 0 0-.56-.133c-.426 0-.761.182-1.005.546a2.332 2.332 0 0 0-.164.39 1.609 1.609 0 0 1-.258.488c-.096.114-.237.17-.423.17a.558.558 0 0 1-.405-.156.568.568 0 0 1-.161-.427c0-.218.05-.446.151-.683.101-.238.252-.453.452-.646s.454-.349.762-.467a2.998 2.998 0 0 1 1.081-.178c.498 0 .923.076 1.274.228a1.916 1.916 0 0 1 1.004 1.032 1.984 1.984 0 0 1-.156 1.794c-.2.32-.405.572-.613.754-.208.182-.558.468-1.048.857-.49.39-.826.691-1.008.906a2.703 2.703 0 0 0-.24.309z"></path></svg>');
}

.cke_button_icon.cke_button__superscript_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M15.677 8.678h2.549c.254 0 .447.05.58.152a.49.49 0 0 1 .201.413.54.54 0 0 1-.159.393c-.105.108-.266.162-.48.162h-3.594c-.245 0-.435-.066-.572-.197a.621.621 0 0 1-.205-.463c0-.114.044-.265.132-.453a1.62 1.62 0 0 1 .288-.444c.433-.436.824-.81 1.172-1.122.348-.312.597-.517.747-.615.267-.183.49-.368.667-.553.177-.185.312-.375.405-.57.093-.194.139-.384.139-.57a1.008 1.008 0 0 0-.554-.917 1.197 1.197 0 0 0-.56-.133c-.426 0-.761.182-1.005.546a2.332 2.332 0 0 0-.164.39 1.609 1.609 0 0 1-.258.488c-.096.114-.237.17-.423.17a.558.558 0 0 1-.405-.156.568.568 0 0 1-.161-.427c0-.218.05-.446.151-.683.101-.238.252-.453.452-.646s.454-.349.762-.467a2.998 2.998 0 0 1 1.081-.178c.498 0 .923.076 1.274.228a1.916 1.916 0 0 1 1.004 1.032 1.984 1.984 0 0 1-.156 1.794c-.2.32-.405.572-.613.754-.208.182-.558.468-1.048.857-.49.39-.826.691-1.008.906a2.703 2.703 0 0 0-.24.309zM7.03 10.349l3.818-3.819a.8.8 0 1 1 1.132 1.132L8.16 11.48l3.819 3.818a.8.8 0 1 1-1.132 1.132L7.03 12.61l-3.818 3.82a.8.8 0 1 1-1.132-1.132L5.9 11.48 2.08 7.662A.8.8 0 1 1 3.212 6.53l3.818 3.82z"></path></svg>');
}

.cke_button_icon.cke_button__code_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M12.5 5.7l5.2 3.9v1.3l-5.6 4c-.1.2-.3.2-.5.2-.3-.1-.6-.7-.6-1l.3-.4 4.7-3.5L11.5 7l-.2-.2c-.1-.3-.1-.6 0-.8.2-.2.5-.4.8-.4a.8.8 0 0 1 .4.1zm-5.2 0L2 9.6v1.3l5.6 4c.1.2.3.2.5.2.3-.1.7-.7.6-1 0-.1 0-.3-.2-.4l-5-3.5L8.2 7l.2-.2c.1-.3.1-.6 0-.8-.2-.2-.5-.4-.8-.4a.8.8 0 0 0-.3.1z"></path></svg>');
}

.cke_button_icon.cke_button__blockquote_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M3 10.423a6.5 6.5 0 0 1 6.056-6.408l.038.67C6.448 5.423 5.354 7.663 5.22 10H9c.552 0 .5.432.5.986v4.511c0 .554-.448.503-1 .503h-5c-.552 0-.5-.449-.5-1.003v-4.574zm8 0a6.5 6.5 0 0 1 6.056-6.408l.038.67c-2.646.739-3.74 2.979-3.873 5.315H17c.552 0 .5.432.5.986v4.511c0 .554-.448.503-1 .503h-5c-.552 0-.5-.449-.5-1.003v-4.574z"></path></svg>');
}

.cke_button_icon.cke_button__heading_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M11.03 3h6.149a.75.75 0 1 1 0 1.5h-5.514L11.03 3zm1.27 3h4.879a.75.75 0 1 1 0 1.5h-4.244L12.3 6zm1.27 3h3.609a.75.75 0 1 1 0 1.5h-2.973L13.57 9zm-2.754 2.5L8.038 4.785 5.261 11.5h5.555zm.62 1.5H4.641l-1.666 4.028H1.312l5.789-14h1.875l5.789 14h-1.663L11.436 13z"></path></svg>');
}

.cke_button_icon.cke_button__removeformat_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M8.69 14.915c.053.052.173.083.36.093a.366.366 0 0 1 .345.485l-.003.01a.738.738 0 0 1-.697.497h-2.67a.374.374 0 0 1-.353-.496l.013-.038a.681.681 0 0 1 .644-.458c.197-.012.325-.043.386-.093a.28.28 0 0 0 .072-.11L9.592 4.5H6.269c-.359-.017-.609.013-.75.09-.142.078-.289.265-.442.563-.192.29-.516.464-.864.464H4.17a.43.43 0 0 1-.407-.569L4.46 3h13.08l-.62 2.043a.81.81 0 0 1-.775.574h-.114a.486.486 0 0 1-.486-.486c.001-.284-.054-.464-.167-.54-.112-.076-.367-.106-.766-.091h-3.28l-2.68 10.257c-.006.074.007.127.038.158zM3 17h8a.5.5 0 1 1 0 1H3a.5.5 0 1 1 0-1zm11.299 1.17a.75.75 0 1 1-1.06-1.06l1.414-1.415-1.415-1.414a.75.75 0 0 1 1.06-1.06l1.415 1.414 1.414-1.415a.75.75 0 1 1 1.06 1.06l-1.413 1.415 1.414 1.415a.75.75 0 0 1-1.06 1.06l-1.415-1.414-1.414 1.414z"></path></svg>');
}
.cke_button_icon.cke_button__undo_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M5.042 9.367l2.189 1.837a.75.75 0 0 1-.965 1.149l-3.788-3.18a.747.747 0 0 1-.21-.284.75.75 0 0 1 .17-.945L6.23 4.762a.75.75 0 1 1 .964 1.15L4.863 7.866h8.917A.75.75 0 0 1 14 7.9a4 4 0 1 1-1.477 7.718l.344-1.489a2.5 2.5 0 1 0 1.094-4.73l.008-.032H5.042z"></path></svg>');
}

.cke_button_icon.cke_button__redo_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M14.958 9.367l-2.189 1.837a.75.75 0 0 0 .965 1.149l3.788-3.18a.747.747 0 0 0 .21-.284.75.75 0 0 0-.17-.945L13.77 4.762a.75.75 0 1 0-.964 1.15l2.331 1.955H6.22A.75.75 0 0 0 6 7.9a4 4 0 1 0 1.477 7.718l-.344-1.489A2.5 2.5 0 1 1 6.039 9.4l-.008-.032h8.927z"></path></svg>');
}

.cke_button_icon.cke_button__numberedlist_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M7 5.75c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM3.5 3v5H2V3.7H1v-1h2.5V3zM.343 17.857l2.59-3.257H2.92a.6.6 0 1 0-1.04 0H.302a2 2 0 1 1 3.995 0h-.001c-.048.405-.16.734-.333.988-.175.254-.59.692-1.244 1.312H4.3v1h-4l.043-.043zM7 14.75a.75.75 0 0 1 .75-.75h9.5a.75.75 0 1 1 0 1.5h-9.5a.75.75 0 0 1-.75-.75z"></path></svg>');
}

.cke_button_icon.cke_button__bulletedlist_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M7 5.75c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zm-6 0C1 4.784 1.777 4 2.75 4c.966 0 1.75.777 1.75 1.75 0 .966-.777 1.75-1.75 1.75C1.784 7.5 1 6.723 1 5.75zm6 9c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zm-6 0c0-.966.777-1.75 1.75-1.75.966 0 1.75.777 1.75 1.75 0 .966-.777 1.75-1.75 1.75-.966 0-1.75-.777-1.75-1.75z"></path></svg>');
}

.cke_button_icon.cke_button__outdent_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm5 6c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM2.75 16.5h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 1 0 0 1.5zm1.618-9.55L.98 9.358a.4.4 0 0 0 .013.661l3.39 2.207A.4.4 0 0 0 5 11.892V7.275a.4.4 0 0 0-.632-.326z"></path></svg>');
}

.cke_button_icon.cke_button__indent_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm5 6c0 .414.336.75.75.75h9.5a.75.75 0 1 0 0-1.5h-9.5a.75.75 0 0 0-.75.75zM2.75 16.5h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 1 0 0 1.5zM1.632 6.95L5.02 9.358a.4.4 0 0 1-.013.661l-3.39 2.207A.4.4 0 0 1 1 11.892V7.275a.4.4 0 0 1 .632-.326z"></path></svg>');
}

.cke_button_icon.cke_button__link_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M11.077 15l.991-1.416a.75.75 0 1 1 1.229.86l-1.148 1.64a.748.748 0 0 1-.217.206 5.251 5.251 0 0 1-8.503-5.955.741.741 0 0 1 .12-.274l1.147-1.639a.75.75 0 1 1 1.228.86L4.933 10.7l.006.003a3.75 3.75 0 0 0 6.132 4.294l.006.004zm5.494-5.335a.748.748 0 0 1-.12.274l-1.147 1.639a.75.75 0 1 1-1.228-.86l.86-1.23a3.75 3.75 0 0 0-6.144-4.301l-.86 1.229a.75.75 0 0 1-1.229-.86l1.148-1.64a.748.748 0 0 1 .217-.206 5.251 5.251 0 0 1 8.503 5.955zm-4.563-2.532a.75.75 0 0 1 .184 1.045l-3.155 4.505a.75.75 0 1 1-1.229-.86l3.155-4.506a.75.75 0 0 1 1.045-.184z"></path></svg>');
}

.cke_button_icon.cke_button__filemanager_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M6.91 10.54c.26-.23.64-.21.88.03l3.36 3.14 2.23-2.06a.64.64 0 0 1 .87 0l2.52 2.97V4.5H3.2v10.12l3.71-4.08zm10.27-7.51c.6 0 1.09.47 1.09 1.05v11.84c0 .59-.49 1.06-1.09 1.06H2.79c-.6 0-1.09-.47-1.09-1.06V4.08c0-.58.49-1.05 1.1-1.05h14.38zm-5.22 5.56a1.96 1.96 0 1 1 3.4-1.96 1.96 1.96 0 0 1-3.4 1.96z"></path></svg>');
}

.cke_button_icon.cke_button__inserttable_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M3 6v3h4V6H3zm0 4v3h4v-3H3zm0 4v3h4v-3H3zm5 3h4v-3H8v3zm5 0h4v-3h-4v3zm4-4v-3h-4v3h4zm0-4V6h-4v3h4zm1.5 8a1.5 1.5 0 0 1-1.5 1.5H3A1.5 1.5 0 0 1 1.5 17V4c.222-.863 1.068-1.5 2-1.5h13c.932 0 1.778.637 2 1.5v13zM12 13v-3H8v3h4zm0-4V6H8v3h4z"></path></svg>');
}

.cke_button_icon.cke_button__mediaembed_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M18.68 3.03c.6 0 .59-.03.59.55v12.84c0 .59.01.56-.59.56H1.29c-.6 0-.59.03-.59-.56V3.58c0-.58-.01-.55.6-.55h17.38zM15.77 15V5H4.2v10h11.57zM2 4v1h1V4H2zm0 2v1h1V6H2zm0 2v1h1V8H2zm0 2v1h1v-1H2zm0 2v1h1v-1H2zm0 2v1h1v-1H2zM17 4v1h1V4h-1zm0 2v1h1V6h-1zm0 2v1h1V8h-1zm0 2v1h1v-1h-1zm0 2v1h1v-1h-1zm0 2v1h1v-1h-1zM7.5 7.177a.4.4 0 01.593-.351l5.133 2.824a.4.4 0 010 .7l-5.133 2.824a.4.4 0 01-.593-.35V7.176v.001z"></path></svg>');
}

.cke_button_icon.cke_button__htmlembed_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M17 0a2 2 0 0 1 2 2v7a1 1 0 0 1 1 1v5a1 1 0 0 1-.883.993l-.118.006L19 17a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2l-.001-1.001-.116-.006A1 1 0 0 1 0 15v-5a1 1 0 0 1 .999-1L1 2a2 2 0 0 1 2-2h14zm.499 15.999h-15L2.5 17a.5.5 0 0 0 .5.5h14a.5.5 0 0 0 .5-.5l-.001-1.001zm-3.478-6.013-.014.014H14v.007l-1.525 1.525-1.46-1.46-.015.013V10h-1v5h1v-3.53l1.428 1.43.048.043.131-.129L14 11.421V15h1v-5h-.965l-.014-.014zM2 10H1v5h1v-2h2v2h1v-5H4v2H2v-2zm7 0H6v1h1v4h1v-4h1v-1zm8 0h-1v5h3v-1h-2v-4zm0-8.5H3a.5.5 0 0 0-.5.5l-.001 6.999h15L17.5 2a.5.5 0 0 0-.5-.5zM10 7v1H4V7h6zm3-2v1H4V5h9zm-3-2v1H4V3h6z"></path></svg>');
}

.cke_button_icon.cke_button__alignmentleft_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 4c0 .414.336.75.75.75h9.929a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0-8c0 .414.336.75.75.75h9.929a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75z"></path></svg>');
}

.cke_button_icon.cke_button__alignmentright_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M18 3.75a.75.75 0 0 1-.75.75H2.75a.75.75 0 1 1 0-1.5h14.5a.75.75 0 0 1 .75.75zm0 8a.75.75 0 0 1-.75.75H2.75a.75.75 0 1 1 0-1.5h14.5a.75.75 0 0 1 .75.75zm0 4a.75.75 0 0 1-.75.75H7.321a.75.75 0 1 1 0-1.5h9.929a.75.75 0 0 1 .75.75zm0-8a.75.75 0 0 1-.75.75H7.321a.75.75 0 1 1 0-1.5h9.929a.75.75 0 0 1 .75.75z"></path></svg>');
}

.cke_button_icon.cke_button__alignmentcenter_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm2.286 4c0 .414.336.75.75.75h9.928a.75.75 0 1 0 0-1.5H5.036a.75.75 0 0 0-.75.75zm0-8c0 .414.336.75.75.75h9.928a.75.75 0 1 0 0-1.5H5.036a.75.75 0 0 0-.75.75z"></path></svg>');
}

.cke_button_icon.cke_button__alignmentjustify_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 4c0 .414.336.75.75.75h9.929a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0-8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75z"></path></svg>');
}

.cke_button_icon.cke_button__horizontalline_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M2 3.75c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0 4c0 .414.336.75.75.75h9.929a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75zm0-8c0 .414.336.75.75.75h14.5a.75.75 0 1 0 0-1.5H2.75a.75.75 0 0 0-.75.75z"></path></svg>');
}

.cke_button_icon.cke_button__specialcharacters_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 2.5a7.47 7.47 0 0 1 4.231 1.31 7.268 7.268 0 0 1 2.703 3.454 7.128 7.128 0 0 1 .199 4.353c-.39 1.436-1.475 2.72-2.633 3.677h2.013c0-.226.092-.443.254-.603a.876.876 0 0 1 1.229 0c.163.16.254.377.254.603v.853c0 .209-.078.41-.22.567a.873.873 0 0 1-.547.28l-.101.006h-4.695a.517.517 0 0 1-.516-.518v-1.265c0-.21.128-.398.317-.489a5.601 5.601 0 0 0 2.492-2.371 5.459 5.459 0 0 0 .552-3.693 5.53 5.53 0 0 0-1.955-3.2A5.71 5.71 0 0 0 10 4.206 5.708 5.708 0 0 0 6.419 5.46 5.527 5.527 0 0 0 4.46 8.663a5.457 5.457 0 0 0 .554 3.695 5.6 5.6 0 0 0 2.497 2.37.55.55 0 0 1 .317.49v1.264c0 .286-.23.518-.516.518H2.618a.877.877 0 0 1-.614-.25.845.845 0 0 1-.254-.603v-.853c0-.226.091-.443.254-.603a.876.876 0 0 1 1.228 0c.163.16.255.377.255.603h1.925c-1.158-.958-2.155-2.241-2.545-3.678a7.128 7.128 0 0 1 .199-4.352 7.268 7.268 0 0 1 2.703-3.455A7.475 7.475 0 0 1 10 2.5z"></path></svg>');
}

.cke_button_icon.cke_button__readmore_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M3.598.687h1.5v5h-1.5zm14.5 0h1.5v5h-1.5z"></path><path d="M19.598 4.187v1.5h-16v-1.5zm-16 14.569h1.5v-5h-1.5zm14.5 0h1.5v-5h-1.5z"></path><path d="M19.598 15.256v-1.5h-16v1.5zM5.081 9h6v2h-6zm8 0h6v2h-6zm-9.483 1L0 12.5v-5z"></path></svg>');
}

.cke_button_icon.cke_button__fontcolor_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M12.4 10.3L10 4.5l-2.4 5.8h4.8zm.5 1.2H7.1L5.7 15H4.2l5-12h1.6l5 12h-1.5L13 11.5zm3.1 7H4a1 1 0 0 1 0-2h12a1 1 0 0 1 0 2z"></path></svg>');
}

.cke_button_icon.cke_button__fontbackgroundcolor_icon {
    // background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M4 2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm8.38 9.262H7.62L10 5.506l2.38 5.756zm.532 1.285L14.34 16h1.426L10.804 4H9.196L4.234 16H5.66l1.428-3.453h5.824z"></path></svg>');
}

/* Redactor */

.re-icon-rte_definedlinks { 
    opacity: 0.75;

    svg {
        fill: var(--ee-button-default-color);
    }
}

.re-icon-filebrowser { 
    content: url('data:image/svg+xml;utf8,<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m1 6c.51283584 0 .93550716.38604019.99327227.88337887l.00672773.11662113v6c0 .4964612.44481521.9373059 1.049825.9938787l.13199318.0061213h5.81818182c.55228475 0 1 .4477153 1 1 0 .5128358-.38604019.9355072-.88337887.9932723l-.11662113.0067277h-5.81818182c-1.67882337 0-3.08194674-1.2331302-3.17671765-2.8277989l-.00510053-.1722011v-6c0-.55228475.44771525-1 1-1zm12.6-6c1.3254834 0 2.4 1.0745166 2.4 2.4v8.2c0 .0812991-.0040424.161654-.0119371.2408747.04537.286293-.0350323.5849432-.229131.8106316-.3901386.7980655-1.2102555 1.3484937-2.1589319 1.3484937h-8.2c-.0093721 0-.01873166-.0000537-.02807838-.0001609l-.37192162.0001604c-.26521649 0-.5195704-.1053563-.70710678-.2928927l.05843073.052268c-.4838201-.2353989-.8766931-.6286113-1.11166129-1.1126794-.19291421-.2239005-.27189946-.5180346-.2277519-.8010756-.00769603-.0805757-.01191076-.1626056-.01191076-.2456198v-8.2c0-1.3254834 1.0745166-2.4 2.4-2.4zm-1.596 8.632-.76.937.839 1.431h1.517c.0486011 0 .0951777-.0086678.1382683-.0245418zm-4.582-1.631-2.176 3.83.169.169h4.349l-.436-.744-.04995732-.0453903c-.12825052-.1334488-.2131256-.2958557-.25256531-.46760617zm6.178-5.001h-8.2c-.2209139 0-.4.1790861-.4.4v4.814l1.53963435-2.70800941c.35805102-.6301698 1.23187816-.67285287 1.65793101-.12170559l.07440231.11030062 1.89203233 3.23141438 1.0987033-1.35538405c.384092-.47423473 1.0895396-.491008 1.4981306-.06381668l.0827862.09833145 1.1563799 1.56386928v-5.569c0-.19329966-.1371128-.35457492-.319386-.39187342z"></path></svg>'); 
    opacity: 0.75;
}

.re-icon-counter { 
    svg {
        fill: var(--ee-button-default-color);
    }
    opacity: 0.75;
}

.re-icon-pages { 
    content: url('data:image/svg+xml;utf8,<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m8 1c3.8659932 0 7 3.13400675 7 7 0 .41562496-.0363345.82696761-.1079778 1.23054987-.004996.04220683-.0132193.08514228-.024399.12800171l-.0016157.01040915c-.0129304.06516346-.0267866.13011227-.0415641.19483161-.0425153.18619829-.134446.34828603-.2587975.47558696-.453219.6877517-1.2540223 1.0606207-2.1002173 1.0606207-.7021902 0-1.3022299-.267223-1.84008-.7870308-.63970759.7277838-1.57889666 1.1870308-2.6253486 1.1870308-1.93299662 0-3.5-1.56700338-3.5-3.5s1.56700338-3.5 3.5-3.5 3.5 1.56700338 3.5 3.5c0 .09852487-.004071.19609891-.0120539.29256309.0832707.05863407.1590104.13364906.2229399.22223279.3278355.45426403.5335836.58520412.7545426.58520412.2433237 0 .4113182-.09466809.4598004-.22373562l-.0506034.24231944c.083034-.36365262.1253744-.73799831.1253744-1.11858382 0-2.76142375-2.2385763-5-5-5-2.76142375 0-5 2.23857625-5 5 0 2.6887547 2.12230671 4.8818181 4.78311038 4.9953805l.21688962.0046195h2c.5522847 0 1 .4477153 1 1 0 .5128358-.3860402.9355072-.8833789.9932723l-.1166211.0067277h-2c-3.86599325 0-7-3.1340068-7-7 0-3.86599325 3.13400675-7 7-7zm0 5.5c-.82842712 0-1.5.67157288-1.5 1.5s.67157288 1.5 1.5 1.5 1.5-.67157288 1.5-1.5-.67157288-1.5-1.5-1.5z"></path></svg>'); 
    opacity: 0.75;
}

.redactor-toolbar a.redactor-button-active .re-icon-rte_definedlinks, 
.redactor-toolbar a.redactor-button-active .re-icon-filebrowser,
.redactor-toolbar a.redactor-button-active .re-icon-counter,
.redactor-toolbar a.redactor-button-active .re-icon-pages,
.redactor-toolbar a.redactor-button-active .re-icon-readmore {
    opacity: 0.4;
}


/* CKEditor stuff */

div.Rte {
    margin-bottom: 10px;
}
textarea.cke_source{
    max-height: none;
}
iframe.Rte {
    border: 1px solid #bbb; 
    width: 100%; 
    background: #fff;
    opacity: 0.7; 
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
    filter: alpha(opacity=70);
    border-radius: 2px; 
    -webkit-border-radius: 2px; 
    -moz-border-radius: 2px;
}
iframe.Rte:hover {
    opacity: 1; 
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; 
    filter: alpha(opacity=100);
}
.ck-content ol li {
    list-style-position: inside;
}
.ck.ck-reset_all .ck-mentions .mention-extra {
    color: #666;
}

.ck.ck-editor__main>.ck-editor__editable {
    color: var(--ck-color-base-text);
}

.ck.ck-editor__main>.ck-editor__editable h2, .ck.ck-editor__main>.ck-editor__editable h3, .ck.ck-editor__main>.ck-editor__editable h4, .ck.ck-editor__main>.ck-editor__editable p, .ck.ck-editor__main>.ck-editor__editable li, .ck.ck-editor__main>.ck-editor__editable ul, .ck.ck-editor__main>.ck-editor__editable ol {
    color: revert;
    text-transform: revert;
    font-size: revert;
    border: none;
    letter-spacing: revert;
    margin: revert;
    padding: revert;
}

.ck.ck-editor__main>.ck-editor__editable table, .ck.ck-editor__main>.ck-editor__editable td {
    font-size: revert;
    color: revert;
    background: revert;
}

.ck-content hr {
    height: 0;
}


/*
 * CKEditor example styles
 * https://ckeditor.com/docs/ckeditor5/latest/assets/snippet-styles.css
 * Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
 */

.ck.ck-editor {
	margin: 1.5em 0;
}

.ck.ck-content {
	padding: 1em;
}

.ck.ck-content > :first-child {
	margin-top: 0;
}

.ck.ck-content > :last-child {
	margin-bottom: 0;
}


/* By default Umberto uses a trick with non breaking spaces around <code> to fix space rendering.
It breaks CKEditor 5 (see how <p><code>[]</code></p> looks). */
.ck.ck-content code:before,
.ck.ck-content code:after {
	content: '' !important;
	letter-spacing: 0 !important;
	display: none !important; /* Firefox is very stubborn. */
}

/* Restore default browser styles for <sub> and <sup>. */

.ck.ck-list {
	/* See https://github.com/ckeditor/ckeditor5/issues/494 */
	margin-left: 0;
    background: var(--ee-button-default-bg) !important;
}

.ck.ck-list__item .ck-button.ck-on:not(.ck-switchbutton) {
    background: var(--ee-accent-light) !important;
}

.ck.ck-list__item .ck-button.ck-on.ck-switchbutton {
    background: transparent !important;
}

.ck.ck-button__label {
    color: var(--ee-button-default-color) !important;
}

/* Umberto stylesheet is centering `<img>` inside a `<p>`, let's overwrite it with higher CSS Specificity.
 * See: https://github.com/ckeditor/ckeditor5/issues/2080.
 */
 .ck.ck-editor__main>.ck-editor__editable p img {
	display: initial;
	margin: initial;
	box-sizing: initial;
}

.ck.ck-editor__main>.ck-editor__editable .image img {
	margin: 0 auto;
}

.ck.ck-editor__main>.ck-editor__editable blockquote p:first-of-type {
	margin-bottom: 1.5rem;
}

/* https://github.com/ckeditor/ckeditor5/issues/896 */
.ck.ck-editor__main>.ck-editor__editable .ck.ck-content h2,
.ck.ck-editor__main>.ck-editor__editable .ck.ck-content h3,
.ck.ck-editor__main>.ck-editor__editable .ck.ck-content h4 {
	position: static;
}

/* https://github.com/ckeditor/ckeditor5/issues/899 */
.ck.ck-editor__main>.ck-editor__editable .ck-dropdown .ck.ck-list {
	margin: 0;
	padding: 0;
}

/* https://github.com/ckeditor/ckeditor5/pull/1060 */
.ck.ck-editor__main>.ck-editor__editable .ck.ck-content .table table {
	margin: 0;
	display: table;
}

/* https://github.com/ckeditor/ckeditor5/issues/7310 */
.ck.ck-editor__main>.ck-editor__editable .ck.ck-content .table td,
.ck.ck-editor__main>.ck-editor__editable .ck.ck-content .table th {
	vertical-align: middle;
}

/* https://github.com/ckeditor/ckeditor5/issues/1282 */
.ck.ck-editor__main>.ck-editor__editable .ck.ck-content .table p:first-child {
	padding-top: 0;
}

/* https://github.com/ckeditor/ckeditor5/issues/1282 */
.ck.ck-editor__main>.ck-editor__editable .ck.ck-content .table p:last-child,
.ck.ck-editor__main>.ck-editor__editable .ck.ck-content .table ul:last-child,
.ck.ck-editor__main>.ck-editor__editable .ck.ck-content .table ol:last-child {
	margin-bottom: 0;
}

.ck.ck-editor__main>.ck-editor__editable {
  color: var(--ee-input-color) !important;
  background: var(--ee-input-bg) !important;
  border-color: var(--ee-input-border) !important;
}

.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused) {
  border-color: var(--ee-input-border) !important;
}

.ck.ck-toolbar,
.ck.ck-reset_all {
    border-color: var(--ee-input-border) !important;
    color: var(--ee-button-default-color) !important;
    background: var(--ee-panel-bg) !important;
}

.ck.ck-button:not(.ck-disabled),
a.ck.ck-button:not(.ck-disabled) {
  color: var(--ee-button-default-color) !important;
}

.ck.ck-button:not(.ck-disabled):hover,
a.ck.ck-button:not(.ck-disabled):hover,
.ck.ck-button.ck-on,
a.ck.ck-button.ck-on {
  color: var(--ck-color-text) !important;
}

.ck.ck-editor__main>.ck-editor__editable li .ck-list-bogus-paragraph {
    display: inline-block;
}

/* Redactor stuff */

.redactor-box .redactor-toolbar {
    z-index: 2;
}

.redactor-box .redactor-toolbar.redactor-toolbar-fixed {
    background-color: var(--ee-panel-bg);
}

.re-icon-filebrowser { 
    content: url('data:image/svg+xml;utf8,<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m1 6c.51283584 0 .93550716.38604019.99327227.88337887l.00672773.11662113v6c0 .4964612.44481521.9373059 1.049825.9938787l.13199318.0061213h5.81818182c.55228475 0 1 .4477153 1 1 0 .5128358-.38604019.9355072-.88337887.9932723l-.11662113.0067277h-5.81818182c-1.67882337 0-3.08194674-1.2331302-3.17671765-2.8277989l-.00510053-.1722011v-6c0-.55228475.44771525-1 1-1zm12.6-6c1.3254834 0 2.4 1.0745166 2.4 2.4v8.2c0 .0812991-.0040424.161654-.0119371.2408747.04537.286293-.0350323.5849432-.229131.8106316-.3901386.7980655-1.2102555 1.3484937-2.1589319 1.3484937h-8.2c-.0093721 0-.01873166-.0000537-.02807838-.0001609l-.37192162.0001604c-.26521649 0-.5195704-.1053563-.70710678-.2928927l.05843073.052268c-.4838201-.2353989-.8766931-.6286113-1.11166129-1.1126794-.19291421-.2239005-.27189946-.5180346-.2277519-.8010756-.00769603-.0805757-.01191076-.1626056-.01191076-.2456198v-8.2c0-1.3254834 1.0745166-2.4 2.4-2.4zm-1.596 8.632-.76.937.839 1.431h1.517c.0486011 0 .0951777-.0086678.1382683-.0245418zm-4.582-1.631-2.176 3.83.169.169h4.349l-.436-.744-.04995732-.0453903c-.12825052-.1334488-.2131256-.2958557-.25256531-.46760617zm6.178-5.001h-8.2c-.2209139 0-.4.1790861-.4.4v4.814l1.53963435-2.70800941c.35805102-.6301698 1.23187816-.67285287 1.65793101-.12170559l.07440231.11030062 1.89203233 3.23141438 1.0987033-1.35538405c.384092-.47423473 1.0895396-.491008 1.4981306-.06381668l.0827862.09833145 1.1563799 1.56386928v-5.569c0-.19329966-.1371128-.35457492-.319386-.39187342z"></path></svg>'); 
    opacity: 0.75;
}

.re-icon-readmore { background-image:
	url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M3.598.687h1.5v5h-1.5zm14.5 0h1.5v5h-1.5z"></path><path d="M19.598 4.187v1.5h-16v-1.5zm-16 14.569h1.5v-5h-1.5zm14.5 0h1.5v-5h-1.5z"></path><path d="M19.598 15.256v-1.5h-16v1.5zM5.081 9h6v2h-6zm8 0h6v2h-6zm-9.483 1L0 12.5v-5z"></path></svg>');
    opacity: 0.75;
    background-repeat: no-repeat;
}

.redactor-toolbar a.redactor-button-active .re-icon-filebrowser {
    opacity: 0.4;
}

.field-control .redactor-in em {
    display: inline;
    margin-top: inherit;
    font-size: inherit;
}

/* clips */
.redactor-clips-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.redactor-clips-list li {
    display: inline-block;
    margin-right: 4px;
    margin-bottom: 4px;
}
.redactor-clips-list span {
    white-space: nowrap;
    background: rgba(0,125,255, .75);
    color: #fff;
    display: inline-block;
    padding: 3px 6px;
    line-height: 1;
    border-radius: 4px;
    cursor: pointer;
}

/* pages (handle) */
#redactor-handle-list {
    font-family: "Trebuchet MS", 'Helvetica Neue', Helvetica, Tahoma, sans-serif;
    display: none;
    position: absolute;
    z-index: 1053;
    background-color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
    border-radius: 2px;
    width: 264px;
    max-height: 250px;
    margin: 0;
    overflow: auto;
    font-size: 14px;
    padding: 0;
}
#redactor-handle-list a {
    display: block;
    text-decoration: none;
    padding: 10px 8px;
    white-space: nowrap;
    color: #000;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}
#redactor-handle-list a.active,
#redactor-handle-list a:hover {
    color: #fff !important;
    background-color: #449aef !important;
}

/* inlinestyle */
.redactor-dropdown-inline .redactor-dropdown-item-marked span {
	font-size: 14px;
	background-color: #fdb833;
	color: #000;
	text-decoration: none;
}
.redactor-dropdown-inline .redactor-dropdown-item-code span {
	font-family: Consolas, Menlo, Monaco, "Courier New", monospace;
	font-size: 13px;
	background: rgba(0, 0, 0, .05);
}
.redactor-dropdown-inline .redactor-dropdown-item-variable span {
	font-family: Consolas, Menlo, Monaco, "Courier New", monospace;
	font-size: 13px;
	color: var(--ee-text-primary);
}
.redactor-dropdown-inline .redactor-dropdown-item-shortcut span {
	font-family: Consolas, Menlo, Monaco, "Courier New", monospace;
	font-size: 12px;
	padding: 0.25em;
	white-space: nowrap;
	border: 1px solid #e5e7e9;
}
.redactor-dropdown-inline .redactor-dropdown-item-sup span,
.redactor-dropdown-inline .redactor-dropdown-item-sub span {
	position: relative;
	font-size: 12px;
}
.redactor-dropdown-inline .redactor-dropdown-item-sup span {
	top: -3px;
}
.redactor-dropdown-inline .redactor-dropdown-item-sub span {
	top: 3px;
}

/* readmore */
.redactor-in .readmore,
.rx-editor-container .readmore {
	position: relative;
	clear: both;
	padding: 5px 0;
	display: flex;
	align-items: center;
	justify-content: center;

	&::after {
		content: '';
		position: absolute;
		border-bottom: 2px dashed hsl(0, 0%, 77%);
		width: 100%;
	}
}

.redactor-in .readmore__label,
.rx-editor-container .readmore__label {
	position: relative;
	z-index: 1;
	padding: .3em .6em;
	display: block;
	text-transform: uppercase;
	border: 1px solid hsl(0, 0%, 77%);
	border-radius: 2px;
	font-family: Helvetica, Arial, Tahoma, Verdana, Sans-Serif;
	font-size: 0.75em;
	font-weight: bold;
	color: hsl(0, 0%, 20%);
	background: hsl(0, 0%, 100%);
	box-shadow: 2px 2px 1px hsla(0, 0%, 0%, 0.15);

	/* Disable the possibility to select the label text by the user. */
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* redactorX */

.rx-container {
    border: 1px solid var(--ee-dropdown-border) !important;
    background: var(--ee-bg-dropdown) !important;

    .rx-toolbar-container {
        z-index: 6;
        border-bottom: 1px solid var(--ee-dropdown-border) !important;
        background: var(--ee-bg-dropdown) !important;
    }
    .re-icon-readmore {
        width: 100%;
        background-position: center;
    }

    .rx-statusbar-container {
        .rx-statusbar {
            background: var(--ee-bg-0);
            .rx-statusbar-item {
                border-right: 1px solid var(--ee-table-border);
                color: var(--ee-text-secondary);

                &:last-child {
                    border-right: none;
                }
            }
        }
    }

    em {
        font-size: initial;
        display: initial;
    }
}

/* Do not show the page break element inside the print preview window. */
@media print {
	.redactor-in .readmore,
    .rx-editor-container .readmore {
		padding: 0;

		&::after {
			display: none;
		}
	}
}

.ck-widget.raw-html-embed {
    background-color: var(--ee-button-default-bg) !important;
    color: var(--ee-button-default-color) !important;
}

.ck.ck-editor__editable.ck-blurred .ck-widget.ck-widget_selected.ck-widget_with-selection-handle>.ck-widget__selection-handle {
    background: var(--ee-button-default-bg) !important;
    color: var(--ee-button-default-color) !important;
}

.ck.ck-input-text,
.ck.ck-dropdown__panel,
.ck.ck-balloon-panel {
    background: var(--ee-button-default-bg) !important;
    color: var(--ee-button-default-color) !important;
    border-color: var(--ee-list-item-border) !important;
    z-index: 2000 !important;
}

.ck.ck-label {
    z-index: 2001 !important;
}

.ck.ck-balloon-panel[class*=arrow_n]:before {
    border-color: transparent transparent var(--ee-list-item-border) !important;
}

.ck.ck-balloon-panel[class*=arrow_n]:after{
    border-color: transparent transparent var(--ee-button-default-bg) transparent !important;
}

.ck.ck-balloon-panel[class*=arrow_s]:before {
    border-color: var(--ee-list-item-border) transparent transparent !important;
}

.ck.ck-balloon-panel[class*=arrow_s]:after {
    border-color: var(--ee-button-default-bg) transparent transparent transparent!important;
}

.ck.ck-link-form_layout-vertical .ck-button {
    border-top: 1px solid var(--ee-border-dark) !important;
    // color: var(--ee-button-default-color) !important;
}

.ck.ck-button.ck-button-save,
a.ck.ck-button.ck-button-save {
    color: var(--ck-color-button-save) !important;
}

.ck.ck-button.ck-button-cancel,
a.ck.ck-button.ck-button-cancel {
    color: var(--ck-color-button-cancel) !important;
}

.ck.ck-link-form_layout-vertical .ck-button:hover {
    color: var(--ee-button-default-color) !important;
}

.ck-vertical-form>.ck-button:nth-last-child(2):after {
    border-right: 1px solid var(--ee-border-dark) !important;
}

.ck.ck-dropdown__panel .ck-insert-table-dropdown__label,
.ck.ck-labeled-field-view .ck-labeled-field-view__status {
    color: var(--ee-button-default-color) !important;
}
.ck.ck-dropdown__panel {
    border-color: var(--ee-list-item-border) !important;
}

.ck.ck-tooltip {
    color: var(--ee-text-secondary) !important;
    background: var(--ee-bg-neutral-dark) !important;
}

.ck.ck-dropdown:not(.ck-disabled):hover,
.ck.ck-button:not(.ck-disabled):hover,
a.ck.ck-button:not(.ck-disabled):hover {
    background: var(--ee-bg-5) !important;
}

.ck.ck-splitbutton.ck-splitbutton_open>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover),
.ck.ck-splitbutton:hover>.ck-button:not(.ck-on):not(.ck-disabled):not(:hover) {
    background: var(--ee-button-default-bg) !important;
}

.ck.ck-button.ck-on,
a.ck.ck-button.ck-on {
    background: var(--ee-bg-5) !important;
}

.ck.ck-button.ck-switchbutton .ck-button__toggle {
    background: var(--ee-input-toggle-bg) !important;
}

.ck.ck-button.ck-switchbutton .ck-button__toggle .ck-button__toggle__inner {
    background: var(--ee-input-toggle-fg) !important;
}

.ck.ck-button.ck-switchbutton.ck-on .ck-button__toggle {
    background: var(--ee-input-toggle-active-bg) !important;
}

.ck-balloon-rotator__content .ck.ck-list__item .ck-button.ck-on {
    background: var(--ee-brand-primary) !important;
}

.ck-dropdown__panel .ck.ck-list__item .ck-button.ck-on {
    background: var(--ee-brand-primary) !important;
    color: var(--ee-button-primary-color) !important;
}

.ck-dropdown__panel .ck.ck-list__item .ck-button.ck-on .ck-button__label {
    color: var(--ee-button-primary-color) !important;
}

.ck-balloon-rotator__content .ck.ck-list__item .ck-button.ck-on.ck-switchbutton {
    background: transparent !important;
}

.ck.ck-find-and-replace-form__actions .ck-button-find {
    color: var(--ee-button-secondary-color) !important;
    background-color: var(--ee-button-secondary-bg);
    border-color: var(--ee-button-secondary-border);
    font-weight: normal;
    cursor: pointer;
}

.ck.ck-find-and-replace-form__actions .ck-button-find span {
   color: var(--ee-button-secondary-color) !important;
}

.ck.ck-find-and-replace-form__actions .ck-button-find:hover {
    color: var(--ee-button-secondary-color) !important;
    background-color: var(--ee-button-secondary-hover-bg) !important;
    border-color: var(--ee-button-secondary-hover-border) !important;
}

.ck.ck-dialog {
  background: var(--ee-button-default-bg) !important;
  color: var(--ee-button-default-color) !important;
  border-color: var(--ee-list-item-border) !important;
}

.ck.ck-dialog h2 {
  color: var(--ee-button-default-color) !important;
}

.ck.ck-find-and-replace-form__actions {
  margin-top: 10px !important;
}

.ck.ck-labeled-field-view .ck-labeled-field-view__status.ck-labeled-field-view__status_error {
    color: var(--ee-error) !important;
}

// STYLES FOR CKEDITOR LABEL
.ck.ck-labeled-field-view .ck-labeled-field-view__status.ck-labeled-field-view__status_error {
    color: var(--ee-error) !important;
}

.ck.ck-balloon-panel.ck-powered-by-balloon .ck-powered-by:hover {
  filter: grayscale(1);
}

.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by a {
  padding: 1px;
}

.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-powered-by__label {
  color: var(--ee-text-secondary);
  opacity: 0.5;
  font-size: 6px;
}

.ck.ck-balloon-panel.ck-powered-by-balloon .ck.ck-powered-by .ck-icon {
  color: var(--ee-text-secondary);
  opacity: 0.3;
}

.ck.ck-widget__resizer {
    background: transparent !important;
}

// REDACTORX STYLES
.rx-toolbar,
.rx-topbar {
    .rx-button-toolbar,
    .rx-button-topbar {
        color: var(--ee-text-primary);

        svg {
            fill: var(--ee-text-primary);
        }

        &:hover {
            background: var(--ee-bg-dropdown-hover);
            color: var(--ee-text-primary);

            svg {
                fill: var(--ee-text-primary);
            }
        }

        &.disable {
            opacity: 0.4 !important;
            color: var(--ee-text-primary) !important;

            svg {
                fill: var(--ee-text-primary)  !important;
            }

            .rx-button-icon {
                color: var(--ee-text-primary) !important;
            }

            &:hover {
                opacity: 0.4 !important;
                color: var(--ee-text-primary) !important;

                svg {
                    fill: var(--ee-text-primary) !important;
                }
            }
        }

        &.active,
        &.toggled {
            background-color: transparent;
            color: inherit;

            .rx-button-icon {
                border-color: var(--ee-dropdown-border);
                background-color: var(--ee-bg-dropdown-hover);

                svg {
                    fill: var(--ee-text-primary);
                }
            }
        }

        .re-icon-readmore {
            background: none;
            opacity: 1;
            width: auto;
            text-align: center;
        }
    }
}

.rx-popup {
    background-color: var(--ee-bg-dropdown) !important;
    color: var(--ee-text-primary);
    box-shadow: 0 1px 4px 0 var(--ee-shadow-dropdown) !important;
    z-index: 1000 !important;

    .rx-popup-header {
        color: var(--ee-text-primary);

        .rx-popup-header-item {
            color: var(--ee-text-primary);
        }

        .rx-popup-close {
            &:before,
            &:after {
                background-color: var(--ee-text-primary);
            }
        }
    }

    .rx-popup-items {
        .rx-popup-item-container {
            .rx-popup-item-title {
                color: var(--ee-text-primary);
            }
            &:hover {
                background-color: var(--ee-bg-dropdown-hover);
            }
        }

        .rx-popup-item{
            color: var(--ee-text-primary);
            border-color: var(--ee-dropdown-border);

            svg {
                fill: var(--ee-text-primary);
            }


            .rx-popup-item-shortcut {
                color: var(--ee-text-primary);
                opacity: 0.5;
            }

            .rx-popup-shortcut-title {
                color: var(--ee-text-primary);
            }

            &.active {
                color: var(--ee-text-primary);

                span {
                    color: var(--ee-text-primary) !important;
                }
            }

            &:hover {
                background-color: var(--ee-bg-dropdown-hover);
            }
        }
    }

    .rx-form-item {
        .rx-form-label {
            color: var(--ee-text-primary);
        }

        .rx-form-segment {
            background-color: var(--ee-bg-dropdown-hover);

            .rx-form-segment-item {
                color: var(--ee-text-primary);
                opacity: 0.6;

                &.active {
                    opacity: 1;
                    background: var(--ee-bg-dropdown);
                    box-shadow: 0 1px 3px var(--ee-shadow-dropdown), 0 1px 2px var(--ee-shadow-dropdown);
                }

                &:hover {
                    background-color: var(--ee-dropdown-border);
                    opacity: 1;
                }
            }
        }

        .rx-form-checkbox-item {
            span {
                color: var(--ee-text-primary)
            }
        }

        .rx-form-textarea {
            border: 1px solid var(--ee-input-border);
            box-shadow: 0 1px 2px 0 var(--ee-shadow-input);
            background-color: var(--ee-input-bg);
            color: var(--ee-input-color);
        }
    }

    .rx-popup-body {
        .rx-form-input {
            color: var(--ee-input-color);
            background-color: var(--ee-input-bg);
            border: 1px solid var(--ee-input-border);
        }
    }

    .rx-form-button {
        color: var(--ee-button-danger-color);
        background-color: var(--ee-button-danger-bg);
        border-color: var(--ee-button-danger-border);

        &:hover {
            color: var(--ee-button-danger-color);
            background-color: var(--ee-button-danger-hover-bg);
            border-color: var(--ee-button-danger-hover-border);
        }

        &.rx-form-button-primary {
            color: var(--ee-button-primary-color);
            background-color: var(--ee-button-primary-bg);
            border-color: var(--ee-button-primary-border);

            &:hover {
                color: var(--ee-button-primary-color);
                background-color: var(--ee-button-primary-hover-bg);
                border-color: var(--ee-button-primary-hover-border);
            }
        }
    }
}

.rx-editor-container {
    .rx-content {
        blockquote {
            color: var(--ee-text-primary);

            p, cite {
                color: inherit;
            }
        }

        table {
            td, th {
                border-color: var(--ee-dropdown-border);
            }

            tr:last-child td {
                border-bottom: 1px solid var(--ee-dropdown-border);
            }
        }

        code, kbd, samp, var {
            color: var(--ee-text-primary);
        }

        code {
            background-color: var(--ee-text-primary);
            color: var(--ee-bg-dropdown);
        }

        mark {
            background-color: var(--ee-brand-warning);
        }

        kbd {
            border-color: var(--ee-dropdown-border);
        }
    }
}

.field-control {
    .redactor-styles,
    .rx-content,
    .ck-content {
        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            color: var(--ee-text-primary);
            text-rendering: optimizeLegibility;
            margin: 0;
            padding: 0;
            margin-bottom: 0.5em;
            line-height: 1.2;
            font-family: -apple-system, BlinkMacSystemFont, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
        }

        h1 {
            font-size: 2.0736em;
        }

        h2 {
            font-size: 1.728em;
        }

        h3 {
            font-size: 1.44em;
        }

        h4 {
            font-size: 1.2em;
        }

        h5 {
            font-size: 1em;
        }

        h6 {
            font-size: .83333em;
            text-transform: uppercase;
            letter-spacing: .035em;
        }

        p {
            line-height: 1.5;
            font-size: 16px;
            margin-top: 0;
            margin-bottom: 1em;
            color: var(--ee-text-normal);
        }

        a {
            color: var(--ee-link);
            cursor: pointer;

            &:hover {
                color: var(--ee-link-hover);
            }
        }

        ol, ul {
            padding: 0;
            margin: 0 0 0 1.5em;

            li {
                font-size: 16px;
                line-height: 1.5;
            }
        }

        code {
            background-color: var(--ee-bg-5);
            padding: 0;
            top: 0;
            display: block;
            line-height: 1.5;
            color: var(--ee-text-primary);
            overflow: none;
            white-space: pre-wrap;
            padding: 1rem;
        }
    }
}

.ck-content ul {
    list-style: none !important;

    li {
        position: relative;
        padding-left: 15px !important;

        &:before {
            position: absolute;
            width: 4px;
            display: inline-block;
            content: '';
            height: 4px;
            background: var(--ee-input-color);
            border-radius: 50%;
            left: 0;
            top: 10px;
        }
    }
}

.ck-content ol {
    counter-reset: item;
    list-style: none !important;
    
    li {
        counter-increment: item;
        position: relative;
        padding-left: 20px !important;

        &::marker {
            content: none;
        }

        &:before {
            content: counter(item) ".";
            position: absolute;
            display: inline-block;
            left: 0;
            top: 0;
        }
    }
}