.content-editor {
    overflow: auto;
    border-top: 1px solid #f4f6f9 !important;
    font-family: "Mulish", "Open Sans", "Segoe UI", arial !important;
    font-weight: 500;
    color: #333;
    padding: 12px 15px;
    font-size: 16px;
    line-height: 28px;
    margin: 0 auto !important;
    padding: 12px 60px 12px 80px;
    /* max-width: 710px; */
    max-width: 1010px;
}

#outline_editor, #facts_outline_editor {
    padding: 12px 10px 12px 60px;
}

.content-editor.editor-dark-mode {
    color: #EEEEEE;
}

.content-editor.editor-dark-mode icomment {
    color: #262A2E;
}

.content-editor.editor-dark-mode keywordmarkbgb,
.content-editor.editor-dark-mode keywordmarkbgg,
.content-editor.editor-dark-mode keywordmarkbgr,
.content-editor.editor-dark-mode keywordmarkbgy,
.content-editor.editor-dark-mode keywordmarkbgm {
    color: #262A2E;
}

.content-editor.editor-dark-mode keywordmarkbg {
    background-color: #CADEEF;
}

.content-editor.editor-dark-mode a {
    color: #CA74FA;
}

.content-editor.editor-dark-mode table {
    background-color: #626281 !important;
}

@media (min-width: 1600px) {
    .content-editor {
        padding: 12px 80px 12px 100px;
    }
}
.content-editor h1::before,
.content-editor h2::before,
.content-editor h3::before,
.content-editor h4::before,
.content-editor h5::before,
.content-editor h6::before {
    font-family: "Mulish";
    font-weight: bold;
    margin-left: -32px;
    color: #aaa;
    position: relative;
    left: -10px;
}

.content-editor h1::before {
    content: 'H1';
    font-size: 22px;
}

.content-editor h2::before {
    content: 'H2';
    font-size: 20px;
    margin-left: -30px;
}

.content-editor h3::before {
    content: 'H3';
    font-size: 16px;
    margin-left: -24px;
}

.content-editor h4::before {
    content: 'H4';
    font-size: 14px;
    margin-left: -21px;
}

.content-editor h5::before {
    content: 'H5';
    font-size: 13px;
    margin-left: -19px;
    left: -11px;
}

.content-editor h6::before {
    content: 'H6';
    font-size: 12px;
    margin-left: -18px;
}

.content-editor h1 {
    font-size: 2em;
    line-height: 36px;
}

.content-editor h2 {
    font-size: 1.6em;
}

.content-editor h3 {
    font-size: 1.3em;
}

.content-editor h4 {
  font-size: 1.2em;
}

.content-editor h5 {
  font-size: 1.15em;
}

.content-editor h6 {
  font-size: 1.1em;
}

.content-editor h1, .content-editor h2, .content-editor h3 {
    margin-top: 40px;
    margin-bottom: 25px;
}

.content-editor h4, .content-editor h5, .content-editor h6 {
    margin-bottom: 20px; 
}

.content-editor img {
    max-width: 100%;
    height:auto !important;
    margin-top: 20px;
    margin-bottom: 20px;
}

.tox-editor-header {
    border: none !important;
    border-radius: 0px !important;
}

/* removes blue border around the content in the editor */
* [contentEditable="true"]:focus
{ outline: 0px ; }

.content-editor img {
    cursor: pointer !important;
}

imageplh {
    display: flex;
    flex-direction: column;
    /* background-color: aliceblue; */
    padding: 100px 20px 0px 20px;
    min-width: 200px;
    /* width: 400px; */
    min-height: 160px;
    text-align: center;
    /* border-radius: 5px;
    border: 1px solid #ddd;*/
    cursor: pointer !important;
    margin-top: 10px;
    margin-right: 20px;
    margin-bottom: 30px;
    box-sizing: content-box !important;
    -moz-box-sizing: content-box !important;
    -webkit-box-sizing: content-box !important;
    border: 1px solid #7FBFFF;
    border-radius: 5px;
}

imageplh::before {
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    content: '\f03e';
    font-size: 40px;
}

imageplh::after {
    content: 'Add or generate image';
    font-size: 14px;
}

paranotes {
    display: block;
    margin: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 20px;
    box-sizing: content-box !important;
    -moz-box-sizing: content-box !important;
    -webkit-box-sizing: content-box !important;
    color: #333;
    border: 1px solid #7FBFFF;
    border-radius: 5px;
    cursor: pointer !important;
}

paranotes.from-ai-overview {
    border: 1px solid #FFD866;
}

paranotes::before {
  color: #7FBFFF;
  position: absolute;
  margin-top: -25px;
  margin-left: -15px;
  font-size: 12px;
}

paranotes.from-ai-overview::before {
  content: '[Editable] facts extracted from AI-profile';
}

paranotes:not(.from-ai-overview)::before {
  content: '[Editable] facts extracted from source documents';
}
    
draftnotes {
    display: block;
    margin: 0;
    padding: 20px;
    border: 0;
    background-color: #E6EBF2;
    border: 1px solid #BBD5F4;
    box-sizing: content-box !important;
    -moz-box-sizing: content-box !important;
    -webkit-box-sizing: content-box !important;
    color: #333;
    border-radius: 3px;
}

.draftnotes-collapse {
    max-height: 31px;
    overflow: hidden;
}

.draftnotes-button {
    background-color: #fff;
}

.draftnotes-button-first {
    margin-left: 1px;
    border-radius: 3px 0px 0px 3px;
    border-right: 1px solid #BBD5F4;
    background-color: #fff;
}

.draftnotes-button-middle {
    border-radius: 0px;
    border-right: 1px solid #BBD5F4;
    background-color: #fff;
}

.draftnotes-button-last {
    border-radius: 0px 3px 3px 0px;
    border-color: #d3d3d3;
    background-color: #fff;
}

.draftnotes-textarea {
    min-height: 350px;
    font-size: 13px;
}

keywordmark {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 2px;
    border-bottom: 2px solid #4A90E2;
}

keywordmarkbg, keywordmarkbgr, keywordmarkbgy, keywordmarkbgg, keywordmarkbgm {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 2px;
}

keywordmarkbg {
    background-color: #CADEEF;
}

keywordmarkbgr {
    background-color: #FDD6D6;
}

keywordmarkbgy {
    background-color: #FBEDC5;
}

keywordmarkbgg {
    background-color: #BEE4C7;
}

keywordmarkbgm {
    background-color: #E9F6EC;
}

icomment {
    background-color: lightyellow;
    border: 1px dashed #000;
    padding: 2px;
    margin: 2px;
    cursor: pointer;
}

iedit {
    background-color: #D8EBFF;/*lightgreen; lightcyan */
    border: 1px dashed #000;
    padding: 2px;
    margin: 2px;
    cursor: pointer;
}

.mce-dont-show {
    display: none;
}

.tox .tox-notification--info {
    /* background-color: aliceblue; */
    border: none !important;
}

.tox .tox-notification--info .tox-notification__icon {
    display: none;
}

.tox .tox-button::before {
    box-shadow: none !important;
}

.custom-scroll {
    scrollbar-width: thin;
    scrollbar-color: #EBF3FE transparent;
}

ul {
    list-style-type: disc;
    list-style-position: inside;
}

table {
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 20px;
}

.content-editor table td,
.content-editor table th {
    border: 1px dashed #bbb;
    padding: 8px;
}

.content-editor pre {
    background-color: #ebf3fe !important;
    font-size: 13px !important;
    scrollbar-color: #B2C7EA transparent !important;
    scrollbar-width: thin !important;
    font-family: "Mulish", "Open Sans", "Segoe UI", arial !important;
}