*{
    color: #000 !important; /* Black prints faster: http://www.sanbeiji.com/archives/953 */
    box-shadow: none !important;
    line-height: 1 !important;
}
body {
    overflow: visible !important;
}
@page {
    border: 1pt solid transparent;
    size: 210mm 297mm; /* portrait */
    margin: 20mm 25mm 30mm 25mm;
}

h2,
h3 {
    orphans: 3;
    widows: 3;
}

h2,
h3 {
    page-break-after: avoid;
}

h1 {
    font-size: 24pt;
}

h2 {
    font-size: 16pt;
    margin-top: 10mm;
}
h3 {
    font-size: 14pt;
    margin-top: 5mm;
}
p,
a,
li,
.ingress{
    font-family: Georgia, "Times New Roman", Times, serif;
}

p,
a,
li{
    font-size: 13pt;
}
a,
a:visited {
    text-decoration: underline;
}

.link-list-background__links,
blockquote {
    border: 1px solid #999;
    background-color:transparent;
    page-break-inside: avoid;
}

/*
    Printing Tables:
    http://css-discuss.incutio.com/wiki/Printing_Tables
*/

thead {
    display: table-header-group;
}

tr,
img,
.block {
    page-break-inside: avoid;
}

/* Reduce spacing */
.article__sidebar,
.article__content,
.block-content{
    padding: 0;
}
.article__sidebar-dates{
    margin: 0;
}

/* Hide */
.main-footer,
.breadcrumbs,
.sr-only,
.button-search,
form,
input,
select,
.support-navigation,
.cookie-consent {
    display: none;
}

/* Show */
.accordion__content.is-hidden {
    display: block !important;
}
.accordion__item {
    margin-top: 1.5rem;
    margin-bottom: .5rem;
    font-size: 1.25rem;
}
.accordion__button {
    padding: 0;
    font-size: inherit;
    background-color: #fff;
    border: 0;
}
.accordion__button svg {
    display: none;
}

/* Special cases */
.page-wrapper {
    display: block;
    flex-flow: nowrap;
    width: 100%;
}
.link-download {
    padding: 0;
}
.link-download:before {
    display: none;
}
.teaser-block {
    display: block;
    width: 100%;
}
.user-content ol,
ol.guide-table-of-contents {
    list-style-position: inside; 
    }
.user-content ol li,
ol.guide-table-of-contents ol li {
    list-style-type: decimal; 
    position: static;
    display: list-item;
    color: #000000;
    counter-increment: none;
    padding: 0;
    }
.user-content ol li:before,
ol.guide-table-of-contents ol li:before {
    display: none;
}
.user-content ul li {
    display: list-item;
    list-style-type: disc;
}
.link-list-block a {
    font-weight: normal;
    font-size: 13pt;
}

/* Veiledere */
.back-link,
.guide .button,
#epi-quickNavigator,
.guide-action-line,
.guide-footer {
    display: none !important;
}

.guide {
    margin-bottom: 0;
    padding-bottom: 0;
}
.guide .ingress .user-content {
    font-size: 16pt;
}

/* Page break */
.guide-table-of-contents-container,
.articleContainerPage .article + .article {
    page-break-before: always;
    float: none;
}
.articleContainerPage .article a:after {
    display: block;
    color: #999;
    content: " [" attr(href) "]";
    text-decoration: none;
}

.articleContainerPage li {
    width: 100%;
}

.guide-table-of-contents-article,
.guide-table-arrow,
.main-header__top .right,
.main-header__bottom,
.mobile-search,
.articleContainerPage .article .container .layout--third,
.button--print-page {
    display: none;
}
