@media print {
/* Print-only styles, see: http://www.smashingmagazine.com/2013/03/08/tips-and-tricks-for-print-style-sheets/ */
/* Issues:
 * IE - creates 3 page invoice with page break after header and Terms
 * Chrome - does not insert page break before Terms
 * Firefox - Nick says this creates only 1 page
 */
    @page {margin: 2cm; }
    body {color: black; background: #fff; font: 10pt/20pt "Arial", Arial, sans-serif; }
    img {max-width: 100% !important;}
    ul, img {page-break-inside: avoid;}
    h1, h2, h3, h4, h5, h6 {page-break-after: avoid;}
    /* Display the full URL after links */
    .terms a {font-weight: normal; text-decoration: underline; }
    .terms a[href^=http]:after {content:" <" attr(href) "> ";}
    /* fix div alignment for print */
    div {float: none !important; display: inline-block;}
    .no-print { display: none;}
    /* Used to force page break on print, see: http://davidwalsh.name/css-page-breaks */
    .page-break {page-break-before: always; break-before: always;} /* page-break-after: always; break-after: always; http://www.w3schools.com/cssref/pr_print_pageba.asp - cannot use on empty div or absolute positioned elements */
    
    /* hide menu navigation */
    #community_top_outer_header, #navmenu, #outer_footer, .community_right {display:none;}
    /* align header for printing */
    #community_header {page-break-after: avoid; break-after: avoid; }
    #community_header_logo {max-width:35%; vertical-align: top;}
    #community_header_title {max-width:65%; vertical-align: top; padding: 0 0 0 10pt;}
    #community_header_title h3 {display:none; } /* hide tagline */
    #community_header_network_logo {display:none; } /* hide association logo (only show the main logo))*/
    .community_left {width:100%; margin: 0; padding: 0; border: 0; color: black; background: transparent; }
    h1, h2, h3, h4 {font-size:18pt; line-height:22pt; padding:6pt 0; }
    h5, h6 {font-size:14pt;}
    p {line-height:12pt; padding:12pt 0; }
    div.form_error {line-height:12pt; padding-top:12pt; text-align:left; font-weight: bold;}
    .community_calendar {border-top:1px black solid; border-left:1px black solid; margin:10pt 0; }
    .community_calendar tbody tr td, .community_calendar thead tr th, .community_calendar tfoot tr td {border-bottom:1px black solid; border-right:1px black solid; padding: 0 5pt;}
    table.invoice tbody tr td {line-height:12pt; }
    table.invoice thead tr th {text-align: left;}
}
