.tinymce-mobile-serialised-dialog {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
  min-height: 1.5em;
  padding-left: 0em;
  padding-right: 0em;

  .tinymce-mobile-serialised-dialog-chain {
    transition: left cubic-bezier(.4, 0, 1, 1) @quick-animation-time;
    display: flex;
    width: 100%;
    height: 100%;

    .tinymce-mobile-serialised-dialog-screen {
      flex: 0 0 auto;
      width: 100%;
      display: flex;
      justify-content: space-between;

      input {
        font-family: @toolstrip-input-font-family;
      }

      .tinymce-mobile-input-container {
        display: flex;
        flex-grow: 1;
        position: relative;

        .tinymce-mobile-input-container-x {
          position: absolute;
          right: 0px;
          color: @toolstrip-input-icons-color;
          font-size: 0.6em;
          font-weight: bold;
          background: inherit;
          border-radius: 50%;
          border: none;
          align-self: center;
          height: 100%;
          padding-right: 2px;
        }

        &.tinymce-mobile-input-container-empty .tinymce-mobile-input-container-x {
          display: none;
        }
      }

      .tinymce-mobile-icon-previous, .tinymce-mobile-icon-next {
        display: flex;
        align-items: center;

        &:before {
          padding-left: 0.5em;
          padding-right: 0.5em;
          height: 100%;
          display: flex;
          align-items: center;
          font-weight: bold;
        }

        &.tinymce-mobile-toolbar-navigation-disabled:before {
          visibility: hidden;
        }
      }
    }
  }
}

.tinymce-mobile-dot-item {
  margin: 0 2px;
  font-size: 10px;
  line-height: 10px;
  padding-top: 3px;
  color: @toolstrip-button-selected-color;

  &.tinymce-mobile-dot-active {
    color: @toolstrip-button-selected-background-color;
  }
}
