@media print {
    body > .container {
        width: 100% !important;
        padding: 0px;
        margin: 0px;
    }
    .container.mapPage {
        width: 100% !important;
        height: 100% !important;
    }
    #mapContainer {
        position: absolute;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 182px;
        overflow: visible;
    }
    #detailPanel,
    #basemaps-wrapper,
    .navbar,
    #menuBar,
    .mapFooter,
    .esri-leaflet-logo,
    .leaflet-control-attribution,
    .leaflet-control-zoom,
    #zoomToLocation,
    .leaflet-control-measure,
    #nearbyPanel
    {
        display: none;
    }
    #northArrow {
        display: block;
        position: absolute;
        bottom: 20px;
        right: 10px;
        height: 80px;
        opacity: 0.9;
    }
    #printLogo {
        display: block;
        position: absolute;
        top: 10px;
        left: 10px;
        height: 100px;
        opacity: 0.9;
    }
    #printLogo2 {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        height: 95px;
        opacity: 0.9;
    }
    #mapLegend {
        display: block;
        width: 100%;
        height: 180px;
        position: absolute;
        bottom: -182px;
        right: 0px;
    }
    .legendItem,
    .legendImage,
    .legendTitle {
        float: left;
    }
    .legendColumn {
        width: 33.3%;
        float: left;
    }
    .legendItem {
        width: 100%;
        padding: 5px;
        padding-bottom: 0px;
    }
    .legendImage {
        padding-right: 5px;
    }
}