/* =============================================================================
   Styling and layout for print media
   ========================================================================== */




@media print {


* {
    /* black prints faster - http://sanbeiji.com/archives/953 */
    color: black !important;
    text-shadow: none !important;
    background: transparent !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    filter: none !important;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 11pt;
    line-height: 14pt;
    margin: .5cm;
    padding: 2em 6em;
}

#footer {
    margin-top: 12pt;
    border-top: solid 1pt black;
    padding-top: 12pt;
}

/* hide unnecessary content from print */
#viewport,
#header,
.nav,
#complementary,
#footer,
#paginator,
#comments-form,
form.zemContactForm,
.comments h4 a:last-child {
    display: none;
}

a {
    text-decoration: none;
}

/* show URLs for certain links in print */
a[href]:after {
    content: " (" attr(href) ")";
}

h1 a[href]:after,
h2 a[href]:after,
h3 a[href]:after,
sup a[href]:after,
.comment-count[href]:after,
a[rel="tag"]:after {
    content: "";
}

/* show long-form for abbreviations in print (note: acroymn to be phased out in Textile as it's obsolete in HTML5) */
abbr[title]:after,
acronym[title]:after {
    content: " (" attr(title) ")";
}

h1 {
    font-size: 32pt;
    line-height: 36pt;
    font-weight: normal;
    padding-bottom: 16pt;
}

h2,
h3 {
    font-size: 14pt;
    line-height: 18pt;
    padding-bottom: 8pt;
    page-break-after: avoid;
    orphans: 3;
    widows: 3;
}

p {
    padding-bottom: 8pt;
    orphans: 3;
    widows: 3;
}

#footer,
figcaption,
tfoot,
small,
.footnote {
    font-size: 6pt;
    line-height: 9pt;
}

blockquote {
    margin-bottom: 8pt;
    margin-left: 0;
    border: solid 1pt black;
    padding: 8pt 8pt 0;
    page-break-inside: avoid;
}

pre {
    margin-bottom: 8pt;
    border: solid 1pt black;
    padding: 8pt;
}

.comments {
    page-break-inside: avoid;
}

pre,
code,
kbd,
samp,
var {
    font-family: "Courier New", Courier, monospace;
}

dfn,
q,
dt {
    font-style: italic;
}

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

figure {
    margin-bottom: 8pt;
}

figcaption {
    margin-top: 4pt;
}

ul {
    list-style: square;
    margin: 0 0 8pt 1.8em;
}

ol {
    list-style: decimal;
    margin: 0 0 8pt 1.8em;
}

dl {
    margin: 0 0 8pt 1.8em;
}

table {
    margin-bottom: 8pt;
    width: 100%;
}

caption {
    font-weight: bold;
    text-align: left;
    margin-bottom: 4pt;
}

thead,
tfoot,
tbody {
    border-right: solid 1pt black;
    border-left: solid 1pt black;
}

/* display table head across multi-page tables - http://css-discuss.incutio.com/wiki/Printing_Tables */
thead {
    display: table-header-group;
}

tr {
    page-break-inside: avoid;
}

th,
td {
    border-bottom: solid 1pt black;
    padding: 4pt 8pt;
}

th {
    text-align: left;
    border-top: solid 1pt black;
}

}
