.ec-html-content {
  color: #525263;
  word-break: break-all;
}

.ec-html-content >:last-child {
  margin-bottom: 0;
}
.ec-html-content p,
.ec-html-content h5,
.ec-html-content h6 {
  width: 100%;
  font-size: 16px;
  color: #525263;
  line-height: 1.88;
  margin-bottom: 39px;
}

.ec-html-content strong {
  font-weight: 600;
}
.ec-html-content em {
  font-style: italic;
}
.ec-html-content ul,
.ec-html-content ol {
  padding: 15px 0;
}

.ec-html-content ul > li,
.ec-html-content ol > li {
  color: #525263;
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding-left: 30px;
  line-height: 2.14;
  list-style: none;
}
.ec-html-content ul > li > ul,
.ec-html-content ol > li > ul,
.ec-html-content ul > li ol,
.ec-html-content ol > li ol {
  border: 0;
  padding: 0;
  margin-bottom: 0;
}

.ec-html-content ul > li:last-child,
.ec-html-content ol > li:last-child {
  margin-bottom: 0;
}
.ec-html-content ul > li:before {
  width: 10px;
  height: 10px;
  content: "";
  display: block;
  border-radius: 50%;
  background-color: #b9b6c1;
  position: absolute;
  top: 15px;
  left: 0;
  bottom: auto;
  right: auto;
}

.ec-html-content ol {
  counter-reset: item;
}
.ec-html-content ol > li {
  /*list-style: nowrap;*/
}
.ec-html-content ol > li:before {
  width: 10px;
  height: 10px;
  counter-increment: item;
  content: counter(item) ".";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: auto;
  right: auto;
}

.ec-html-content h2 {
  width: 100%;
  padding: 15px 20px;
  background-color: #f6f6f6;
  color: #525263;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 49px;
  line-height: 1.56;
}

.ec-html-content h3 {
  font-size: 20px;
  color: #525263;
  font-weight: 600;
  line-height: 1.6;
  position: relative;
  border-bottom: 1px solid #dadad7;
  margin-bottom: 39px;
  padding-left: 30px;
  padding-bottom: 18px;
}

.ec-html-content h3:before {
  width: 10px;
  height: 2px;
  content: "";
  display: block;
  background-color: #525263;
  position: absolute;
  top: 15px;
  left: 0;
  bottom: auto;
  right: auto;
}

.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h3:not(.ck-widget_selected):not(.ck-widget:hover):before {
  top: 35px;
}

.ec-html-content h4 {
  font-size: 18px;
  color: #525263;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 14px;
}

.ec-html-content h5,
.ec-html-content h6 {
  margin-bottom: 8px;
}

.ec-html-content > * + h2 {
  margin-top: 60px;
}

.ec-html-content > * + h3 {
  margin-top: 50px;
}

.ec-html-content > * + h4 {
  margin-top: 40px;
}

.ec-html-content > * + h5,
.ec-html-content > * + h6 {
  margin-top: 20px;
}

.ec-html-content blockquote {
  padding: 30px;
  background-color: #e5e5e1;
  margin-bottom: 60px;
}

.ec-html-content figure {
  text-align: center;
  margin: 0;
  padding: 0;
  width: 100%;
  margin-bottom: 39px;
}
.ec-html-content img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.ec-html-content .image img {
  min-width: auto;
  max-width: 100%;
  height: auto;
}

.ec-html-content table {
  width: 100%;
  border-left: 1px solid #dadad7;
  border-top: 1px solid #dadad7;
}
.ec-html-content table th,
.ec-html-content table td {
  color: #525263;
  border-right: 1px solid #dadad7;
  border-bottom: 1px solid #dadad7;
  text-align: left;
  padding: 10px;
}

.ec-html-content table tr:last-child th,
.ec-html-content table tr:last-child td {
  border-width: 1px;
}

.ec-html-content table th.center,
.ec-html-content table td.center {
  text-align: center;
}

.ec-html-content table th:first-child,
.ec-html-content table td:first-child {
  text-align: left;
}
.ec-html-content table th {
  background-color: #e5e5e1;
}
.ec-html-content table td {
  background-color: #fff;
}

.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h2 {
  padding: 30px 46px!important;
}
.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) h3 {
  padding-top: 18px!important;
}

.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) ul,
.ck.ck-editor__editable.ck-editor__editable_inline.ck-show-blocks:not(.ck-widget) ol {
  padding: 30px 0!important;
}
