
@media (max-width: 1460px) {
   #logo a,
   #top_nav.navigation ul li a {
       font-size: 35px;
   }
}

@media (max-width: 1250px) {
   #logo a,
   #top_nav.navigation ul li a {
       font-size: 30px;
   }
}

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

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


    /* -----------------------------------------------------------
       Generic
    ----------------------------------------------------------- */
    #header #logo {
      white-space: nowrap;
    }
    #logo a {
      font-size: 35px;
   }
   .responsive-nav-slide-nav #responsive_slide_nav_wrapper .navigation ul li, 
   .responsive-nav-slide-nav #responsive_slide_nav_wrapper #top_nav ul li  {
      text-align: -webkit-center;
   }
   body.responsive-nav-slide-nav.responsive-nav-side-position-fullscreen #responsive_slide_nav_wrapper .navigation ul li a {
      padding: 0;
      margin-bottom: 30px;
      font-size: var(--large-fs);
    line-height: var(--large-lh);
    width: fit-content;
   }

   body.responsive-nav-slide-nav.responsive-nav-side-position-fullscreen #top_nav.navigation ul li.active a {
      border-bottom: 2px #fff solid;
   }


   #footer {
      padding: 30px;
    }
    #footer .inner {
      padding-left: 0px;
      padding-right: 0px;
    }
    #footer.advanced_footer .advanced_footer_item {
      width: 50%;
    }
    #footer.advanced_footer #social_links {
      float: right;
      padding-right: 20px;
    }



    /* -----------------------------------------------------------
       General layout
    ----------------------------------------------------------- */
    .section-home #slideshow.fullscreen_slideshow ul li .content h2 span.separator {
      display: none;
   }
   .section-home #slideshow.fullscreen_slideshow ul li .content h2 span.h1_subtitle {
      display: block;
   }


   /* #main_content .heading_wrapper {
      width: 100vw;
   } */
   .layout-hero-header .subsection-artist-detail-page .heading_wrapper.heading_wrapper_alternative #sub_nav.navigation,
   .heading_wrapper.heading_wrapper_alternative #sub_nav.navigation {
      display: contents;
   }

   #hero_header .title, 
   #hero_header .title a, 
   #hero_header, 
   .feature_panels .panel_hero .hero_heading > h2, .feature_panels .panel_hero .hero_heading > a > h2,
   
   #hero_header .subtitle, 
   .feature_panels .panel_hero .hero_heading .subtitle{
      font-size: var(--xxlarge-fs);
      line-height: var(--xxlarge-lh);
   }

   #hero_header .subtitle_date {
      font-size: var(--medium-fs);
   }

    /* -----------------------------------------------------------
        Global classes
    ----------------------------------------------------------- */
    #sub_nav.navigation ul li, #exhibitions_nav.navigation ul li, .list_grid_control.navigation ul li, .news_filters_group.navigation ul li {
      margin: 0 25px 5px 0px;
   }



    /* -----------------------------------------------------------
       Page Specific
    ----------------------------------------------------------- */
    .page-news .layout-no-subnav #content {
      margin-bottom: 50px;
    }

}



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


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


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



    /* -----------------------------------------------------------
       General layout
    ----------------------------------------------------------- */
    .fullscreen_slideshow ul li .content h2,
    .fullscreen_slideshow ul li .content h2 a,
    .fullscreen_slideshow ul li .content h2 .h1_subtitle,
    .fullscreen_slideshow ul li .content h2 a .h1_subtitle{
      font-size: var(--xlarge-fs);
      line-height: 5.0rem;
    }
    .fullscreen_slideshow ul li .content .date {
      font-size: var(--normal-fs);
    }

    #hero_header .title,  
   #hero_header, 
   .feature_panels .panel_hero .hero_heading > h2, .feature_panels .panel_hero .hero_heading > a > h2,
   
   #hero_header .subtitle, 
   .feature_panels .panel_hero .hero_heading .subtitle{
      font-size: var(--xlarge-fs);
      line-height: var(--xlarge-lh);
   }

   #hero_header .subtitle_date {
      font-size: var(--normal-fs);
   }

   #hero_header .title a {
      font-size: var(--xlarge-fs);
      line-height: 5.0rem;
   }

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



    /* -----------------------------------------------------------
       Page Specific
    ----------------------------------------------------------- */
    body.layout-hero-header.layout-fixed-header:not(.layout-hero-mode-inset):not(.layout-hero-header-aspect-ratio) #main_content {
      padding-top: 0px;
  }
  
  

  div#custom-wrapper {
   display: block !important;
}
    .section-contact li.panel.panel_type_2.feature_variant_1.no_image.panel_id_23.panel_number_2.panel_text.panel_style_standard.panel_variant_standard.fp_unnamed {
      float: none;
      width: 100vw;
      padding: 70px 0 70px 30px!important;
    height: auto;
    }
    .section-contact li.panel.panel_mailing_list.no_image.panel_id_22.panel_number_3.panel_mailing_list.panel_style_standard.panel_variant_standard.fp_unnamed {
      float: none;
      width: 100vw;
      padding: 70px 0 70px 30px!important;
      margin-left: calc(50% - 50vw);

    height: auto;
    }



}





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


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

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



    /* -----------------------------------------------------------
       General layout
    ----------------------------------------------------------- */
    .artist-header, 
    .exhibition-header {
      padding: 30px 15px 25px 15px;
    }
    .heading_wrapper .subtitle {
      margin: 0 0px 0 0;
    }

    section#scroll_section_press_release_text {
      padding: 70px 15px!important;
    }
    .page-art-fairs .feature_variant_1.no_image {
      padding: 70px 15px!important;
    }
    .section-history .feature_panels .no_image {
      padding: 70px 15px!important;
    }
    .scroll_section_overview .scroll_section_header {
      padding: 50px 15px 0 15px;
    }
    .subsection-overview {
      padding: 0 15px 50px 15px;
    }
    .section-contact li.panel.panel_type_2.feature_variant_1.no_image.panel_id_23.panel_number_2.panel_text.panel_style_standard.panel_variant_standard.fp_unnamed {
      padding: 70px 0 70px 15px!important;
    }
    .section-contact li.panel.panel_mailing_list.no_image.panel_id_22.panel_number_3.panel_mailing_list.panel_style_standard.panel_variant_standard.fp_unnamed {
      padding: 70px 0 70px 15px!important;
    }
    #artlogic_mailinglist_signup_form {
      max-width: 398px;
   }

    #footer {
      padding: 30px 15px;
   }
   #footer.advanced_footer #social_links {
      padding-right: 15px;
   }



    /* -----------------------------------------------------------
        Global classes
    ----------------------------------------------------------- */
    h2, .feature_list ul li .content h2 {
      font-size: var(--large-fs);
      line-height: var(--large-lh);
  }


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


}


