
@media screen and (max-width : 1199px) and (min-width : 992px) {

    #map_banner .map_panel h2.district_name {
        font-size: 3em;
    }

    .map_description h1 {
        font-size: 2.2em;
    }

    .map_description h1 img {
        max-width: 60px;
    }
}

@media screen and (max-width : 991px) and (min-width : 768px) {

    #map_banner {
        text-align: center;
    }

    #map_banner .image_container {
        display: inline-block;
        float: none;
    }

    #map_banner .map_panel {
        position: static;
        display: inline-block;
        margin-bottom: 30px;
        max-width: 500px;
        text-align: left;
    }

    #map_banner .map_panel h2.district_name {
        font-size: 3em;
    }

    #map_all {
        margin-left: -24px;
        margin-right: -24px;
        width: auto;
    }

    #map_container {
        width: auto;
        height: 500px;
    }
}

@media screen and (min-width: 1200px) {
    #map_container {
        cursor: default;
    }

    #map_container .prompt {
        display: none;
    }

    .portfolio_details h3 {
        min-height: 56px;
    }
}

@media screen and (max-width : 767px) {   
    .portfolio_article_listing > .row {
        display: block;
    }

    .portfolio_article_listing .col-xs-12 {
        padding: 0 15px !important;
    }

    .map_row {
        display: block;
    }

    #map_banner .map_panel {
        position: static;
        margin-bottom: 30px;
        text-align: center;
    }

    #map_banner .map_panel h2.district_name {
        font-size: 2.5em;
    }

    #map_banner .map_panel .provision_buttons {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    #map_banner .map_panel .provision_buttons a {
        font-size: 1.2em;
        line-height: 1.6em;
    }

    #map_banner .map_panel .provision_buttons a span.image_container {
        float: none;
        display: inline-block;
        margin: 0px 20px;
    }

    #map_banner .map_panel a.blue_link_button {
        padding-top: 8px;
        padding-bottom: 8px;
        line-height: 1.3em;
    }

    #map_all,
    #map_container {
        width: auto;
        height: 500px;
    }

    #map_all img {
        max-width: none;
        max-height: 100%;
    }

    .map_description h1 {
        font-size: 2em;
    }

    .map_description a.explore_more {
        margin-top: 10px;
        padding-left: 16px;
        padding-right: 16px;
        font-size: 1em;
        line-height: 32px;
    }

    .extra_text {
        padding: 0px;
        font-size: 1.1em;
        line-height: 1.4em;
    }

    .portfolio_expand_details .words {
        padding: 0px;
    }

    .portfolio_expand_details .location {
        padding: 5px 0 25px 35px;
    }
}
/* Keep the title overlay within the 250px mobile portfolio banner. */
@media screen and (max-width: 767px) {
    .page_portfolio .lower_banner + .container {
        display: flow-root;
    }

    .page_portfolio .portfolio_banner.banner_page_title {
        display: flex;
        align-items: flex-end;
        width: 100%;
        height: 200px;
        margin-top: -250px;
        margin-bottom: 50px;
        padding: 20px;
    }

    .page_portfolio .portfolio_banner.banner_page_title h1 {
        margin: 0;
        padding: 0 !important;
        font-size: 3rem !important;
        line-height: 1.1;
    }
}
/* Match the 200px tablet banner without changing the desktop overlay. */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .page_portfolio .lower_banner + .container {
        display: flow-root;
    }

    .page_portfolio .portfolio_banner.banner_page_title {
        display: flex;
        align-items: flex-end;
        height: 200px;
        margin-top: -200px;
        margin-bottom: 50px;
        padding: 20px;
    }

    .page_portfolio .portfolio_banner.banner_page_title h1 {
        margin: 0;
        padding: 0 !important;
        line-height: 1.1;
    }
}