/*!
 * Quill Editor v2.0.0-beta.2 (MetaTeam CSS overrides)
 * https://quilljs.com/
 * https://unpkg.com/quill@2.0.0-dev.4/dist/quill.snow.css
 */
 .ql-container {
    box-sizing: border-box;
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    font-size: 14px;
    padding: 12px 16px;
  }
  .ql-editor {
      padding: 0px; /* Move to ql-container for consistency */
  }
  .ql-toolbar.ql-snow {
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    padding: 2px 16px 2px 4px;
    border: none;
    border-radius: 4px 4px 0 0;
    background-color: #eceff1;
    position: absolute;
    top: 0px;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.07);
  }
  .ql-toolbar.ql-snow .ql-formats {
    margin-right: 7px;
    padding-right: 7px;
    border-right: 1px solid rgba(0,0,0,0.07);
  }
  .ql-toolbar.ql-snow .ql-formats:last-child {
    border-right: none;
  }
  .ql-snow .ql-editor pre.ql-syntax {
    background-color: #eceff1;
    color: #37474f;
  }
  .ql-snow .ql-editor ql-code {
    font-size: 85%;
    padding: 2px 4px;
    border-radius: 3px;
}
  .ql-snow .ql-editor blockquote {
    border-left: 4px solid #e2e2e2;
    font-style: italic;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 16px;
    color: #777777;
  }
  .ql-editor.ql-blank::before {
    left: 16px;
    right: 16px;
  }
  .ql-snow .ql-editor h1 {
    font-weight: 500;
    font-size: 2.2em;
  }
  .ql-snow .ql-editor h2 {
    font-weight: 500;
    font-size: 1.8em;
    }
  .ql-snow .ql-editor h3 {
    font-weight: 500;
    font-size: 1.4em;
  }
  .ql-snow.ql-toolbar button {
    padding: 3px 4px;
    width: 24px;
  }

  /* .ql-editor .ql-font-serif {
    font-family: Georgia, Times New Roman, serif;
  }
  .ql-editor .ql-font-monospace {
    font-family: Monaco, Courier New, monospace;
  } */
  .ql-container.ql-snow {
    border: none;
    border-radius: 0 0 4px 4px;
  }

  .ql-tooltip {
    left: 0 !important;
  }

  .ql-snow .ql-tooltip {
    border-radius: 4px;
  }

  .ql-editor ol li {
    margin-bottom: 4px;
  }

  .ql-editor ul li {
    margin-bottom: 4px;
  }



  /*!
 * Quill Mention v3.0.8 (MetaTeam CSS overrides)
 * https://github.com/afry/quill-mention
 * https://unpkg.com/browse/quill-mention@3.0.8/src/quill.mention.css
 * https://unpkg.com/quill-mention@3.0.8/dist/quill.mention.min.css
 */

  .ql-mention-list-container {
    width: fit-content;
    min-width: 200px;
    max-width: 500px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    background-color: #ffffff;
    box-shadow: 0 2px 12px 0 rgba(30, 30, 30, 0.08);
    z-index: 9001;
    overflow: auto;
  }

  .ql-mention-list-item {
    cursor: pointer;
    line-height: 28px;
    font-size: 14px;
    padding: 0 12px;
    vertical-align: middle;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .ql-mention-list-item.selected {
    background-color: #eceff1;
    text-decoration: none;
  }

  .mention {
    height: 24px;
    width: 65px;
    border-radius: 4px;
    background-color: #eceff1;
    padding: 1px 0;
    margin-right: 2px;
    user-select: all;
  }

  .mention:hover {
    background-color: #90cef7;
  }

  /* Custom Buttons */
  .ql-insertMention:after {
    content: "@";
    font-weight: bold;
    font-size: 16px;
  }

  .ql-insertMention {
    padding: 0px !important;
    height: 22px !important;
    color: #444;
  }

  .ql-insertMentionHash:after {
    content: "#";
    font-weight: bold;
    font-size: 18px;
  }

  .ql-insertMentionHash {
    padding: 0px !important;
    margin-top: 1px;
    color: #444;
  }

  /*!
 * Quill Emoji (MetaTeam CSS overrides)
 */

 .ql-emojiblot {
    vertical-align: top;
    max-height: 20px;
    overflow: clip;
 }