/* -------------------------------------------------- */
/* ############### 4.10 Medium Editor ############### */
/* -------------------------------------------------- */

.medium-editor-element {
  p:last-child { margin-bottom: 0; }
}

.medium-editor-toolbar {
  background-image: none;
  background-color: transparent;
  border: 0;
  box-shadow: none;

  li {
    button {
      background-color: $br-primary;
      background-image: none;
      box-shadow: none;
      border-right: 0;

      &:hover,
      &:focus {
        background-color: darken($br-primary, 2%);
        color: theme-color('info');
      }
    }

    .medium-editor-button-first {
      border-top-left-radius: 3px;
      border-bottom-left-radius: 3px;
      border-left: 0;
    }

    .medium-editor-button-last {
      border-top-right-radius: 3px;
      border-bottom-right-radius: 3px;
    }

    .medium-editor-button-active {
      background-image: none;
      background-color: darken($br-primary, 2%);
      color: theme-color('info');
    }
  }
}

.medium-toolbar-arrow-under::after {
  border-top-color: $br-primary;
}
