html {
  height: 100%;
  overflow: auto;
}
ul,
ol,
dl {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.clear:after,
.ql-body #_all:after,
.ql-header:after {
  display: table;
  clear: both;
  content: '';
}
input::-webkit-input-placeholder {
  color: #ddd;
}
input::-moz-placeholder {
  color: #ddd;
  opacity: 1 !important;
}
input:-ms-input-placeholder {
  color: #ddd;
}
.ql-body {
  padding-bottom: 8px;
  position: relative;
  overflow: hidden;
  font-family: Helvetica, Arial, 'Microsoft Yahei';
}
.ql-body:before {
  width: 100%;
  height: 122px;
  position: absolute;
  top: 0;
  left: 0;
  border-bottom: 1px solid #d4d8db;
  content: '';
  background-color: #f6f6f6;
}
.ql-body #_all {
  width: auto;
  max-width: 1192px;
  margin: 8px auto 0;
  padding-left: 8px;
  border-width: 0;
  float: none;
}
.ql-body #__left {
  width: 22.59%;
  margin-left: -8px;
  border: 1px solid #dddddd;
  box-shadow: 4px 4px 4px -4px rgba(0, 0, 0, 0.11);
}
.ql-body #__right {
  width: auto;
  margin-left: 22.59%;
  border: 1px solid #dddddd;
  float: none;
  box-shadow: 4px 4px 4px -4px rgba(0, 0, 0, 0.11);
}
.ql-body #_leftMenu > li {
  height: 42px;
  margin-left: 0;
  padding-left: 26px;
  position: relative;
  border: 0 solid #eaeaea;
  border-bottom-width: 1px;
  line-height: 40px;
  color: inherit !important;
  background-color: transparent !important;
}
.ql-body #_leftMenu > li:before {
  width: 12px;
  height: 12px;
  position: absolute;
  top: 9px;
  left: 10px;
  content: '';
  background: url(images/sprite.png) -36px -184px no-repeat;
}
.ql-body #_leftMenu > li[style*='background-color'],
.ql-body #_leftMenu > li.sl {
  border-bottom-color: #27bdff;
}
.ql-body #_leftMenu > li[style*='background-color']:after,
.ql-body #_leftMenu > li.sl:after {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  border-top: 1px solid #27bdff;
  content: '';
}
.ql-body #_leftMenu > li[style*='blue']:before,
.ql-body #_leftMenu > li.done:before {
  background-position: -36px -145px;
}
.ql-body > b object {
  display: block;
}
.ql-body form > p[align] {
  padding-top: 5px;
  font-size: 0;
}
.ql-body form > p[align] input.btn {
  width: 80px;
  height: 30px;
  margin-right: 10px;
  padding: 0;
  padding-left: 20px;
  border-width: 0;
  line-height: 30px;
  color: #1bbbfa;
  background: #ebf7ff none 10px no-repeat;
}
.ql-body form > p[align] input.btn:hover {
  color: #fff;
  background-color: #1bbbfa;
}
.ql-body form > p[align] input.btn:focus {
  outline: none;
}
.ql-body form > p[align] input.btn-default {
  background-image: url('images/print.png');
}
.ql-body form > p[align] input.btn-default:hover {
  background-image: url('images/print-h.png');
}
.ql-body form > p[align] input.btn-primary {
  background-image: url('images/save.png');
}
.ql-body form > p[align] input.btn-primary:hover {
  background-image: url('images/save-h.png');
}

.ql-body #htmlbody1 > h3 {
  display: block;
}
.ql-body #htmlbody1 > h3 > b {
  font-size: 24px;
  line-height: 52px;
  letter-spacing: normal;
  font-weight: 400;
}
.ql-body #htmlbody1 > div[align] {
  width: 460px;
  margin: auto;
  display: block;
}
.ql-body #htmlbody1 > div[align] > table {
  width: 100%;
  margin: 40px 0;
  border-collapse: collapse;
}
.ql-body #htmlbody1 > div[align] > table td {
  border-top: 45px solid transparent;
  white-space: nowrap;
}
.ql-body #htmlbody1 > div[align] > table font {
  font-size: 14px;
  display: block;
  text-align: right;
}
.ql-body #htmlbody1 > div[align] > table input {
  height: 40px;
  padding: 0 .5em;
  border: 1px solid #eaeaea;
  line-height: 38px;
}
.ql-body #htmlbody1 > div[align] > table tr:first-child input {
  width: 350px !important;
}
.ql-body #htmlbody1 > div[align] > table tr:first-child + tr input {
  width: 100px !important;
  margin-right: 0.3em;
}
.ql-body #htmlbody1 > div[align] > table tr:first-child + tr input ~ input {
  margin: 0 0.3em 0 0.2em;
}
.ql-body #htmlbody1,
.ql-body #htmlbody2,
.ql-body #htmlbody3,
.ql-body #htmlbody4,
.ql-body #htmlbody5,
.ql-body #htmlbody6,
.ql-body #htmlbody7,
.ql-body #htmlbody8 {
  padding: 10px;
  padding-top: 0;
}
.ql-header {
  max-width: 1200px;
  height: 122px;
  margin: 0 auto;
  position: relative;
}
.ql-header:before {
  display: table;
  content: '';
}
.ql-header h1 {
  width: 304px;
  height: 55px;
  margin: 27px 0 0;
  float: left;
  background: url('images/logo.png') no-repeat;
}
.ql-message {
  padding: 2em 1em;
  font: 400 12px / 2em SimSun;
  color: #7d7d7d;
}
.ql-message > span {
  width: 5em;
  float: left;
}
.ql-message p {
  margin: 0 0 0 5em;
  counter-increment: p-count;
}
.ql-message p:before {
  content: counter(p-count) '\3001';
}
.ql-tools {
  margin: 27px 24px 0 0;
  float: right;
}
.ql-tools > li {
  min-width: 50px;
  margin-left: 50px;
  padding-top: 34px;
  position: relative;
  float: left;
  cursor: pointer;
  color: #818181;
  background: none 50% 0 no-repeat;
}
.ql-tools > li > div {
  position: absolute;
  top: 100%;
  display: none;
}
.ql-tools > li:hover > div {
  display: block;
}
.ql-tools span {
  display: block;
  text-align: center;
}
.ql-tools > .icon-help {
  background-image: url('images/help.png');
}
.ql-tools > .icon-help:hover {
  color: #1bbbfa;
  background-image: url('images/help-h.png');
}
.ql-tools > .icon-submit {
  background-image: url('images/submit.png');
}
.ql-tools > .icon-submit:hover {
  color: #1bbbfa;
  background-image: url('images/submit-h.png');
}
.ql-tools > .icon-close {
  background-image: url('images/close.png');
}
.ql-tools > .icon-close:hover {
  color: #1bbbfa;
  background-image: url('images/close-h.png');
}
.ql-help {
  padding: 1em 3em 0 0;
  right: 0;
  z-index: 99;
}
.ql-help-inner {
  padding: .5em 1.8em;
  position: relative;
  border: 1px solid #eaeaea;
  font: 12px / 2em SimSun;
  white-space: nowrap;
  box-shadow: 3px 3px 10px -3px rgba(0, 0, 0, 0.5);
  text-align: left;
  color: #7d7d7d;
  background-color: #fff;
}
.ql-help-inner:before,
.ql-help-inner:after {
  position: absolute;
  top: -11px;
  right: -11px;
  border: 1px solid #dcdcdc;
  content: '';
  background-color: #fff;
}
.ql-help-inner:before {
  width: 34px;
  height: 8px;
}
.ql-help-inner:after {
  width: 8px;
  height: 27px;
  top: -4px;
  border-top-width: 0;
}
.ql-help-inner > span {
  text-align: left;
  color: #333;
}
.ql-help-inner > p {
  margin: 0;
}
.form-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
}
.form-table + .form-table {
  margin-top: -1px;
}
.form-table td {
  height: 40px;
  padding: 11px 0;
  border: 1px solid #eaeaea;
  line-height: 18px;
  font-weight: 400;
}
.form-table td.td-left {
  padding-right: .6em;
  text-align: right;
  background-color: #f9f9f9;
}
.form-table td.td-right {
  padding: 0 .2em;
}
.form-table td.td-body {
  padding: 11px 0.8em;
  font: 0.86em / 2em Helvetica, Arial, SimSun;
  text-indent: 2em;
  color: #7d7d7d;
}
.form-table .btns-row {
  text-align: right;
}
.form-table input,
.grid-table input {
  font-family: 'Microsoft Yahei';
  vertical-align: middle;
}
.form-table input[type='text'],
.grid-table input[type='text'] {
  width: 100%;
  height: 40px;
  border: 1px solid transparent;
  vertical-align: top;
}
.form-table input[type='radio'],
.form-table input[type='checkbox'],
.grid-table input[type='radio'],
.grid-table input[type='checkbox'] {
  margin: 0 .2em 0 .3em;
}
.grid-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.grid-table td,
.grid-table th {
  padding: 0 .3em;
  border: 1px solid #eaeaea;
  line-height: 40px;
  font-weight: 400;
  text-align: center;
}
.grid-table thead {
  background-color: #f9f9f9;
}
.grid-table tbody tr {
  counter-increment: grid-count;
}
.grid-table td.td-left {
  text-align: left;
}
.grid-table td.td-left input {
  text-align: center;
}
.grid-table input {
  text-align: center;
}
.grid-table .icon-remove {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  background: url('images/remove.png') 50% no-repeat;
}
.grid-table .icon-remove:hover {
  background-image: url('images/remove-h.png');
}
.grid-table .icon-add {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  background: url('images/add.png') 50% no-repeat;
}
.grid-table .icon-add:hover {
  background-image: url('images/add-h.png');
}
.mix-box {
  width: 100%;
  margin: 0;
  padding: 0 .8em;
  border-collapse: separate;
  border-spacing: 0;
  font-weight: 400;
  display: table;
  table-layout: auto;
  white-space: nowrap;
}
.mix-text {
  width: .5em;
  display: table-cell;
}
.mix-body {
  display: table-cell;
  padding: 0 1em;
}
.mix-unit {
  width: .5em;
  display: table-cell;
}
.switch-box {
  width: 5.72em;
  height: 2.143em;
  position: relative;
  font: 14px / 2.143em Helvetica, Arial, 'Microsoft Yahei';
  text-indent: 0;
  display: inline-block;
  overflow: hidden;
  vertical-align: middle;
  text-align: center;
  cursor: pointer;
  background-color: #cecece;
}
.switch-box > input[type] {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: .01;
  filter: alpha(opacity=1);
}
.switch-box > input[type]:checked + span,
.switch-box > input[type].checked + span {
  background-color: #1bbbfa;
}
.switch-box > span {
  display: block;
}
