@media print {

    @page { margin: 2cm }

    header.site-header, nav, aside, footer, #cybosm-side, .comment-respond, .sharedaddy, .widget-area {
        display: none;
    }

    body {
        color: #000;
        line-height: 1.3;
        background: #fff;
    }

    body, div#page, article, div#primary {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    .site-content {
        box-shadow: none;
        border-radius: 0;
    }

    article {
        background: #fff;
    }

    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }

    img {
        page-break-inside: avoid;
        page-break-after: avoid;
        max-width: 100% !important;
    }

    blockquote, table, pre {
        page-break-inside: avoid;
    }

    ul, ol, dl {
        page-break-before: avoid;
    }

    article a {
        text-decoration: none;
    }

    article p a[href^=http]:after {
        content: " <" attr(href) "> ";
        font-size: 0.8em;
        color: #777;
    }

    article p a[href^="#"]:after {
        content: "";
    }

    .print-only {
        display: block;
    }

    #printing-footer {
        padding: 22px 0 0 150px;
        position: relative;
    }

    #printing-footer::before {
        position: absolute;
        left: 0;
        top: 0;
    }
}