.editorjs_html {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-bottom: 40px;
}

/* .editorjs_html img {
  max-width: 100%;
  width: fit-content;
  vertical-align: middle;
  border-style: none;
  margin-bottom: 2rem;
  align-self: center;
} */

.editorjs_figure {
  text-align: center;
  margin: 25px 0px;
}

.editorjs_figure img {
  max-width: 100%;
  height: auto;
  width: fit-content;
  vertical-align: middle;
  border-style: none;
  margin-bottom: 2rem;
  align-self: center;
}

.editorjs_figure figcaption {
  font-style: italic;
  color: #815300 !important;
  text-align: center;
  margin-bottom: 1.25rem;
}

.editorjs_html h2,
.editorjs_html h3,
.editorjs_html h4,
.editorjs_html h5,
.editorjs_html h6 {
  margin-top: 50px;
}

.editorjs_html h1,
.editorjs_html h2,
.editorjs_html h3,
.editorjs_html h4,
.editorjs_html h5,
.editorjs_html h6 {
  margin-left: 0 !important;
  font-weight: 600;
  line-height: 1.4;
}
.editorjs_html h2 {
  font-size: 1.5rem;
}
.editorjs_html h3 {
  font-size: 1.375rem;
}
.editorjs_html h4 {
  font-size: 1.25rem;
}
.editorjs_html h5 {
  font-size: 1.125rem;
}
.editorjs_html h6 {
  font-size: 1rem;
}

.editorjs_html p {
  margin-top: 0;
  margin-bottom: 1rem;
  display: block;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}

.editorjs_html table {
  margin-top: 0;
  margin-bottom: 2rem;
}

.editorjs_html ul,
.editorjs_html ol {
  margin-top: 0;
  margin-bottom:2px;
}

.editorjs_html ol li,
.editorjs_html ul li {
  margin-top: 0;
  margin-bottom:2px;
}

.editorjs_html iframe {
  margin: 0 auto 2rem auto;
}

.editorjs_html .cdx-alert {
  position: relative;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.editorjs_html .cdx-alert__message {
  outline: none;
}

.editorjs_html .cdx-alert [contentEditable='true'][data-placeholder]::before {
  position: absolute;
  content: attr(data-placeholder);
  color: #707684;
  font-weight: normal;
  opacity: 0;
}

.editorjs_html .cdx-alert [contentEditable='true'][data-placeholder]:empty::before {
  opacity: 1;
}

.editorjs_html .cdx-alert [contentEditable='true'][data-placeholder]:empty:focus::before {
  opacity: 0;
}

.editorjs_html .cdx-alert-primary {
  background-color: #ebf8ff;
  border: 1px solid #4299e1;
  color: #2b6cb0;
}

.editorjs_html .cdx-alert-secondary {
  background-color: #f7fafc;
  border: 1px solid #cbd5e0;
  color: #222731;
}

.editorjs_html .cdx-alert-info {
  background-color: #e6fdff;
  border: 1px solid #4cd4ce;
  color: #00727c;
}

.editorjs_html .cdx-alert-success {
  background-color: #f0fff4;
  border: 1px solid #68d391;
  color: #2f855a;
}

.editorjs_html .cdx-alert-warning {
  background-color: #fffaf0;
  border: 1px solid #ed8936;
  color: #c05621;
}

.editorjs_html .cdx-alert-danger {
  background-color: #fff5f5;
  border: 1px solid #fc8181;
  color: #c53030;
}

.editorjs_html .cdx-alert-light {
  background-color: #fff;
  border: 1px solid #edf2f7;
  color: #1a202c;
}

.editorjs_html .cdx-alert-dark {
  background-color: #2d3748;
  border: 1px solid #1a202c;
  color: #d3d3d3;
}

.editorjs_html .cdx-alert.cdx-settings-button {
  margin: 3px;
  width: 28px;
  height: 28px;
  opacity: 0.5;
}

.editorjs_html .cdx-alert.cdx-settings-button:hover {
  opacity: 1;
}

.editorjs_html .cdx-alert.cdx-settings-button--active,
.editorjs_html .cdx-alert.ce-settings__button--focused {
  font-weight: bold;
  opacity: 0.9;
}

.editorjs_html .inline-code {
  background: rgba(250, 239, 240, 0.78);
  color: #b44437;
  padding: 3px 4px;
  border-radius: 5px;
  margin: 0 1px;
  font-family: inherit;
  font-size: 0.86em;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.editorjs_html code {
  display: inline-block;
  background-color:#f5f5f5;
  color:#bd4147;
  box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)
 }

 .editorjs_html table {
  border: 1px solid #ddd;
  padding: 5px; 
 }

 .editorjs_html tr {
  border: 1px solid #ddd;
  padding: 5px; 
 }

 .editorjs_html td {
  border: 1px solid #ddd;
  padding: 5px; 
 }

.editorjs_html div.editorjs_delimiter {
  text-align: center;
  font-size: 30px;
  margin: 30px 0px;
}


 .editorjs_html blockquote.editorjs_quote {
  margin: 25px 0px;
  padding: 25px;
  font-size: 18px;
  border-left: 15px solid #f0f3f7;
  background: #f9fafd
 }

 .editorjs_html div.editorjs_quote_author {
  font-weight: bold;
  font-size: 18px;
  text-align: right;
  color: #677788
 }

 .editorjs_html div.editorjs_anchor {
  display: block;
  position: relative;
  top: -80px;
  visibility: hidden;
 }

 .editorjs_html img.editorjs_bordered_image {
  border: 5px solid #eee; 
  padding: 10px;
 }
 