/* ------------------------------------------------------------
 | DocuGlobe-/Word-Leerartefakte
 * ------------------------------------------------------------ */

.hb-page-body .dlModulbegrenzung0,
.hb-page-body .HZwischenraum,
.hb-page-body .HTabellenende,
.hb-page-body .dltext,
.hb-page-body .dlTabellezusammenhalten,
.hb-page-body .hb-empty-control,
.hb-page-body .hb-docuglobe-empty,
.hb-page-body .hb-docuglobe-spacer {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    display: none !important;
}

/* ------------------------------------------------------------
 | Negative Word-/DocuGlobe-Margins neutralisieren
 * ------------------------------------------------------------ */

.hb-page-body [style*="margin-left:-141.75pt"],
.hb-page-body [style*="margin-left: -141.75pt"],
.hb-page-body [style*="margin-left:-141.7pt"],
.hb-page-body [style*="margin-left:-141.8pt"],
.hb-page-body [style*="margin-left:-70.95pt"],
.hb-page-body [style*="margin-left: -70.95pt"],
.hb-page-body [style*="margin-left:-70.9pt"] {
    margin-left: 0 !important;
}

/* ------------------------------------------------------------
 | Native DocuGlobe-Verzeichnisse im Viewer ausblenden
 * ------------------------------------------------------------ */

.hb-page-body .HInhaltsverzeichnisberschrift,
.hb-page-body .HTabellenverzeichnisberschrift,
.hb-page-body .HAbbildungsverzeichnisberschrift,
.hb-page-body .HIndexverzeichnisberschrift,
.hb-page-body .hb-index-heading,
.hb-page-body .Verzeichnis1,
.hb-page-body .Verzeichnis2,
.hb-page-body .Verzeichnis3,
.hb-page-body .Verzeichnis9 {
    display: none !important;
}

/* ------------------------------------------------------------
 | DocuGlobe-Tabellentexte normalisieren
 * ------------------------------------------------------------ */

.hb-page-body .HTabelleInhaltlinks,
.hb-page-body .HTabelleInhaltzentriert,
.hb-page-body .TabelleInhaltlinks,
.hb-page-body .TabelleInhaltzentriert {
    text-align: left !important;
}

.hb-page-body .HTabelleKopfzeilelinks,
.hb-page-body .TabelleKopfzeilelinks {
    text-align: left !important;
}

.hb-page-body .HTabelleKopfzeilezentriert,
.hb-page-body .TabelleKopfzeilezentriert {
    text-align: center !important;
}

/* ------------------------------------------------------------
 | Referenzbasierte Seiten-/Gruppensteuerung aus JS
 * ------------------------------------------------------------ */

.hb-page-body .hb-figure-group,
.hb-page-body .hb-figure-caption-action,
.hb-page-body .hb-keep-figure,
.hb-page-body .hb-keep-table,
.hb-page-body .hb-keep-note,
.hb-page-body .hb-keep-heading,
.hb-page-body .hb-keep-list,
.hb-page-body .hb-keep-block,
.hb-page-body .hb-keep-marginalia,
.hb-page-body .hb-keep-forced-heading,
.hb-page-body .hb-keep-group {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
}

.hb-page-body .hb-keep-marginalia + .hb-keep-block,
.hb-page-body .hb-keep-marginalia + .hb-keep-list,
.hb-page-body .hb-keep-marginalia + .hb-keep-table,
.hb-page-body .hb-keep-marginalia + .hb-keep-figure {
    break-before: avoid-page !important;
    page-break-before: avoid !important;
}

.hb-force-page-start {
    break-before: page !important;
    page-break-before: always !important;
}

.hb-table-split-continuation {
    margin-top: 0 !important;
}

.hb-table-caption-moved {
    margin-top: 2px !important;
}