.rte .block {
  display: block;
  min-height: 1em;
}

.rte-ellipsis .block {
  overflow: hidden;
  text-overflow: ellipsis;
}

.rte-ellipsis .ql-selected .block {
  text-overflow: inherit;
}

.rte p,
.rte ol,
.rte pre,
.rte blockquote,
.rte h1,
.rte h2,
.rte h3,
.rte h4,
.rte h5,
.rte h6 {
  margin: 0;
  padding: 0;
}

@supports (counter-set: none) {
  .rte p,
  .rte h1,
  .rte h2,
  .rte h3,
  .rte h4,
  .rte h5,
  .rte h6 {
    counter-set: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8
      list-9;
  }
}

@supports not (counter-set: none) {
  .rte p,
  .rte h1,
  .rte h2,
  .rte h3,
  .rte h4,
  .rte h5,
  .rte h6 {
    counter-reset: list-0 list-1 list-2 list-3 list-4 list-5 list-6 list-7
      list-8 list-9;
  }
}

.rte:not(.ql-editor) ul {
  padding-left: 1.5em;
  list-style: disc;
}

.rte:not(.ql-editor) ol {
  padding-left: 1.5em;
  list-style: decimal;
}

.rte:not(.ql-editor) li ol,
.rte:not(.ql-editor) li ul {
  padding-left: 3em;
}

.rte .ql-align-center {
  text-align: center;
}
.rte .ql-align-justify {
  text-align: justify;
}
.rte .ql-align-right {
  text-align: right;
}
