@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
   

@media print {

    body {
        background: none;
        margin: 5mm 5mm 5mm 5mm;
    }

    tr,
    img,
    #intmap {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 5mm 5mm 5mm 5mm;
    }

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

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

    #header, #navigation, .breadcrumb, .maps-head, #footer {
        display: none;
    }

    html, body, #page, .container, #main, #main .narrowcolumn, #main .article {
        top: 0 !important;
        min-width: 0 !important;
        min-height: 0 !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }
    
    .tooltip {
    	display: none !important;
    }
    
    .level-overlay, .count-pill, #intmap-head {
	    display: none !important;
    }

    #main .article img {
        max-width: 100%;
        width: auto;
        height: auto;
    }

    #main .maps-head {
      display: none;
    }

    #intmap {
      margin: 0;
    }

    #intmap-head {
      padding: 0 0 0 21.73%; /* Print */
      overflow: hidden;
    }

    #intmap-tabs ul {
      background: url(https://sacramento.aero/images-css/maps/bg_intmaps-tabs.png) 0 100% no-repeat; 
    }

    #intmap-tabs li {
      float: left; 
      padding: 0 2.5% 9px 0; /* Print */
    }

    #intmap-tabs li#tab_groundtransport {
        padding-right: 0;
    }

    #intmap-tabs a {
      padding: 0 0 0 0; 
    }

    #intmap-tabs #tab_groundtransport a.variation {
      margin-left: 8px; 
    }

    #intmap-tabs a span {
      padding: 0 5px 0 7px; 
    }

    #intmap .intmap_legend {
      left: 1%; 
    }

    #intmap #intmap-main {
        background: #a6aeae;
    }

    #intmap .intmap_secondary {
      width: 21.73%;
      border-right: 0;
      background: #a6aeae;
    }

    #intmap .intmap_accordion-head a {
      background-image: none;
    }
	.intmap_primary img.map-image {

	}
    #intmap .intmap_primary {
      width: 78.27% !important; 
    }
    	.map-image-pins {
 
    	}

    .intmap_accordion-content {
        display: block !important;
    }

    .map-pointer {
        display: block !important;
    }

    #intmap .intmap_accordion-head.yellow {
        background-color: #F6BE09 !important;
    }

    #intmap .intmap_accordion-head.blue {
      background-color: #51a0d7 !important; 
    }

    #intmap .intmap_accordion-head.purple {
      background-color: #7a60a8 !important;
    }

    #intmap .intmap_accordion-head.red {
      background-color: #e45751 !important;
    }

    #intmap  #panel_terminalb .intmap_accordion-head a {
        padding-top: 4px;
        padding-bottom: 4px;
        font-size: 13px;
        line-height: 15px;
    }

    #intmap #panel_terminalb .intmap_accordion-content li a {
        font-size: 12px;
        line-height: 15px;
        padding-top: 3px;
        padding-bottom: 2px;
    }

    #intmap #panel_terminalb .intmap_accordion-content {
      padding: 0;
    }

    * {
      -webkit-print-color-adjust: exact;
    }

    

}