
/* Fixar centreringen av innehållet i toolbaren samt lägger till avstånd mot
rubriken (margin-top) */
.pm_accessibility-toolbar {
    margin-top: 2rem;
    padding-bottom: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.pm_accessibility-toolbar__buttons {
    justify-self: flex-start;
}

.pm_accessibility-toolbar__link-container {
    justify-self: flex-end;
}

/* Fixar så att knappar med ikoner i toolbaren får ikonerna korrekt centrerade */
.s_icon:before {
    vertical-align: baseline;
}


/* Style för pdf-länken */
.pmstat_pdf_link {
    display: none;
}

@media screen and (min-width: 48em) {
    .pmstat_pdf_link {
        display: inline-block;
    }
}

/* Fixar headings för rutorna */
.pmstat_window_caption {
    color: #bf3d01;
    font-weight: 400;
    font-family: Pensio,Arial,Helvetica,sans-serif;
    letter-spacing: .0015em;
    font-size: 1.375rem;
    line-height: 1.3;
    margin-top: .83em;
    margin-bottom: .1em;
}

/* Fixar namnet på flikarna */
.pm_read-more__heading {
    font-family: Pensio,Arial,Helvetica,sans-serif;
    letter-spacing: normal;
    line-height: 1.3;
}

/*Width fix*/
.pm_article-heading,
.pm_accessibility-toolbar,
.pmstat_width_control {
    max-width: 58rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
}

/* Fixa punkterna i punktlistan */
.pm_text ul li::before {
    content: '\2022';
    color: #cc4202;
    background-color: unset;
    position: absolute;
    width: 1rem;
    height: 1rem;
    margin-left: -1rem;
    margin-top: -0.09rem;
    display: block;
}

/* UTSKRIFTSLOGO */
.pmstat_print_logo_container {
    max-width: 58rem;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
}

img.pmstat_print_logo {
    display: none;
}


/* LÄNKAR */
html {
    scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

span.pmstat_link_target_offset {
    height: 0;
    width: 0;
    visibility: hidden;
}

.pmstat_link_target_offset:target {
    content: "";
    position: relative;
    top: -5.2rem;
}


/* INLEDNING OCH INNEHÅLLSFÖRTECKNING */
.pmstat_preamble {
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.pmstat_authorbox {
    display: flexbox;
    margin-top: 0;
    margin-right: auto;
    margin-left: 0;
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 400;
    color: #333333;
}

.pmstat_authorbox_highlight {
    color: #bf3d01;
}
 
.pmstat_preamble_text {
    font-family: Pensio, Arial, Helvetica, sans-serif;
    font-style: normal;
}

#pmstat_toc,
.pmstat_toc {
    margin: 0;
    padding: 0;
}

.pmstat_toc_container {
    margin-right: auto;
    margin-left: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 1.2rem;
    border: 1px solid #b9b1a8;
}

.pmstat_toc_caption {
    color: #bf3d01;
    font-weight: 400;
    font-family: Pensio, Arial, Helvetica, sans-serif;
    letter-spacing: .0015em;
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.pmstat_toc_content {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    column-fill: balance;
    column-width: 50%;
    font-weight: 700;
}


.pmstat_toc_item {
    margin-bottom: 1.5rem;
    break-inside: avoid-column;
}

.pmstat_toc_item ol {
    list-style-type: none;
    margin: 0rem;
    padding: 0 0 0 1.4rem;
}

.pmstat_toc_item li {
    margin-top: 0.7rem;
}

.pmstat_toc_item a::after {
    content: none;
}

.pmstat_toc_item a:visited {
    color: #125687;
}

@media screen and (max-width:48em) {

    .pmstat_toc_content {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
        column-width: 100%;
    }
}

/* STICKY HEADERS */
.pm_main {
    /* position sticky requires overflow visible */
    overflow: visible;
}

.pmstat_heading_container {
    position: -webkit-sticky;
    position: sticky;
    top: -1px;
    z-index: 1000;
    border-bottom: 3px solid #bf3d01;
    color: white;
    background: white;
    height: 3.8rem;
    display: flex;
    flex-direction: row;
    margin-bottom: 0.5rem;
}

.pmstat_heading {
    bottom: 0;
    margin-top: auto;
}


/* Skapar vertikal offset för sticky header vid id-länkning*/
.pmstat_heading:target {
    display: block;
    content: "";
    position: absolute;
    padding-top: 1.8rem;
}


/* Länk till innehållsförteckningen */
.pmstat_heading_gototoc_container {
    margin-left: auto;
    margin-top: auto;
    margin-bottom: 0.25rem;
}

.pmstat_gototoc_circle {
    display: inline-block;
    width: 1.8rem;
    height: 1.8rem;
    background-color: #125687;
    border: 1px solid #125687;
    border-radius: 3rem;
}

.pmstat_gototoc_arrow {
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg) translateX(0.2rem);
    font-family: s-icons;
    font-weight: 400!important;
    font-size: 0.9rem;
    font-style: normal;
    margin: auto;
}

.pmstat_gototoc_arrow::before {
    color: #ffffff;
    content: "\F104";
}

@media screen and (min-width:48em) {

    .pmstat_gototoc_circle {
        width: 2rem;
        height: 2rem;
    }

    .pmstat_gototoc_arrow {
        font-size: 1rem;
    }
}



/* STATISTIKTABELL */
.pmstat_table {
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 0.5rem 3.125rem 0.5rem;
    overflow-x: auto;
    background-color: #ffffff;
    border-collapse: collapse;
}

.pmstat_mini_table {
    max-width: 32rem;
}

.pmstat_narrow_table {
    max-width: 46.5625rem;
}

.pmstat_wide_table {
    max-width: 59.25rem;
}

.pmstat_table table {
    margin-bottom: 1.25rem;
}

.pmstat_table td,
.pmstat_table th {
    padding: 0.3rem 0.5rem;
    min-height: 1.5rem;
}

.pmstat_table th {
    color: #71645F;
    font-weight: 700;
    font-size: 0.938rem;
}

.pmstat_table tbody {
    border-top: 1px solid #b9b9b9;
    border-bottom: 1px solid #b9b9b9;
}

.pmstat_table_lastheaderrow {
    border-bottom: 1px solid #b9b9b9;
}

.pmstat_table tr.pmstat_table_datarow:nth-child(odd) td {
    background-color: #faf9f9;
}

.pmstat_table td {
    color: #333;
    word-break: normal;
    font-weight: 400;
    font-size: 0.85rem;
}

.pm_is-font-loaded .pmstat_fig_caption {
    font-family: Pensio, Arial, Helvetica, sans-serif;
    font-weight: 700;
    letter-spacing: normal;
}

.pmstat_table_desc {
    font-size: 0.8125rem;
    text-align: left;
    font-weight: 400;
    color: #333333;
}

.pmstat_table caption {
    text-align: left;
    margin-bottom: 1.25rem;
    font-weight: 400;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: .0015em;
    font-size: 1.0625rem;
    line-height: 1.3;
    color: #333333
}

.pm_is-font-loaded .pmstat_table caption {
    font-family: Pensio, Arial, Helvetica, sans-serif;
    letter-spacing: normal;
    font-weight: 700;
}

@media screen and (min-width:48em) {
    .pmstat_table caption {
        font-size: 1.25rem;
    }

    .pmstat_table th {
        font-size: 1rem
    }

    .pmstat_table td {
        font-size: 0.938rem;
    }

    .pmstat_table_desc {
        font-size: 0.938rem;
    }
}


/* FIGUR OCH FIGURTEXT */

/* Image width center fix */
.cq-dd-image {
    text-align: center;
}

.pm_image__image {
    margin-left: auto;
    margin-right: auto;
}

.pmstat_image {
    padding: 1rem 0rem 3.125rem 0rem;
    margin-left: auto;
    margin-right: auto;
}

.pmstat_wide_image {
    max-width: 59.25rem;
}

.pmstat_narrow_image {
    max-width: 46.5625rem;
}

.pmstat_mini_image {
    max-width: 32rem;
}

.pmstat_fig_caption {
    text-align: left;
    margin-bottom: 1.25rem;
    font-weight: 400;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: .0015em;
    font-size: 1.0625rem;
    line-height: 1.3;
    color: #333333
}

.pm_is-font-loaded .pmstat_fig_caption {
    font-family: Pensio, Arial, Helvetica, sans-serif;
    font-weight: 700;
    letter-spacing: normal
}

.pmstat_fig_desc {
    font-size: 0.8125rem;
    text-align: left;
    font-weight: 400;
    color: #333333;
    margin-bottom: 1.25rem;
}

@media screen and (min-width:48em) {

    .pmstat_fig_caption {
        font-size: 1.25rem;
    }

    .pmstat_fig_desc {
        font-size: 0.938rem;
    }
}

/* FILLISTA */

.pmstat_filelist_caption {
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: normal;
    font-family: Pensio,Arial,Helvetica,sans-serif;
    font-size: 1.0625rem;
    color: #000;
    margin-bottom: 0;
    padding-bottom: 0.5rem;
    /* border-bottom: 1px solid #d7d4cf */
}


/* FOTNOTER */
.pmstat_footnotes {
    padding-top: 3.125rem;
    padding-bottom: 2.5rem;
}

.pmstat_footnotes_caption {
    text-align: left;
    margin-bottom: 1.25rem;
    font-weight: 700;
    font-family: Pensio, Arial, Helvetica, sans-serif;
    letter-spacing: .0015em;
    font-size: 1.0625rem;
    line-height: 1.3;
    color: #333333
}

.pmstat_footnotes ol {
    padding-right: 2.5rem;
}

.pmstat_footnote_item {
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.pmstat_footnote_linkback {
    font-size: 1.2rem;
    display: inline;
}

/* Gör en highlight vid länkning till fotnot */
.pmstat_footnote_item:target {
    font-weight: 700;
}

/* Footnote link fix */
a.pmstat_id_link::after {
    content: none;
}

.pm_read-more__heading:target {
    content: "";
    position: relative;
    padding-top: 5.2rem;
}


@media screen and (min-width:48em) {

    .pmstat_filelist_caption {
        font-size: 1.2rem;
    }

    .pmstat_footnotes_caption {
        font-size: 1.25rem;
    }

    .pmstat_footnote_item {
        font-size: 1rem;
    }

    .pmstat_footnote_linkback {
        font-size: 1.5rem;
    }
}


/* SIDBRYTNING */
.pmstat_pagebreak {
    height: 1px;
    background-color: #bf3d01;
    display: block;
    margin-bottom: 1rem;
    font-size: 0.6rem;
    text-align: center;
}

.pmstat_pagebreak::before {
    content: "sidbrytning"
}
