
@media screen and (max-width: 1659px) {
    .subheading span,
    .panel_header .subtitle {
        transform: rotate(-90deg) translate(-300px, calc(100% + -45px));
    }
    .feature_list ul li .content h2 {
        font-size: 3.5rem;
    }
    #sub_nav {
        max-width: 100%;
    }
    #sub_nav.navigation ul li, #exhibitions_nav.navigation ul li, .list_grid_control.navigation ul li {
        margin: 0 30px 0 0;
    }
    
    #sub_nav.navigation ul li a {
        letter-spacing: 0.25em;
    }
}


@media screen and (max-width: 1279px) {
    
    .subheading span,
    .panel_header .subtitle {
        transform: none;
        text-align: left;
        width: auto
    }
    .fp_custom_contact_map #contact_form {
        padding: 50px;
    }
    .section-about .records_list > ul {
        margin-right: -70px;
    }
    .section-about .records_list > ul > li {
        padding-right: 70px;
    }
    .section-artists #artist_list.records_list ul li a {
        padding: 5%;
    }
    blockquote {
        font-size: 5rem;
    }
    .feature_list ul li .content h2 {
        font-size: 3rem;
    }
    #hero_header.hero_header_layout_center > .inner #hero_heading {
        font-size: 3.5rem;
    }
    
}




/* ------------------------------------------------------------------------
--------------------------------- Size 3 ----------------------------------
------------------------------------------------------------------------ */

@media screen and (max-width: 1023px) {


    /* -----------------------------------------------------------
       Generic
    ----------------------------------------------------------- */
    h1 {
        font-size: 2.5rem;
    }
    blockquote {
        font-size: 4rem;
    }
   /* Feature panels */
   .fp_custom_contact_map #contact_form {
      display: block;
   }
    .fp_custom_contact_map .open-map-link {
        width: 57%;
    }
   .fp_custom_contact_map #contact_form #contact_form_header {
      width: 100%;
   }
    .fp_custom_contact_map .contact-details-container {
        width: 50%;
    }
    .fp_custom_contact_map #contact_form {
        padding: 30px;
    }
    .fp_custom_contact_map .map-wrapper { 
        column-count: 1;
    }
    .section-about .records_list > ul {
        margin-right: -30px;
    }
    .section-about .records_list > ul > li {
        padding-right: 30px;
    }
    .feature_list ul li .content h2 {
        font-size: 2rem;
    }

    .section-publications-and-prints .records_list .content .fp_title {
        font-size: 2rem;
    }
    
    
    
    /* -----------------------------------------------------------
       General layout
    ----------------------------------------------------------- */



    /* -----------------------------------------------------------
        Global classes
    ----------------------------------------------------------- */



    /* -----------------------------------------------------------
       Page Specific
    ----------------------------------------------------------- */


}



/* ------------------------------------------------------------------------
--------------------------------- Size 2 ----------------------------------
------------------------------------------------------------------------ */


@media screen and (max-width: 767px) {


    /* -----------------------------------------------------------
       Generic
    ----------------------------------------------------------- */

      /* Feature panels */
        blockquote {
            font-size: 3.5rem;
        }
        
      .fp_custom_contact_map #contact_form {
         padding: 60px 40px;
      }

      .fp_custom_contact_map #contact_form .form_row_fields_container {
         display: block;
      }

      .fp_custom_contact_map #contact_form .form_row_fields_container .form_row {
         width: 100%;
      }

      .fp_custom_contact_map #contact_form .form_row_fields_container .f_name_container input, 
      .fp_custom_contact_map #contact_form .form_row_fields_container .f_phone_container input {
         margin-right: 0;
      }

      .fp_custom_contact_map #contact_form .form .form_row.form_row_submit #contactFormSubmit {
         float: left;
         margin-left: 0;
     }
    .fp_custom_contact_map #contact_form {
        padding: 20px;
    }
    .fp_custom_contact_map .open-map-link {
        display: none
    }
    .fp_custom_contact_map .map-contact-details {
        position: relative;
        height: auto;
        overflow: hidden;
        z-index: 200
    }
    .fp_custom_contact_map .contact-details-container {
        width: 100%;
        justify-content: end;
        gap: 18px;
    }
    .fp_custom_contact_map .map-overlay {
        /* position: static; */
        top: auto;
        right: auto;
        height: auto;
        width: 100%;
        display: block;
        clear: both;
        z-index: 99;
        position: absolute;
        bottom: 0;
        height: 50%;
        
        background: linear-gradient(180deg, rgba(247,247,247,0) 0%, rgba(247,247,247,0.8) 20%, rgba(247,247,247,1) 100%);
    }
    .fp_custom_contact_map #map_basic {
        left: auto;
        float: none;
        display: block;
        height: 450px;
    }  
    .fp_custom_contact_map #map_basic .gm-bundled-control {
        display: none;
    }
    
    .fp_custom_contact_map .contact-details-container h6 {
        font-size: 1.3rem;
        margin-bottom: 0;
    }
    .fp_custom_contact_map .contact-details-container a {
        font-size: 1.5rem;
    }
    
    .section-artists #artist_list.records_list ul li a {
        padding: 0;
    }
    
    .no-page-params #main_content #content {
        padding-top: 70px;
    }
    
    .subheading {
        margin: 0 0 30px;
    }

    .section-publications-and-prints .records_list .content .fp_title {

    }
    
    /* -----------------------------------------------------------
       General layout
    ----------------------------------------------------------- */



    /* -----------------------------------------------------------
        Global classes
    ----------------------------------------------------------- */
    #main_content h1 {
        line-height: 1.3;
    }
    #hero_header .title, .fullscreen_slideshow .hero_splash_text {
        letter-spacing: 0.7em
    }
    .ig_slider_container_outer {
        overflow: hidden;
    }
    .navigation ul {
        max-width: 100vw;
    }
    .section-home .fullscreen_slideshow ul li .content h2 a {
        font-size: 2.2rem;
    }
    
    #footer #copyright {
        flex-wrap: wrap;
    }
    #footer .copyright-text, #footer #social_links, #footer #copyright #artlogic, #footer .cookie_notification_preferences {
        width: 100%;
        text-align: center;
        display: flex;
        justify-content: center;
        margin-right: 0 !important;
    }
    #footer #social_links .social_links_item {
        margin: 8px;
        display: flex;
        justify-content: center;
    }
    #footer .social_media_icon {
        margin: 0;
    }
    
    #footer #mailinglist_form #artlogic_mailinglist_signup_form #mailing_submit_button {
        display: flex;
        justify-content: center;
    }
    #footer #mailinglist_form #artlogic_mailinglist_signup_form .form_row {
        width: 100%;
        padding: 0;
    }
    #footer #mailinglist_form #artlogic_mailinglist_signup_form .form_row label {
        margin-right: 0;
    }
    
    body.responsive-nav-slide-nav.responsive-nav-side-position-fullscreen #responsive_slide_nav_wrapper .navigation ul li a, body.responsive-nav-slide-nav.responsive-nav-side-position-fullscreen #responsive_slide_nav_wrapper .navigation .dropdown-btn {
        color: inherit;
    }
    body.responsive-nav-slide-nav.responsive-nav-side-position-fullscreen #responsive_slide_nav_wrapper .navigation ul li.active a, body.responsive-nav-slide-nav.responsive-nav-side-position-fullscreen #responsive_slide_nav_wrapper .navigation ul li:hover a {
        color: black;
    }
    
    #content_module table {
        max-width: 100%;
        width: 100% !important;
    }
    #content_module table td {
        vertical-align: top;
    }
    
    #content_module h6 {
        line-height: 1.5;
    }

    /* -----------------------------------------------------------
       Page Specific
    ----------------------------------------------------------- */
    
    .section-about .feature_panels .panel_image_text_columns .pull_quote_content, .section-about .feature_panels .panel_image_text_columns .content {
        width: 100%;
    }
    .feature_panels .panel_image_text_columns .pull_quote_content blockquote {
        overflow: visible;
    }

    

}





/* ------------------------------------------------------------------------
--------------------------------- Size 1 ----------------------------------
------------------------------------------------------------------------ */


@media screen and (max-width: 459px) {

    /* -----------------------------------------------------------
       Generic
    ----------------------------------------------------------- */



    /* -----------------------------------------------------------
       General layout
    ----------------------------------------------------------- */



    /* -----------------------------------------------------------
        Global classes
    ----------------------------------------------------------- */



    /* -----------------------------------------------------------
       Page Specific
    ----------------------------------------------------------- */


}

@media screen and (max-height: 820px) {
    .subsection-video {
        max-width: 82vw;
    }
}
@media screen and (max-height: 760px) {
    .subsection-video {
        max-width: 72vw;
    }
}
