html.CSS1Compat, html.cke_skin_kama_container, body.cke_show_borders, body.cke_panel_frame {
  background-image: none;
}

.ckeditor_links {
  font-size: .8em;
  color: #666;
}

.cke_browser_webkit {
  outline: 0 !important;
}

.rteindent1 {
  margin-left: 40px;
}

.rteindent2 {
  margin-left: 80px;
}

.rteindent3 {
  margin-left: 120px;
}

.rteindent4 {
  margin-left: 160px;
}

.ibimage_left {
  float: left;
}

.ibimage_right {
  float: right;
}

table.cke_editor {
  border-collapse: separate;
}

.main-content table.cke_editor td, .main-content table.cke_editor th {
  padding-left: 0;
  padding-right: 0;
}

.main-content table.cke_editor tr[role="presentation"] > td {
  border-width: 0;
}

table.cke_editor iframe {
  display: block;
}

.main-content .cke_bottom {
  background-color: transparent;
  border-top: 0;
}

.cke_panel_block .cke_panel_listItem a {
  border-color: transparent;
}

/*for ckeditor viewmode = full*/
.resizable-textarea .form-textarea.text-full.ckeditor-mod {
  padding: 0.5em 1.75em;
}

.cke_maximized .cke_top, .cke_maximized .cke_contents iframe {
  padding-left: 14%;
  padding-right: 14%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body.cke_show_borders img {
  border: 1px dashed #999;
}

/*these classes that replace the table*/
.cke_show_borders *[class*="inline-block-wrapper"] {
  outline: 1px dotted #ccc;
  position: relative;
  padding-top: 1em;
  margin: 0;
}

.cke_show_borders *[class*="inline-block-wrapper"]:before {
  content: "inline-block-wrapper";
  font-size: 0.7em;
  position: absolute;
  top: 0;
  left: 0;
}

.cke_panel_listItem a:hover, .cke_panel_listItem a:focus, .cke_panel_listItem a:active {
  color: HighlightText !important;
  background-color: Highlight;
}

/*for spoiler*/
.cke_show_borders .spoiler-head {
  margin: 1px;
  border: 1px dashed rgba(0, 0, 0, 0.4);
}

.cke_show_borders .spoiler-head:before {
  content: "spoiler-head";
  font-size: 0.7em;
}

.cke_show_borders .spoiler {
  margin: 1px;
  border: 1px dotted rgba(0, 0, 0, 0.4);
}

.cke_show_borders .spoiler:before {
  content: "spoiler";
  font-size: 0.7em;
}

body.cke_show_borders h1, body.cke_show_borders h2, body.cke_show_borders h3, body.cke_show_borders h4, body.cke_show_borders h5, body.cke_show_borders h6 {
  margin-top: .6em;
  margin-bottom: .2em;
}
