/* Print
   ========================================================================== */
@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    /*a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }*/

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    /* Custom
       ========================================================================== */

    @page {
        size: A4 horizontal;
        -webkit-print-color-adjust: exact;
    }

    .printonly {
        display: block;
    }

    .printmargin, h2 {
        margin: 0;
    }

    .printpadding {
        padding: 0;
    }

    header, footer, button, section:last-of-type,
    .schedule_controls, .desktoponly {
        display: none;
    }

    /* Force background color to printer */
    div, aside {
        -webkit-print-color-adjust: exact;
        -moz-print-color-adjust: exact;
        -ms-print-color-adjust: exact;
        -o-print-color-adjust: exact;
        print-color-adjust: exact;

        -webkit-printer-colors: exact;
        -moz-printer-colors: exact;
        -ms-printer-colors: exact;
        -o-printer-colors: exact;

        -webkit-color-adjust: exact;
        -moz-color-adjust: exact;
        -ms-color-adjust: exact;
        -o-color-adjust: exact;
        color-adjust: exact;
    }

    #wrapper, article {
        width: 90%;

        border-width: 0px;

        padding: 0px;
    }

    #bor_logo_print {
        width: 200px;
        height: auto;

        margin: 25px 0px 50px;
    }

    input, .schedule_text, .schedule_input, .schedule_sum, .schedule_total, .schedule_week_total, .schedule_grand_total_text, .schedule_grand_total_sum {
        height: 33px;
    }

    .schedule_input {
        border-style: solid;
        border-width: 1px;
        border-color: rgba(202, 202, 202, 1.0); /* BoR Grey Stroke */
    }

    .schedule_grand_total_sum {
        border-style: solid;
        border-width: 1px;
        border-color: rgba(193, 61, 67, 1.0); /* BoR Red */
    }

}

/* IE print fixes */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {

    html {
        font-family: 'droid_serifregular', "Times New Roman", Times, serif;
    }

}