﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}
/* print css start */
.content-table pdfPrintable {
    float: none !important;
    text-align: left !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-block !important;
    font-size: 12px !important;
    white-space: nowrap !important;
}

.printable-cell {
    float: left !important;
    display: inline-block !important;
    font-size: 11px !important;
    white-space: nowrap !important;
}

@media print {
    /* Setting content width, unsetting floats and margins */
    /* Attention: the classes and IDs vary from theme to theme. Thus, set own classes here */
    #printableContainer {
        width: 100%;
        margin: 0;
        float: none;
        font-size: 16px !important;
    }

    .confirm-table {
        width: 100% !important;
    }

    tr {
        border-bottom: 2px solid rgb(34,34,34) !important;
    }
    /** Setting margins */
    @page {
        margin: 2cm
    }
    /* Or: */
    @page :left {
        margin: 1cm;
    }

    @page :right {
        margin: 1cm;
    }
    /* The first page of a print can be manipulated as well */
    @page :first {
        margin: 1cm 2cm;
    }
    /* Set font to 16px/13pt, set background to white and font to black.*/
    /* This saves ink */
    body {
        font: 13pt Georgia, "Times New Roman", Times, serif;
        line-height: 1.3;
        background: #fff !important;
        color: #000;
    }

    h1 {
        font-size: 24pt;
    }

    h2, h3, h4 {
        font-size: 14pt;
        margin-top: 25px;
    }
    /* Defining all page breaks */
    a {
        page-break-inside: avoid
    }

    blockquote {
        page-break-inside: avoid;
    }

    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid
    }

    img {
        page-break-inside: avoid;
        page-break-after: avoid;
    }

    table, pre {
        page-break-inside: avoid
    }

    ul, ol, dl {
        page-break-before: avoid
    }
    /* Displaying link color and link behaviour */
    a {
        page-break-inside: avoid
    }

        a:link, a:visited, a {
            background: transparent;
            color: #520;
            font-weight: bold;
            text-decoration: underline;
            text-align: left;
        }

            a:after > img {
                content: "";
            }

            a:link:after, a:visited:after {
                content: "";
            }

            a[href^=http]:after {
                content: " < " attr(href) "> ";
            }

    article a[href^="#"]:after {
        content: "";
    }

    a:not(:local-link):after {
        content: " < " attr(href) "> ";
    }
    /**
                     * Making intergated videos disappear, and removing the iframes' whitespace to zero.
                     */
    .entry iframe, ins {
        display: none;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        line-height: 0pt !important;
        white-space: nowrap;
    }

    .embed-youtube, .embed-responsive {
        position: absolute;
        height: 0;
        overflow: hidden;
    }

    #header-widgets, nav, aside.mashsb-container,
    .sidebar, .mashshare-top, .mashshare-bottom,
    .content-ads, .make-comment, .author-bio,
    .heading, .related-posts, #decomments-form-add-comment,
    #breadcrumbs, #footer, .post-byline, .meta-single,
    .site-title img, .post-tags, .readability {
        display: none;
    }
}
