$b: 'editable_article';
$ed: 'editable_text_form';

.#{$ed} {
  display: inline-block;
  position: relative;
  width: 100%;
}

.#{$b} {
  padding: 0 40px;
  margin-bottom: 40px;
  width: 100%;
}

.#{$b} .#{$ed}__form-editor {
  margin-top: -3px;
  margin-left: -3px;
}

.#{$ed}__outer {

}

.#{$ed}__form-editor {
  position: relative;
}

.#{$ed}__form {
  display: none;
}

.#{$ed}__content {
  display: inline-block;
  width: 100%;
}

.#{$ed}__content-edit_btn {
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: -65px;
  z-index: 100;
}

.#{$ed} .wysihtml5-toolbar, .#{$ed} .mce-menubar, .#{$ed} .mce-toolbar-grp  {
  position: absolute;
  top: -66px;
  left: 0;
  background-color: whitesmoke;
  z-index: 2000;
}
.#{$ed} .mce-toolbar-grp {
  top: -32px;
}

.#{$ed} iframe {
  width:100%!important;
  margin-left: -2px;
}

  .editable_text_form__content, .tinymce {
    overflow: hidden;
    font-size: 22px;
    line-height: 1.42857143;
    text-align: justify;
    color: #116;
    img { max-width: 100% }
    h1, h2, h3, h4, h5, h6 {
      color: $big_text_color;
      text-align: left;
      line-height: 1.2;
      font-weight: bolder;
    }
    h1 {
      text-align: center;
      text-shadow: 0 1px 1px #000;
      margin: 20px 0;
    }
    ol {
      margin-left: 20px;
      & > li {
        list-style-type: decimal;
        margin-left: 20px;
      }
    }
    ul {
      margin-left: 20px;
      & > li {
        list-style-type: circle;
        margin-left: 20px;
      }
    }
    td, th {
      padding: 10px;
      border: 2px solid #a3bbfc;
      font-size: 14px;
      line-height: 1.2;
    }
    th {
      background-color: #b3cbff;
    }
  }

@media (max-width: 1199px) {

}

@media (max-width: 991px) {
  .editable_text_form__content, .tinymce {
    overflow-x: scroll;
    overflow-y: hidden;
  }

}

@media (max-width: 767px) {
  .editable_text_form__content, .tinymce {
    font-size: 16px;
    h1 {font-size: 30px;}
    h2 {font-size: 24px;}
    h3 {font-size: 22px;}
  }
  .#{$b} {
  padding: 0;
  margin-bottom: 20px;
  }
}

@media (max-width: 643px) {

}

@media (max-width: 443px) {
  .#{$b} {
    margin-bottom: 10px;
  }
  .editable_text_form__content, .tinymce {
    font-size: 14px;
    h1 {font-size: 26px;}
    h2 {font-size: 20px;}
    h3 {font-size: 18px;}

  }
}
