/* ----------------------------------------------------------------------------------
Site name
Theme name: Van Doren Waxter
---------------------------------------------------------------------------------- */

.fullscreen_slideshow h2 a .date {
    display: none;
}

.feature_panels .panel_hero{
    margin-bottom: 0;
}

.feature_panels .panel_hero .hero_heading .subtitle {
    padding: 15px 0 0;
    width: 100%;
    margin: 0 auto;
    max-width: 1280px;
}

@media screen and (min-width: 768px){
    .feature_panels .panel.grid_no_of_columns_2 .records_list ul li:nth-last-child(-n+2){
        /* remove last row element spacing, which would increase the section spacing */
        margin-bottom: 0;
    }
}


.fullscreen_slideshow h2 a {
    display: flex;
    flex-direction: column;
}

.fullscreen_slideshow a .separator {
    display: none;
}

/* Fullscreen slideshows
    ----------------------------------------------------------- */


.fullscreen_slideshow ul li .content {}

.fullscreen_slideshow ul li .content .inner {
    margin: 0 auto;
}

#hero_header .fullscreen_slideshow ul li .content .inner {
    width: 100%;
}

body .page-scroll #header.header_fixed:not(.header_fixed_no_follow), 
html.fp-enabled body:not(.fp-viewing-0) .page-scroll #header.header_fixed.header_fixed_no_follow{
    box-shadow: 0 0 8px 0px rgba(0,0,0,0.1);
}

.fullscreen_slideshow ul li .content h2,
.fullscreen_slideshow ul li .content h2 a,
.fullscreen_slideshow ul li .content h2 a:visited {
    color: #ffffff;
    font-size: 4rem;
    text-align: center;
    line-height: 1.2;
    font-weight: 300;
}


#footer {
    border-top: 1px solid #ebebeb;
    color: var(--body-color);
    font-weight: 200;
    padding: 50px 0 0;
    margin: 0 0 30px;
}

#footer #contact_info {
    float: left;
    max-width: 450px;
}

#footer .copyright {
    float: left;
    margin-right: 50px;
}

#footer .small-links-container {
    font-size: 1.1rem;
}

#footer #copyright {
    margin: 0 0 6px;
    font-size: 1.1rem;
}

#footer.advanced_footer .copyright {
    display: inline-flex;
    margin: 0 0 10px 0;
}

#footer a:not(.submit_button),
#footer a:visited:not(.submit_button) {
    color: var(--grey);
    text-decoration: none;
}

#footer.advanced_footer .advanced_footer_item {
    padding: 0;
}

#footer.advanced_footer .advanced_footer_item #contact_info {
    max-width: 100%;
}

#social_links .social_links_item a .social_media_icon {
    background-color: var(--grey);
}

.subheading {
    font-family: var(--header-font-family);
    font-weight: 200;
    color: var(--text-primary);
    font-size: var(--medium-header-font-size);
    margin: 0 0 var(--heading-spacing);
}

.subheading::after {
    display: none;
}


.link,
.simple_list ul li {
    font-weight: 200;
    color: #585858;
    font-size: 1.25rem;
}

.link span,
.link a,
.link a:visited,
.simple_list ul li a,
.simple_list ul li a:visited {
    color: #585858;
    font-weight: 200;
}

.navigation ul {}

.navigation ul li {
    margin: 0 40px 0 0;
}

.navigation ul li.last {
    margin-right: 0 !important;
}

.navigation ul li a {
    line-height: 1.8rem;
    font-size: var(--navigation-font-size);
    font-weight: 200;
    padding: 0 0 5px;
    letter-spacing: 0.05em;
}

.navigation ul li a,
.navigation ul li a:visited,
.artists-browser {
    color: var(--body-color);
}

.navigation ul li a:hover {
    color: var(--primary-color);
}

.navigation ul li.active a,
.navigation ul li.active a:visited,
.navigation ul li.active a:hover,
#top_nav.navigation>ul>li.active>a,
#top_nav.navigation>ul>li.active>a:visited,
#top_nav.navigation>ul>li.active>a:hover {
    color: var(--primary-color);
}

#header .inner {
    padding: 20px 0 0px;
    border-bottom: none;
    height: 180px;
}
.header-fixed-wrapper #header .inner{
    /* transition: all 0.6s cubic-bezier(.65,.06,.19,.96); */
    transition: transform 600ms cubic-bezier(.65, .06, .19, .96),
    max-height 600ms cubic-bezier(.65, .06, .19, .96),
    height 600ms cubic-bezier(.65, .06, .19, .96),
    padding 600ms cubic-bezier(.65, .06, .19, .96),
    opacity 800ms ease-in-out,
    border 800ms ease-in-out,
    background 800ms ease-in-out !important;
}


#logo a {
    display: block;
    width: 162px;
    height: 51px;
    text-indent: -9999px;
    background-image: url(/images/van-doren-waxter-png.svg);
    background-repeat: no-repeat;
    background-position: center center;
    /* background: url(/images/van-doren-waxter-logo.svg) 0 0 no-repeat; */
}
.device-highres #logo a{
    background-image: url(/images/van-doren-waxter-logo.svg);
}

/* -----------------------------------------------------------
   Layout
----------------------------------------------------------- */

#container {}

#header {}

.header-fixed-wrapper #header {
    border-bottom: 1px solid var(--lightgrey);
}

#hero_heading {
    text-align: center;
}

#hero_heading .title a {
    font-family: var(--header-font-family);
}

blockquote {
    padding: 0;
    border: none;
    font-size: var(--blockquote-font-size);
    font-family: var(--header-font-family);
}

.poster,
.subtitle,
.heading_wrapper h1 .h1_subtitle,
.location {
    font-size: var(--list-subheading-font-size);
}

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

.navigation {}

.navigation ul {}

.navigation ul li {}

.navigation ul li a {}

.navigation ul li a,
.navigation ul li a:visited {}

.navigation ul li a:hover {}

.navigation ul li.active a,
.navigation ul li.active a:visited,
.navigation ul li.active a:hover {}


/* sticky navigation */
body #header #page_header .page-header-inner{
    justify-content: space-between;
}
body #header #page_header .page-header-inner > #h1_wrapper, 
body #header #page_header .page-header-inner > .h1_wrapper,
body #header #page_header .page-header-inner > .has_subtitle{
    flex: 0 0 auto;
    min-width: 0;
    max-width: 500px;
}
body #header #page_header .page-header-inner #sticky_sub_nav{
    width: auto;
    flex: 1;
    min-width: 0;
    max-width: none;
    display: block;
}
body #header #page_header .page-header-inner #sticky_sub_nav ul{
    display: flex;
    width: auto;
    justify-content: flex-end;
    flex-wrap: wrap;
}
body #header #page_header .page-header-inner #sticky_sub_nav ul li{
    flex: 0 0 auto;
    float: none;
    display: block;
    margin: 0 0 0 25px;
}
body #header #page_header .page-header-inner #sticky_sub_nav ul li.artists-browser{
    margin-left: 25px !important;
}
body #header #page_header .page-header-inner #sticky_sub_nav ul li a{
    line-height: 1.2;
}

/* Top nav
    ----------------------------------------------------------- */

#top_nav.navigation {}

#top_nav.navigation ul {}

#top_nav.navigation ul li {}

#top_nav.navigation ul li:first-child {}

#top_nav.navigation ul li a {
    color: var(--body-color);
    font-size: var(--navigation-font-size);
    letter-spacing: 0.05em;
    white-space: nowrap;
}


#header.header_layout_center .header-ui-wrapper {
    justify-content: center;
    padding-top: 40px;
}
#header .header-ui-wrapper .header-icons-wrapper{
    margin-left: 20px;
}

/* Sub nav
    ----------------------------------------------------------- */

#sub_nav.navigation,
#exhibitions_nav.navigation,
.list_grid_control.navigation,
.subsection-navigation.navigation,
.news_filters_group.navigation {}

.heading_wrapper #sub_nav.navigation,
.heading_wrapper #exhibitions_nav.navigation,
.heading_wrapper .list_grid_control.navigation,
.heading_wrapper .subsection-navigation.navigation,
.heading_wrapper .news_filters_group.navigation {}

#sub_nav.navigation ul li,
#exhibitions_nav.navigation ul li,
.list_grid_control.navigation ul li,
.news_filters_group.navigation ul li {}

[id="sticky_sub_nav"] ul{
    /* fixing fontface shifted */
    transform: translateY(10%);
}


/* Content areas
    ----------------------------------------------------------- */

#main_content {
    padding-top: var(--section-spacing);
}

body.layout-hero-header.layout-fixed-header:not(.layout-hero-mode-inset):not(.layout-hero-header-aspect-ratio) #main_content{
    padding-top: var(--section-spacing);
}

#main_content h1 {}

#content {}

#content_module {}

#sidebar .caption,
.sidebar .caption {
    text-align: end;
    text-transform: uppercase;
    font-size: var(--caption-font-size);
    margin-top: 10px;
}

#footer {}

#footer #copyright {}

#footer a,
#footer a:visited {}


/* Hero headers
    ----------------------------------------------------------- */

#hero_header.hero-fixed-aspect-ratio .inner,
body.layout-hero-header.layout-hero-header-record-data #hero_header.hero-fixed-aspect-ratio>.inner,
body.layout-hero-header-record-data.layout-hero-header.layout-hero-header-record-data #hero_header.hero-fixed-aspect-ratio>.inner {
    right: 0;
}

#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 {}

.feature_panels .panel_hero .hero_heading .description {}

.feature_panels .panel_header {
    display: block;
    margin: 0 0 var(--heading-spacing);
    font-weight: 300;
}

.feature_panels .panel_header h2 {
    font-size: var(--medium-header-font-size);
    font-weight: inherit;
    margin-bottom: 0;
    line-height: 1.1;
}

.feature_panels .panel_image_text_adjacent .content h2 {
    font-size: var(--blockquote-font-size);
}

.feature_panels .panel_image_text_adjacent.panel_variant_2 .content {
    padding: 0 var(--section-spacing) 0 0;
}

.feature_panels_inner>ul>li {
    padding: var(--section-spacing) var(--container-padding);
    margin: 0;
    border-bottom: 1px solid var(--line-color);
    left: 50%;
    margin-left: -50vw;
    width: 100vw !important;
    box-sizing: border-box;
}
.feature_panels .panel_slider{
    position: relative;
}
/* clear fix for each section */
.feature_panels_inner>ul>li:after{
    clear: both;
    width: 100%;
    display: table;
    content: '';
}

.feature_panels_inner>ul>li:last-child {
    border-bottom: none;
}

.feature_panels_inner>ul>li.panel_hero{
    padding-top: 0;
    padding-bottom: 0;
    border: 0;
}

/* .feature_panels .records_list.record-count-1.grid_dynamic_layout_feature_panels:not(.feature_list)>ul>li {
    width: 60%;
}

.feature_panels .records_list.record-count-1 .image {
    width: 65%;
    margin: 0 auto;
}

.feature_panels .records_list.record-count-1 ul,
.feature_panels .records_list.record-count-1 .content {
    text-align: center;
}

.feature_panels .records_list.record-count-1 .content h2 {
    font-size: var(--small-header-font-size);
} */

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


/* Home
    ----------------------------------------------------------- */

/* Fullscreen slideshow ------------------------------------------------ */

.section-home.type-fullscreen #slideshow.slideshow_navigation_enabled ul li .content {
    padding-right: 0 !important;
}

.section-home #content:not(.no_homepage_slideshow) .feature_panels:not(.first_panel_full_bleed) {
    padding: 0;
    /* padding: 100px 0 0; */
}

.section-home .feature_panels .panel_content_alignment_center .image{
    float: none;
    display: block;
    margin: 0 auto;
    width: 640px;
}
.section-home .feature_panels .panel_content_alignment_center .fp_title{
    font-size: 60px;
    margin-bottom: var(--space-sm);
}
.section-home .feature_panels .panel_content_alignment_center .subtitle{
    margin-bottom: var(--space-lg);
}
.section-home .feature_panels .panel_content_alignment_center  .link{
    height: 40px;
    padding: 0 40px;
    background: black;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.section-home .feature_panels .panel_content_alignment_center  .link a{
    color: white;
    line-height: 1.2;
}

body.type-fullscreen.section-home .fullscreen_slideshow ul li.fullscreen-slide-image-dark .content .inner .date,
body.type-fullscreen.section-home .fullscreen_slideshow ul li.fullscreen-slide-image-dark .content .inner h2,
body.type-fullscreen.section-home .fullscreen_slideshow ul li.fullscreen-slide-image-dark .content .inner span,
body.type-fullscreen.section-home .fullscreen_slideshow ul li.fullscreen-slide-image-dark .content .inner h2 span,
body.type-fullscreen.section-home .fullscreen_slideshow ul li.fullscreen-slide-image-dark .content .inner h2 a{
    color: white;
}
body.type-fullscreen.section-home .fullscreen_slideshow ul li.fullscreen-slide-image-light .content .inner .date,
body.type-fullscreen.section-home .fullscreen_slideshow ul li.fullscreen-slide-image-light .content .inner h2,
body.type-fullscreen.section-home .fullscreen_slideshow ul li.fullscreen-slide-image-light .content .inner span,
body.type-fullscreen.section-home .fullscreen_slideshow ul li.fullscreen-slide-image-light .content .inner h2 span,
body.type-fullscreen.section-home .fullscreen_slideshow ul li.fullscreen-slide-image-light .content .inner h2 a{
    color: black;
}

.fullscreen_slideshow ul li .content .inner {
    text-align: center;
}

.fullscreen_slideshow ul li .content .inner .separator {
    display: none !important;
}

.fullscreen_slideshow ul li .content h2 {
    font-size: var(--large-header-font-size);
}

.fullscreen_slideshow ul li .content h2 .h1_subtitle {
    display: block !important;
    font-size: var(--list-heading-font-size);
    padding-top: 10px;
}

.fullscreen_slideshow ul li .content .inner .date {
    padding-top: 50px;
    font-size: 15px;
    letter-spacing: 0.05em;
}


/* Artists
    ----------------------------------------------------------- */
.page-artists .feature_panels .panel_hero{
    padding: 0;
    border: 0;
}
.page-artists .artist_list{
    margin-bottom: 30px;
}
.artist_list.records_list .content{
    letter-spacing: 0.05em;
}
.artist_list.records_list .content h2 {
    text-align: center;
    font-size: var(--artist-list-font-size);
    line-height: 2.3rem;
    font-family: var(--body-font-family);
    color: var(--body-color) !important;
    letter-spacing: 0.05em !important;
}

.subsection-artists-list .artist_list.records_list .content > *:last-child{
    margin-bottom: 0;
}

.subsection-artists-list #content > .subheading:first-child {
    padding-top: 0;
}
.subsection-artists-list .subheading {
    justify-content: center;
    position: relative;
    padding: var(--section-spacing) 0;
    margin: 0;
}
.subsection-artists-list .subheading:first-child::before {
    border-top: none;
}
.subsection-artists-list .subheading::before {
    content: "";
    border-top: 1px solid var(--lightgrey);
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
/* Control section spacing START */
.subsection-artist-detail-page .panel_exhibitions{
    padding-bottom: 0px; 
}
.subsection-artist-detail-page .panel_news{
    padding-bottom: 0px; 
}
.subsection-artist-detail-page .panel_works{
    padding-bottom: 0px; 
}
.subsection-artist-detail-page .panel_press{
    padding-bottom: 0px; 
}
.subsection-artist-detail-page .panel_publications{
    padding-bottom: 0px; 
}
.subsection-artist-detail-page .panel_art-fairs{
    padding-bottom: 0px; 
}
.subsection-artist-detail-page .panel_video{
    padding-bottom: 50px; 
}
/* Control section spacing END */
.subsection-artist-detail-page .feature_panels_inner>ul>li:first-child {
    padding-top: 0;
}
.subsection-artist-detail-page .panel_biography .subsection-biography{
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    position: relative;
}

.subsection-artist-detail-page .panel_biography .subsection-biography .content_module{
    float: none;
}
.subsection-artist-detail-page .panel_biography .subsection-biography .sidebar{
    float: none;
    position: sticky;
    top: 80px;
}


.subsection-artist-detail-page .panel_biography .subsection-biography .sidebar .image.restricted-image-container .object-fit-container{
    position: static;
}
.subsection-artist-detail-page .panel_biography .subsection-biography .sidebar .image.restricted-image-container .object-fit-container img{
    width: 100%;
    height: auto;
}

.subsection-artist-detail-page .panel_biography .subsection-biography .sidebar .image.restricted-image-container:before{
    display: none;
}
.subsection-artist-detail-page .panel_biography .subsection-biography .sidebar .image.restricted-image-container:after{
    display: none;
}

.subsection-artist-detail-page .panel_biography .content_module{
    margin-bottom: 0;
}
.subsection-artist-detail-page .panel_biography .subheading {
    display: none;
}
.subsection-artist-detail-page .subsection-works .records_list .content {
    text-align: center;
    text-transform: uppercase;
}
/* .subsection-artist-detail-page .panel_works .records_list.flow_list .flow_list_formatted ul{
    margin-top: var(--section-spacing);
} */
.subsection-artist-detail-page .panel_news .records_list.grid_dynamic_layout_news ul li .image::after{
    padding-top: 66.66%;
}
.subsection-artist-detail-page .panel_news .records_list.grid_dynamic_layout_news ul li img{
    object-fit: cover;
}
.subsection-artist-detail-page .panel_video .fluid-width-video-wrapper{
    margin-bottom: var(--space-md);
}

.subsection-artist-detail-page .panel_press .records_list .content h2{
    margin-top: 0;
}
.subsection-artist-detail-page .bio_with_quote.masked{
    max-height: 640px;
    overflow-y: hidden;
    position: relative;
}
.subsection-artist-detail-page .bio_with_quote.masked:after{
    position: absolute;
    bottom: 0;
    height: 10em;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 100%);
    display: flex;
    align-items: flex-end;
    content: 'Read more';
    cursor: pointer;
    z-index: 2;
    width: 100%;
    justify-content: center;
}



/* News
    ----------------------------------------------------------- */

body.section-latest-news .records_list.gd_image_spacing_100 > ul{
    margin-right: 0;
}
body.section-latest-news .records_list.gd_image_spacing_100:not(.flow_list) ul li{
    padding-right: 0;
}
body.section-latest-news .records_list.gd_image_cropping_uncropped > ul li img{
    margin-left: auto;
    margin-right: auto;
}


/* subsection news */
.subsection-news .records_list .content h2 {
    font-size: var(--list-heading-font-size);
}

/* latest news page */

.section-latest-news #main_content{
    padding-top: 0;
}

.section-latest-news .heading_wrapper {
    display: none;
}


.section-latest-news .feature_panels_inner > ul > li{
    padding-top: 0;
}
.section-latest-news .records_list.feature_list ul li {
    padding-top: var(--section-spacing);
    padding-bottom: var(--section-spacing);
    margin-bottom: 0;
}

.section-latest-news .records_list.feature_list ul li>a {
    flex-direction: row-reverse;
}

.section-latest-news .records_list.feature_list ul li .content {
    padding: 0 60px 0 0;
    width: 70%;
    align-self: flex-start;
}
.section-latest-news .records_list.feature_list ul li .content .description{
    margin-bottom: 0;
}

.section-latest-news .records_list.feature_list ul li .image {
    width: 30%;
}

.section-latest-news .records_list.feature_list ul li:first-child>a {
    border-top: none;
    padding-top: 0;
}

.section-latest-news .feature_panels_inner>ul>li::before {
    display: none;
}

.section-latest-news .records_list.feature_list ul li a::after {
    content: "";
    border-bottom: 1px solid var(--lightgrey);
    width: 100vw;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -50vw;
}

.section-latest-news .records_list.feature_list ul li:last-child a::after {
    display: none;
}

.section-latest-news .feature_panels_inner > ul{
    margin-bottom: 0;
}
.section-latest-news .feature_panels_inner > ul > li{
    padding-bottom: 0;
}


/* Exhibitions
    ----------------------------------------------------------- */


.section-exhibitions #main_content{
    padding-top: 0 !important;
}
.page-exhibitions .subsection-exhibitions-grid .records_list > ul > li .content .date{
    margin-bottom: 0;
}
.page-exhibitions .subsection-exhibitions-grid .subheading{
    margin-bottom: 0;
}
.page-exhibitions .subsection-exhibitions-grid .reveal-subnav-dropdown-list{
    display: flex;
    align-items: center;
    cursor: pointer;
    text-transform: uppercase;
    position: absolute;
    top: var(--section-spacing);
    right: 0;
}
.page-exhibitions .subsection-exhibitions-grid .reveal-subnav-dropdown-list .dropdown-arrow{
    top: -3px;
    left: 0;
    margin-left: 10px;
    vertical-align: middle;
}
.page-exhibitions .subsection-exhibitions-grid .records_list{
    margin-top: var(--heading-spacing);
}

.page-exhibitions #hero_header #hero_heading .subtitle{
    letter-spacing: 0.05em;
}

.page-exhibitions.fullscreen-slide-light #hero_header #hero_heading .title a,
.page-exhibitions.fullscreen-slide-light #hero_header #hero_heading .subtitle{
    color: black !important;
}
.page-exhibitions.fullscreen-slide-dark #hero_header #hero_heading .title a,
.page-exhibitions.fullscreen-slide-dark #hero_header #hero_heading .subtitle{
    color: white !important;
}
.page-exhibitions #hero_header #hero_heading .subtitle .subtitle_date{
    display: block;
}

.page-exhibitions .panel_works .flow_list_row .item .content{
    text-align: center;
    color: black;
    text-transform: uppercase;
    line-height: 1.6em;
}

.page-exhibitions .panel_works .flow_list_row .item .content .title,
.page-exhibitions .panel_works .flow_list_row .item .content .year{
    color: black;
    text-transform: uppercase;
}

.page-exhibitions.no-page-params .heading_wrapper {
    display: none;
}

.page-exhibitions.no-page-params .records_list.feature_list ul li {
    /* margin: 0; */
}

.page-exhibitions #exhibitions-grid-container .no-content-above .subsection-exhibitions-grid,
.page-exhibitions #exhibitions-grid-container #exhibitions-grid-current{
    /* padding-top: 50px; */
}

.page-exhibitions .feature_panels_inner>ul>li:first-child{
    padding-top: 0;
}

.page-exhibitions #scroll_section_overview .subheading {
    display: none;
}

.page-exhibitions .feature_panels .panel_hero{
    padding: 0;
    border: 0;
}

.page-exhibitions .panel_related_content .records_list ul li .image::after{
    padding-top: 66.66%;
}

.page-exhibitions .feature_panels .description.masked{
    max-height: 640px;
    overflow-y: hidden;
    position: relative;
}

.page-exhibitions .feature_panels .description.masked:after{
    position: absolute;
    bottom: 0;
    height: 10em;
    background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 100%);
    display: flex;
    align-items: flex-end;
    content: 'Read more';
    cursor: pointer;
    z-index: 2;
    width: 100%;
    justify-content: center;
}

/* .page-exhibitions .panel_overview .description > *:first-child{
    font-size: var(--blockquote-font-size);
    font-family: var(--header-font-family);
    line-height: 3.4rem;
    text-transform: uppercase;
    color: var(--text-primary);
    padding-left: 30px;
    border-left: 1px solid var(--primary-color);
    margin-bottom: 48px;
} */

#exhibitions-grid-container .subsection-exhibitions-grid{
    position: relative;
    padding: var(--section-spacing) 0 0;
    margin-bottom: 0;
}


#exhibitions-grid-container #exhibitions-grid-past.subsection-exhibitions-grid {
    position: relative;
}

.section-exhibitions #exhibitions_years_nav{
    margin: var(--heading-spacing) 0 0 ;
}
.section-exhibitions #exhibitions_years_nav.navigation ul {
    width: 100%;
    column-count: 9;
}

.section-exhibitions #exhibitions_years_nav.navigation ul li {
    width: 100%;
    margin: 10px 0 0 0;
}

#exhibitions-grid-current .feature_list ul li .content .link,
#exhibitions-grid-forthcoming .feature_list ul li .content .link,
#exhibitions-grid-forthcoming_featured .feature_list ul li .content .link {
    display: none;
}

.panel_overview .content_module{
    margin-bottom: 0;
}

.subsection-exhibition-detail-page{
    padding-top: var(--section-spacing);
}
.subsection-exhibition-detail-page .heading_wrapper .subtitle{
    margin: 0;
}

.subsection-exhibition-detail-page .panel_overview .subsection-overview {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    position: relative;
}
.subsection-exhibition-detail-page .panel_overview .subsection-overview .sidebar{
    position: sticky;
    top: 80px;
    float: none;
}
.subsection-exhibition-detail-page .panel_overview .subsection-overview .content_module{
    float: none;
}



/* -- Current exhibitions -- */

#exhibitions-grid-current:after {
    content: "";
    border-top: 1px solid var(--lightgrey);
    width: 100vw;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

#exhibitions-grid-current .records_list.feature_list ul li>a {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#exhibitions-grid-current .records_list.feature_list ul li .content {
    padding-left: 0;
    width: 100%;
    padding-top: 40px;
}

#exhibitions-grid-current .records_list.feature_list ul li .image {
    width: 100%;
    aspect-ratio: 4/2;
}

/* -- Upcoming exhibitions -- */

#exhibitions-grid-forthcoming .records_list.feature_list ul,
#exhibitions-grid-forthcoming_featured .records_list.feature_list ul {
    margin-right: -70px;
    width: auto;
}

#exhibitions-grid-forthcoming .records_list.feature_list ul li,
#exhibitions-grid-forthcoming_featured .records_list.feature_list ul li {
    display: inline-flex;
    width: 50%;
    padding-right: 70px;
}

#exhibitions-grid-forthcoming .records_list.feature_list ul li>a,
#exhibitions-grid-forthcoming_featured .records_list.feature_list ul li>a {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#exhibitions-grid-forthcoming .records_list.feature_list ul li .content,
#exhibitions-grid-forthcoming_featured .records_list.feature_list ul li .content {
    padding-left: 0;
    width: 100%;
    padding-top: 40px;
}

#exhibitions-grid-forthcoming .records_list.feature_list ul li .image,
#exhibitions-grid-forthcoming_featured .records_list.feature_list ul li .image {
    width: 100%;
}

#exhibitions-grid-forthcoming_featured::after,
#exhibitions-grid-forthcoming::after {
    content: "";
    border-top: 1px solid var(--lightgrey);
    width: 100vw;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}


.page-exhibitions .records_list.feature_list ul li:last-child{
    /* margin-bottom: 0; */
}


/* Art Fairs
    ----------------------------------------------------------- */
.section-art-fairs #main_content{
    padding-top: 0;
}
.section-art-fairs .event-list-header{
    margin: 0;
}
.section-art-fairs .subsection-events-grid .subheading{
    padding-top: var(--section-spacing);
}
.section-art-fairs .subsection-events-grid .records_list ul li .content .date{
    margin-bottom: 0;
}

.section-art-fairs .subsection-event-detail-page{
    padding-top: var(--section-spacing);
}
.section-art-fairs.no-page-params .h1_wrapper {
    display: none;
}




/* Press
    ----------------------------------------------------------- */
.page-press .layout-no-subnav .heading_wrapper{
    width: 100%;
    float: none;
}
.page-press .layout-no-subnav #content {
    display: flex;
    flex-direction: column-reverse;
}
.page-press .layout-no-subnav #content [id='content_module']{
    width: 100%;
    float: none;
}
.page-press .layout-no-subnav #content [id="sidebar"]{
    padding-left: 0;
    width: 100%;
    float: none;
}

/* Gallery / contact
    ----------------------------------------------------------- */

.section-gallery #main_content ,
.section-contact #main_content {
    /* padding-top: 100px; */
    padding-top: 0 !important;
}

.section-gallery [id="sidebar"],
.section-contact [id="sidebar"]{
    display: none;
}

.section-gallery #main_content h1 ,
.section-contact #main_content h1 {
    font-size: var(--large-header-font-size);
    text-align: center;
    float: none;
}

.section-gallery #main_content .heading_wrapper,
.section-contact #main_content .heading_wrapper{
    display: none;
}
.section-gallery #main_content .feature_panels,
.section-contact #main_content .feature_panels{
    /* margin-top: -100px; */
}

.section-gallery .feature_panels .panel_image_text_adjacent .content,
.section-contact .feature_panels .panel_image_text_adjacent .content{
    align-self: flex-start;
}

.section-gallery .feature_panels .panel_text .content .fp_title,
.section-contact .feature_panels .panel_text .content .fp_title{
    font-size: 60px;
}
.section-gallery .feature_panels .panel_text .content .subtitle,
.section-contact .feature_panels .panel_text .content .subtitle{
    letter-spacing: 0.05em;
}
.section-gallery .feature_panels .panel_text .content .description,
.section-contact .feature_panels .panel_text .content .description{
    letter-spacing: 0.05em;
    line-height: 1.4em;
}
.section-gallery .feature_panels .panel_text .content .link,
.section-contact .feature_panels .panel_text .content .link{
    font-size: 1em;
    line-height: 1.4em;
}
.section-gallery .feature_panels_inner>ul>li,
.section-contact .feature_panels_inner>ul>li{
    border-bottom: 0;
}


/* Publications
    ----------------------------------------------------------- */

.subsection-publication-record .author_and_year {
    font-size: var(--list-subheading-font-size);
    text-transform: uppercase;
}

.subsection-publication-record #content_module {
    display: flex;
    flex-direction: column;
}

.subsection-publication-record #content_module .prose {
    display: flex;
    flex-direction: column;
    order: -1;
}

.formats_list .formats_item,
.formats_list {
    border: none;
}

.formats_list .formats_item {
    display: flex;
    flex-wrap: nowrap;
    align-items: start;
    flex-direction: column;
}

.formats_list.formats_list_multiple .formats_item {
    font-size: var(--list-subheading-font-size);
    text-transform: uppercase;
    color: var(--text-primary);
}

.formats_list.formats_list_multiple .formats_item .format_description {
    line-height: 2em;
}



/* Store
    ----------------------------------------------------------- */

.section-store .subsection-store-list-page .store-header{
    margin-bottom: var(--heading-spacing);
}
.section-store .subsection-store-grid-publications .records_list > ul > li .content .description{
    display: none;
}
.section-store .subsection-store-grid-publications .records_list > ul > li .content .subtitle{
    margin-bottom: 0;
}

.section-store #hero_heading {
    text-align: center;
    background-color: #fff;
    color: black;
    display: flex;
    position: absolute;
    bottom: auto;
    left: 0;
    right: 0;
    /* top: 0; */
    /* margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw); */
}

.section-store #hero_heading .heading_wrapper {
    align-self: center;
    display: flex;
    width: 100%;
    margin: 80px 0;
    padding: 0 80px;
    box-sizing: border-box;
}

.section-store #hero_header.hero-fixed-aspect-ratio .inner {
    min-width: 100%;
    max-width: 100%;
}

.section-store #hero_heading .heading_wrapper h1.has_subtitle,
.section-store #hero_heading .heading_wrapper h1 {
    font-size: var(--large-header-font-size);
    margin: 0 0 40px;
}

.section-store #hero_heading .heading_wrapper .h1_wrapper,
.section-store #hero_heading .heading_wrapper .h1_wrapper .subtitle {
    min-width: 100%;
    padding: 0;
    color: black;
}

.section-store #hero_heading .subtitle_1 {
    font-size: var(--list-subheading-font-size);
    text-transform: uppercase;
    color: var(--grey);
}

.section-store #content_module {
    display: flex;
    flex-direction: column;
}

.section-store #content_module h2.description {
    order: -1;
    font-size: var(--small-header-font-size);
    padding-bottom: 40px;
}

.section-store .heading_wrapper .subtitle{
    float: none;
}

/* Hack for parallax hero banner START */
.device-handheld.page-store-publications .parallax-element-with-slideshow #hero_heading{
    display: flex;
}
.page-store-publications #main_content::before{
    height: 0 !important;
    min-height: 0 !important;
}
.page-store-publications #hero_header{
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    height: auto;
    padding-left: 0;
    padding-right: 0;
}
.page-store-publications #hero_header .inner{
    min-height: 0;
    height: auto;
    /* box-sizing: border-box; */
    padding-left: 0;
    padding-right: 0;
}
.page-store-publications #hero_header .inner #hero_heading{
    height: 320px;
    position: relative;
}
.page-store-publications #hero_header #slideshow{
    position: relative;
    width: 100%;
    height: 66vw;
}
.page-store-publications #hero_header #slideshow .image{
    visibility: visible;
    background-attachment: inherit;
    display: block !important;
}
/* Hack for parallax hero banner END*/


/* Viewing room
    ----------------------------------------------------------- */
.section-viewing-room .viewing_room-list-header{
    margin-bottom: var(--section-spacing);
}


/* About
    ----------------------------------------------------------- */



/* -----------------------------------------------------------
   Global Classes
----------------------------------------------------------- */

/* Records list
       Default styling for all content grids on the site
    ----------------------------------------------------------- */

.records_list {}

.records_list ul {}

.records_list ul li {}

.records_list>ul {
    margin-right: -70px;
}

.records_list>ul>li {
    padding-right: 70px;
    margin-bottom: var(--section-spacing);
}

.records_list ul li a,
.records_list ul li a:visited {}

.records_list ul li .image {}

.records_list .content {
    font-size: var(--list-subheading-font-size);
    line-height: 1.6em;
}

.records_list .content h2 {
    font-size: var(--list-heading-font-size);
    line-height: 1.4em;
    color: var(--text-primary);
    margin: 40px 0 20px;
}

.records_list .content .subtitle,
.records_list .content .date,
.records_list .content .location {
    font-size: var(--list-subheading-font-size);
    line-height: 1.5em;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.records_list .content .date{
    letter-spacing: 0.05em;
}

.records_list.gd_no_of_columns_3 .content h2 {
    font-size: var(--list-heading-font-size);
}

.records_list ul li .subtitle {
    margin: 0 0 5px;
}

.records_list .content .description {}

.records_list .content .location {}

.records_list .content .date {
    color: var(--grey);
}

.records_list ul li .content .title,
.records_list ul li .content .artist {
    font-size: var(--list-subheading-font-size);
    letter-spacing: 0.05em;
}

.records_list ul li .signed_and_dated,
.records_list ul li .dimensions,
.records_list ul li .medium {}

.records_list.feature_list ul li {
    margin: 0 0 var(--section-spacing) 0;
    position: relative;
}

.records_list.flow_list .flow_list_formatted ul {
    gap: 70px;
}
.records_list.flow_list .flow_list_formatted ul li{
    margin-bottom: var(--section-spacing);
}

.mini_list ul li .content h2 {
    font-size: 1.4rem;
    padding-right: 0;
    font-family: var(--body-font-family);
    color: var(--body-color);
}

#related_artists .records_list.mini_list ul li{
    margin-bottom: 20px;
}


/* Image list
       A grid of images with captions e.g. Artists list
    ----------------------------------------------------------- */

.image_list {}

.image_list ul {}

.image_list ul li {}

.image_list ul li .image {}

.image_list ul li .content {}


/* Detail list
       A grid which usually has an image beside preview text/content
    ----------------------------------------------------------- */

.detail_list {}

.detail_list ul {}

.detail_list ul li {}

.detail_list ul li .image {}

.detail_list ul li .content {}


/* Full list
       A grid where each item fills the full width of the page
    ----------------------------------------------------------- */

.full_list {}

.full_list ul {}

.full_list ul li {}

.full_list ul li .image {}


/* Feature list
       A grid with a single large featured item per row, image/text side by side 
    ----------------------------------------------------------- */

.feature_list {}

.feature_list ul {}

.feature_list ul li {}

.feature_list ul li .image {}

.feature_list ul li .content .date,
.feature_list ul li .content .subtitle {
    font-size: var(--list-subheading-font-size);
    letter-spacing: 0.05em;
}

.feature_list ul li .content .subtitle {
    border-bottom: none;
    padding: 0 0 10px;
    margin: 0;
}


/* link
       Basic text link usually used throughout the site
    ----------------------------------------------------------- */

.link {}

.link a {}

.link a,
.link a:visited {}

.link .read_more {
    background-color: var(--primary-color);
    color: var(--white);
    display: inline-block;
    padding: 8px 30px 6px 30px;
}

.buy.link a {
    background-color: var(--primary-color);
    color: var(--white);
    display: inline-block;
    padding: 8px 30px 6px 30px;
}

#image_gallery #content_module .enquire .link a {
    background-color: var(--primary-color);
    color: var(--white);
    display: inline-block;
    padding: 8px 30px 6px 30px;
}


/* Miscellaneous
       Common classes used throughout the site, generally on grids
    ----------------------------------------------------------- */

.description {}

.subtitle {}

.date {}

.price {}

.image {}

.caption {}

.divider {}





/* Fancybox ----------------------------------------- */

#popup_content #image_gallery #content_module h1 {
    margin-bottom: 20px;
}

/* .fancybox-type-image .fancybox-close::after, .fancybox-type-image .fancybox-prev span:after, .fancybox-type-image .fancybox-next span:after{
    color: white;
} */



/* Enquiry Form */
.form .form_row label, .form .form_row legend{
    width: 24%;
}
.form .form_row .form_content_area:not(.form_checkbox_container){
    width: 70%;
}
#contact_form .form:not(.form_layout_hidden_labels):not(.form_style_simplified) .button{
    margin-left: 28%;
}


/* prompt */
div.arprompt button.arpromptdefaultbutton{
    text-transform: uppercase;
}


/* header subnav height */
.heading_wrapper #sub_nav.subnav_wrapped.navigation{
    margin-top: 0;
}
.page_header_enable.scrolling-down .header-fixed-wrapper #header .inner, .page_header_enable.scrolling-down #header .inner{
    height: 80px;
    padding-top: 0;
    padding-bottom: 0;
}