.redactor_input {
  width: 99%;
  font-size: 14px;
}
.redactor_format_h4 {
  font-size: 16px;
  line-height: 26px;
}
.redactor_editor_wym div,.redactor_editor_wym p,.redactor_editor_wym ul,.redactor_editor_wym ol,.redactor_editor_wym table,.redactor_editor_wym dl,.redactor_editor_wym pre,.redactor_editor_wym h1,.redactor_editor_wym h2,.redactor_editor_wym h3,.redactor_editor_wym h4,.redactor_editor_wym h5,.redactor_editor_wym blockquote {
  background-color: #fff !important;
  border: 1px solid #e4e4e4 !important;
  padding: 10px !important;
  margin: 10px 0 !important;
}
.redactor_editor ul,.redactor_editor ol {
  padding-left: 2em !important;
}
.redactor_editor video,.redactor_editor img {
  height: auto;
}
#redactor_modal_header {
  padding: 15px;
  font-size: 18px;
  border-radius: 8px 8px 0 0;
  font-weight: bold;
  background-color: #f6f6f6;
  border-bottom: 1px solid #ddd;
}
#redactor_modal {
  background-color: #fff;
  padding: 0;
  position: fixed;
  top: 50%;
  left: 50%;
  box-shadow: 0px 5px 20px #999;
  -webkit-box-shadow: 0 5px 20px #999;
  -moz-box-shadow: 0 5px 20px #999;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  z-index: 50001;
  font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif;
  font-size: 12px !important;
  color: #000;
  label {
    margin: 10px 0 0 0 !important;
    padding: 0 !important;
    float: none !important;
    display: block !important;
  }
  textarea {
    margin-top: 4px;
    display: block;
  }
}
.redactor_dropdown {
  font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif;
  top: 28px;
  left: 0;
  z-index: 2004;
  position: absolute;
  width: 200px;
  background-color: #fff;
  border: 1px solid #ccc;
  font-size: 13px;
  -webkit-box-shadow: 0 2px 4px #ccc;
  -moz-box-shadow: 0 2px 4px #ccc;
  box-shadow: 0 2px 4px #ccc;
  line-height: 21px;
  padding: 10px;
  a {
    display: block;
    color: #000;
    padding: 3px 5px;
    text-decoration: none;
  }
  a:hover {
    color: #444 !important;
    text-decoration: none;
    background-color: #dde4ef;
  }
}
.redactor_editor code,.redactor_editor pre {
  font-family: Menlo, Monaco, monospace, sans-serif !important;
}
body {
  .redactor_toolbar {
    li {
      a.redactor_btn_justify {
        background-position: -450px;
      }
      a.redactor_btn_indent {
        background-position: -175px;
      }
      a.redactor_btn_image {
        background-position: -200px;
      }
      a.redactor_btn_unorderedlist {
        background-position: -100px;
      }
      a.redactor_btn_backcolor {
        background-position: -350px;
      }
      a.redactor_btn_link {
        background-position: -300px;
      }
      a.redactor_btn_formatting {
        background-position: -25px;
      }
      a.redactor_btn_bold {
        background-position: -50px;
      }
      a.redactor_btn_italic {
        background-position: -75px;
      }
      a.redactor_btn_outdent {
        background-position: -150px;
      }
      a.redactor_btn_orderedlist {
        background-position: -125px;
      }
      a.redactor_btn_fontcolor {
        background-position: -325px;
      }
      a.redactor_btn_table {
        background-position: -275px;
      }
      a.redactor_btn_file {
        background-position: -250px;
      }
      a.redactor_btn_aligncenter {
        background-position: -400px;
      }
      a.redactor_btn_alignleft {
        background-position: -375px;
      }
      a.redactor_btn_horizontalrule {
        background-position: -475px;
      }
      a.redactor_btn_alignright {
        background-position: -425px;
      }
      a.redactor_btn_video {
        background-position: -225px;
      }
      a.redactor_btn_deleted {
        background-position: -500px;
      }
      a.redactor_btn_html {
        background-position: 0px;
      }
    }
  }
  .redactor_air {
    position: absolute;
    border: 1px solid #ddd;
    border-bottom: none;
    z-index: 2;
    .redactor_toolbar {
      padding-right: 2px !important;
    }
  }
}
.redactor_box, .redactor_box textarea {
  background-color: #fff;
}
#redactor_tabs a:hover, #redactor_tabs a.redactor_tabs_act {
  background-color: #eee;
  color: #777 !important;
  text-decoration: none !important;
}
#redactor_tabs {
  margin-bottom: 18px;
  a {
    display: inline-block;
    border: 1px solid #ddd;
    padding: 4px 14px;
    font-size: 12px;
    text-decoration: none;
    color: #000;
    line-height: 1;
    border-radius: 10px;
    margin-right: 3px;
  }
}
#redactor_btn_modal_close {
  color: #777;
  font-size: 11px !important;
  margin-left: 10px;
}
.redactor_separator_drop {
  border-top: 1px solid #ddd;
  padding: 0 !important;
  line-height: 0;
  font-size: 0;
}
.redactor_toolbar li a:active, .redactor_toolbar li a.act {
  border-color: #b5b5b5;
  background-color: #e8e8e8;
}
@media {
  all {
    and {
(-webkit-min-device-pixel-ratio: {
1.5) {
.redactor_toolbar li a;
}
  }
  }
  }
  }
.redactor_editor.redactor_editor_wym {
  background: #f6f6f6 !important;
  padding: 5px 15px !important;
}
.redactor_editor ul ul,.redactor_editor ol ol,.redactor_editor ul ol,.redactor_editor ol ul {
  border: none;
  margin: 2px !important;
  padding: 0 !important;
  padding-left: 2em !important;
}
.redactor_editor object,.redactor_editor embed,.redactor_editor video,.redactor_editor img {
  width: auto;
  max-width: 100%;
}
#redactor_modal_footer {
  overflow: hidden;
  padding-top: 20px;
}
#redactor_modal_close {
  position: absolute;
  right: 0px;
  top: 10px;
  font-size: 24px;
  width: 30px;
  height: 30px;
  color: #999;
  cursor: pointer;
}
.redactor_color_none {
  font-size: 11px;
}
.redactor_color_link {
  padding: 0 !important;
  width: 15px !important;
  height: 15px !important;
  float: left !important;
  border: 2px solid #fff !important;
  font-size: 0;
}
.redactor_toolbar {
  font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif !important;
  position: relative;
  left: 0;
  top: 0;
  margin: 0 !important;
  padding: 0 !important;
  padding-left: 2px !important;
  line-height: 0 !important;
  list-style: none !important;
  font-size: 0;
  background: #f2f2f2;
  background: -moz-linear-gradient(top,  #f5f5f5 0%, #ddd 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f5f5f5), color-stop(100%,#ddd));
  background: -webkit-linear-gradient(top,  #f5f5f5 0%,#ddd 100%);
  background: -o-linear-gradient(top,  #f5f5f5 0%,#ddd 100%);
  background: -ms-linear-gradient(top,  #f5f5f5 0%,#ddd 100%);
  background: linear-gradient(top,  #f5f5f5 0%,#ddd 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f5f5f5', endColorstr='#dddddd',GradientType=0 );
  overflow: hidden !important;
  height: 32px !important;
  border-bottom: 1px solid #bbb;
  li.redactor_separator {
    float: left;
    height: 34px;
    border-left: 1px solid #d7d7d7;
    border-right: 1px solid #eee;
    padding: 0;
    margin: 0 2px 0 3px !important;
  }
  li {
    float: left !important;
    margin: 0 !important;
    padding: 3px 1px;
    padding-right: 0;
    list-style: none !important;
    a {
      width: 25px;
      height: 25px;
      border: 1px solid transparent;
      * border: 1px solid #eee;
      display: block;
      line-height: 0;
      font-size: 0;
      cursor: pointer;
      zoom: 1;
      text-decoration: none;
      display: block;
      text-indent: -9999px;
      background-image: url(data:image/png;
      base64, );
      background-repeat: no-repeat;
      background-position: 0;
    }
    a:hover {
      border-color: #98a6ba;
      background-color: #dde4ef;
    }
  }
}
.redactor_dropalternative {
  margin: 4px 0 2px 0;
}
#redactor_image_box {
  height: 270px;
  overflow: auto;
  margin-bottom: 10px;
  img {
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    max-width: 100px;
  }
}
.redactor_editor {
  h3 {
    font-size: 24px !important;
    line-height: 30px !important;
    margin-bottom: 10px !important;
  }
  dd {
    margin-left: 1em;
  }
  h4 {
    font-size: 18px !important;
    line-height: 24px !important;
    margin-bottom: 10px !important;
  }
  a {
    color: #15c !important;
    text-decoration: underline !important;
  }
  h5 {
    font-size: 1em !important;
    margin-bottom: 10px !important;
  }
  code {
    background-color: #d8d7d7 !important;
  }
  pre {
    font-size: 90% !important;
    background: #f8f8f8 !important;
    border: 1px solid #ddd !important;
    border-radius: 3px !important;
    padding: 1em !important;
    white-space: pre;
    overflow: auto;
  }
  blockquote {
    margin-left: 3em !important;
    font-style: italic !important;
    color: #777;
  }
  table {
    border-collapse: collapse;
    font-size: 1em !important;
    thead {
      td {
        border-bottom: 2px solid #000 !important;
        font-weight: bold !important;
      }
    }
    td {
      border: 1px solid #ddd;
      padding: 5px !important;
      vertical-align: top;
    }
  }
  dl {
    dt {
      font-weight: bold;
    }
  }
  h1 {
    font-size: 36px !important;
    line-height: 40px !important;
    margin-bottom: 10px !important;
  }
  h2 {
    font-size: 30px !important;
    line-height: 38px !important;
    margin-bottom: 15px !important;
  }
  hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
  }
}
.redactor_dropareabox.hover {
  background: #efe3b8;
  border-color: #aaa;
}
#redactor_modal_close:hover {
  color: #000;
}
#redactor_modal_inner {
  padding: 15px 30px 20px 30px;
}
.redactor_format_h1, .redactor_format_h2, .redactor_format_h3, .redactor_format_h4 {
  font-weight: bold;
}
.redactor_editor div,.redactor_editor p,.redactor_editor ul,.redactor_editor ol,.redactor_editor table,.redactor_editor dl,.redactor_editor blockquote,.redactor_editor pre {
  box-shadow: none !important;
  background: none !important;
  margin: 0 !important;
  margin-bottom: 15px !important;
  line-height: 1.5em !important;
  font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important;
  font-size: 15px !important;
  border: none;
}
.redactor_dropareabox.error {
  background: #f7e5e5;
  border-color: #dcc3c3;
}
#redactor_modal_overlay {
  position: fixed;
  margin: auto;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50000;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
  filter:alpha(opacity=80);
  opacity: 0.80;
  background-color: #fff !important;
}
.redactor_format_h1 {
  font-size: 30px;
  line-height: 36px;
}
.redactor_editor, .redactor_editor:focus {
  position: relative;
  outline: none;
  box-shadow: none !important;
  padding: 15px !important;
  margin: 0 !important;
  background: none;
  background: #fff !important;
  overflow: auto;
  font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif !important;
  font-size: 15px !important;
  white-space: normal;
}
.redactor_dropareabox.drop {
  background: #f4f4ee;
  border-color: #e0e5d6;
}
.redactor_droparea .redactor_dropareabox, .redactor_dropalternative {
  color: #777;
  font-size: 12px;
}
.redactor_droparea {
  position: relative;
  width: 100%;
  margin: auto;
  margin-bottom: 5px;
  .redactor_dropareabox {
    z-index: 1;
    position: relative;
    text-align: center;
    width: 99%;
    padding: 60px 0;
    border: 2px dashed #bbb;
  }
}
.redactor_btns_box {
  float: right;
  padding: 6px 16px;
  background-color: #eee;
  border-radius: 5px;
}
.redactor_format_h2 {
  font-size: 24px;
  line-height: 36px;
}
.redactor_editor h1,.redactor_editor h2,.redactor_editor h3,.redactor_editor h4,.redactor_editor h5 {
  font-family: Helvetica, Arial, Verdana, Tahoma, sans-serif !important;
  color: #000;
  background: none;
  margin: 0 !important;
  padding: 0 !important;
  font-weight: bold;
}
.redactor_editor iframe,.redactor_editor object,.redactor_editor hr {
  margin-bottom: 15px !important;
}
.redactor_format_h3 {
  font-size: 20px;
  line-height: 30px;
}
.redactor_format_pre {
  font-family: monospace, sans-serif;
}
.redactor_format_blockquote {
  font-style: italic;
  color: #666 !important;
  padding-left: 10px;
}
.redactor_box {
  position: relative;
  border: 1px solid #ddd;
  textarea {
    font-family: Menlo, Monaco, monospace, sans-serif;
    font-size: 13px;
    overflow: auto;
    resize: none;
    margin: 0;
    padding: 0;
    display: block;
    position: relative;
    z-index: 1004;
    outline: none;
    border: none;
    width: 100%;
    white-space: normal;
  }
}
