/* OR (orange rapport) print */

main,
main > *,
article > * {
  max-width: 40.3125rem !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.pm_article-heading,
.pmstat_width_control {
  padding: 0;
}

.pmstat_footnote_linkback {
  display: none;
}

a {
  pointer-events: none;
}

.pm_text > p,
.pm_text > ul,
.pm_text > ol {
  letter-spacing: normal;
  margin-left: auto;
  margin-right: auto;
}

.pmstat_preamble {
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.pmstat_heading_container {
  margin-bottom: 0rem;
  max-width: 13cm;
  margin-left: auto;
  margin-right: auto;
  border-bottom-width: 0.5px;
}

.pmstat_table2 caption {
  margin-bottom: 0.5rem;
}

/* Inställningar för config-toc i print */
.pmstat_toc {
  display: none !important; /* grundläge: stäng av i print, overridea style som står direkt i html-koden */
}

.pmstat_first_page .pmstat_toc {
  display: block !important; /* på förstasida, override:a igen */
  margin-top: 0rem !important;
  padding-top: 0rem !important;
  border: 0rem !important;
}

.pmstat_toc_container {
  margin-top: 0.5rem !important;
  margin-bottom: 0rem !important;
  max-width: 13cm !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0rem !important;
  padding-right: 0rem !important;
  border: 0px solid #b9b1a8;
  padding-top: 0rem !important;
  padding-bottom: 0rem !important;
}

img.pmstat_print_logo {
  display: none;
}

.pmstat_footnotes {
  page-break-before: always;
}


/* Mindre storlek på ekvationer*/
.katex {
  font-size: 1em;
}


/* Desc, fotnoter, och captions */
.pmstat_table caption,
.pmstat_object_caption {
  font-size: 0.85rem;
}
.pmstat_footnotes_caption {
  max-width: 13cm;
  margin-left: auto;
  margin-right: auto;
}
.pmstat_object_desc {
  font-size: 0.7125rem;
}
.pmstat_footnote_item {
  font-size: 0.8125rem;
}


/* Description lists */
dl {
  max-width: 13cm;
  margin-left: auto;
  margin-right: auto;
}
.equations dt {
  display: block;
  margin-top: 0.4rem;
}
.equations dd {
  margin-top: -1.2rem;
  margin-left: 4.4rem;
  font-size: 0.7rem;
}
.wordlist dt {
  margin-top: 0.8rem;
  font-size: 0.9rem;
}
.wordlist dd {
  font-size: 0.7rem;
}


/* Formatering för text i intro */
.pmstat_preamble p {
  font-family: Pensio, Arial, Helvetica, sans-serif;
  font-size: 10pt !important;
}
.pmstat_s_preamble p {
  font-family: Pensio, Arial, Helvetica, sans-serif;
  font-size: 9.5pt !important;
}
.pmstat_intro_text p {
  font-family: Pensio, Arial, Helvetica, sans-serif;
  font-size: 9pt !important;
  padding-bottom: 0.5rem;
  line-height: 1rem !important;
}


/* Formatering för GD-bild */
.pmstat_image_pdf_small .pm_image {
  width: 5.5cm;
  text-align: left;
  float: left;
  padding-right: 0.5cm;
  padding-top: 3.2px;
}
.pmstat_image_pdf_small .pmstat_mini_object {
  max-width: 13cm;
  margin-left: 76.8281px;
}
.pmstat_image_pdf_small .pm_image__position {
  margin-top: 0cm;
}


.pmstat_heading_gototop_container {
  visibility: hidden;
}
.pm_text p {
  padding: 0rem 0 0.875rem 0;
}

.pmstat_heading_container {
  height: auto;
  margin-top: 1px; /* Offset så att sidbrytningar inte tar sönder elementet */
  margin-bottom: 0;
}

.pmstat_table tbody {
  border-top: 1pt solid #dddddd;
  border-bottom: 0rem solid #dddddd;
}

.pmstat_table2 table {
  width: 100%;
  table-layout: fixed;
  margin-bottom: 0.5em;
  overflow-x: auto;
  border-style: none;
  border-top: 0rem solid #dddddd;
  border-bottom: 1pt solid #dddddd;
}



/* Brödtext */
.pm_text > p,
.pm_text > ul,
.pm_text > ol,
.pm_text {
  font-family: "Pensio" !important;
  font-size: 10pt !important;
  font-weight: 400 !important;
  color: #3d3d3d !important;
  line-height: 1.3 !important;
  margin-left: auto;
  margin-right: auto;
  max-width: 13cm;
}




/*********************/
/* Rubriker          */
/*********************/
h2,
.pmstat_toc_caption {
  font-size: 1.1rem;
}
h3 {
  font-size: 0.9rem;
}
h4 {
  font-size: 0.8rem;
}
.pm_article-heading {
  margin-left: 2cm;
}
.pmstat_article_heading_prefix {
  width: 2.75rem;
}
h1 {
  font-family: "Pensio" !important;
  font-size: 18pt !important;
  font-weight: 400 !important;
  color: #cc3300 !important;
  text-align: left !important;
  margin-top: 2em;
  margin-bottom: 1em;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
h2.pmstat_heading {
  font-family: "Pensio" !important;
  font-size: 14pt !important;
  font-weight: 400 !important;
  color: #cc3300 !important;
  text-align: left !important;
  margin-top: 1.5em;
  margin-bottom: 0.7em;
}
h3.pmstat_heading {
  font-family: "Pensio" !important;
  font-size: 12pt !important;
  font-weight: 600 !important;
  color: #cc3300 !important;
  text-align: left !important;
  margin-top: 1em;
  margin-bottom: 0.5em;
}
/* Rubrikcontainer (runt h2/h3) */
.pmstat_heading_container {
  border-bottom: 1.5px solid #cc3300;
  margin-top: 1.5em;  
  margin-bottom: 0.8em; 
  padding-top: 1px;
  padding-bottom: 0.1em;
  page-break-before: auto;
  page-break-after: avoid;
  break-inside: avoid;
  orphans: 3;
  widows: 3;
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  display: block !important;
}


/*************************/
/* Marginaler i tabeller */
/*************************/
.pmstat_table2 td,
.pmstat_table2 th {
  font-size: 0.6875rem;
}
th.pmstat_table2_top_padding0 {
  padding-top: 0rem;
}
td.pmstat_table2_top_padding0 {
  padding-top: 0.125rem;
}
th.pmstat_table2_top_paddingNA {
  padding-top: 0rem;
}
td.pmstat_table2_top_paddingNA {
  padding-top: 0rem;
}
th.pmstat_table2_top_padding1 {
  padding-top: 1.4rem;
}
th.pmstat_table2_top_padding2 {
  padding-top: 2.6rem;
  padding-bottom: 0rem;
}
td.pmstat_table2_top_padding1 {
  padding-top: 1.4rem;
}
td.pmstat_table2_top_padding2 {
  padding-top: 2.6rem;
  padding-bottom: 0rem;
}
.pmstat_table2_thead_row {
  margin-bottom: 10rem;
}
.pmstat_table2 tbody {
  margin-top: 10rem;
}


/*********************/
/* Tabellheaders     */
/*********************/
.pmstat_table th {
  font-weight: 500;
}
th.pmstat_table2_header_level1 {
  font-size: 0.75rem;
  color: rgb(50, 50, 50);
  font-weight: 550;
}
th.pmstat_table2_header_level2 {
  font-size: 0.75rem;
  color: rgb(50, 50, 50);
}
th.pmstat_table2_header_level3 {
  font-size: 0.625rem;
  color: rgb(75, 75, 75);
}
th.pmstat_table2_header_level4 {
  font-weight: normal;
  color: #474747;
}
.pmstat_table2_thead_row th.pmstat_table2_header_level1 {
  color: rgb(25, 25, 25);
  font-weight: 550;
}
.pmstat_table2_thead_row th.pmstat_table2_header_level2 {
  color: rgb(
    25,
    25,
    25
  ); /* Använd annan färg för nivå 2 när det är en top header */
  font-weight: 550;
}
th.pmstat_table2_cellhighlight {
  font-weight: 550;
  background-color: #faf9f9;
  font-size: 0.75rem;
  color: rgb(25, 25, 25);
}
.pmstat_table2_tr_level2
  .pmstat_table2_cellhighlight.pmstat_table2_header_level2 {
  font-weight: 500;
  background-color: #faf9f9;
  font-size: 0.75rem;
  color: rgb(50, 50, 50);
}
.pmstat_table2_tr_level3
  .pmstat_table2_cellhighlight.pmstat_table2_header_level3 {
  font-weight: 500;
  background-color: #faf9f9;
  font-size: 0.625rem;
  color: rgb(75, 75, 75);
}
td.pmstat_table2_cellhighlight {
  font-weight: 600;
  background-color: #faf9f9;
}



/*********************/
/* Själva tabellerna */
/*********************/

/* Tabellrubriker */
.pmstat_table2_caption {
  font-size: 1.05em !important;
  font-weight: bold;
  margin-top: 1.2em;
  margin-bottom: 0.5em;
}
/* Själva tabellerna */
.pmstat_table2 table {
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  page-break-inside: avoid;
}
/* Tabellcontainer */
.pmstat_table2 {
  page-break-before: avoid;
  break-inside: avoid;
}



/* Ta bort tomt objekt */
.pmstat_heading_gototop_container {
  display: none;
}
