@media screen and (max-width: 640px) {
    
    
    .nav-wrapper ul li {
        font-size: 2.8rem;
    }

    
    .nav-overlay .overlay-container-inner {
        padding-top: 80px;
        padding-bottom: 100px;
    }
    
    #hero .content {
        padding: 20px;
    }
    .main_slideshow_pager.slideshow_pager {
        /* display: none; */
        position: absolute;
        top: 110px;
        right: 30px;
    }
    #hero .content .content_header_inner {
        width:100%;
    }
    #hero .content .content_header .prelude,
    #main_slideshow .location {
        font-size: 1.2rem;
    }
    #hero .content .content_header .prelude {
        margin-bottom: 20px;
        margin-top: -20px;
    }
    #hero .content .content_header .hero-cta-button-wrapper > button, 
    #hero .content .content_header .hero-cta-button-wrapper > .button {
        min-width: 190px;
        line-height: 23px;
    }
    
    .full_bleed_panel .area .area_inner .hero-cta-button-wrapper > button, .full_bleed_panel .area .area_inner .hero-cta-button-wrapper > .button > span:not(.loader) {
        font-size: 1.5rem;
    }
        
    .button a, .button button, .button > span:not(.loader), button:not(.store_item_add_to_cart):not(.clear_button_styles):not(.aol-dock-button):not(.roomview-zoom-button):not(.page_enquiry_widget_submit_button):not(.view-in-ar-button) {
        padding: 8px 25px 8px;
    }
    
    .artist-wrapper ul li, .artist_list_section_list ul li {
        font-size: 2.5rem;
    }
    h2, .faux_h2 {
        font-size: 2.1rem;
        line-height: 2.8rem;
        margin: 0 0 15px;
    }
    .text_columns {
        margin-bottom: 0;
    }
    .text_columns .intro_content {
        margin: 0 0 30px;
    }

    #hero #wipe_slideshow_wrapper .content .pre-title,
    .content_header h1, #hero .content .content_header .faux_h1, 
    #main_slideshow .slide .content .content_header .faux_h1, 
    #hero .content .content_header h2,
    #hero .content .content_header h1, #hero .content .content_header .faux_h1, 
    #main_slideshow .slide .content .content_header .faux_h1 {
        font-size: 3.0rem;
    }
    #hero .content .content_header h1.text-length-2, 
    #hero .content .content_header .faux_h1.text-length-2, 
    #hero .content .content_header h2.text-length-2 {
        font-size: 2.8rem;
    }
    #hero .content .content_header h1.text-length-3, 
    #hero .content .content_header .faux_h1.text-length-3, 
    #hero .content .content_header h2.text-length-3 {
        font-size: 2.3rem;
    }
     #hero .content .content_header h1.text-length-4, 
     #hero .content .content_header .faux_h1.text-length-4,
     #hero .content .content_header h2.text-length-4 {
        font-size: 2.2rem;
    }
     #hero .content .content_header h1.text-length-5, 
     #hero .content .content_header .faux_h1.text-length-5,
     #hero .content .content_header h2.text-length-5 {
        font-size: 2.1rem;
    }
    .main_slideshow_toolbar, 
    .hero_content_additional {
        display:none;
    }
    .detail_lead_hero .full_bleed_panel .area .area_inner .bottom, 
    .text_and_image_fullbleed .area .pull_quote {
        font-size: 1.9rem;
        line-height: 1.4em;
    }
    #main_slideshow_nav {
        padding-left: 30px;
        padding-right: 30px;
    }
    h1, .faux_h1 {
        font-size: 3.0rem;
        line-height: 3.2rem;
    } 
    
    .feature_panels section .panel_heading .prelude {
        font-size: 2rem;
    }
    .feature_panels section.panel_type_206 .area_wrapper, 
    .feature_panels section.panel_type_206.panel_style_2.panel_theme_wide .area_wrapper, 
    .feature_panels section.panel_type_206.panel_style_3.panel_theme_wide .area_wrapper, 
    .feature_panels section.panel_type_206.panel_style_4.panel_theme_wide .area_wrapper {
        padding: 0 20px;
    }
    
    .panel_type_featured_items_slideshow.related_content_slideshow_panel .featured_items_slideshow .area, .panel_type_featured_items_slideshow.related_content_slideshow_panel .featured_items_slideshow .slideshow_pager {
        padding: 20px;
    }
    .panel_type_featured_items_slideshow.related_content_slideshow_panel .featured_items_slideshow .image,
    .panel_type_featured_items_slideshow.related_content_slideshow_panel .featured_items_slideshow .area,
    .panel_type_featured_items_slideshow.related_content_slideshow_panel .area_inner {
        width: 100%;
    }
    
    .panel_type_featured_items_slideshow.related_content_slideshow_panel .featured_items_slideshow .area_inner .content {
        display: block
    }
    .panel_type_featured_items_slideshow.related_content_slideshow_panel .featured_items_slideshow .item-inner{
        display: block;
    }
    .panel_type_featured_items_slideshow.related_content_slideshow_panel .image::after {
        padding-top: 60%;
    }
    .panel_type_featured_items_slideshow.related_content_slideshow_panel .prelude {
        font-size: 1.2rem;
        line-height: 1.4rem;
    }
    .panel_type_featured_items_slideshow.related_content_slideshow_panel .slideshow_pager .slideshow-pager-item .slideshow-pager-item-progress::after {
        border-color: #fff;
    }
    .panel_type_featured_items_slideshow.related_content_slideshow_panel .featured_items_slideshow .slideshow_pager .slideshow_pager_inner .slideshow-pager-item-text{
        color:#fff;
    }
    
    .text_and_image_fullbleed .area .pull_quote_wrapper {
        /* margin-left: 0; */
        /*margin-top: -40px;*/
        padding-bottom: 20px;
    }
    .text_and_image_fullbleed .area .pull_quote {
        font-size: 2rem;
    }
    .feature_panels section .feature_list.featured_artwork_grid .item:not(.fullbleed_grid_item) .featured_artwork_image_container:after,
    .works_grid.feature_list .item.image_proportion_portrait:not(.fullbleed_grid_item) .image:after {
        display: none;
    }
    .feature_panels section .feature_list.featured_artwork_grid .item:not(.fullbleed_grid_item) .image,
    .feature_panels section .feature_list.featured_artwork_grid .item:not(.fullbleed_grid_item) .image .image_inner {
        position: static !important;
    }
    .feature_panels section .feature_list.featured_artwork_grid .artwork-caption-lower {
        margin-top: 0;
    }
    .feature_panels section .feature_list.featured_artwork_grid .item .content {
        line-height: 1.5em;
    }
    
    /*#popup_box .close,*/
    /*.notify_panel_close,*/
    /*.overlay-close-button, */
    /*.filter-close-button, */
    /*.nav-close-button, */
    /*.mailing-close-button, */
    /*.enquire-close-button, */
    /*.mailing-close-button, */
    /*.search-close-button, */
    /*.roomview-close {*/
    /*    text-indent: -9999px;*/
    /*    width: 20px;*/
    /*    height: 20px;*/
    /*    padding: 10px;*/
    /*    box-sizing: content-box;*/
    /*}*/
    /*#popup_box .close a:after,*/
    /*.notify_panel_close:after,*/
    /*.overlay-close-button:after, */
    /*.filter-close-button:after, */
    /*.nav-close-button:after, */
    /*.mailing-close-button:after, */
    /*.enquire-close-button:after, */
    /*.mailing-close-button:after, */
    /*.search-close-button:after, */
    /*.roomview-close:after {*/
    /*    top: 50%;*/
    /*    left: 50%;*/
    /*    right: auto;*/
    /*    margin: -5px;*/
    /*}*/
    
    .variant_wide .standard_grid .item, 
    .standard_grid.two_column_grid .item, 
    .standard_grid .item.medium_width_item,
    .feature_panels section .feature_list.featured_artwork_grid .item {
        width: 100%;
        padding-bottom: 0;
        margin-bottom: 50px;
    }
    
    .variant_wide .standard_grid .item:last-child, 
    .standard_grid.two_column_grid .item:last-child, 
    .standard_grid .item.medium_width_item:last-child,
    .feature_panels section .feature_list.featured_artwork_grid .item:last-child {
        margin-bottom: 20px;
    }
    .feature_panels section .feature_list.featured_artwork_grid .item:nth-of-type(2n) {
        margin-left: 0;
    }
    .feature_panels section:last-child {
        margin-bottom: 30px;
    }
    #popup_content .feature_panels section:last-of-type {
        margin-bottom: 0px;
    }
    #popup_content .artwork_detail .content_below {
        padding-bottom: 120px;
    }
    /*#footer .main .group:first-of-type {*/
    /*    display: none;*/
    /*}*/
    .feature_panels section,
    .section-viewing-room.no-page-params .feature_panels section.light_feature_panel_bg.light_feature_panel_bg_odd {
        margin-bottom: 30px;
    }
    .feature_panels section .panel_heading {
        margin: 0 0 30px;
    }
    .records_list_slider_wrapper .panel_heading .pagination_controls {
        width: 90px;
        height: 45px;
        top: -7px;
        right: -11px;
    }
    .records_list_slider_wrapper .panel_heading .pagination_controls > div, .records_list_slider_wrapper .panel_heading .pagination_controls > button {
        width: 45px;
        height: 45px;
    }
    .page_enquiry_widget h2, .inline_enquiry_form .contact_form_header h2 {
        font-size: 1.9rem;
        line-height: 1.2em;
            margin-bottom: 30px;
    }
    .feature_panels section .panel_heading h2 {
        font-size: 1.9rem;
    }
    .feature_panels section .area_wrapper .records_list_slider.record_slider_condensed .item .list_caption_wrapper .content {
        padding: 25px;
    }
    .feature_panels section .area_wrapper .records_list_slider.record_slider_condensed .item h3, 
    .feature_panels section .area_wrapper .records_list_slider.record_slider_condensed .item .subtitle {
        font-size: 2rem;
        line-height: 1.3em;
    }  
    .prelude {
        font-size: 1rem;
        line-height: 1.2em;
    }
    .link, .content_read_more_link,
    .scroll-prompt{
        font-size: 1.2rem;
    }
    #footer .scroll-to-top {
        right: 27px;
    }
    #map_wrapper::after {
        padding-top: 120%;
    }
    .panel_type_featured_items_slideshow.related_content_slideshow_panel .featured_items_slideshow .area_inner .subtitle {
        margin-top: 12px;
    }
    .featured_items_slideshow .image span::after {
        content:'';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
           background: -moz-linear-gradient(top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
            background: -webkit-linear-gradient(top, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
            background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
                    
    }
    /*.panel_type_featured_items_slideshow.related_content_slideshow_panel .featured_items_slideshow .area_inner h3 {*/
    /*    font-size: 1.4rem;*/
    /*    line-height: 2rem;*/
    /*}*/
    /*.panel_type_featured_items_slideshow.related_content_slideshow_panel .featured_items_slideshow .area_inner .subtitle {*/
    /*    font-size: 1.2rem;*/
    /*    line-height: 1.5rem;*/
    /*}*/
    .standard_grid .item h3, .records_list_slider .item h3 {
        font-size: 1.8rem;
    }
    .standard_grid .item .list_content_header .subtitle, .records_list_slider .item .list_content_header .subtitle {
        font-size: 1.4rem;
    }
    .dates, .detail_dates {
        transform: translate3d(0,0,0);
        font-size: 1.1rem;
    }
    .records_list_slider:not(.records_list_slider_custom_layout) .item {
        padding-right: 30px;
    }
    .subsection-store-wrapper #sub_nav {
        clear: both;
        float: left;
        margin-top: 10px;
    }
    .subsection-store-wrapper #sub_nav.navigation ul li {
        margin: 0 15px 0 0;
        
    }
    .section-store .filters_inner .fp-module.list_wrapper:nth-of-type(2) {
        margin-left: 0;
    }
    .standard_grid.detail_grid .item .list_caption_wrapper .caption {
        display: none;
    }
    #footer_see_also {
        padding: 40px 20px 20px 20px;
        
    }
    #footer_see_also_mailing .page_enquiry_widget h2 {
        font-size: 2.2rem;
    }
    #footer_see_also_mailing .page_enquiry_widget_field {
        margin: 40px 0 40px;
        padding-right: 0;
    }
    #footer_see_also_mailing .page_enquiry_widget_field input {
        margin: 0 0 25px 0;
    }
    #footer_see_also_mailing .page_enquiry_widget_field .page_enquiry_widget_submit {
        float: none;
        height: 51px;
        position: static;
        overflow: hidden;
        width: 100%;
    }
    .inline_enquiry_form form .button {
        width: 100%;
        border-left: none;
        border-right: none;
    }
    #footer_see_also_mailing .page_enquiry_widget_field .page_enquiry_widget_submit button,
    .inline_enquiry_form form .button a {
        float: none;
        width: 100%;
        font-size: 1.6rem;
        padding: 12px 20px 12px;
    }
    .text_and_image_fullbleed .area h3 {
        font-size: 2.3rem;
    }
    
    .inline_enquiry_form form .form_rows_wrapper {
        display: block;
    }
    .inline_enquiry_form form .form_row {
        margin: 0 0 20px;
    }
    .contact-locations-grid .item.primary-location aside {
        /* width: 500px;
        height: 50vh; */
        max-height: 500px;
        min-height: unset;
        text-align: center;
    }
    .page-results .feature_panels section.heading_panel .panel_filters {
        float: left;
        width: 100%;
        display: block;
    }
    .page-results .feature_panels section.heading_panel .panel_filters ul li {
        padding-bottom: 10px;
    }
    .roomview-zoom-footer {
      display: none !important;
    }
}
