﻿@media print {
    .no-print, .no-print * { display: none !important; }

    #content, #page {
        float: none;
        margin: 0;
        width: 100%;
    }

    @page {
        margin: 2cm;
    }

    body {
        background: #fff !important;
        color: #000;
        font-family: "Segoe UI", "segoe", sans-serif;
        line-height: 1.3;
    }

    h1 { font-size: 24pt; }

    h2, h3, h4 {
        font-size: 14pt;
        margin-top: 25px;
    }

    /* Alle Seitenumbrüche definieren */
    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-after: avoid;
        page-break-inside: avoid;
    }

    table, pre { page-break-inside: avoid; }

    ul, ol, dl { page-break-before: avoid; }

    a:link, a:visited, a {
        background: transparent;
        color: #520;
        font-weight: bold;
        text-align: left;
        text-decoration: underline;
    }

    a { page-break-inside: avoid; }

    a[href^=http]:after { content: " <" attr(href) "> "; }

    $ 

    a:after > img { content: ""; }

    article a[href^="#"]:after { content: ""; }

    a:not(:local-link):after { content: " <" attr(href) "> "; }

    .entry iframe, ins {
        display: none;
        height: 0 !important;
        line-height: 0pt !important;
        overflow: hidden !important;
        white-space: nowrap;
        width: 0 !important;
    }

    .embed-youtube, .embed-responsive {
        height: 0;
        overflow: hidden;
        position: absolute;
    }


    #header-widgets, nav, aside.mashsb-container,
    .sidebar, .mashshare-top, .mashshare-bottom,
    .content-ads, .make-comment, .author-bio,
    .heading, .related-posts, #decomments-form-add-comment,
    #breadcrumbs, #footer, .post-byline, .meta-single,
    .site-title img, .post-tags, .readability { display: none; }

    .entry:after {
        color: #999 !important;
        content: "\ Sage (c) 2017";
        font-size: 1em;
        padding-top: 30px;
    }

    #header:before {
        color: #777 !important;
        content: "\ Impresión realizada con Sage SII Viewer. Sage (c) 2017.";
        font-size: 1em;
        padding-top: 30px;
        text-align: center !important;
    }

    p, address, li, dt, dd, blockquote { font-size: 100%; }

    code, pre { font-family: "Courier New", Courier, mono; }

    ul, ol {
        list-style: square;
        margin-bottom: 20pt;
        margin-left: 18pt;
    }

    li { line-height: 1.6em; }
}