
@page {
    margin: 2cm;
    height: 297mm;
    width: 210mm;
}

/* Nollställer regler från shared.css som förstör sidbrytning i Chrome */
html {
    -ms-transform: none;
    transform: none;
    -ms-transform-origin: top;
    transform-origin: top;
    height: auto;
    page-break-after: auto;
    page-break-before: auto
}

/* Döljer samtliga objekt som utgångspunkt */
header,
footer {
    display: none;
}

.pm_article,
.pm_article-heading {
    margin-top: 2rem;
    padding-top: 0rem;
}

.pm_accessibility-toolbar {
    visibility: hidden !important;
    height: 0px;
    margin-top: 0rem;
}

.pmstat_heading_gototoc_container {
    visibility: hidden;
}

/* Döljer bakgrundsfärger */
* {
    background-color: unset !important;
}

/* Gör print-logon synlig */
img.pmstat_print_logo {
    width: 7.5rem;
    display: block;
}

/* Sidbrytningar */
.pmstat_insert_pagebreak_after {
    -webkit-break-after: page;
    break-after: page;
    position: static;
    box-sizing: border-box;
    display: block;
}

.pmstat_preamble_text,
.pmstat_toc,
.pm_highlight,
.s_preamble,
.katex,
.pm_quote,
blockquote,
.pmstat_heading_container,
.pmstat_table,
.pm_image,
.pmstat_footnotes {
    -webkit-break-inside: avoid-page !important;
    break-inside: avoid-page !important;
    position: relative;
}

li::before {
    position: absolute;
}

.pmstat_authorbox,
.pm_text p,
.pm_text ul,
.pm_text ol {
    font-size: 0.875rem;
}

.pm_text p {
    padding: 0.2rem 0 0.875rem 0;
}

.pmstat_toc {
    -webkit-break-inside: avoid-page;
    break-inside: avoid-page;
}

.pmstat_toc_item,
.pmstat_toc_item li {
    font-weight: 400;
    font-size: 0.92857rem;
}

.pmstat_toc_item li {
    margin-top: 0;
}

h1 {
    font-size: 1.6rem;
}

h2,
.pmstat_toc_caption {
    font-size: 1.25rem;
}

h3 {
    font-size: 1rem;
}

h4 {
    font-size: 0.875rem;
}

.pmstat_heading_container {
    height: auto;
    margin-top: 0;
    margin-bottom: 0;
    border-width: 2px;
}

.pmstat_table caption,
.pmstat_fig_caption,
.pmstat_window_caption,
.pmstat_footnotes_caption,
.pmstat_filelist_caption,
.pm_read-more__btn-text,
.pm_quote__inner {
    font-size: 1rem;
}

.pmstat_filelist_caption {
    margin-bottom: 0rem;
    padding-bottom: 0.2rem;
}

.pm_document-list__divider {
    margin-bottom: 0.2rem;
}

.pm_document-link__document-name,
.pm_document-link__document-size,
.pm_document-list__document-item {
    font-size: 0.875rem;
}

.pm_document-list__document-item {
    line-height: 1.5rem !important;
}

.pmstat_image,
.pmstat_table {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.pmstat_fig_desc,
.pmstat_table_desc,
.pmstat_footnote_item {
    font-size: 0.8125rem;
}

.pmstat_table caption,
.pmstat_fig_caption
 {
    font-size: 0.92857rem;
}

.pmstat_table {
    margin-bottom: 0.875rem;
}

.pmstat_table table,
.pmstat_table caption,
.pmstat_table_desc {
    margin-bottom: 0.5rem;
}

.pmstat_table th,
.pmstat_table td {
    font-size: 0.8125rem;
    padding: 0.3rem 0.1rem;
    min-height: 0;
}

.pm_highlight {
    margin-top: 0rem;
    margin-bottom: 0rem;
}

.pm_highlight__inner {
    border: 1px solid #bf3d01;
    padding: 0.6rem;
}

.pm_quote__inner {
    font-size: 1rem;
}

.read-more-par {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    border: 1px solid #125687;
    border-top: none;
}

.pm_quote {
    margin-left: 2rem;
    margin-right: 2rem;
}

.pm_read-more__btn--close,
.s_divider--readmore {
    display: none;
}

/* Gjord större än font-size så att den blir lättare att klicka på */
.pmstat_footnote_linkback {
    transform: scale(1.5, 1.5);
}

.pmstat_pagebreak {
    visibility: hidden;
}

