/**
 * For the full copyright and license information, please view the
 * docs/licenses/LICENSE.txt file that was distributed with this source code.
 */
.mce-container {
  position: static;
  box-sizing: content-box;
  float: none;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  color: #333;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: top;
  direction: ltr;
  cursor: inherit;
  background: transparent;
  border: 0;
  outline: 0;
  -webkit-tap-highlight-color: transparent;

  * {
    position: static;
    box-sizing: content-box;
    float: none;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    color: #333;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: top;
    direction: ltr;
    cursor: inherit;
    background: transparent;
    border: 0;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
  }
}

.mce-widget {
  position: static;
  box-sizing: content-box;
  float: none;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: normal;
  color: #333;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: top;
  direction: ltr;
  cursor: inherit;
  background: transparent;
  border: 0;
  outline: 0;
  -webkit-tap-highlight-color: transparent;

  * {
    position: static;
    box-sizing: content-box;
    float: none;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
    color: #333;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: top;
    direction: ltr;
    cursor: inherit;
    background: transparent;
    border: 0;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
  }

  button {
    box-sizing: border-box;
  }
}

.mce-container *[unselectable] {
  user-select: none;
}

.mce-fade {
  opacity: 0;
  @include transition(opacity 0.15s linear);

  &.mce-in {
    opacity: 1;
  }
}

.mce-tinymce {
  position: relative;
  display: block;
  /* stylelint-disable declaration-no-important */
  visibility: visible !important;
  /* stylelint-enable declaration-no-important */
  @include border-radius(2px);
}

.mce-fullscreen {
  z-index: 1100;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: $white;
  border: 0;

  .mce-edit-area {
    /* stylelint-disable declaration-no-important */
    max-height: inherit !important;
    /* stylelint-enable declaration-no-important */
  }
}

div.mce-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
}

.mce-wordcount {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px;
}

div.mce-edit-area {
  max-height: 400px;
  padding: 1px;
  overflow: auto;
  background: $white;
  filter: none;
}

.mce-statusbar {
  position: relative;

  .mce-container-body {
    position: relative;
  }
}

.mce-fullscreen .mce-resizehandle {
  display: none;
}

.mce-charmap {
  border-collapse: collapse;

  td {
    width: 20px;
    height: 20px;
    padding: 2px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    cursor: default;
    border: 1px solid #9e9e9e;

    div {
      text-align: center;
    }

    &:hover {
      background: #d9d9d9;
    }
  }
}

.mce-grid {
  td div {
    width: 12px;
    height: 12px;
    margin: 2px;
    cursor: pointer;
    border-spacing: 2px;
    border-collapse: separate;
    border: 1px solid #d6d6d6;
  }

  a {
    display: block;
    border: 1px solid transparent;

    &:hover {
      border-color: #a1a1a1;
    }
  }
}

.mce-grid-border {
  margin: 0 4px;

  a {
    width: 13px;
    height: 13px;
    border-color: #d6d6d6;

    &:hover,
    &.mce-active {
      background: #dff5f9;
      border-color: #a1a1a1;
    }
  }
}

.mce-text-center {
  text-align: center;
}

div.mce-tinymce-inline {
  width: 100%;
  box-shadow: none;
}

.mce-toolbar-grp {
  .mce-flow-layout-item {
    margin-bottom: 0;
  }
}

.mce-container,
.mce-container-body {
  display: block;
}

.mce-autoscroll {
  overflow: hidden;
}

.mce-scrollbar {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 7px;
  height: 100%;
  zoom: 1;
  filter: alpha(opacity = 40);
  opacity: 0.4;

  &:hover,
  &.mce-active {
    zoom: 1;
    background-color: #aaa;
    filter: alpha(opacity = 60);
    @include border-radius(7px);
    opacity: 0.6;
  }
}

.mce-scrollbar-h {
  top: auto;
  right: auto;
  bottom: 2px;
  left: 2px;
  width: 100%;
  height: 7px;
}

.mce-scrollbar-thumb {
  position: absolute;
  width: 5px;
  height: 100%;
  background-color: $black;
  border: 1px solid rgba(85, 85, 85, 0.6);
  @include border-radius(7px);
}

.mce-scrollbar-h .mce-scrollbar-thumb {
  width: 100%;
  height: 5px;
}

.mce-scroll {
  position: relative;
}

.mce-panel {
  border: 0 solid #ccc;
}

.mce-floatpanel {
  position: absolute;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);

  &.mce-fixed {
    position: fixed;
  }

  .mce-arrow {
    position: absolute;
    display: block;
    width: 0;
    height: 0;

    &::after {
      position: absolute;
      display: block;
      width: 0;
      height: 0;
      content: "";
      border-width: 10px;
    }
    border-width: 11px;
  }

  &.mce-popover {
    top: 0;

    left: 0;
    background: $white;
    border: 1px solid rgba(0, 0, 0, 0.25);
    @include border-radius(6px);

    &.mce-bottom {
      margin-top: 10px;
      *margin-top: 0;

      > .mce-arrow {
        top: -11px;
        left: 50%;
        margin-left: -11px;
        border-top-width: 0;
        border-bottom-color: #9e9e9e;
        border-bottom-color: rgba(0, 0, 0, 0.25);

        &::after {
          top: 1px;
          margin-left: -10px;
          border-top-width: 0;
          border-bottom-color: $white;
        }
      }

      &.mce-start {
        margin-left: -22px;

        > .mce-arrow {
          left: 20px;
        }
      }

      &.mce-end {
        margin-left: 22px;

        > .mce-arrow {
          right: 10px;
          left: auto;
        }
      }
    }
  }
}

#mce-modal-block {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  zoom: 1;
  background: $black;
  filter: alpha(opacity = 0);
  opacity: 0;

  &.mce-in {
    zoom: 1;
    filter: alpha(opacity = 30);
    opacity: 0.3;
  }
}

.mce-window-move {
  cursor: move;
}

.mce-window {
  position: fixed;
  top: 0;
  left: 0;
  background: $white;

  iframe {
    width: 100%;
    height: 100%;
  }

  .mce-container-body {
    display: block;
  }

  &.mce-fullscreen {
    @include border-radius(0);

    .mce-foot {
      @include border-radius(0);
    }
  }

  @include border-radius(6px);
  opacity: 0;
  @include transition(opacity 150ms ease-in);

  &.mce-in {
    opacity: 1;

    // Override skin.css
    .mce-checkbox {
      &.mce-checked i{
        font-family: "Material Symbols Outlined", sans-serif;

        &::before {
          font-family: "Material Symbols Outlined", sans-serif;
          /* stylelint-disable declaration-no-important */
          content: "check_box" !important;
          /* stylelint-enable declaration-no-important */
        }
      }

      &:not(.mce-checked) i{
        font-family: "Material Symbols Outlined", sans-serif;

        &::before {
          font-family: "Material Symbols Outlined", sans-serif;
          /* stylelint-disable declaration-no-important */
          content: "check_box_outline_blank" !important;
          /* stylelint-enable declaration-no-important */
        }
      }
    }
  }
}

.mce-window-head {
  position: relative;
  padding: 9px 15px;
  border-bottom: 1px solid #c5c5c5;

  .mce-close {
    position: absolute;
    top: 9px;
    right: 15px;
    height: 20px;
    overflow: hidden;
    font-size: 18px;
    font-weight: 600;
    line-height: 20px;
    color: #858585;
    cursor: pointer;
  }

  .mce-title {
    padding-right: 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    // stylelint-disable-next-line value-keyword-case
    text-rendering: optimizeLegibility;
  }

  .mce-dragh {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 100%;
    cursor: move;
  }
}

.mce-close:hover {
  color: #adadad;
}

.mce-foot {
  display: block;
  background-color: $white;
  border-top: 1px solid #c5c5c5;
  @include border-radius(0 0 6px 6px);
}

.mce-abs-layout {
  position: relative;
}

body .mce-abs-layout-item {
  position: absolute;
}

.mce-abs-end {
  position: absolute;
  width: 1px;
  height: 1px;
}

.mce-container-body.mce-abs-layout {
  overflow: hidden;
}

.mce-tooltip {
  position: absolute;
  padding: 5px;
  zoom: 1;
}

.mce-tooltip-inner {
  max-width: 200px;
  padding: 5px 8px 4px;
  font-size: 12px;
  color: $white;
  text-align: center;
  white-space: normal;
  background-color: $black;
  @include border-radius(3px);
}

.mce-tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  line-height: 0;
  border: 5px dashed $black;
}

.mce-tooltip-arrow-n {
  border-bottom-color: $black;
}

.mce-tooltip-arrow-s {
  border-top-color: $black;
}

.mce-tooltip-arrow-e {
  border-left-color: $black;
}

.mce-tooltip-arrow-w {
  border-left-color: $black;
}

.mce-tooltip-nw,
.mce-tooltip-sw {
  margin-left: -14px;
}

.mce-tooltip-n .mce-tooltip-arrow {
  top: 0;
  left: 50%;
  margin-left: -5px;
  border-top: none;
  border-right-color: transparent;
  border-bottom-style: solid;
  border-left-color: transparent;
}

.mce-tooltip-nw .mce-tooltip-arrow {
  top: 0;
  left: 10px;
  border-top: none;
  border-right-color: transparent;
  border-bottom-style: solid;
  border-left-color: transparent;
}

.mce-tooltip-ne .mce-tooltip-arrow {
  top: 0;
  right: 10px;
  border-top: none;
  border-right-color: transparent;
  border-bottom-style: solid;
  border-left-color: transparent;
}

.mce-tooltip-s .mce-tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-top-style: solid;
  border-right-color: transparent;
  border-bottom: none;
  border-left-color: transparent;
}

.mce-tooltip-sw .mce-tooltip-arrow {
  bottom: 0;
  left: 10px;
  border-top-style: solid;
  border-right-color: transparent;
  border-bottom: none;
  border-left-color: transparent;
}

.mce-tooltip-se .mce-tooltip-arrow {
  right: 10px;
  bottom: 0;
  border-top-style: solid;
  border-right-color: transparent;
  border-bottom: none;
  border-left-color: transparent;
}

.mce-tooltip-e .mce-tooltip-arrow {
  top: 50%;
  right: 0;
  margin-top: -5px;
  border-top-color: transparent;
  border-right: none;
  border-bottom-color: transparent;
  border-left-style: solid;
}

.mce-tooltip-w .mce-tooltip-arrow {
  top: 50%;
  left: 0;
  margin-top: -5px;
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.mce-btn {
  position: relative;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  background-color: $white;

  &:hover,
  &:focus {
    color: #eee;
    background-color: #eee;
  }

  &.mce-disabled {
    button,
    &:hover button {
      cursor: default;
      zoom: 1;
      filter: alpha(opacity = 40);
      box-shadow: none;
      opacity: 0.4;
    }
  }

  &.mce-active {
    background-color: #d6d6d6;

    &:hover {
      background-color: #d6d6d6;
    }
  }

  &:not(.mce-disabled):active {
    background-color: #d6d6d6;
  }

  button {
    padding: 2px 6px;
    overflow: visible;
    font-size: 12px;
    color: #333;
    text-align: center;
    cursor: pointer;

    &::-moz-focus-inner {
      padding: 0;
      border: 0;
    }
  }
}

.mce-primary {
  min-width: 50px;
  color: $white;
  background-color: #006dcc;
  border: 1px solid #b1b1b1;
  border-color:
    rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25)
    rgba(0, 0, 0, 0.25);

  &:hover,
  &:focus {
    background-color: #005fb3;
  }

  &.mce-disabled {
    button,
    &:hover button {
      cursor: default;
      zoom: 1;
      filter: alpha(opacity = 40);
      opacity: 0.4;
    }
  }

  &.mce-active {
    background-color: #005299;

    &:hover {
      background-color: #005299;
    }
  }

  &:not(.mce-disabled):active {
    background-color: #005299;
  }

  button {
    color: $white;

    i {
      color: $white;
    }
  }
}

.mce-btn-large {
  button {
    padding: 9px 14px;
    font-size: 12px;
    line-height: normal;
    @include border-radius(5px);
  }

  i {
    margin-top: 2px;
  }
}

.mce-btn-small {
  button {
    padding: 1px 5px;
    *padding-bottom: 2px;
    font-size: 12px;
  }

  i {
    line-height: 20px;
    *line-height: 18px;
    vertical-align: top;
  }
}

.mce-btn .mce-caret,
.mce-btn-small .mce-caret {
  margin-top: 8px;
  margin-left: 0;
}

.mce-caret {
  display: inline-block;
  *display: inline;
  width: 0;
  height: 0;
  vertical-align: top;
  *zoom: 1;
  content: "";
  border-top: 4px solid #333;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.mce-disabled .mce-caret {
  border-top-color: #aaa;
}

.mce-caret.mce-up {
  border-top: 0;
  border-bottom: 4px solid #333;
}

.mce-btn-group {
  .mce-btn {
    border: solid 1px #ccc;
    border-right: none;
    @include border-radius(0);
  }

  .mce-first {
    @include border-radius(3px 0 0 3px);
  }

  .mce-last {
    border-right: solid 1px #ccc;
    @include border-radius(0 3px 3px 0);
  }

  .mce-first.mce-last {
    @include border-radius(3px);
  }

  .mce-btn.mce-flow-layout-item {
    margin: 0;
  }
}

i.mce-i-checkbox {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 3px 0 0;
  overflow: hidden;
  *font-size: 0;
  *line-height: 0;
  text-align: center;
  /* stylelint-disable declaration-no-important */
  text-indent: 0 !important;
  /* stylelint-enable declaration-no-important */
  background-color: #f0f0f0;
  border: 1px solid #c5c5c5;
  @include border-radius(3px);
}

.mce-checked i.mce-i-checkbox {
  font-size: 12px;
  line-height: 16px;
  color: #333;
  text-indent: 0;
}

.mce-checkbox {
  cursor: pointer;

  &:focus i.mce-i-checkbox,
  &.mce-focus i.mce-i-checkbox {
    border: 1px solid rgba(82, 168, 236, 0.8);
  }

  &.mce-disabled {
    .mce-label,
    i.mce-i-checkbox {
      color: #acacac;
    }
  }
}

.mce-colorbutton .mce-ico {
  position: relative;
}

.mce-colorbutton-grid {
  margin: 4px;
}

.mce-colorbutton {
  button {
    padding-right: 4px;
  }

  .mce-preview {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 13px;
    height: 2px;
    padding-right: 3px;
    margin-top: 7px;
    margin-left: -14px;
    overflow: hidden;
    background: #808080;
  }

  &.mce-btn-small .mce-preview {
    width: 16px;
    padding-right: 0;
    margin-left: -16px;
  }

  .mce-open {
    padding-left: 4px;
    border-right: 1px solid transparent;
    border-left: 1px solid transparent;
  }

  &:hover .mce-open {
    border-right-color: #bdbdbd;
    border-left-color: #bdbdbd;
  }

  &.mce-btn-small .mce-open {
    padding: 0 3px;
  }
}

.mce-combobox {
  display: inline-block;
  *display: inline;
  *height: 32px;
  *zoom: 1;

  input {
    height: 28px;
    border: 1px solid #c5c5c5;
  }

  &.mce-disabled input {
    color: #adadad;
  }

  &.mce-has-open input {
    @include border-radius(4px 0 0 4px);
  }

  .mce-btn {
    background-color: #c5c5c5;
    border-left: 0;
    @include border-radius(0 4px 4px 0);
  }

  button {
    height: 26px;
  }

  &.mce-disabled .mce-btn button {
    cursor: default;
    zoom: 1;
    filter: alpha(opacity = 40);
    box-shadow: none;
    opacity: 0.4;
  }
}

.mce-path {
  display: inline-block;
  *display: inline;
  padding: 8px;
  white-space: normal;
  *zoom: 1;

  .mce-txt {
    display: inline-block;
    padding-right: 3px;
  }

  .mce-path-body {
    display: inline-block;
  }
}

.mce-path-item {
  display: inline-block;
  *display: inline;
  color: #333;
  cursor: pointer;
  *zoom: 1;

  &:hover {
    text-decoration: underline;
  }

  &:focus {
    color: $white;
    background: #666;
  }
}

.mce-path .mce-divider {
  display: inline;
}

.mce-disabled .mce-path-item {
  color: #aaa;
}

.mce-fieldset {
  border: 0 solid #9e9e9e;
  @include border-radius(3px);

  > .mce-container-body {
    margin-top: -15px;
  }
}

.mce-fieldset-title {
  padding: 0 5px;
  margin-left: 5px;
}

.mce-fit-layout {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

.mce-fit-layout-item {
  position: absolute;
}

.mce-flow-layout-item {
  display: inline-block;
  *display: inline;
  margin: 2px 0 2px 2px;
  *zoom: 1;

  &.mce-last {
    max-width: 100%;
    margin-right: 2px;

    > div {
      display: flex;
      flex-wrap: wrap;
      max-width: 100%;
    }
  }
}

.mce-flow-layout {
  white-space: normal;
}

.mce-tinymce-inline .mce-flow-layout {
  white-space: nowrap;
}

.mce-iframe {
  width: 100%;
  height: 100%;
  border: 0 solid #9e9e9e;
}

.mce-label {
  display: inline-block;
  *display: inline;
  overflow: hidden;
  *zoom: 1;
  border: 0;

  &.mce-autoscroll {
    overflow: auto;
  }

  &.mce-disabled {
    color: #aaa;
  }

  &.mce-multiline {
    white-space: pre-wrap;
  }
}

.mce-menubar {
  border: 1px solid #eee;

  .mce-menubtn {
    background: transparent;
    filter: none;
    border-color: transparent;
    @include border-radius(0);
    box-shadow: none;

    button span {
      color: #333;
    }

    &:hover,
    &.mce-active,
    &:focus {
      background: #e6e6e6;
      filter: none;
      border-color: transparent;
      box-shadow: none;
    }
  }

  .mce-caret {
    border-top-color: #333;
  }
}

.mce-menubtn {
  &.mce-disabled span {
    color: #aaa;
  }

  span {
    margin-right: 2px;
    line-height: 20px;
    *line-height: 16px;
    color: #333;
  }

  &.mce-btn-small span {
    font-size: 12px;
  }

  &.mce-fixed-width {
    span {
      display: inline-block;
      overflow-x: hidden;
      text-overflow: ellipsis;
    }

    &.mce-btn-small span {
      width: 70px;
    }
  }

  .mce-caret {
    *margin-top: 6px;
  }
}

.mce-listbox {
  button {
    position: relative;
    padding-right: 20px;
    text-align: left;
  }

  .mce-caret {
    position: absolute;
    top: 50%;
    right: 8px;
    margin-top: -2px;
  }
}

.mce-menu-item {
  display: block;
  padding: 6px 15px 6px 12px;
  margin-bottom: 1px;
  clear: both;
  font-weight: 400;
  line-height: normal;
  color: #333;
  white-space: nowrap;
  cursor: pointer;
  border-left: 4px solid transparent;

  &:hover,
  &.mce-selected,
  &:focus {
    color: $white;
    text-decoration: none;
    background-color: #3ed2f0;
  }

  &:hover .mce-menu-shortcut,
  &.mce-selected .mce-menu-shortcut,
  &:focus .mce-menu-shortcut {
    color: $white;
  }

  .mce-caret {
    margin-top: 4px;
    *margin-top: 3px;
    margin-right: 6px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid #333;
  }

  &.mce-selected .mce-caret,
  &:focus .mce-caret,
  &:hover .mce-caret {
    border-left-color: $white;
  }

  .mce-ico,
  .mce-text {
    color: #333;
  }

  &.mce-disabled {
    .mce-text,
    .mce-ico {
      color: #adadad;
    }
  }

  &:hover .mce-text,
  &.mce-selected
  .mce-text
  &:hover
  .mce-ico
  &.mce-selected
  .mce-ico
  &:focus
  .mce-ico {
    color: $white;
  }

  &.mce-disabled:hover {
    background: #ccc;
  }
}

.mce-menu-shortcut {
  display: inline-block;
  padding: 0 15px 0 20px;
  color: #adadad;
}

.mce-menu-align {
  .mce-menu-shortcut {
    position: absolute;
    right: 0;
    *margin-top: -2px;
  }

  .mce-caret {
    position: absolute;
    right: 0;
  }
}

.mce-menu-item.mce-active i {
  visibility: visible;
}

.mce-menu-item-normal.mce-active {
  background-color: #dff5f9;

  .mce-text {
    color: #333;
  }

  &:hover {
    .mce-text,
    .mce-ico {
      color: $white;
    }
  }
}

.mce-menu-item-preview.mce-active {
  border-left: 5px solid #aaa;
}

div.mce-menu .mce-menu-item-sep,
.mce-menu-item-sep:hover {
  height: 1px;
  padding: 0;
  margin: 9px 1px;
  overflow: hidden;
  cursor: default;
  background: #cbcbcb;
  filter: none;
  border: 0;
  border-bottom: 1px solid $white;
}

.mce-menu {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  min-width: 160px;
  max-height: 400px;
  padding: 5px 0;
  margin: 2px 0 0;
  overflow: auto;
  overflow-x: hidden;
  background: $white;
  border: 1px solid #989898;
  @include border-radius(6px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);

  i {
    display: none;
  }
}

.mce-menu-has-icons i {
  display: inline-block;
  *display: inline;
}

.mce-menu-sub-tr-tl {
  margin: -6px 0 0 -1px;
}

.mce-menu-sub-br-bl {
  margin: 6px 0 0 -1px;
}

.mce-menu-sub-tl-tr {
  margin: -6px 0 0 1px;
}

.mce-menu-sub-bl-br {
  margin: 6px 0 0 1px;
}

.mce-container-body {
  .mce-resizehandle {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: s-resize;
    visibility: visible;
  }

  .mce-resizehandle-both {
    cursor: se-resize;
  }
}

i.mce-i-resize {
  color: #333;
}

.mce-spacer {
  visibility: hidden;
}

.mce-splitbtn {
  .mce-open {
    padding-left: 4px;
    border-right: 1px solid transparent;
    border-left: 1px solid transparent;

    &.mce-active {
      /* stylelint-disable */
      box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
      /* stylelint-enable */
    }
  }

  button {
    padding-right: 4px;
  }

  &.mce-btn-small .mce-open {
    padding: 0 3px;
  }
}

.mce-stack-layout-item {
  display: block;
}

.mce-tabs {
  display: block;
  border-bottom: 1px solid #c5c5c5;
}

.mce-tab {
  display: inline-block;
  *display: inline;
  height: 13px;
  padding: 8px;
  cursor: pointer;
  *zoom: 1;
  background: #e3e3e3;
  border: 1px solid #c5c5c5;

  &:hover {
    background: #fdfdfd;
  }

  &.mce-active {
    height: 14px;
    margin-bottom: -1px;
    background: #fdfdfd;
    border-bottom-color: transparent;
  }
}

.mce-textbox {
  z-index: 1;
  display: inline-block;
  height: 28px;
  padding: 0 4px;
  color: #333;
  white-space: pre-wrap;
  *white-space: pre;
  resize: none;
  background: $white;
  border: 1px solid #c5c5c5;
  @include border-radius(3px);
  @include transition(border linear 0.2s, box-shadow linear 0.2s);

  &:focus,
  &.mce-focus {
    border-color: rgba(82, 168, 236, 0.8);
  }

  &.mce-multiline {
    padding: 4px;
  }

  &.mce-disabled {
    color: #adadad;
  }
}

.mce-placeholder .mce-textbox {
  color: #aaa;
}

.mce-throbber {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  zoom: 1;
  background: $white no-repeat center center;
  filter: alpha(opacity = 60);
  opacity: 0.6;
}

.mce-i-none {
  width: 16px;
  height: 16px;
  margin: 2px 0;
}

.mce-ico {
  font-size: 16px;
  line-height: 20px;
}

.mce-i-save::before {
  content: "\f0c7";
}

.mce-i-newdocument::before {
  content: "\f016";
}

.mce-i-fullpage::before {
  content: "\f065";
}

.mce-i-alignleft::before {
  content: "\f036";
}

.mce-i-aligncenter::before {
  content: "\f037";
}

.mce-i-alignright::before {
  content: "\f038";
}

.mce-i-alignjustify::before {
  content: "\f039";
}

.mce-i-cut::before {
  content: "\f0c4";
}

.mce-i-paste::before {
  content: "\f0ea";
}

.mce-i-searchreplace::before {
  content: "\e009";
}

.mce-i-bullist::before {
  content: "\f0ca";
}

.mce-i-numlist::before {
  content: "\f0cb";
}

.mce-i-indent::before {
  content: "\f03c";
}

.mce-i-outdent::before {
  content: "\f03b";
}

.mce-i-blockquote::before {
  content: "\f10e";
}

.mce-i-undo::before {
  content: "\f112";
}

.mce-i-redo::before {
  content: "\f064";
}

.mce-i-link::before {
  content: "\f0c1";
}

.mce-i-unlink::before {
  content: "\f127";
}

.mce-i-anchor::before {
  content: "\f13d";
}

.mce-i-image::before {
  content: "\f03e";
}

.mce-i-media::before {
  content: "\f008";
}

.mce-i-help::before {
  content: "\f059";
}

.mce-i-code::before {
  content: "\f121";
}

.mce-i-inserttime::before {
  content: "\f017";
}

.mce-i-preview::before {
  content: "\f06e";
}

.mce-i-forecolor::before,
.mce-i-backcolor::before {
  content: "";
}

.mce-i-table::before {
  content: "\f0ce";
}

.mce-i-hr::before {
  content: "";
}

.mce-i-removeformat::before {
  content: "";
}

.mce-i-subscript::before {
  content: "\f12c";
}

.mce-i-superscript::before {
  content: "\f12b";
}

.mce-i-charmap::before {
  content: "";
}

.mce-i-emoticons::before {
  content: "\f11a";
}

.mce-i-print::before {
  content: "\f02f";
}

.mce-i-fullscreen::before {
  content: "\f065";
}

.mce-i-spellchecker::before {
  content: "";
}

.mce-i-nonbreaking::before {
  content: "";
}

.mce-i-template::before {
  content: "";
}

.mce-i-pagebreak::before {
  content: "";
}

.mce-i-restoredraft::before {
  content: "";
}

.mce-i-untitled::before {
  content: "";
}

.mce-i-bold::before {
  content: "\f032";
}

.mce-i-italic::before {
  content: "\f033";
}

.mce-i-underline::before {
  content: "\f0cd";
}

.mce-i-strikethrough::before {
  content: "\f0cc";
}

.mce-i-visualchars::before,
.mce-i-visualblocks::before {
  content: "";
}

.mce-i-ltr::before {
  content: "";
}

.mce-i-rtl::before {
  content: "\e030";
}

.mce-i-copy::before {
  content: "\f0c5";
}

.mce-i-resize::before {
  content: "\f07d";
}

.mce-i-browse::before {
  content: "\f07c";
}

.mce-i-pastetext::before {
  content: "";
}

.mce-i-checkbox::before {
  content: "\f00c";
}

.mce-i-selected {
  visibility: hidden;

  &::before {
    content: "\f00c";
  }
}

i.mce-i-backcolor {
  background: #bbb;
}

.mce-rtl {
  i.mce-i-checkbox {
    direction: rtl;
  }
}

//
// Customization form tabbed editors
//
.tab-content.translationsFields {
  padding: 0;

  .mce-tinymce {
    box-sizing: border-box;
    /* stylelint-disable-next-line declaration-no-important */
    border: 1px solid #dfdfdf !important;
  }

  .mce-container-body .mce-flow-layout {
    padding-top: 5px;
    padding-bottom: 5px;
  }
}

.nav-pills.translationsLocales {
  border-right: 1px solid #dfdfdf;
  border-bottom: none;
  border-left: 1px solid #dfdfdf;
}
