.cms-content li > p {
    margin: 0;
}

.cms-content table {
    margin-top: 0;
    print-color-adjust: exact;
}
.cms-content .table-responsive + .Figurtekst {
    margin-top: 7px;
}
.cms-content .imageFigure > figcaption {
  margin-top: 7px;
}
.cms-content table.table-full-width {
    width: 100%;
}
.cms-content table.table-normal-width {
    width: 418px;
}

@media screen and (max-width: 767px) {
    .cms-content table.table-full-width {
        min-width: 708px !important;
    }
    /* Override Bootstrap's white-space: nowrap that makes tables wider on mobile */
    .cms-content .table-responsive > .table > tbody > tr > th,
    .cms-content .table-responsive > .table > tbody > tr > td {
        white-space: normal;
    }
}

.cms-content table th p, .cms-content table td p {
    margin: 0;
}

.cms-content figure.chart {
    max-width: 100%;
}
.cms-content > figure {
    margin-bottom: 18px;
}

.cms-content h1 {
    margin-top: 30px;
    margin-right: 0;
    margin-bottom: 10px;
}

.cms-content h2 {
    font-weight: bold;
    margin: 20px 0 0 0;
}

.cms-content h3 {
    margin: 0;
}

.cms-content h1 .nr, .cms-content h2 .nr, .cms-content h3 .nr {
    padding-right: 0.3em;
}

/* Marker element for internal links */
.cms-content div.internal-id {
    display: block;
    position: relative;
    top: 0;
    visibility: hidden;
}

[id="references"],
[id="preparation"],
[id="relatedDocuments"],
[id="regulations"],
[id="standards"],
[id="citations"],
[id="version-history"],
[id^="citation-"],
.cms-content div.internal-id {
    scroll-margin-top: 100px;
}

/* Make images clickable */
.cms-content .imageWrapper > a {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}
.cms-content .imageWrapper {
    position: relative;
}

.cms-content [class*="indent-"] {
  padding-left: calc(var(--indent-level) * 16px);
}
.cms-content .indent-1 { --indent-level: 1; }
.cms-content .indent-2 { --indent-level: 2; }
.cms-content .indent-3 { --indent-level: 3; }
.cms-content .indent-4 { --indent-level: 4; }
.cms-content .indent-5 { --indent-level: 5; }

@media print {
    .cms-content .hidden-print {
        display: none;
    }
    .cms-content .imageWrapper .img-responsive {
        /* Match the size of how it looks in the PDF */
        zoom: 0.95;
    }
}
@media screen {
    .cms-content .hidden-screen {
        display: none;
    }
}
.cms-content > p.katex-only > span.katex {
  display: block;
  padding: 2px 0;
  overflow-x: auto;
  overflow-y: hidden;
}

/* Wrapper for the copyright notice and edition/ISSN line */
.copyright-footer {
    margin-top: 32px;
    margin-bottom: 32px;
}

/* Cancel the numbered-heading outdent for un-numbered fixed-section headings */
@media (min-width: 768px) {
    .document-content .document:not(.cms-content) h1 {
        margin-left: 0;
    }
}