/* custom styles */
.tox.tox-tinymce {
  border: none;
}

.tox .tox-editor-header {
  width: calc(100% - 40px) !important;
  max-width: max-content !important;
  position: absolute !important;
  opacity: 0 !important;
  visibility: hidden !important;
  /* left: 10px !important;
    right: 0 !important; */
  box-shadow: 0 0 10px 2px #dcdcdc !important;
  /* bottom: 5px !important; */
  border: none !important;
}

.editor-wrapper {
  position: relative;
}

#drag-overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: 100%;
  height: 100%;
  font-size: 20px;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
  display: flex;
}

#editor-container[data-show-toolbar="true"] .tox-editor-header {
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  left: 10px !important;
  bottom: 5px !important;
  margin-top: 15px !important;
}

#editor-container.tool_top .tox-editor-header {
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

#editor-container.tool_top .tox-editor-header .tox-toolbar__primary,
#editor-container.tool_top .tox-editor-header .tox-toolbar__overflow {
  border-bottom: 1px solid #e3e3e3 !important;
  background-image: none !important;
}

#kb-article-container #editor-container.tool_top .tox-editor-header .tox-toolbar__primary {
  border-bottom: none !important;
}

#editor-container:not(.tool_top)
  .tox-editor-header
  button[data-mce-name="link"] {
  display: none;
}


