/**
* Print stylesheet for osbe.ch
* @version         1.0
* @lastmodified    05.09.2023
*/
@media print 
{
    /* Setting content width, unsetting floats and margins */
    main
    {
        width: 100%;
        max-width: 100%;
        left: 0;
        margin: 0;
        padding: 0;
    }
    main *
    {
        padding: 0;
        margin: 0;
    }

    /* Font settings + save ink */
    body
    {
        font: 12pt Arial, Helvetica, sans-serif;
        line-height: 1.3;
        background: #fff !important;
        color: #000;
        margin: 0;
    }
    h1
    {
        font-size: 20pt;
    }
    h2
    {
        font-size: 18pt;
    } 
    
    h3, h4
    {
        font-size: 12pt;
        margin-top: 25px;
    }
    h3 + p { margin-top: 0pt; }
	/* ul, ol 
    {
		padding-left: 1.5em; 
	}
    ul li { padding-left: 0.5em; } */

    p, blockquote, ul, ol { margin-top: 14pt; }

    /* Defining all page breaks */
    a {
    page-break-inside:avoid
    }
    blockquote {
    page-break-inside: avoid;
    }
    h1, h2, h3, h4, h5, h6 
    { 
        page-break-after:avoid; 
        page-break-inside:avoid;
    }
    img 
    { 
        page-break-inside:avoid; 
        page-break-after:avoid; 
    }
    table, pre { page-break-inside:avoid; }
    ul, ol, dl  { page-break-before:avoid; }
    .line, .no_page_break { page-break-inside: avoid; } /*line is wrapper of label and input inside a form*/

    /* Displaying link target etc. */
    a:link, a:visited, a {
    background: transparent;
    color: #520;
    font-weight: bold;
    text-decoration: underline;
    text-align: left;
    }
    a {
    page-break-inside:avoid
    }
    a[href^=http]:after {
    content:" < " attr(href) "> ";
    }
    /* SCSS?
    $a:after > img {
    content: "";
    }
    */
    article a[href^="#"]:after {
    content: "";
    }
    a:not(:local-link):after {
    content:" < " attr(href) "> ";
    }

    /*
    * Making intergated videos disappear, and removing the iframes' whitespace to zero. 
    
    .entry iframe, ins {
    display: none;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    line-height: 0pt !important;
    white-space: nowrap;
    }
    .embed-youtube, .embed-responsive {
    position: absolute;
    height: 0;
    overflow: hidden;
    }
    */

    header, aside, .corner, .hide_on_print, #bodymovin, footer a
    {
        display: none !important;
        width: 0px;
        height: 0px;
        overflow: hidden !important;
        line-height: 0pt !important;
        white-space: nowrap;
    }
}

/* Setting margins */
@page { margin: 1.6 } /*@page = CSS at-rule used to modify aspects of printed page.*/
