
.listing-page ul, .lexxy-editor ul,
.listing-page ol, .lexxy-editor ol {
  margin: 0 0 1em 1.3em;
  padding-left: 1.1em;
  list-style-position: outside;
}


[dir=center] {
  text-align: center;
}
[dir=right] {
  text-align: right;
}
[dir=justify] {
  text-align: justify;
}
[dir=auto] {
  text-align: left;
}

/* Media element alignment */
img[dir=center],
video[dir=center],
.media-wrapper[dir=center] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img[dir=right],
video[dir=right],
.media-wrapper[dir=right] {
  display: block;
  margin-left: auto;
  margin-right: 0;
}

img[dir=auto],
video[dir=auto],
img[dir=left],
video[dir=left],
.media-wrapper[dir=auto],
.media-wrapper[dir=left] {
  display: block;
  margin-left: 0;
  margin-right: auto;
}

img[dir=justify],
video[dir=justify],
.media-wrapper[dir=justify] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* 
.media-wrapper {
  display: flex !important;
  position: relative !important;
  justify-content: center !important;
  width: fit-content !important;
} */

.listing-page li, .lexxy-editor li {
  margin: 0.25em 0;
  line-height: 1.4;
}

.listing-page ul li, .lexxy-editor ul li {
  list-style-type: disc;
}

.listing-page ul ul li, .lexxy-editor ul ul li {
  list-style-type: circle;
}

.listing-page ul ul ul li, .lexxy-editor ul ul ul li {
  list-style-type: square;
}

.listing-page ol, .lexxy-editor ol {
  counter-reset: ordered-list;
}

.listing-page ol li, .lexxy-editor ol li {
  list-style-type: decimal;
}

.listing-page ol li::marker, .lexxy-editor ol li::marker {
  font-weight: 600;
}

.listing-page ul ul, .lexxy-editor ul ul,
.listing-page ul ol, .lexxy-editor ul ol,
.listing-page ol ul, .lexxy-editor ol ul,
.listing-page ol ol, .lexxy-editor ol ol {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}

/* Remove focus ring from contenteditable div */
.listing-page [contenteditable="true"]:focus, .lexxy-editor [contenteditable="true"]:focus {
  outline: none;
  box-shadow: none;
}

.listing-page [contenteditable="true"], .lexxy-editor [contenteditable="true"] {
  outline: none;
}