.wysiwyg-editor .wysiwyg-toolbar,
.wysiwyg-editor .btn-toolbar {
  background-color: #f7f7f7;
  border: 1px solid #e3e3e3;
  border-radius: 4px 4px 0px 0px;
  padding: 5px 5px 0 5px;
  margin-left: 0px;
  -webkit-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.wysiwyg-editor .wysiwyg-toolbar .dropdown,
.wysiwyg-editor .btn-toolbar .dropdown {
  position: relative;
  display: inline-block;
  float: left;
}
.wysiwyg-editor .wysiwyg-toolbar .dropdown + .dropdown,
.wysiwyg-editor .btn-toolbar .dropdown + .dropdown {
  margin-left: 0.5rem;
}
.wysiwyg-editor .wysiwyg-toolbar .dropdown > .btn,
.wysiwyg-editor .btn-toolbar .dropdown > .btn {
  padding: 5px 10px;
  text-align: center;
  min-width: 34px;
}
.wysiwyg-editor .wysiwyg-toolbar .btn-group,
.wysiwyg-editor .btn-toolbar .btn-group {
  margin-left: 0;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}
.wysiwyg-editor .wysiwyg-toolbar .btn-group + .btn-group,
.wysiwyg-editor .btn-toolbar .btn-group + .btn-group {
  margin-left: 0;
}
.wysiwyg-editor .wysiwyg-toolbar .btn-group:last-child,
.wysiwyg-editor .btn-toolbar .btn-group:last-child {
  margin-right: 0;
}
.wysiwyg-editor .wysiwyg-toolbar .btn-group > .btn,
.wysiwyg-editor .btn-toolbar .btn-group > .btn {
  padding: 5px 10px;
  text-align: center;
  min-width: 34px;
}
.wysiwyg-editor .wysiwyg-toolbar .btn-group > .btn[data-value="bg-color"],
.wysiwyg-editor .btn-toolbar .btn-group > .btn[data-value="bg-color"],
.wysiwyg-editor .wysiwyg-toolbar .btn-group > .btn[data-value="font-color"],
.wysiwyg-editor .btn-toolbar .btn-group > .btn[data-value="font-color"] {
  padding-left: 4px;
  padding-right: 4px;
}
.wysiwyg-editor .wysiwyg-toolbar .btn-group > .btn[data-value="bg-color"] > span,
.wysiwyg-editor .btn-toolbar .btn-group > .btn[data-value="bg-color"] > span,
.wysiwyg-editor .wysiwyg-toolbar .btn-group > .btn[data-value="font-color"] > span,
.wysiwyg-editor .btn-toolbar .btn-group > .btn[data-value="font-color"] > span {
  min-width: 18px;
  border-bottom: 3px solid transparent;
}
.wysiwyg-editor .wysiwyg-toolbar .btn-group > .btn:hover,
.wysiwyg-editor .btn-toolbar .btn-group > .btn:hover,
.wysiwyg-editor .wysiwyg-toolbar .btn-group > .btn:focus,
.wysiwyg-editor .btn-toolbar .btn-group > .btn:focus {
  border-radius: inherit;
}
.wysiwyg-editor .wysiwyg-toolbar .popover,
.wysiwyg-editor .btn-toolbar .popover {
  max-width: initial;
}
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content,
.wysiwyg-editor .btn-toolbar .popover .popover-content {
  min-width: 96px;
  padding: 5px;
}
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content .nav > li > a,
.wysiwyg-editor .btn-toolbar .popover .popover-content .nav > li > a {
  padding: 5px 8px;
}
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content .form-inline .input-group,
.wysiwyg-editor .btn-toolbar .popover .popover-content .form-inline .input-group {
  min-width: 320px;
}
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content .form-inline .input-group > .input-group-addon,
.wysiwyg-editor .btn-toolbar .popover .popover-content .form-inline .input-group > .input-group-addon,
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content .form-inline .input-group > .input-group-btn,
.wysiwyg-editor .btn-toolbar .popover .popover-content .form-inline .input-group > .input-group-btn {
  /*width: unset;*/
}
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content .color-palette,
.wysiwyg-editor .btn-toolbar .popover .popover-content .color-palette {
  border-spacing: 2px 2px;
}
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content .color-palette td,
.wysiwyg-editor .btn-toolbar .popover .popover-content .color-palette td {
  margin: 0;
  padding: 0;
  border: 0;
}
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content .color-palette td > a,
.wysiwyg-editor .btn-toolbar .popover .popover-content .color-palette td > a {
  display: inline-block;
  width: 18px;
  height: 18px;
  text-decoration: none;
  border: 1px solid #fff;
}
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content .color-palette td > a:hover,
.wysiwyg-editor .btn-toolbar .popover .popover-content .color-palette td > a:hover,
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content .color-palette td > a:focus,
.wysiwyg-editor .btn-toolbar .popover .popover-content .color-palette td > a:focus {
  border: 1px solid #373737;
}
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content .emojis-list a,
.wysiwyg-editor .btn-toolbar .popover .popover-content .emojis-list a {
  padding: 4px;
  font-size: 20px;
  text-decoration: none;
}
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content .symbols-list a,
.wysiwyg-editor .btn-toolbar .popover .popover-content .symbols-list a {
  padding: 5px;
  font-size: 18px;
  text-decoration: none;
}
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content .symbols-list a:hover,
.wysiwyg-editor .btn-toolbar .popover .popover-content .symbols-list a:hover,
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content .symbols-list a:focus,
.wysiwyg-editor .btn-toolbar .popover .popover-content .symbols-list a:focus {
  background: #f5f5f5;
}
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content .table-grid,
.wysiwyg-editor .btn-toolbar .popover .popover-content .table-grid {
  border-spacing: 0px 0px;
}
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content .table-grid td,
.wysiwyg-editor .btn-toolbar .popover .popover-content .table-grid td {
  margin: 0;
  padding: 0;
  border: 0;
}
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content .table-grid td > a,
.wysiwyg-editor .btn-toolbar .popover .popover-content .table-grid td > a {
  display: inline-block;
  width: 22px;
  height: 22px;
  text-decoration: none;
  border: 1px solid #c7c7c7;
}
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content .table-grid td > a:hover,
.wysiwyg-editor .btn-toolbar .popover .popover-content .table-grid td > a:hover,
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content .table-grid td > a:focus,
.wysiwyg-editor .btn-toolbar .popover .popover-content .table-grid td > a:focus {
  background: rgba(0, 119, 170, 0.32);
  border: 1px solid #07a;
}
.wysiwyg-editor .wysiwyg-toolbar .popover .popover-content .table-grid td.selected a,
.wysiwyg-editor .btn-toolbar .popover .popover-content .table-grid td.selected a {
  background: rgba(0, 119, 170, 0.32);
  border: 1px solid #07a;
}
.wysiwyg-editor .editor-content {
  min-height: 120px;
  max-height: 480px;
  overflow: auto;
  padding: 15px;
  margin-bottom: 0px;
  background-color: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 4px 4px 0px 0px;
  outline: none;
}
.wysiwyg-editor .editor-content.source-mode {
  white-space: pre-line;
  word-break: break-all;
  font-family: 'Monaco', monospace;
  /*line-height: 1em;
      letter-spacing: normal;
      overflow: auto;
      background-color: #f5f5f5;
      padding: 0.2em;*/
  /*

      letter-spacing: -0.05em;
      word-break: normal;*/
}
.wysiwyg-editor .editor-content.visual br {
  display: block;
  content: "";
}
.wysiwyg-editor .editor-content.visual br:before {
  content: "↩";
  color: #e06666;
  font-size: small;
}
.wysiwyg-editor .editor-content.visual h1,
.wysiwyg-editor .editor-content.visual h2,
.wysiwyg-editor .editor-content.visual h3,
.wysiwyg-editor .editor-content.visual h4,
.wysiwyg-editor .editor-content.visual h5,
.wysiwyg-editor .editor-content.visual h6 {
  position: relative;
  margin-top: 20px;
  border: 1px dashed #b4a7d6 !important;
}
.wysiwyg-editor .editor-content.visual h1:before,
.wysiwyg-editor .editor-content.visual h2:before,
.wysiwyg-editor .editor-content.visual h3:before,
.wysiwyg-editor .editor-content.visual h4:before,
.wysiwyg-editor .editor-content.visual h5:before,
.wysiwyg-editor .editor-content.visual h6:before {
  display: inline;
  position: absolute;
  content: "h1";
  color: #b4a7d6;
  font-size: small;
  top: -20px;
  left: 0px;
}
.wysiwyg-editor .editor-content.visual h1:before {
  content: "h1";
}
.wysiwyg-editor .editor-content.visual h2:before {
  content: "h2";
}
.wysiwyg-editor .editor-content.visual h3:before {
  content: "h3";
}
.wysiwyg-editor .editor-content.visual h4:before {
  content: "h4";
}
.wysiwyg-editor .editor-content.visual h5:before {
  content: "h5";
}
.wysiwyg-editor .editor-content.visual h6:before {
  content: "h6";
}
.wysiwyg-editor .editor-content.visual p {
  position: relative;
  margin-top: 20px;
  border: 1px dashed #f6b26b !important;
}
.wysiwyg-editor .editor-content.visual p:before {
  display: inline;
  position: absolute;
  content: "p";
  color: #f6b26b;
  font-size: small;
  top: -20px;
  left: 0px;
}
.wysiwyg-editor .editor-content.visual hr {
  display: inline-block;
  position: relative;
  width: 100%;
  border: 0;
  margin-top: 20px;
  border-top: 1px dashed #a4c2f4 !important;
  height: 1px;
}
.wysiwyg-editor .editor-content.visual hr:before {
  display: inline;
  position: absolute;
  content: "hr";
  color: #a4c2f4;
  font-size: small;
  top: -20px;
  left: 0px;
}
.wysiwyg-editor .editor-content.visual ul,
.wysiwyg-editor .editor-content.visual ol,
.wysiwyg-editor .editor-content.visual dl {
  position: relative;
  margin-top: 20px;
  border: 1px dashed #93c47d !important;
}
.wysiwyg-editor .editor-content.visual ul:before,
.wysiwyg-editor .editor-content.visual ol:before,
.wysiwyg-editor .editor-content.visual dl:before {
  display: inline;
  position: absolute;
  content: "list";
  color: #93c47d;
  font-size: small;
  top: -20px;
  left: 0px;
}
.wysiwyg-editor .editor-content.visual table {
  position: relative;
  margin-top: 20px;
}
.wysiwyg-editor .editor-content.visual table tr th,
.wysiwyg-editor .editor-content.visual table tr td {
  border: 1px dashed #c7c7c7 !important;
}
.wysiwyg-editor .editor-content.visual table:before {
  display: inline;
  position: absolute;
  content: "table";
  color: #c7c7c7;
  font-size: small;
  top: -20px;
  left: 0px;
}
.wysiwyg-editor .wysiwyg-toolbar + .editor-content {
  border-radius: 0px;
  border-top: none;
}
.wysiwyg-editor .editor-statusbar {
  display: inline-block;
  position: relative;
  width: 100%;
  padding: 5px 8px;
  margin-bottom: 0px;
  background-color: #f7f7f7;
  border: 1px solid #e3e3e3;
  min-height: 1rem;
  border-top: none;
  border-radius: 0px 0px 4px 4px;
}
.wysiwyg-editor .editor-statusbar .editor-statusbar-path {
  display: inline-block;
  width: 50%;
  float: left;
  padding: 0px;
  margin: 0px;
}
.wysiwyg-editor .editor-statusbar .editor-statusbar-stat {
  display: inline-block;
  width: 50%;
  text-align: right;
  float: right;
  padding: 0px;
  margin: 0px;
}
