@media print {

    /* all */

    .hideInPrints {
        display:none;
    }

    /* template */

    html, body {
        margin:0;
        padding:0;
        height:auto;
    }
    #Header {
        display: none;
    }
    #Footer {
        display: none;
    }
    #ContentArea {
        border-left:0;
        padding:0;
    }
    #MainPage {
        display:block;
    }
    /* search area */

    #searchAreaContainer {
        display:none;
    }

    /* result summary */

    #resultSummary {
        border:0;
        visibility:hidden;        
        width:700px;
        margin-bottom:15px;
        min-width:700px;
    }

    .co2Box {
        display:none;
    }

    
    #resultSummary_inner {
        visibility:visible;
        border:1px solid black;
        width:700px;
    }
    #resultSummary_inner td {
        border:0;
        border-top:1px solid black;
    }
    #resultSummary_inner .lineIconWithTime td { /* fix to prev */
        border:0;
    }


    /* result summary: selected row */

    #resultSummary tr.selectedRow td {
        border-top: 2px solid black;
        border-bottom: 2px solid black;
    }
    #resultSummary tr.selectedRow td.first {
        border-left: 2px solid black;
    }
    #resultSummary tr.selectedRow td.last {
        border-right: 2px solid black;
    }    
    #resultSummary td.title {
        display:none;
    }
    #resultSummary .rowNumber {
        border-right: 1px solid black;
        border-bottom: 1px solid black;
    }
    #resultSummary_inner tr.selectedRow .lineIconWithTime td { /* fix */
        border:0;
    }


    /* result details */

    #ResultDetails {
        position:relative;
        width:700px;
    }
    #ResultDetails .Header {
        display:none;
    }
    #ResultDetails td {
        border:0;
    }
    #resultDetailsContent {
        border:0;
    }
    #ResultDetails .TripDetails {
        overflow:hidden;
    }

    /* stop list */

    .stopList {       
        margin:0px;
        float:none;
        margin-bottom:10px;
    }
    .show-in-print-view { /* exception for prev */
        display:block;
    }

    .mapPanelTitle, .stopListTitle, .resultSummaryTitle {
        display: block;
        font-size:18px;
        font-family:sans-serif;
        font-weight:bold;
        margin-bottom:15px;
        clear:both;
    }
    .mapPanelTitle {
        page-break-before: always;
    }

    .arrowButton{
        display:none;
    }

    .ContinueJourneyText {
        display:none;
    }

    .stop_list_cell {
        display:none;
    }

   /* mapPanel */

   #mapPanel {
       position:static;
       width:100%;
       margin-top:0;
   }
   #mapTabs {
       background:none;
   }
   .ui-tabs-nav {
       display:none;
   }

   .ui-tabs .ui-tabs-panel {
       padding:0;
       border:0;
       margin:0;
   }

   /* change maps */

   .changeMapContainer {
       padding:0;
   }
   .small-maps {
        width:380px;
   }
    .changeMap {
        float:none;
        margin-top:3px;
    }
    .changeMapLabel {
        background:white;
    }

    /* static map */

    tr.mapControlsRow {
      display:none;
    }

    /* dynamic map */

    #olMapContainer {
        margin:0;
        padding:0;
        border:0;

    }

    #staticMap {
        margin:0;
    }

    .disclaimer, .buttonsRow {
        display:none;
    }

}