/* Resets */
iframe {
  width: 100% !important;
  border: 0 !important;
  display: block !important;
}
:where(.inner, .field-group) > :where(button, input:not([type="checkbox"]):not([type="radio"]), select, textarea, [contenteditable]) {
  width: 100% !important;
  border-radius: var(--radius-sm) !important;
  border: 1px solid rgb(var(--color-gray-200)) !important;
  padding: 0.5rem !important;
}
:where([contenteditable], [role="textbox"]),
:where([contenteditable], [role="textbox"]) :where(p, pre, ol, ul) {
  color: rgb(var(--black-color)) !important;
  font-size: var(--font-size-hint) !important;
  overflow-wrap: anywhere !important;
}
:where(.wym_box, .yui-editor-container) ul {
  margin-block-end: 0 !important;
  margin-block-start: 0 !important;
  padding-inline-start: 0 !important;
}
:where([contenteditable], [role="textbox"]),
:where([contenteditable], [role="textbox"], .note-editor, .wym_box, #yui2rte_container) :where(h1, h2, h3, h4, h5, h6) {
  background: none !important;
  color: rgb(var(--black-color)) !important;
  font-weight: revert !important;
  line-height: revert !important;
  margin: 0 !important;
  -webkit-text-fill-color: gray !important;
  text-shadow: none !important;
  transition: none !important;
}
.grid-table h1::after {
  content: none !important;
}
h1[contenteditable],
:where([contenteditable], [role="toolbar"]) h1 {
  font-size: 2rem !important;
}
h2[contenteditable],
:where([contenteditable], [role="toolbar"]) h2 {
  font-size: 1.5rem !important;
}
h3[contenteditable],
:where([contenteditable], [role="toolbar"]) h3 {
  font-size: 1.17rem !important;
}
h4[contenteditable],
:where([contenteditable], [role="toolbar"]) h4 {
  font-size: 1rem !important;
}
h5[contenteditable],
:where([contenteditable], [role="toolbar"]) h5 {
  font-size: 0.83rem !important;
}
h6[contenteditable],
:where([contenteditable], [role="toolbar"]) h6 {
  font-size: 0.67rem !important;
}

/* Bootstrap-select */
.grid-table .inner > select.selectpicker {
  /* Prevent FOUC */
  height: 32.8889px;
  display: inline-block !important;
  visibility: hidden;
}
.bootstrap-select {
  position: relative;
  width: 100% !important;
}
.bootstrap-select .btn {
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.5rem 0.5rem 0.75rem;
  white-space: nowrap;
}
.bootstrap-select .caret {
  border-top: 4px dashed;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}
.bootstrap-select .pull-left {
  float: left;
}
.bootstrap-select .dropdown-menu {
  position: absolute;
  background-color: rgb(var(--white-color));
  border: 1px solid rgb(var(--black-color) / 0.15);
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 12px rgb(var(--black-color) / 0.175);
  display: none;
  list-style: none;
  margin: 0.125rem 0;
  padding: 0.35rem 0;
  z-index: 2;
}
.open > .dropdown-menu {
  display: block;
}
.bootstrap-select .dropdown-menu > li.selected {
  background: rgb(var(--blue-color));
  color: rgb(var(--white-color));
}
.bootstrap-select .dropdown-menu > li > a {
  display: block;
  font-size: 0.875rem;
  padding: 0.188rem 1.25rem;
}

/* Editor.js */
#editorjs {
  border: 1px solid rgb(var(--color-gray-200));
  border-radius: var(--radius-sm);
  padding: 0 0.25rem;
}

/* NicEdit */
.nicEdit-main {
  width: 100% !important;
  margin: 0 !important;
  padding: 0.5rem;
}
.nicEdit-main * {
  color: rgb(var(--black-color)) !important;
  font-size: 0.875rem !important;
}

/* Quill */
.ql-container {
  height: auto;
}

/* TinyMCE */
.mce-notification,
.tox-statusbar__right-container {
  display: none !important;
}

/* WYMeditor */
.wym_skin_default {
  font-family: var(--font-family-body);
  font-size: 0.875rem;
}
.wym_skin_default::after {
  content: none;
}
.wym_area_top {
  overflow: hidden;
  margin-bottom: 3px;
}
.wym_area_top > div {
  float: left;
}
.wym_tools {
  margin-right: 5px;
}
.wym_box h2 {
  font-size: 0.875rem !important;
  line-height: unset !important;
}
.wym_dropdown {
  min-width: 101.78px;
  cursor: pointer;
  margin: 0 !important;
}
.wym_dropdown > ul {
  min-width: 100px;
  font-size: 0.875rem !important;
  margin: 0;
  padding: 0 !important;
  z-index: 2;
}
.wym_dropdown > ul a {
  padding: 0 0.5rem !important;
}
.wym_area_right {
  display: none !important;
}
.wym_area_main {
  margin: 0 !important;
}
.wym_iframe {
  width: 100% !important;
  margin: 0 !important;
}
.wym_iframe iframe {
  height: 99px !important;
}
.wym_status,
.wym_area_bottom {
  display: none;
}

/* YUI 2 */
.yui-editor-container h2 {
  font-size: 0.825rem !important;
  line-height: 1 !important;
}
.yui-toolbar-subcont {
  padding: 0 !important;
}

/* YUI 3 */
#yui3-rte {
  height: 50px;
  border: 1px solid rgb(var(--color-gray-200));
}
