[em-state='active'],
[em-state='active-inside'],
.sortable-ghost {
  outline: 2px solid #1890ff90;

  /* outline: 1px solid rgba(61, 70, 77, 0.05); */
  box-sizing: border-box;

  /* box-shadow: 0px 0px 20px rgba(92, 169, 241, 0.25); */

  /* box-shadow: 0px 0px 20px rgba(144, 151, 156, 0.2); */

  /* box-shadow: 0px 0px 20px rgba(144, 151, 156, 0.3); */
  position: relative;
}

.em-element-editor {
  width: 60px;
  left: -61px;
  top: 0;
  display: block;
  position: absolute;
}

.em-element-editor.of-atom {
  width: 26px;
  left: -26px;
}

.em-element-editor-widget {
  width: 24px;
  padding: 3px;
  background: #1d1d1d;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgb(61 70 77 / 15%);
  position: absolute;
  display: block;
  left: 20px;
  top: 8px;
  z-index: 9999999;
}

.of-atom .em-element-editor-widget {
  width: 82px;
  background: #d0ebff;
  top: -1px;
  left: 0;
  border-radius: 6px 6px 0 0;
  display: flex;
}

[em-state='active-inside'] .em-element-editor-widget {
  left: 70px;
}

[class^='em-element-editor-widget-'] {
  width: 24px;
  height: 24px;
  display: inline-block;
  box-sizing: border-box;
  font-size: 20px;
  text-align: center;
  padding-top: 2px;
  cursor: pointer;
  color: hsl(0deg 0% 100% / 85%);
}

.of-atom [class^='em-element-editor-widget-'] {
  width: 20px;
  height: 20px;
  font-size: 16px;
  color: #344966;
}

[class^='em-element-editor-widget-']:hover {
  color: #fff;
  background: rgb(255 255 255 / 20%);
  border-radius: 3px;
}

.of-atom [class^='em-element-editor-widget-']:hover {
  background: #b8d4e9;
}

.em-element-editor-widget.sticky {
  position: fixed;
  top: 10px;
  left: auto;
  margin-left: 20px;
}

[em-state='active-inside'] .em-element-editor-widget.sticky {
  margin-left: 70px;
}

.em-element-editor .em-element-editor-widget-drug {
  display: flex;
  align-items: center;
  justify-content: center;
}

.em-element-editor .em-element-editor-widget-drug .la-braille {
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  transform: rotate(90deg);
}

.em-element-editor .em-element-editor-widget-drug .la-braille:active {
  cursor: grabbing;
}

.of-block .em-element-editor-widget > .em-element-editor-group:not(:hover) {
  display: flex;
  flex-direction: column;
  align-items: center;
}

[em-state='active']:not(.em-element-resize-height, .em-element-resize-img),
[em-state='active-inside']:not(.em-element-resize-height, .em-element-resize-img),
.sortable-ghost {
  outline: 1px solid var(--colorPrimary);
}

/* Tiny CSS */
tinymce:focus,
[em-edit='active'] {
  border-radius: 2px;
  box-shadow:
    0 0 0 2px rgb(255 255 255 / 0%),
    0 0 0 1px #1890ff;
  outline: none;
  display: inline-block;
  text-align: inherit;
}

body .tox.tox-tinymce--toolbar-bottom .tox-editor-header,
body .tox.tox-tinymce-inline .tox-editor-header,
body .tox.tox-tinymce--toolbar-sticky-on .tox-editor-header {
  padding: 4px 0;
  background: #1d1d1d;
  border: none;
}

body .tox .tox-toolbar-overlord {
  background: none;
}

body .tox-tinymce-inline {
  border-radius: 6px;
  box-shadow: 0 3px 10px rgb(61 70 77 / 15%);

  /* margin-top: -7px; */
}

body .tox.tox-tinymce--toolbar-sticky-on .tox-editor-header {
  box-shadow: 0 3px 10px rgb(61 70 77 / 15%);
  border-radius: 6px;
  margin-top: 7px;
}

body .tox .tox-toolbar,
.tox .tox-toolbar__overflow,
body .tox .tox-toolbar__primary {
  background: none;
}

body .tox .tox-tbtn:active {
  color: #fff;
  background: rgb(255 255 255 / 20%);
}

body .tox .tox-tbtn svg {
  fill: hsl(0deg 0% 100% / 85%);
}

body .tox .tox-tbtn:hover svg,
body .tox .tox-tbtn:active svg,
body .tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg,
body .tox .tox-tbtn--enabled svg,
body .tox .tox-tbtn--enabled:hover svg,
body .tox .tox-swatches__picker-btn svg {
  fill: #fff;
}

body .tox .tox-tbtn--enabled,
body .tox .tox-tbtn--enabled:hover,
body .tox .tox-split-button:focus {
  background: rgb(255 255 255 / 20%);
}

body .tox .tox-tbtn {
  margin: 2px 2px 3px;
  color: hsl(0deg 0% 100% / 85%);
}

body .tox .tox-tbtn:hover,
body .tox .tox-tbtn:focus:not(.tox-tbtn--disabled),
body .tox .tox-collection--list .tox-collection__item--active,
body .tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled),
body .tox .tox-swatches__picker-btn:hover {
  background: rgb(255 255 255 / 20%);
  color: #fff;
}

body .tox .tox-split-button:hover {
  box-shadow: 0 0 0 1px rgb(255 255 225 / 20%) inset;
}

body .tox .tox-menu,
body .tox.tox-tinymce-aux .tox-toolbar__overflow {
  background: none;
  background-color: #1d1d1d;
  border: 1px solid #1d1d1d;
}

body .tox .tox-collection__item-accessory {
  color: rgb(255 255 255 / 50%);
}

body .tox .tox-collection__item {
  color: hsl(0deg 0% 100% / 85%);
}

body .tox .tox-collection--list .tox-collection__item--enabled {
  background-color: rgb(255 255 255 / 50%);
  color: #fff;
}

body .tox .tox-dialog-wrap {
  position: static;
}

br[data-mce-bogus='1'] {
  display: none;
}

[title='Font sizes'] .tox-tbtn__select-label {
  width: 2.5em !important;
}

[title='Fonts'] .tox-tbtn__select-label {
  width: 5em !important;
}

/* .tox:not([dir=rtl]) {
	left:10px !important;
	top: 16px !important;
	min-width: 300px;
}
body .tox.tox-tinymce-inline .tox-editor-heade,
body .tox.tox-tinymce--toolbar-sticky-on .tox-editor-header {
	max-width: unset !important;
}
.tox .tox-editor-container {
	max-width: unset !important;
} */
.em-tiny-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  padding: 10px 5px 0;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  z-index: 9999999999;
  transition: top 0.5s;
}

.em-tiny-editor {
  margin: 0 auto;
}

body .tox:not([dir='rtl']) .tox-toolbar__group:not(:last-of-type) {
  border-right-color: rgb(255 255 255 / 20%);
}

