* {
    background: transparent !important;
    color: black !important;
    text-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    border: none !important;
    filter: none !important;
    -ms-filter: none !important;
    font-style: normal !important;
    font-weight: normal !important;
    text-decoration: none !important;
}

body {
    padding: 10px 40px !important;
}

#top aside, header aside {
    display: none !important;
}

#pagebody {
    border-top: 1px solid black !important;
    border-bottom: 1px solid black !important;
    padding: 10px 0 !important;
}

#content {
    padding: 0 !important;
    margin-top: 0 !important;
}

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

#pagebody .entry-content a[href]:after {
    content: " (" attr(href) ")";
}

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

.ir a:after, a[href^="javascript:"]:after, a[href^="#"]: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;
}

@page {
    margin: 0.5cm;
}

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

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

#site-generator a, #site-generator a:visited {
    text-decoration: none !important;
}

#content .navigation, a.post-edit-link {
    display: none !important;
}

.entry-content, .entry-title {
    margin-top: 15px;
}

header .assistive-text {
    position: relative !important;
    clip: auto;
    display: block;
}

#content, .entry-title, #pagebody, #container {
    page-break-before: avoid;
}

.entry-content {
    line-height: 1.6 !important;
}

.entry-content li, .entry-content p {
    margin-bottom: 1em !important;
}

header {
    padding-bottom: 20px;
    page-break-after: avoid;
}

header h1 {
    font-size: 36px;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif !important;
}

header h2 {
    font-size: 24px;
    font-style: italic !important;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif !important;
}