.jstEditor {
  border-width: 0 1px 1px 1px;
  border-style: solid;
  border-color: var(--body-color);
  background: #f7f7f7;
}
.jstEditor textarea, .jstEditor iframe {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #fbfbfb;
  width: 100%;
  padding: .5em 0 0 0;
  min-height: 100px;
}
.jstEditor textarea:focus, .jstEditor iframe:focus {
  border-color: #bee74b;
}
.toolbar_bottom .jstEditor {
  border-top-width: 1px;
}
.jstElements {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 3px 5px 3px 10px;
  overflow: hidden;
  line-height: 30px;
  border: 1px solid;
  position: relative;
}
.toolbar_bottom .jstElements {
  border-top-width: 0;
}
.jstElements select, .jstElements button {
  vertical-align: middle;
}
.jstElements select {
  width: 12em;
}
.jstElements button {
  width: 30px;
  height: 28px;
  border-style: solid;
  border-width: 1px;
  margin-left: 2px;
  margin-bottom: 2px;
  border-color: #323232;
  background-color: #f7f7f7;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: inherit;
  box-shadow: none;
}
.jstElements button:hover, .jstElements button:focus {
  border-color: #ddd;
  background-color: #fff;
}
.jstElements button span {
  display: none;
}
.jstElements span {
  display: inline-block;
  vertical-align: top;
}
span.jstSpacer {
  width: 8px;
}
.jstSwitcher {
  display: flex;
  list-style: none;
  margin: 0;
  padding: inherit;
  background: #dfdfdf;
  border-top: 1px solid #999;
}
.jstSwitcher li {
  display: inline;
  margin: 0;
  padding: .125em 1em;
}
.jstSwitcher li.jstSwitcherCurrent {
  color: #fff;
  background: #677374;
  border-radius: 0 0 2px 2px;
}
.jstSwitcher a {
  color: #333;
  font-weight: normal;
  border-bottom: none !important;
}
/* Buttons
-------------------------------------------------------- */

button.jstb_strong {
  background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_strong.png);
}
button.jstb_em {
  background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_em.png);
}
button.jstb_ins {
  background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_ins.png);
}
button.jstb_del {
  background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_del.png);
}
button.jstb_quote {
  background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_quote.png);
}
button.jstb_code {
  background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_code.png);
}
button.jstb_mark {
  background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_mark.png);
}
button.jstb_paragraph {
  background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_paragraph.png);
}
button.jstb_br {
  background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_br.png);
}
button.jstb_blockquote {
  background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_bquote.png);
}
button.jstb_pre {
  background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_pre.png);
}
button.jstb_ul {
  background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_ul.png);
}
button.jstb_ol {
  background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_ol.png);
}
button.jstb_link {
  background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_link.png);
}
button.jstb_img {
  background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_img.png);
}
button.jstb_img_select {
  background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_img_select.png);
}
button.jstb_post_link {
  background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_post.png);
}
button.jstb_removeFormat {
  background-image: url(?pf=dcLegacyEditor/css/jsToolBar/bt_clean.png);
  position: absolute;
  right: 5px;
  bottom: 3px;
}
/* WYSIWYG Iframe */

.wysiwygIframe {
  border-width: 1px;
  border-style: solid;
  border-color: #000 #ccc #ccc #000;
  width: 100%;
}
/* WYSIWYG Document */

body.wysiwygDoc {
  color: #000;
  background: #f9f9f9;
  margin: 0;
  padding: 2px;
  border: none;
}
.wysiwygDoc code {
  color: #666;
  font-weight: bold;
}
body.wysiwygDoc>p:first-child {
  margin-top: 0;
}
