/* Fix CkEditor Style Dropdown width */
.cke.cke_combopanel {
  min-width: 300px;
  max-width: 600px;
}

.js .cke.cke_combopanel {
  width: auto;
}

/* fix fieldset labels in the ckeditor dialog */
.cke_dialog .cke_dialog_ui_fieldset > legend {
  position: inherit;
  top: 0;
}

/* Hide the second Anchor link ID select because it is redundant */
.cke_dialog table[style*='width:260px;'] .cke_dialog_ui_hbox_last {
  display: none;
}

/* Hide the CkEditor diff author row */
.diff th.author {
  display: none;
}

.cke_dialog_contents {
  width: 100%;
  min-width: 300px;
}

/* Replace the button icon for url_embed. */
.ck.ck-toolbar button[data-cke-tooltip-text="Url Embed"] {
  background-image: url("../images/url_embed.svg");
  background-repeat: no-repeat;
}

.ck.ck-button[data-cke-tooltip-text="Url Embed"]:not(.ck-disabled):hover {
  background-image: url("../images/url_embed.svg");
  background-repeat: no-repeat;
}

button[data-cke-tooltip-text="Url Embed"] svg {
  display: none;
}

.ck.ck-balloon-panel {
  z-index: auto !important;
}
