﻿@media print {

    #page_content {
        position: relative;
    }

    .printonly, .print-only {
        display: block !important;
    }

    .printnotifications:not(.hasContents) {
        display: none !important;
    }
    /*.imageheader *:not(.button) {
            width: 100% !important;
            height: unset !important;
            display: block !important;
            position: static;
            padding: .5em !important;
            transform: none !important;
            color: black;
            top: unset; left:unset; right:unset; bottom:unset;
        }*/
    /*.shade {
                position: static;
            }
            .imageheader h1, .shade > h1 {
                display: block;
                position: static;
            }

            .imageheader .button {
                display: none;
            }

            .imageheader .headerContentField {
                display: block;
                position: static;
            }*/
    .imageheader, .imageheader.compact {
        background-position: unset;
        width: 100%;
        background-size: unset;
        padding-top: 0px;
    }

    .shade {
        position: static;
        /*width: 100%;
            height: 100%;*/
        display: block;
        background-color: none;
        color: black;
    }

        .shade > h1, .hade .pageheading, .imageheader.compact > .shade > h1, .imageheader .headerContentField {
            position: static;
            width: 100%;
            top: unset;
            left: unset;
            -webkit-transform: none;
            -ms-transform: none;
            transform: none;
            color: black;
        }

    .imageheader .button {
        display: none !important;
    }

    p, label, h4, .h4, input, select, textarea, td, th {
        font-size: 12px;
    }

    h1, .h1 {
        font-size: 18px;
    }

    h2, .h2 {
        font-size: 16px;
    }

    h3, .h3 {
        font-size: 14px;
    }

    .pageheading {
        font-size: 30px !important;
    }

    .subheading {
        font-size: 18px;
    }

    .pad {
        margin-top: 1.25em;
    }

        .pad.half {
            margin-top: .6em;
        }

        .pad.quarter {
            margin-top: .25em;
        }

    .push {
        margin-bottom: 1.5em;
    }

        .push.half {
            margin-bottom: 1em;
        }

        .push.quarter {
            margin-bottom: .5em;
        }

    .printpage:not(.pageone) {
        
    }
    .printpage.pageone {
        border: 1px dashed red;
        height: 9in;
    }
    .contactContainer {
        position: relative;
        page-break-inside: auto;
    }
    header {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        align-items: start !important;
        height: 1in;
    }
    header > div:first-child {
        padding-top: 0 !important;
    }
    header #middlesection {
        width: 100%;
        text-align: center;
        grid-column-end: span 8;
        font-size: 14px;
        align-self: start !important;
    }


    footer, footer > section, footer > section > *, footer a {
        color: black !important;
        background-color: transparent !important;
    }

        footer #contact_information {
            display: flex;
            flex-flow: row wrap;
            justify-content: center;
            align-items: center;
            color: black;
            font-size: 10px;
        }

            footer #contact_information > div {
                display: block;
                margin: 0;
                padding: 5px;
                text-align: center;
                vertical-align: baseline;
                align-self: baseline;
                margin: 0;
                padding: 0;
            }

                footer #contact_information > div:not(:nth-child(3)):not(:last-child):after {
                    content: " | ";
                }

        footer #legal_notice {
            color: black;
            font-size: 10px;
            margin: 0;
            padding: 0;
        }
        
        form {
            display: block !important;
        }

    .noprint, .noprint > *, nav, .mobile_only, .mobile_only > * {
        display: none !important;
    }
    .noprint * {
        display: none !important;
    }

    /*div, section {
        border: 1px solid red;
    }*/
    @page {
            margin-top: .75in;
        }


}


