/*------------------------------------*\
  #RTE
  Wird sowohl im Frontend (page.includeCSS) als auch im CKEditor
  (editor.config.contentsCss) geladen.
\*------------------------------------*/

/*------------------------------------*\
  #BESTAND - unveraendert
\*------------------------------------*/
.align-left {
    text-align: left !important;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right !important;
}

span.rte-dunkelblau,
span.rte-hellblau,
span.rte-grau,
span.rte-orange {
    padding: 0 15px;
    font-size: 48px;
}

span.rte-dunkelblau {
    color: #074D6D;
    font-weight: 600;
}

span.rte-hellblau {
    color: #00A9D3;
    font-weight: 600;
}

span.rte-grau {
    color: #808080;
    font-weight: 600;
}

span.rte-orange {
    color: #FAB400;
    font-weight: 600;
}

/*------------------------------------*\
  #FORMATVORLAGEN
  Diese Klassen waren im alten CKEditor-4-Preset auswaehlbar,
  hatten aber keine CSS-Entsprechung und blieben daher wirkungslos.
\*------------------------------------*/
.align-justify {
    text-align: justify;
}

p.p-tiny {
    font-size: 0.8em;
    line-height: 1.5;
}

span.c-important {
    font-weight: 700;
}

span.c-tiny {
    font-size: 0.8em;
}

ul.no-bullet {
    list-style: none;
    padding-left: 0;
}

ul.ul-style1 {
    list-style: none;
    padding-left: 1.5em;
}

ul.ul-style1 > li {
    position: relative;
    padding-left: 0.5em;
}

ul.ul-style1 > li::before {
    content: "\2713";
    position: absolute;
    left: -1.2em;
    color: #00A9D3;
    font-weight: 700;
}

ol.ul-style2 > li::marker {
    color: #00A9D3;
    font-weight: 700;
}

/*------------------------------------*\
  #TEXTMARKER
  Fuer das highlight-Werkzeug des CKEditor 5.
\*------------------------------------*/
.marker-yellow {
    background-color: #fdfd77;
}

.marker-green {
    background-color: #62f962;
}

.marker-blue {
    background-color: #72cdfd;
}

.pen-red {
    color: #e71313;
    background-color: transparent;
}

/*------------------------------------*\
  #TABELLEN AUS DEM RTE
  CKEditor 5 kapselt Tabellen in <figure class="table">.
\*------------------------------------*/
figure.table {
    margin: 0 0 1rem;
    overflow-x: auto;
}

figure.table > table {
    width: 100%;
    border-collapse: collapse;
}

figure.table > table th,
figure.table > table td {
    padding: 8px 10px;
    border: 1px solid #dee2e6;
    vertical-align: top;
}

figure.table > table th {
    background-color: #f0f0f0;
    font-weight: 600;
    text-align: left;
}

figure.table > figcaption {
    padding: 6px 0;
    font-size: 0.85em;
    color: #808080;
}

/*------------------------------------*\
  #EDITOR-ANSICHT
  Greift ausschliesslich im CKEditor, nicht im Frontend.
\*------------------------------------*/
.ck-content i[class*="fa-"] {
    display: inline-block;
    min-width: 1em;
}

.ck-content i[class*="fa-"].ck-widget_selected {
    outline: 2px solid #0080c9;
    outline-offset: 2px;
}

/*------------------------------------*\
  #MEDIA-QUERIES
\*------------------------------------*/
@media (max-width: 1199px) {

}

@media (max-width: 991px) {
  span.rte-dunkelblau,
  span.rte-hellblau,
  span.rte-grau,
  span.rte-orange {
      font-size: 36px;
  }
}

@media (max-width: 767px) {
  span.rte-dunkelblau,
  span.rte-hellblau,
  span.rte-grau,
  span.rte-orange {
      font-size: 28px;
  }
}

@media (max-width: 575px) {

}
