/* 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;
    }

    html, body {
        font-size: 10pt; /* Custom! */
    }

    /*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;
    }

    /* 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 {
        width: 800px;
    }

    #header, aside, button, #section_comment {
        display: none;
    }

    section, section:first-of-type, #section_spacer {
        padding: 15px 15px;
    }

    article {
        width: 100%;
    }

    .question_header, .question_input {
        min-height: 50px;
    }

    #result_percentages {
        display: block;
        position: relative;

        height: 58px;
        width: 100%;
    }

    #result_texts {
        height: 75px;
    }

    #result_25_text, #result_50_text, #result_75_text, #result_90_text, #result_95_text {
        padding: 5px 5px;
        height: 30px;

        font-size: 0.9em;
    }

    #result_25_text { left: 16% !important; }
    #result_50_text { left: 41% !important; }
    #result_75_text { left: 66% !important; }
    #result_90_text { left: 80% !important; }
    #result_95_text { left: 83% !important; }

    #result_boxes img {
        display: block !important;

        height: auto;
        width: 100%;

        margin-top: -25px;
    }

    /* Supplement */
    #graph_pillar_low {
        background-color: rgba(0, 78, 116, 1.0) !important;
    }

    #graph_pillar_high {
        background-color: rgba(225, 55, 65, 1.0) !important;
    }
}