/**
 * Print stylesheet for https://www.sga-aspe.ch/
* @version         2.0
* @lastmodified    24.01.2020 Daniël van der Wal
*/

@media print {

    /* Setting content width, unsetting floats and margins */
    /* Attention: the classes and IDs vary from theme to theme. Thus, set own classes here */
    #container,
    #content,
    #page,
    #main {
        width: 95%;
        margin: 0;
        float: none;
        overflow: visible;
        box-shadow: none !important;
    }

    /** Setting margins */
    @page {
        margin: 2.5cm 1.5cm 2.5cm 1.5cm;
    }

    /* Or: */
    @page :left {
        margin: 1.5cm;
    }

    @page :right {
        margin: 1.5m;
    }

    html,
    body,
    h1,
    h2,
    h3,
    ol,
    ul,
    div {
        width: auto;
        border: 0;
        margin: 0 0;
        padding: 0;
        float: none;
        position: static;
        overflow: visible;
    }

    /* Set font to 16px/13pt, set background to white and font to black.*/
    /* This saves ink */

    body {
        font: 12pt "Diverda Serif W01_n4", Georgia, "Times New Roman", Times, serif;
        line-height: 1.2;
        background: #fff !important;
        color: #000;
    }

    #header {
        padding-top: 0px;
        padding-right: 0px;
        padding-bottom: 20px;
        padding-left: 0%;
        margin: 0 0 0 40px;
        width: 100%;
    }

    /* Hiding unnecessary elements for the print */

    #page-tags,
    #sidebar,
    #editorial,
    .archiv,
    .menu-sga-aspe-container {
        display: none;
    }

    #page-content.content {
        display: block;
    }

    #primary {
        width: auto;
        position: absolute;
    }

    [class^="content-id-"] {
        display: none;
    }

    #primary>div,
    #secondary>div {
        border-top-width: 0px;
    }

    #credits {
        display: none;
    }

    * img {
        -webkit-print-color-adjust: exact !important;
        /* Chrome, Safari */
        color-adjust: exact !important;
        /*Firefox*/
    }

}