/**
 * @file
 * Styles for the format form.
 *
 * The display and layout of the Media browser assumes Drupal's Seven theme as
 * the theme active when this is displayed.
 */

/* Custom css file created by PLM Nov 2018 to support full integration of CKEditor
 * Library 4.10.1 with image2 plugin and Drupal Media 2.x for better authorship experience.
 */

/* Styles for within the WYSIWYG, to support alignment. */
.media-wysiwyg-align-left {
  float: left;
  margin-right: 20px;
}
.media-wysiwyg-align-right {
  float: right;
  margin-left: 20px;
}
.media-wysiwyg-align-center {
  text-align: center;
}
img.media-wysiwyg-align-center {
  margin: auto;
  display: block;
}
.cke_widget_inline {
  display: inline!important;
}

/* disable this with image2 plugin, otherwise leave enabled */
/*
.field-name-body img {
   display: inline-block;
}
*/
/* ---- */


/* Custom code to align contents inside CKeditor in edit mode to reflect actual positioning */
.cke_widget_wrapper>a {
  display: inline!important;
}

.cke_widget_wrapper_media-wysiwyg-align-center video {
  text-align: center;
  margin: 0 auto;
  display: block;
}

.cke_widget_wrapper_media-wysiwyg-align-left {}
.cke_widget_wrapper_media-wysiwyg-align-right{}
