﻿@media print {
    .noprint,
    #header,
    header,
    footer,
    .tabs,
    #footer,
    #ahca_network,
    #fhf-logo,
    .secTitleBar,
    hr,
    .navigation,
    input,
    .rss,
    .filterOptions,
    #ctl00_ContentPlaceHolder1_trArticles,
    div#introTxt,
    p:empty,
    a img,
    usa-skipnav,
    td div.facilityDirections,
    tr#ctl00_mainContentPlaceHolder_trMedicaidLinks2 {
        display: none !important;
    }

    * {
        width: auto;
        background-image: none !important;
        color: #000 !important;
        background-color: transparent;
        border-color: #000 !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        overflow: visible !important;
    }

    body {
        padding-right: 0px;
        padding-left: 0px;
        font-family: Arial, "MS Trebuchet", sans-serif;
        line-height: 1.5;
        margin: 0px !important;
        font-size: 12px !important;
    }
    .printBreak {
        page-break-before:always;
    }
    a:link, a:visited {
        background: white;
        color: black;
        text-decoration: underline;
        font-weight: bold;
    }

    a, p, tr, td, tr.odd, tr.even, t.odd, td.even, body {
        font-size: 10px !important;
        line-height: 12px !important;
        text-decoration: none !important;
    }
    /*tr, th, td, tr.odd, tr.even, t.odd, td.even {
        padding: 2px !important;
    }*/

    div#titleSubtext div span {
        line-height: 16px !important;
        font-size: 14px !important;
    }

    div.banner-small-text div.row {
        margin-left: 0px;
        margin-right:0px;
    }

    .banner-small {
        padding: 0px;
    }

    section, table {
        page-break-after: avoid !important;
        page-break-before: avoid !important;
        page-break-inside: auto;
    }

    table, tr, td {
        border: none 0px gray !important;
    }
    tr, td {
        page-break-inside: avoid;
    }
    
    th, td.odd, td.even, tr.odd td, tr.even td, tr.tableResultsHead td {
        border: solid 0.25px gray !important;
    }

    #ctl00_ContentPlaceHolder1_lblFacilityName {
        font-size: 16pt;
        font-weight: bold;
        border-bottom: 3px solid #000;
        margin-bottom: 15px;
        display: block;
    }

    span.tableSubTitle, h1 { /* make title and subtitle look the same */
        margin-left: 0px !important;
        padding: 0px !important;
        font-size: 24px;
        line-height: 28px;
        font-weight: bold;
    }

    span.tableSubTitle { /* make title and subtitle look the same */
        margin-bottom: 0px !important;
    }

    h1 { /* make title and subtitle look the same */
        margin-bottom: 0px !important;
    }

    img {
        page-break-inside: avoid !important;
    }


    div.compareFacilitiesResults table {
        width: 100%;
        margin-left: 0px
    }

    h3 {
        border-bottom: 0px none #ccc;
        /*display: block;*/
        margin-bottom: 0px !important;
    }

    p {
        margin-bottom: 0px !important;
        padding-bottom: 0px !important;
    }

    #tblAddressDetails {
        margin-left: 12px;
    }

    /* hide header link underlines when printing table results */
    tr.tableResultsHead a {
        font-weight: bold;
        background: transparent;
        text-decoration: none;
    }

    /* scrunch in white space on divs for printing */
    table.display.results {
        margin: 0 0 0 0;
        padding: 0 0 0 0;
    }

    div#mainContent, div#mainContentFull {
        padding: 0 0 0 0;
    }

    div#secBody div.sub {
        min-height: 0px;
        border: 1px solid #b6d6fc;
        margin: 0 0 0 0;
        padding: 0 0 0 0;
    }

    div#secBody table.display {
        padding: 0 0 0 0;
    }

    div.compareResults {
        padding: 0 0 0 0;
    }

    td {
        page-break-before: avoid !important;
        overflow: visible;
    }

    a[href]:after {
        content: none !important;
    }

    div#mapRow, div.mapRowCell, div.routeCell {
        margin: 0px;
        margin-top: 5px !important;
        padding: 0px;
        padding-bottom: 0px !important;
    }

    div#map_canvas {
        margin-bottom: 50px !important;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        overflow: hidden !important;
    }

    div.routeCell {
        margin: 0px;
        margin-bottom: 8px;
    }

    tr.tableHeadMedium th {
        border: 1px solid black !important;
    }

    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }

    h2, h3 {
        page-break-after: avoid;
    }
    #facilityProfile h3 {
        font-size: 16px;
    }
    .facProfSubhead {
        font-size: 20px;
    }
    .finalOrdersHeader th {
        font-size: 11px;
    }
    .finePrint {
        font-size: 9px;
    }
    .principalsGrid td {
        font-size: 10px !important;
    }
    @page {
        margin: 0.25in
    }
}
