/**
 * style.css
 *
Theme Name: Carleton University Art Gallery
 * Theme URI:   http://www.machine-agency.com
 * Author:      Machine
 * Author URI:  http://www.machine-agency.com
Description: Custom Theme for Carleton University Art Gallery
 * Version:     1.0
 * License:     GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Tags:        light
 * Text Domain: machine
 */


 /* ==========================================================================
    Typography
    ========================================================================== */

@font-face {
    font-family: 'relative-bold-pro';
    src: url('fonts/relative-bold-pro.eot');
    src: url('fonts/relative-bold-pro.eot?#iefix') format('embedded-opentype'),
         url('fonts/relative-bold-pro.woff2') format('woff2'),
         url('fonts/relative-bold-pro.woff') format('woff'),
         url('fonts/relative-bold-pro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'relative-book-pro';
    src: url('fonts/relative-book-pro.eot');
    src: url('fonts/relative-book-pro.eot?#iefix') format('embedded-opentype'),
         url('fonts/relative-book-pro.woff2') format('woff2'),
         url('fonts/relative-book-pro.woff') format('woff'),
         url('fonts/relative-book-pro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'relative-italic-pro';
    src: url('fonts/relative-italic-pro.eot');
    src: url('fonts/relative-italic-pro.eot?#iefix') format('embedded-opentype'),
         url('fonts/relative-italic-pro.woff2') format('woff2'),
         url('fonts/relative-italic-pro.woff') format('woff'),
         url('fonts/relative-italic-pro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'relative-medium-italic-pro';
    src: url('fonts/relative-medium-italic-pro.eot');
    src: url('fonts/relative-medium-italic-pro.eot?#iefix') format('embedded-opentype'),
         url('fonts/relative-medium-italic-pro.woff2') format('woff2'),
         url('fonts/relative-medium-italic-pro.woff') format('woff'),
         url('fonts/relative-medium-italic-pro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'relative-medium-pro';
    src: url('fonts/relative-medium-pro.eot');
    src: url('fonts/relative-medium-pro.eot?#iefix') format('embedded-opentype'),
         url('fonts/relative-medium-pro.woff2') format('woff2'),
         url('fonts/relative-medium-pro.woff') format('woff'),
         url('fonts/relative-medium-pro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

 body {
   color: #000;
   background: transparent;
   -webkit-font-smoothing: antialiased;
 	-moz-osx-font-smoothing: grayscale;
	font-family: 'relative-book-pro';
	font-weight: normal;
	font-style: normal;
 }

 section{
   padding: 4rem 0;
   width: 100%;
 }

.grid-container{
  max-width: 80rem;
}

.no-padding-bottom{
  padding-bottom: 0!important;
}

.no-padding-top{
  padding-top: 0!important;
}

@media only screen and (max-width: 39.9375em) {
  section{
    padding: 2rem 0;
  }
}

/* Headings */

h1{
	font-family: 'relative-medium-pro';
	font-weight: normal;
	font-style: normal;
	font-size: 68px;
    line-height: 76px;
}

h2{
	font-family: 'relative-book-pro';
	font-weight: normal;
	font-style: normal;
	font-size: 42px;
    line-height: 50px;
}

h2.medium{
  font-family: 'relative-medium-pro';
}

h3{
	font-family: 'relative-bold-pro';
    font-weight: normal;
    font-style: normal;
    font-size: 42px;
    line-height: 50px;
    margin-bottom: 0;
}

h4{
	font-family: 'relative-medium-pro';
	font-weight: normal;
	font-style: normal;
	font-size: 34px;
    line-height: 40px;
    margin-bottom: 0;
}

h5{
	font-family: 'relative-medium-pro';
	font-weight: normal;
	font-style: normal;
	font-size: 30px;
    line-height: 32px;
}

h6{
	font-family: 'relative-medium-pro';
	font-weight: normal;
	font-style: normal;
	font-size: 30px;
	line-height: 32px;
}

p{
	font-family: 'relative-book-pro';
	font-weight: normal;
	font-style: normal;
    font-size: 30px;
    line-height: 42px;
}

p.small,
.section--curated-by p{
    font-size: 24px;
    line-height: 32px;
}

.tour-date-text{
	font-size: 24px;
    line-height: 32px;
}

section.small p{
  font-size: 24px;
  line-height: 32px;
}

section.small p a{
  font-size: 24px;
  line-height: 32px;
}

.wp-block-column.small p,
.wp-block-column.small p a{
  font-size: 24px;
  line-height: 32px;
}

p a{
  font-size: 30px;
  line-height: 42px;
}

p.small a{
  font-size: 24px;
  line-height: 32px;
}

main li{
	font-family: 'relative-book-pro';
	font-weight: normal;
	font-style: normal;
  font-size: 30px;
  line-height: 42px;
}

main a{
	font-family: 'relative-book-pro';
	font-weight: normal;
	font-style: normal;
  font-size: 30px;
  line-height: 42px;
}

main p a,
main li a {
  color: #D71200;
  text-decoration: underline;
}

main p a:hover,
main li a:hover {
  color: #D71200;
  text-decoration: none;
}



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


  h1{
    font-size: 58px;
    line-height: 68px;
  }

  h2{
    font-size: 37px;
    line-height: 44px;
  }

  h3{
    font-size: 37px;
    line-height: 44px;
  }

  h4{
    font-size: 33px;
    line-height: 36px;
  }

  h5{
    font-size: 30px;
	line-height: 32px;
  }

  h6{
    font-size: 30px;
	line-height: 32px;
  }

  p{
    font-size: 26px;
    line-height: 36px;
  }

  p.small,
  .section--curated-by p{
    font-size: 24px;
    line-height: 32px;
  }

  .tour-date-text{
  	font-size: 24px;
      line-height: 32px;
  }

  section.small p{
	  font-size: 24px;
	  line-height: 32px;
  }

  section.small p a{
	  font-size: 24px;
	  line-height: 32px;
  }

  .wp-block-column.small p,
  .wp-block-column.small p a{
    font-size: 26px;
    line-height: 29px;
  }

  p a{
    font-size: 28px;
    line-height: 38px;
  }

  p.small a{
    font-size: 26px;
    line-height: 29px;
  }

  main li{
    font-size: 28px;
    line-height: 38px;
  }

  main a{
    font-size: 28px;
    line-height: 38px;
  }

}

@media only screen and (max-width: 640px){
  h1{
  	/*font-size: 48px;*/
   /* line-height: 61px;*/
    font-size: 36px;
    line-height: 40px;
  }

  h2{
  	font-size: 32px;
    line-height: 38px;
  }

  h3{
    font-size: 32px;
    line-height: 38px;
    margin-bottom: 0;
  }

  h4{
  	font-size: 30px;
    line-height: 34px;
    margin-bottom: 0;
  }

  h5{
	font-size: 26px;
    line-height: 32px;
  }

  h6{
	font-size: 26px;
    line-height: 32px;
  }

  p{
    font-size: 22px;
    line-height: 30px;
  }

  p.small,
  .section--curated-by p{
    font-size: 20px;
    line-height: 26px;
  }

  .tour-date-text{
	  font-size: 20px;
      line-height: 26px;
  }

  section.small p{
    font-size: 20px;
    line-height: 26px;
  }

  section.small p a{
    font-size: 20px;
    line-height: 26px;
  }

  .wp-block-column.small p,
  .wp-block-column.small p a{
    font-size: 20px;
    line-height: 26px;
  }

  p a{
    font-size: 22px;
    line-height: 30px;
  }

  p.small a{
    font-size: 20px;
    line-height: 26px;
  }

  main li{
  	font-family: 'relative-book-pro';
  	font-weight: normal;
  	font-style: normal;
    font-size: 22px;
    line-height: 30px;
  }

  main a{
  	font-family: 'relative-book-pro';
  	font-weight: normal;
  	font-style: normal;
    font-size: 22px;
    line-height: 30px;
  }

}


section.section.section--text-with-image h3{
  margin-bottom: 1rem;
  line-height: 1;
}

 /* Header */

 .site-header{
 	/* position: fixed; */
 	top: 0;
 	left: 0;
 	right: 0;
 	background-color: #fff;
 	z-index: 99;
 	transition: all 0.3s ease;
 }

 .site-header .menu{
 	transition: all 0.3s ease;
 	opacity: 0;
 	height: 0;
 }

 .site-header .menu.loaded{
 	opacity: 1;
 	height: auto;
 }

 .site-logo{
	 max-width: 10rem;
	 width: 10rem;
	 display: block;
 }

 .site-header.is-scrolled{
 	box-shadow: 0px 2px 10px rgba(0,0,0,0.5);
 }


  /* Sections */

  /* Impact Areas */


 .parallax-bg{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  bottom: -30%;
 }

 .section--impact{
   position: relative;
   overflow: hidden;
   padding: 14rem 0;
   margin-bottom: 4rem;
 }

 .section--impact .grid-x{
   position: relative;
   z-index: 10;
 }

 .section--impact h1,
 .section--impact p{
   color: #fff;
 }


 .search-form .input-group{
   margin: 0;
 }

 /* section alignment */

 /* main{
   max-width: 80rem;
   margin: 0 auto;
 }

 .alignfull{
     margin-left  : calc( -100vw / 2 + 100% / 2 );
     margin-right : calc( -100vw / 2 + 100% / 2 );
     max-width    : 100vw;
     width: 100vw;
 }

 .alignwide {
     margin-left  : auto;
     margin-right : auto;
     max-width    : 80rem;
 }

 .aligncenter {
     margin-left  : auto;
     margin-right : auto;
     max-width    : 60rem;
 }

 .alignright {
     max-width: 40rem;
     margin-left: auto;
 }

 .alignleft {
     max-width: 40rem;
 } */

 /* callouts */
 @media only screen and (max-width: 39.9375em) {
   .section--callouts .cell{
     padding-bottom: 2rem;
   }
 }

 .callout-image-wrapper{
   position: relative;
   padding: 3rem 1rem;
 }

 .callout-image-wrapper *{
   color: #fff;
 }

 .abs-link{
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   z-index: 15;
 }

 /* Slider */

 .swipe-slider .swipe-slide{
   padding: 6rem 0;
 }

 .swipe-slider .swipe-slide h2,
 .swipe-slider .swipe-slide p{
   color: #fff;
 }

 .section--slider{
   padding: 0;
   margin-bottom: 4rem;
 }

 button.slick-prev.slick-arrow {
     position: absolute;
     left: 0;
     top: 0;
     bottom: 0;
     z-index: 10;
     color: #fff;
     cursor: pointer;
     padding: 1rem;
 }

 button.slick-next.slick-arrow {
     position: absolute;
     right: 0;
     top: 0;
     bottom: 0;
     z-index: 10;
     color: #fff;
     cursor: pointer;
     padding: 1rem;
 }

 .hero-feature-background-video{
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   z-index: 1;
 }

 .hero-feature-overlay{
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background-color: rgba(0,0,0,0.5);
   z-index: 5;
 }

 @media only screen and (max-width: 40em){
   .hero-feature-background-video{
     display: none;
   }
 }

 .callout-image-wrapper{
   position: relative;
 }

 .callout-overlay{
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background-color: rgba(0,0,0,0.5);
   z-index: 5;
 }


 .callout-image-wrapper h2,
 .callout-image-wrapper p{
   position: relative;
   z-index: 10;
 }

 .callout-icon{
   margin-bottom: 1rem;
 }

 .impact-overlay{
 	position: absolute;
 	top: 0;
 	left: 0;
 	right: 0;
 	bottom: 0;
 	background-color: rgba(0,0,0,0.5);
 	z-index: 2;
 }


 main.main > h1,
 main.main > h2,
 main.main > h3,
 main.main > h4,
 main.main > h5,
 main.main > h6,
 main.main > p,
 main.main > ul,
 main.main > ol,
 main.main > blockquote,
 main.main > .wp-block-columns{
 	max-width: 80rem;
 	margin: 1rem auto;
 	padding: 0 1rem;
 }

 main.main > h1:last-child,
 main.main > h2:last-child,
 main.main > h3:last-child,
 main.main > h4:last-child,
 main.main > h5:last-child,
 main.main > h6:last-child,
 main.main > p:last-child,
 main.main > ul:last-child,
 main.main > ol:last-child,
 main.main > .wp-block-columns:last-child{
 	margin-bottom: 4rem;
 }

 main.main > h1:first-child,
 main.main > h2:first-child,
 main.main > h3:first-child,
 main.main > h4:first-child,
 main.main > h5:first-child,
 main.main > h6:first-child,
 main.main > p:first-child,
 main.main > ul:first-child,
 main.main > ol:first-child,
 main.main > .wp-block-columns:first-child{
 	margin-top: 1rem;
 	margin-bottom: 2rem;
 }

 .wp-block-spacer:not([style*="height"]){
   height: 4rem!important;
 }

 @media only screen and (max-width: 640px){
	 main.main > h1:last-child,
	 main.main > h2:last-child,
	 main.main > h3:last-child,
	 main.main > h4:last-child,
	 main.main > h5:last-child,
	 main.main > h6:last-child,
	 main.main > p:last-child,
	 main.main > ul:last-child,
	 main.main > ol:last-child,
	 main.main > .wp-block-columns:last-child{
	 	margin-bottom: 2rem;
	 }

	 main.main > h1:first-child,
	 main.main > h2:first-child,
	 main.main > h3:first-child,
	 main.main > h4:first-child,
	 main.main > h5:first-child,
	 main.main > h6:first-child,
	 main.main > p:first-child,
	 main.main > ul:first-child,
	 main.main > ol:first-child,
	 main.main > .wp-block-columns:first-child{
	 	margin-top: 2rem;
	 }

	 .wp-block-spacer{
	   height: 2rem!important;
	 }
 }

 figure.wp-block-image.size-large,
 figure.wp-block-image.size-full{
 	text-align: center;
 }

	figure.wp-block-image.size-full{
		max-width: 80rem;
		margin: 0 auto 1rem auto;
	}

 .dropdown.menu > li > a {
   padding: 0.7rem 1rem;
   font-weight: 700;
 }

 .dropdown.menu > li li a{
 	font-weight: 600;
 }

 .site-footer .menu{
 	justify-content: space-around;
 }

 .footer-menu{
	display: inline-block;
	vertical-align: top;
 }

 .footer-menu > li a{
 	padding: 0.5rem 0;
 }

 .footer-menu > li > a {
  font-family: 'relative-book-pro';
  font-weight: normal;
  font-style: normal;
 	color: #fff;
	font-size: 18px;
	padding: 0;
	line-height: 24px;
 }

 .footer-menu.bold > li > a{
   font-family: 'relative-bold-pro';
   font-weight: normal;
   font-style: normal;
 }

 .footer-menu > li li a{
 	font-weight: 600;
 	color: #fff;
 }

 .menu.footer-menu .is-active > a{
	 color: #fff;
 }

 .site-footer{
 	padding: 4rem 0;
	background-color: #1E1E1E;
 }

 .btn--menu {
	 cursor: pointer;
     border: none;
     position: absolute;
     top: 3rem;
     right: 0;
     display: inline-block;
     padding: 0;
     color: #000;
     text-transform: uppercase;
     background-color: transparent;
     -webkit-transition: all .2s cubic-bezier(.6,.2,.6,.9);
     -moz-transition: all .2s cubic-bezier(.6,.2,.6,.9);
     -o-transition: all .2s cubic-bezier(.6,.2,.6,.9);
     transition: all .2s cubic-bezier(.6,.2,.6,.9);
     z-index: 5;
	 display: flex;
	 align-items: center;
	 line-height: 1;
 }

 .btn--menu .bar {
     margin-top: 8px;
     margin-left: 4px;
 }

 .btn--menu .bar,
 .btn--menu .bar:before,
 .btn--menu .bar:after {
     position: relative;
     display: inline-block;
     vertical-align: middle;
     width: 23px;
     height: 4px;
	 border-radius: 5px;
     background-color: #000;
     -webkit-transition: all .2s cubic-bezier(.6,.2,.6,.9);
     -moz-transition: all .2s cubic-bezier(.6,.2,.6,.9);
     -o-transition: all .2s cubic-bezier(.6,.2,.6,.9);
     transition: all .2s cubic-bezier(.6,.2,.6,.9);
 }

 .btn--menu .bar:before, .btn--menu .bar:after {
     content: '';
     position: absolute;
     left: 0;
 }

 .btn--menu .bar:before {
     top: -8px;
 }

 .btn--menu .bar:after {
     bottom: -8px;
 }

 .btn--menu.is-active .bar:after {
     bottom: 0;
     -webkit-transform: rotate(45deg);
     -moz-transform: rotate(45deg);
     -o-transform: rotate(45deg);
     -ms-transform: rotate(45deg);
     transform: rotate(45deg);
 }

 .btn--menu.is-active .bar:before {
     top: 0;
     -webkit-transform: rotate(-45deg);
     -moz-transform: rotate(-45deg);
     -o-transform: rotate(-45deg);
     -ms-transform: rotate(-45deg);
     transform: rotate(-45deg);
 }

 .btn--menu.is-active .bar,
 .btn--menu.is-active:hover .bar,
 .btn--menu.is-active:focus .bar {
     background-color: transparent;
     -webkit-transition-delay: 0s;
     -moz-transition-delay: 0s;
     -o-transition-delay: 0s;
     transition-delay: 0s;
 }

 .btn--menu:focus{
 	outline: none;
 }

.btn--menu span{
	font-family: 'relative-medium-pro';
	font-weight: normal;
	font-style: normal;
	font-size: 36px;
	padding-right: 0.5rem;
	display: inline-block;
	text-transform: none;
}

.menu-wrapper-header{
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	transform: translateX(100%);
	background-color: #fff;
	z-index: 9;
	width: 33rem;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
}

.menu-wrapper-header.transition{
	transition: all 0.4s ease;
}

.drilldown .is-drilldown-submenu {
    -webkit-transition: -webkit-transform 0.4s ease!important;
    transition: -webkit-transform 0.4s ease!important;
    transition: transform 0.4s ease!important;
    transition: transform  0.4s ease, -webkit-transform 0.4s ease!important;
	padding-left: 2rem;
	width: calc(100% + 2rem)!important;
	max-width: calc(100% + 2rem)!important;
	margin-top: -15px;
    min-height: calc(100% + 15px);
}



.drilldown .is-drilldown-submenu.is-closing{
	-webkit-transition: -webkit-all 0.75s ease!important;
    transition: -webkit-all 0.75s ease!important;
    transition: all 0.75s ease!important;
    transition: all  0.75s ease, -webkit-transform 0.75s ease!important;
}

.drilldown .is-drilldown-submenu.is-closing{
    transform: none!important;
}

.secondary-nav-wrapper {
    padding: 2.5rem 2rem;
}

.menu-wrapper-header.is-open{
	transform: translateX(0);
	overflow: auto;
	height: 100vh;
}

.menu.drilldown > li:first-child{
	margin-top: 2.5rem;
	/* position: relative; */
}

.menu.drilldown .submenu > li:first-child{
	margin-top: -2.4rem;
}

.menu.drilldown > li:first-child:before{
	position: absolute;
	left: 0;
	right: 0;
	content: "";
	width: 100%;
	height: 1px;
	background-color: #D71200;
  transition: all 0.3s ease;
}

.drilldown a{
  background: transparent;
}

.menu.drilldown li a{
	padding-left: 0;
	padding-right: 0;
}


 @media only screen and (max-width: 1080px){
 	.dropdown.menu > li > a {
 	    padding: 0.7rem 0.5rem;
 	    font-weight: 700;
 	}
 }

 @media only screen and (max-width: 1024px){
 	ul.menu.right.drilldown{
 	    float: none;
 	    display: block;
 		padding-top: 6rem;
 	}

 	ul.menu.right.drilldown:focus,
 	ul.menu.right.drilldown *:focus{
 		outline: none!important;
 	}

 	.is-drilldown li {
     	display: block;
     	position: static;
 	}


 }


.menu .is-active > a {
 background: transparent;
 color: #1E1E1E;
}

 .site-header .menu.right{
   justify-content: flex-end;
 }

.search-form{
	/* display: none; */
}

.site-header .grid-container{
	position: relative;
}

.secondary-nav-wrapper .menu{
	display: block;
}

.icon-search{
	width: 2rem;
}

.site-header .main-nav.menu li:first-child a{
	padding-left: 0;
}

.main-nav{
	padding-top: 2rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #D71200;
}


.main-nav li a{
	font-family: 'relative-medium-pro';
	font-weight: normal;
	font-style: normal;
	font-size: 36px;
}


.site-header{
	padding-top: 2rem;
}

.pre-header{
	background-color: #D71200;
	padding: 0.5625rem 1rem;
	text-align: center;
}

.pre-header *{
	color: #fff;
	margin: 0;
}

.pre-header a:hover{
	text-decoration: none;
	color: #fff;
}

.pre-header a{
	text-decoration: underline;
}

.header-logo-text{
	color: #D71200;
	font-family: 'relative-medium-pro';
	font-weight: normal;
	font-style: normal;
	font-size: 22px;
  line-height: 26px;
	padding-left: 2rem;
	position: absolute;
	left: 12rem;
  top: -8px;
}

@media only screen and (max-width: 1024px){
  .header-logo-text{
    padding-left: 0;
  }
}

.logo-and-text{
	display: flex;
	align-items: center;
}

.submenu{
	margin-left: 0;
}

.drilldown *:focus{
	outline: none!important;
}

.menu-wrapper-header .btn--menu{
	cursor: pointer;
    right: 2rem;
    top: 3rem;
}

@media only screen and (max-width: 1024px){
	.menu-wrapper-header .btn--menu{
		top: 2.5rem;
	}
}


.js-drilldown-back{
	border-bottom: 1px solid #D71200;
}

.js-drilldown-back:hover{
  /* opacity: 0.6; */
  transition: all 0.3s ease;
}

.is-drilldown{
	width: 100%!important;
	max-width: 100%!important;
}

.site-footer .submenu{
	display: none;
}

.site-footer p{
  color: #fff;
 	font-size: 18px;
 	padding: 0;
 	line-height: 24px;
}

.social-nav li{
	width: calc(42px + 1rem);
	padding-left: 1rem;
}

.social-nav{
	display: flex;
	justify-content: flex-end;
	list-style: none;
	margin-top: 3rem;
}

.mail-subscribe input[type="text"],
.mail-subscribe button{
	background-color: transparent;
	border: 2px solid #fff;
	border-radius: 5px;
	color: #fff;
	box-shadow: none!important;
  height: auto;
}

.mail-subscribe button{
	padding: 0.6rem 1rem;
    margin-left: 1rem;
    cursor: pointer;
    text-transform: capitalize;
    line-height: 1;
    height: auto;
    align-self: flex-start;
	font-family: 'relative-medium-pro';
  font-size: 37px;
}

.site-footer .mail-subscribe button{
  font-size: 20px;
  padding-bottom: 0.75rem;
}

.mail-subscribe form{
	display: flex;
}

.section--subscription .mail-subscribe button{
	border: 2px solid #D71200;
	color: #D71200;
  padding-bottom: 0.75rem;
}

.section--subscription .mail-subscribe button:hover{
    color: #fff;
}

.section--subscription .mail-subscribe input[type="text"]{
	border: 2px solid #D71200;
	color: #D71200;
  padding: 1.1rem;
  height: auto;
}

.site-footer .mail-subscribe input[type="text"]{
  padding: 0.55rem;
}

.section--subscription .mail-subscribe{
	margin-top: 2rem;
}

.footer-link{
	color: #fff;
	text-decoration: underline;
	font-family: 'relative-book-pro';
	font-weight: normal;
	font-style: normal;
  font-size: 18px;
}

.footer-link:hover{
	color: #fff;
	text-decoration: none;
}

.red-link{
	color: #D71200;
	text-decoration: underline;
	font-family: 'relative-book-pro';
	font-weight: normal;
	font-style: normal;
}

.red-link:hover{
	color: #D71200;
	text-decoration: none;
}

.pre-footer{
	position: relative;
	padding-bottom: 2rem;
	margin-bottom: 2rem;
  overflow: hidden;
}

.pre-footer:after{
	content: "";
	position: absolute;
	bottom: 0;
	left: 1rem;
	right: 1rem;
	height: 1px;
	width: calc(100% - 2rem);
	background-color: #fff;
}

.section--callouts h4.subtitle{
	margin-bottom: 3rem;
}

.section--callouts .cell{
	padding-bottom: 2rem;
}

.section--callouts .cell:last-child{
	padding-bottom: 0;
}

.callout-title{
	color: #D71200;
	font-family: 'relative-medium-pro';
	margin-bottom: 1rem;
}

.callout-text{
	font-family: 'relative-bold-pro';
	font-size: 26px;
	line-height: 32px;
}

.text-center > .callout-text-thin{
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.dark-titles .callout-title{
  color: #000;
}

.callout-text span{
	font-family: 'relative-book-pro';
	display: block;
	font-size: 22px;
	margin-top: 0.5rem;
}

.button{
	background-color: transparent;
	font-family: 'relative-bold-pro';
	font-size: 24px;
	transition: all 0.3s ease;
	border-radius: 5px;
	padding: 0.5rem 1rem 0.6rem 1rem;
	margin: 0;
}

.button:hover,
.button:focus{
	background-color: transparent;
	opacity: 1;
}

.section--callouts + .section--callouts{
	padding-top: 0;
}

.front-page-exhibitions + .section--callouts{
    padding-top: 0;
}

.red{
	color: #D71200;
}

.footer-hours p span{
	float: right;
}

.footer-hours p{
  margin: 0;
}

.site-footer .footer-hours p{
	margin: 0;
	font-size: 18px;
}

.footer-hours br{
	display: none;
}

.footer-logos{
	display: flex;
	justify-content: space-between;
	padding-top: 1rem;
}

.footer-logos img{
	max-width: 30%;
	max-height: 4rem;
}

.logo-group-title{
	margin-top: 2rem;
}

p.footer-address{
	font-size: 18px;
}

.footer-logos img:first-child{
	max-width: 25%;
}

@media only screen and (max-width: 1024px){
	.footer-logos img:first-child{
		max-width: 20%;
	}
}

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

}

@media only screen and (max-width: 1180px){
  p.footer-address{
  	font-size: 17px;
  }
}

img.footer-cuag {
    margin-top: 7px;
    width: 150px;
	margin-bottom: 1rem;
}

.drilldown.menu > li a {
  font-size: 36px;
}

.drilldown.menu > li.bold a{
	font-family: 'relative-bold-pro';
}

.menu-overlay{
	transition: all 0.3s ease;
	z-index: 5;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
}

body.menu-open .menu-overlay{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(255,255,255,0.5);
	cursor: pointer;
	pointer-events: all;
	z-index: 999999999;
}

.news-block{
	position: relative;
}

.abs-link{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.pagination{
	display: flex;
	align-items: center;
	justify-content: center;
}

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

	.footer-cuag{
		max-width: 12rem;
	}

	.site-footer .cell.medium-12.large-4{
		padding-top: 4rem;
	}

	.pre-footer:after{
		width: calc(100% - 2rem);
	}

	.social-nav {
	  display: flex;
		margin-left: 0;
	}

	.social-nav li{
		padding-left: 0;
		padding-right: 1rem;
	}

	.main-nav li a {
		font-family: 'relative-medium-pro';
		font-weight: normal;
		font-style: normal;
		font-size: 20px;
		line-height: 30px;
		padding: 0.5rem 0.5rem;
	}

	.btn--menu span{
		font-size: 16px;
		line-height: 20px;
	}

	.btn--menu .bar {
		margin-top: 0px;
		margin-left: 4px;
	}

	.btn--menu .bar, .btn--menu .bar:before, .btn--menu .bar:after{
		height: 3px;
	}

	.btn--menu .bar:before {
		top: -6px;
	}

	.btn--menu .bar:after {
		bottom: -6px;
	}

	.btn--menu {
		cursor: pointer;
		border: none;
		position: absolute;
		height: 2rem;
		top: 2rem;
	}

	#sticky-trigger {
	    margin-top: 1rem;
	}

	.main-nav {
		padding-top: 1rem;
		padding-bottom: 0.5rem;
		border-bottom: 1px solid #D71200;
	}

	.icon-search {
	    width: 1.5rem;
	}

	.site-logo {
	    max-width: 6rem;
	    width: 6rem;
	    display: block;
	}

	.menu-wrapper-header{
		width: 100%;
		left: 0;
		box-shadow: none;
	}
}

@media only screen and (max-width: 640px){
  .btn--menu {
    cursor: pointer;
    border: none;
    position: absolute;
	height: 2rem;
    top: 1.2rem;
  }

	.pre-header{
		display: none;
	}

	.header-logo-text{
		display: none;
	}

	.main-nav {
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
	}

	.drilldown.menu > li a {
	  font-size: 26px;
	}

	.drilldown a {
	    padding: 0.5rem;
	}

	.drilldown li:first-child a{
		padding-top: 1rem;
	}

	.submenu li:nth-child(2) a{
		padding-top: 1rem;
	}
}

.section--subscription{
	padding: 0;
}

.section--subscription .grid-container{
	max-width: 50rem;
}

.section--text-with-image p.subtitle{
	margin: 0;
  font-family: 'relative-bold-pro';
  font-size: 26px;
  line-height: 32px;
}

.section--text-with-image p{
  font-size: 26px;
  line-height: 32px;
}

.section--icon-columns img{
	display: block;
	margin: 0 auto 1rem auto;
	height: 4rem;
}

.section--icon-columns p{
	margin: 0;
}

.section--icon-columns h5{
  margin: 0;
}

@media only screen and (max-width: 1024px){
  .icon-wrapper {
    min-height: inherit;
  }
}

.section--icon-columns{
	padding-bottom: 2rem;
}

.section--icon-columns .cell{
	padding-bottom: 4rem;
}

.icon-wrapper{
	min-height: 5rem;
}

.icon-title-wrapper{
	min-height: 4rem;
}

.back-button img{
	max-width: 2rem;
	margin-right: 1rem;
}

.section--single-intro h1{
	color: #D71200;
	margin-top: 2rem;
}

.featured-image{
	max-width: 82rem;
	margin: 2rem auto 1rem auto;
}

.featured-image img{
	margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.featured-image p{
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  font-size: 20px;
  line-height: 28px;
}

.single-exhibition main.main > p,
.single-post main.main > p,
.single-collection main.main > p,
.single-event main.main > p,
.single-column main.main > p{
	max-width: 50rem;
}

.single-column main.main > h3,
.single-column main.main > h4,
.single-column main.main > h5,
.single-column main.main > h6{
  max-width: 50rem;
}

.single-exhibition main.main > h3,
.single-exhibition main.main > h4,
.single-exhibition main.main > h5,
.single-exhibition main.main > h6{
  max-width: 50rem;
}

.section--single-intro{
	padding-bottom: 1rem;
  padding-top: 1rem;
}

.sponsor-logos{
	list-style: none;
	margin: 0;
	display: flex;
	padding-top: 3rem;
}

.sponsor-logos li img{
	height: 5rem;
}

.sponsor-logos li{
	padding-right: 4rem;
}

.post-block p.title{
	font-family: 'relative-bold-pro';
}

.section--exhibitions{
	padding-bottom: 2rem;
	padding-top: 0;
}

.section--exhibitions ~ .section--exhibitions{
	padding-top: 0;
}

.section--exhibitions .cell{
	padding-bottom: 4rem;
}

.page-heading h1{
	color: #D71200;
	margin-top: 1rem;
}

.section--exhibition-archive{
	padding-top: 0;
}

.section--exhibition-archive .cell{
	padding-bottom: 2rem;
}

.grid-padding-x.text-center{
	justify-content: center;
}

main.main .wp-block-spacer + h1,
main.main .wp-block-spacer + h2,
main.main .wp-block-spacer + h3,
main.main .wp-block-spacer + h4,
main.main .wp-block-spacer + h5,
main.main .wp-block-spacer + h6{
	margin-top: 0;
}

main.main h1 + .wp-block-spacer,
main.main h2 + .wp-block-spacer,
main.main h3 + .wp-block-spacer,
main.main h4 + .wp-block-spacer,
main.main h5 + .wp-block-spacer,
main.main h6 + .wp-block-spacer{
	margin-top: -1rem;
}

.paginated-list{
	padding-bottom: 4rem;
}

.paginated-list .load-more{
	margin-top: 2rem;
}

.news-block.publication h5 a{
	font-family: 'relative-bold-pro';
    font-size: 34px;
	padding-top: 1rem;
	padding-bottom: 2rem;
	display: block;
}

.section--single-intro + h1.red,
.section--single-intro + h2.red,
.section--single-intro + h3.red,
.section--single-intro + h4.red,
.section--single-intro + h5.red,
.section--single-intro + h6.red{
	margin-bottom: 3rem!important;
}

.section--single-intro + h1.red + .wp-block-buttons,
.section--single-intro + h2.red + .wp-block-buttons,
.section--single-intro + h3.red + .wp-block-buttons,
.section--single-intro + h4.red + .wp-block-buttons,
.section--single-intro + h5.red + .wp-block-buttons,
.section--single-intro + h6.red + .wp-block-buttons{
    padding-top: 0;
    margin-top: -1.5rem;
}

@media only screen and (max-width: 640px){
    .section--single-intro + h1.red + .wp-block-buttons,
    .section--single-intro + h2.red + .wp-block-buttons,
    .section--single-intro + h3.red + .wp-block-buttons,
    .section--single-intro + h4.red + .wp-block-buttons,
    .section--single-intro + h5.red + .wp-block-buttons,
    .section--single-intro + h6.red + .wp-block-buttons{
        padding-top: 0;
        margin-top: 0;
    }
}

.parent-page-link{
	padding-top: 1rem;
}

.parent-page-link + section{
	margin-top: -3rem;
}

.section--staff .social-nav{
	justify-content: flex-start;
	margin-left: 0;
}

.section--staff .social-nav li{
	padding-left: 0;
	padding-right: 1rem;
  width: calc(57px + 1rem);
}

.staff-block img{
	width: 100%;
  margin-bottom: 2rem;
}

.staff-block{
	padding-bottom: 4rem;
}

.staff-block p.position{
	font-family: 'relative-medium-pro';
}

.staff-block *{
	margin: 0;
}

.staff-block a{
	color: #D71200;
  text-decoration: underline;
}

.staff-block a:hover{
  text-decoration: none;
}

.staff-grid{
	padding-top: 2rem;
}

.section--exhibition-details .grid-container > h3:first-child,
.section--event-details .grid-container > h3:first-child{
	margin-top: 0;
}

.section--exhibition-details .grid-container > h3,
.section--event-details .grid-container > h3{
	margin-top: 4rem;
}

.section--exhibition-details .callout-text,
.section--event-details .callout-text{
	margin-top: 1rem;
}

.section--exhibition-details .grid-x,
.section--event-details .grid-x{
	padding-top: 2rem;
}

.section--exhibition-details .cell .news-block,
.section--event-details .cell .news-block{
	padding-bottom: 2rem;
}


.section--exhibition-details .cell:last-child .news-block,
.section--event-details .cell:last-child .news-block{
	padding-bottom: 0;
}

.section--exhibition-details ul.gallery,
.section--event-details ul.gallery{
	padding-top: 2rem;
	list-style: none;
	margin: 0 -1rem;
	display: flex;
	flex-wrap: wrap;
}

.section--exhibition-details ul.gallery li,
.section--event-details ul.gallery li{
	width: 25%;
	text-align: center;
	padding: 0 1rem 0 1rem;
	margin-bottom: 2rem;
}

.tour-date-title{
	font-family: 'relative-bold-pro';
	font-size: 24px;
	line-height: 28px;
}

.list-accessibility{
	text-align: center;
	width: 25%;
}

.list-accessibility p{
	font-family: 'relative-medium-pro';
	font-size: 26px;
	line-height: 32px;
}

.wp-block-image figcaption{
	text-align: left;
	margin-bottom: 0!important;
}

.wp-block-column .wp-block-image{
	margin-top: 1rem;
}


/* .search-box-container {
  position: relative;
  display: flex;
  justify-content: flex-end;
}
.search-box {
    position: relative;
    z-index: 1;
	box-shadow: none;
}

.search-box input[type="text"] {
  border: none;
  background: none;
  z-index: 1;
  width: 25px;
  height: 25px;
  transition: all .25s ease-in .25s;
  color: transparent;
  font-size: .75rem;
  line-height: 25px;
  box-shadow: none;
}
.search-box input[type="text"]:hover {
  cursor: pointer;
}
.search-box input[type="text"]:hover:focus {
  cursor: text;
}
.search-box input[type="text"]:hover + span {
  background: rgba(255, 255, 255, 0.2);
}
.search-box input[type="text"]:focus {
  width: 200px;
  padding: 0 10px;
  outline: none;
  background: none;
  color: black;
  box-shadow: none;
}
.search-box input[type="text"]:focus + span {
  width: 200px;
}
.search-box input[type="text"]:focus + span::before {
  width: 2px;
  opacity: 0;
  transition: all .25s ease-in;
}
.search-box input[type="text"] + span {
  z-index: -1;
  position: absolute;
  border: 3px solid black;
  top: 0;
  width: 25px;
  height: 25px;
  transition: all .25s ease-in .25s;
  border-radius: 25px;
  left: 0;
}
.search-box input[type="text"] + span::before {
  transition: width .25s ease-in .5s;
  transition-property: width, opacity;
  transform-origin: left top;
  content: '';
  position: absolute;
  width: 13px;
  height: 3px;
  border-radius: 5px;
  background: black;
  left: 0;
  transform: rotate(45deg) translate(26px, -2px);
} */

.article--result{
	padding-bottom: 3rem;
}

.section--staff .social-nav{
	margin-top: 1rem;
}

.post-block p.title {
	margin-top: 1rem;
}

.section--exhibitions h3 + h4{
  margin-bottom: 4rem;
}

.page-heading h1{
	 margin-top: 1rem;
}

.main-nav li a{
	position: relative;
  padding: 0.7rem 1.2rem;
}

/* .main-nav li a:before {
    content: "";
    position: absolute;
    bottom: -2px;
    width: 0px;
    height: 2px;
    margin: 2px 0 0;
    transition: all 0.3s ease-in-out;
    transition-duration: 0.3s;
    opacity: 0;
    background-color: #1E1E1E;
	left: 0;
}

.main-nav li a:hover:before {
    left: 0;
    width: 100%;
    opacity: 1;
} */

.is-drilldown li a{
	transition: all 0.3s ease;
}

.is-drilldown li a:hover{
	/* opacity: 0.6; */
}

.footer-menu a,
.social-nav li{
	transition: all 0.3s ease;
}

.footer-menu a:hover{
	/* opacity: 0.6; */
}

.social-nav li:hover{
	/* opacity: 0.6; */
}

.page-template-template-events .paginated-list .cell:not(.year-heading){
	padding-bottom: 2rem;
}

@media only screen and (max-width: 1024px){
	.section--exhibition-details ul.gallery li, .section--event-details ul.gallery li {
	    width: 50%;
		padding: 0 0.5rem 0 0.5rem;
		margin-bottom: 1rem;
	}

	.section--exhibition-details .grid-container > h5, .section--event-details .grid-container > h5 {
	    margin-top: 2rem;
	}

	.section--exhibition-details ul.gallery, .section--event-details ul.gallery {
	    margin: 0 -0.5rem;
		padding-top: 1rem;
	}

	.sponsor-logos li {
	    padding-right: 2rem;
	}

	.sponsor-logos{
		padding-top: 1rem;
	}

	.section--exhibition-details .grid-x, .section--event-details .grid-x {
	    padding-top: 1rem;
	}
}

@media only screen and (max-width: 640px){
	.main-nav li a:before{
		content: none;
	}

	.callout-text {
	    font-family: 'relative-bold-pro';
	    font-size: 22px;
	    line-height: 28px;
	}

	.callout-text span {
	    font-size: 18px;
	}

	.page-heading h1{
		 margin-top: 1rem;
	}

	.search-box input[type="text"] {
	    width: 20px;
	    height: 20px;
	}

	.search-box input[type="text"] + span {
	    width: 20px;
	    height: 20px;
	}

	.search-box input[type="text"] + span::before {
	    width: 8px;
	    height: 3px;
	    transform: rotate(45deg) translate(21px, -2px);
	}

	.footer-hours p {
	    font-size: 16px;
	}

	.footer-menu > li > a {
	    font-size: 18px;
	}

	.site-footer p {
	    color: #fff;
	    font-size: 18px;
	}

	.section--exhibitions .button{
		margin: 0;
	}

	.post-block p.title {
	    font-size: 18px;
		margin-top: 1rem;
	}

	.featured-image{
		padding: 0;
	}

	.parent-page-link + section{
		margin-top: -1rem;
	}

	.parent-page-link {
	    padding-top: 2rem;
	}

	.wp-block-column{
		padding-bottom: 1rem;
	}

	.wp-block-column:last-child{
		padding-bottom: 0;
	}

	main.main > .wp-block-columns{
		margin: 0;
	}

	.wp-block-column .wp-block-image{
		margin-top: 0;
	}

	.icon-title-wrapper {
	    min-height: inherit;
		margin: 1rem 0;
	}

	.icon-wrapper{
		min-height: inherit;
	}

	.site-footer .social-nav{
		margin-top: 2rem;
	}

	li.list-accessibility{
		width: 50%;
		padding-right: 0;
		padding-top: 1rem;
	}

	.accessibility-icons{
		flex-wrap: wrap;
	}
}

/* animations */

.simple-fade{
  opacity: 0;
}

.animated-image{
  position: relative;
}

/* .image-animation-mask{
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #fff;
  z-index: 2;
} */

/* .section--icon-columns .cell{
  opacity: 0;
} */

.button{
  transition: all .3s;
  position: relative;
  overflow: hidden;
  border: none;
}

.button:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  border-radius: 5px;
  z-index: -2;
}
.button:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #D71200;
      border-radius: 5px;
  transition: all .3s;
  z-index: -1;
}
.button:hover {
  color: #fff;
}
.button:hover:before {
  width: 100%;
}

/* .animate-text-lines{
  -webkit-text-rendering: optimizeSpeed;
  text-rendering: optimizeSpeed;
  -webkit-transform: translateZ(0);
  letter-spacing: 0px!important;
  font-kerning: none;
  box-sizing: border-box;
}

.animate-text-lines,
.animate-text-lines *{
  box-sizing: border-box!important;
} */

.ts-line{
  overflow: hidden;
  display: inline;
  line-height: inherit;
}

body{
  opacity: 0;
  transition: all 0.3s ease;
}

body.loaded{
  opacity: 1;
}

.site-footer .footer-hours p.current-day{
    color: #D71200;
    font-family: 'relative-medium-pro';
    font-weight: normal;
    font-style: normal;
}

/* Review */

/* desktop review */

.drilldown .js-drilldown-back > a::before{
  border: none!important;
  width: 20px;
  height: 15px;
  background-image: url(img/cuag-arrow-left.svg);
  background-position: center center;
  background-size: contain;
  border-color: transparent!important;
  background-repeat: no-repeat;
}

.drilldown .is-drilldown-submenu-parent > a::after{
	border: none!important;
    width: 20px;
    height: 22px;
    line-height: 1;
    content: "+";
    border-color: transparent!important;
    background-repeat: no-repeat;
    right: 0;
    position: relative;
    display: inline;
    margin-left: 1rem;
}

.is-submenu-parent-item a {
    color: #D71200!important;
    font-weight: 600;
}

.custom-grid-1{
  width: 20%;
}

.custom-grid-2{
  width: 25%;
}

.custom-grid-3{
  width: 55%;
}

@media only screen and (max-width: 1170px){
  .custom-grid-1{
    width: 20%;
  }

  .custom-grid-2{
    width: 27%;
  }

  .custom-grid-3{
    width: 53%;
  }
}

.footer-hours-title{
  margin: 0;
  font-family: 'relative-medium-pro';
  font-weight: normal;
  font-style: normal;
}

.mail-subscribe p{
  font-size: 22px;
}

main .mail-subscribe a{
  font-size: 22px;
}

/* tablet review */

@media only screen and (max-width: 1024px){
  .footer-logos{
    justify-content: space-around;
  }
  .site-footer .cell.medium-12.large-5{
    padding-top: 2rem;
  }

  .site-footer .cell.text-right{
    text-align: left;
  }

  img.footer-cuag{
    max-width: 80%;
  }
}

/* mobile review */

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

  .social-nav {
    justify-content: flex-start;
  }

  .section--exhibitions h3 + h4{
    margin-bottom: 2rem;
  }

  .mail-subscribe button{
    font-size: 20px;
  }

  .section--subscription .mail-subscribe input[type="text"] {
      padding: 0.5rem 1rem;
      height: auto;
  }

  .main-nav li a{
  	position: relative;
    padding: 0.7rem;
  }

  .search-box input[type="text"] + span {
      border: 2px solid black;
  }

  .site-footer p{
    white-space: normal;
  }

  .footer-hours p{
    font-size: 14px;
  }

  .main-nav li a{
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .btn--menu span {
      font-size: 14px;
      line-height: 20px;
  }

  .footer-menu > li > a {
      font-size: 18px;
  }

  .site-footer p {
      color: #fff;
      font-size: 18px;
  }

  .section--single-intro h1{
    margin-top: 1rem;
  }

  .back-button img {
      max-width: 1rem;
      margin-right: 0.5rem;
  }

  .sponsor-logos{
    flex-wrap: wrap;
  }

  .sponsor-logos li{
    width: 50%;
    margin-bottom: 1rem;
  }

  .button {
      font-size: 18px;
  }

  .section--text-with-image p.subtitle{
    margin: 0;
    font-family: 'relative-bold-pro';
    font-size: 22px;
    line-height: 28px;
  }

  .section--text-with-image p{
    font-size: 22px;
    line-height: 32px;
  }
}

@media only screen and (max-width: 370px){
  .site-footer .cell.small-6.large-4:nth-child(2){
    width: 100%;
    padding-top: 2rem;
  }

  .site-footer .cell.small-6.large-4:nth-child(1){
    width: 100%;
  }

  .site-footer .cell.small-4,
  .site-footer .cell.small-8{
    width: 100%;
  }

  .footer-cuag {
      max-width: 8rem;
      margin-bottom: 1rem;
  }

  .site-footer .cell.medium-12.large-4 {
      padding-top: 2rem;
  }



}

@media only screen and (max-width: 1024px){
  .btn--menu span{
    display: none;
  }
}


.wp-block-column.footer-hours{
  padding-right: 2rem;
}

.button--wide{
  /*padding-left: 5rem;*/
  /*padding-right: 5rem;*/
  margin-top: 2rem;
}

.paginated-list > .year-heading:first-child{
  margin-top: 1rem;
}

.section--exhibition-archive .grid-container:first-child h3{
  margin-top: 1rem;
}

.events-archive-grid .cell:first-child h3{
  margin-top: 0;
}

main.main > h2:first-child + .section--callouts{
  padding-top: 2rem;
}


section.section.section--text-with-image + section.section.section--text-with-image{
  padding-top: 0;
}

.section--images-with-captions h3.title{
	margin-bottom: 1rem;
}

.section--images-with-captions p.normal{
	font-size: 24px;
}

.section--images-with-captions p.small{
	font-size: 20px;
}

.wp-block-column .footer-hours{
	margin-left: -1rem;
}

.wp-block-column .footer-hours p{
	white-space: nowrap;
}

.cell-day{
  width: 29%;
}

.cell-hours{
  width: 50%;
}

.wp-block-column .cell-day{
  width: 50%;
}

.wp-block-column .footer-hours{
  padding-right: 2rem;
}

.wp-block-column.double-margin{
  margin-left: 64px!important;
}

@media only screen and (max-width: 785px){
	.wp-block-column .footer-hours{
		margin-bottom: 2rem;
	}
}

main a.back-button{
  font-size: 28px;
  display: flex;
  align-items: center;
}

.intro-date,
.event-venue{
  font-size: 38px;
  line-height: 48px;
}

.event-venue{
  margin: 1.5rem 0 0 0;
}

.artwork-subtitle{
	font-size: 42px;
	line-height: 55px;
}

.artwork-title{
	font-size: 48px;
	line-height: 65px;
	margin: 0;
}

.artwork-title span{
    font-style: italic;
}

.single-artwork .featured-image p{
	font-size: 30px;
	line-height: 42px;
}

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

  .artwork-subtitle{
	font-size: 26px;
    line-height: 35px;
  }

  .artwork-title{
	font-size: 26px;
    line-height: 35px;
  }

  .single-artwork .featured-image p{
    font-size: 22px;
    line-height: 30px;
  }

  .intro-date,
  .event-venue{
    font-size: 26px;
    line-height: 35px;
  }

    .wp-block-column .footer-hours{
    	margin-bottom: 0;
    }

  .wp-block-column.double-margin{
    margin-left: 0!important;
  }

  main a.back-button{
    font-size: 24px;
  }
  .site-footer .footer-hours p{
    font-size: 18px;
    white-space: nowrap;
  }

  .site-footer .cell-day {
      width: 40%;
  }

  .featured-image p{
    font-size: 18px;
    line-height: 28px;
    margin-top: 2rem;
  }

  .main-nav li a{
    font-size: 20px;
    line-height: 30px;
  }
}


.template--template-news h3{
  margin-bottom: 3rem;
}

.section--exhibitions h3.margin{
  margin-bottom: 3rem;
}

body:not(.home) .section--exhibitions .callout-title{
  display: none;
}

.section--exhibitions .large-3 .callout-icon{
  max-height: 15rem;
}

.featured-image{
  margin-top: 3rem;
}

.single main > p.large-paragraph{
  margin-bottom: 2rem;
}

.section--exhibition-archive h3{
  margin-bottom: 4rem;
}


.section--events-archive h3{
  margin-bottom: 4rem;
}

.section--events-archive .medium-3 .callout-icon {
    max-height: 15rem;
}

.section--exhibition-archive .medium-3 .callout-icon {
    max-height: 15rem;
}

.news-block.publication {
    text-align: center;
}

.news-block .featured-image--archive{
    max-height: 15rem;
}

.single-event-callout-title{
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.section--single-intro .single-event-callout-title + h1{
  margin-top: 0;
}

.accessibility-icons li img{
  margin-bottom: 1rem;
}

.single .wp-block-button{
	max-width: 50rem;
	padding: 0 1rem;
}

@media only screen and (max-width: 1380px){
 .single .wp-block-button{
	max-width: 50rem;
	padding: 0 3rem;
  }   
}

@media only screen and (max-width: 640px){
 .single .wp-block-button{
	max-width: 50rem;
	padding: 0 1rem;
  }   
}

.wp-block-button{
  max-width: 80rem;
  margin: 0 auto;
  margin-bottom: 2rem;
  margin-top: 2rem;
  padding: 0 0.5rem;
}

.wp-block-buttons.alignright{
	text-align: right;
}

body .wp-block-button__link{

  transition: all .3s;
  position: relative;
  overflow: hidden;
  border: none;
  background-color: transparent;
  font-family: 'relative-bold-pro';
  font-size: 24px;
  transition: all 0.3s ease;
  border-radius: 5px!important;
  padding: 0.5rem 1rem 0.6rem 1rem;
  margin: 0;
  line-height: 1;
}

body .wp-block-button__link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #D71200;
    border-radius: 5px!important;
    transition: all .3s;
    z-index: -1;
}

body .wp-block-button__link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: 5px!important;
    z-index: -2;
}

body .wp-block-button__link:hover:before {
    width: 100%;
}

.pre-header p,
.pre-header a{
  font-size: 20px;
  line-height: 24px;
}

.section--callouts h3,
.section--subscription h3,
.section--exhibitions h3{
  margin-bottom: 1rem;
}

@media only screen and (max-width: 450px){
  .main-nav li a{
    font-size: 16px;
  }
}

@media only screen and (max-width: 340px){
  .main-nav li a{
    font-size: 15px;
    padding-right: 0.1rem;
  }
}

.advisory-board p{
  margin-bottom: 2rem;
}

.section--staff p,
.section--staff a:not(.button){
  font-size: 26px;
  line-height: 34px;
}

.page-heading h1.news-title{
  margin-top: 2rem;
}

@media only screen and (max-width: 640px){
  .section--staff p,
  .section--staff a:not(.button){
    font-size: 20px;
    line-height: 26px;
  }
}

.section--staff h1{
  margin-bottom: 2rem;
}

.section--staff h3{
  margin-bottom: 1rem;
}

.section--staff .staff-block h3{
  margin: 0;
}



.wp-block-column .wp-block-button{
	padding: 0;
}

.single main > p{
	margin-bottom: 2rem!important;
}

@media only screen and (max-width: 640px){
	.single main > p{
		margin-bottom: 2rem!important;
	}
}

.sponsor-margin-bottom{
	padding-bottom: 3rem;
}

.breadcrumbs{
	display: flex;
	font-size: 28px;
}

.breadcrumbs img{
	max-width: 2rem;
	margin-right: 1rem;
}

.breadcrumbs a:first-child{
	padding-left: 3rem;
}

.breadcrumbs a {
    position: relative;
}

.breadcrumbs img {
    max-width: 2rem;
    margin-right: 1rem;
    display: inline-block;
    position: absolute;
    top: 1rem;
	left: 0;
}

.breadcrumbs span{
	margin: 0 0.5rem;
}

.breadcrumbs a{
	white-space: nowrap;
}

.breadcrumbs{
	overflow: auto;
}
/* .wp-block-column:nth-child(2n) {
    margin-left: 0!important;
}

@media only screen and (max-width: 700px){
	.wp-block-column:nth-child(2n) {
	    margin-left: 32px!important;
	}
} */

@media only screen and (max-width: 1024px){
	.wp-block-column .footer-hours p{
		font-size: 20px;
	}
	.wp-block-column:not(.spacer) {
	    flex-basis: calc(50% - 16px)!important;
	    flex-grow: 0;
	}

	body.menu-open{
    	overflow: hidden;
    }
}

@media only screen and (max-width: 640px){
	.wp-block-column {
	    flex-basis: 100%!important;
	    flex-grow: 0;
	}
	.breadcrumbs{
		padding-bottom: 1rem;
		padding-top: 1rem;
	}

	.breadcrumbs img{
		top: 0.5rem;
	}
	.breadcrumbs span {
	    margin: 0 0.5rem;
	    line-height: 1.3;
	}
	.wp-block-column:not(.spacer) {
	    flex-basis: 100%!important;
		width: 100%!important;
		margin-left: 0!important;
	}

	.site-footer .mail-subscribe p{
		font-size: 18px;
	}
}

.news-block .callout-text{
	margin-top: 1rem;
}
.icon-only-cell{
	padding-bottom: 0!important;
}

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

	.icon-only-cell{
		padding-top: 1rem!important;
	}

  .custom-grid-1{
    width: 50%;
  }

  .custom-grid-2{
    width: 50%;
  }

  .custom-grid-3{
    width: 100%;
	padding-top: 2rem;
  }

  .has-mobile-padding{
	  padding-top: 2rem!important;
	  padding-bottom: 2rem!important;
  }

  .section--icon-columns .cell{
	  padding-bottom: 1rem;
  }

  .section--icon-columns .cell .icon-title-wrapper{
	  margin: 0;
  }

  .section--icon-columns .title{
	  margin-bottom: 1rem;
  }

  .icon-wrapper{
	  padding-top: 1rem;
  }

  .section--icon-columns{
	  padding-bottom: 0;
  }

  .section--exhibition-details .grid-container > h3,
  .section--event-details .grid-container > h3 {
     margin-top: 2rem;
 }

 .sponsor-margin-bottom{
	 padding-bottom: 0;
	 padding-top: 2rem;
 }

 .sponsor-logos li {
     width: 100%;
     padding: 0;
     margin-bottom: 2rem;
 }

 .sponsor-logos li:last-child{
	 margin-bottom: 0;
 }

 .callout-title{
	 font-size: 24px;
 }

 .template--template-news h3 {
     margin-bottom: 2rem;
 }
 .paginated-list > .year-heading:first-child {
     margin-top: 0rem;
 }

 .section--exhibitions h3.margin {
     margin-bottom: 2rem;
 }



 .button:before{
	 content: none;
 }

 .simple-fade,
 .body{
	 opacity: 1!important;
 }
}

figure.wp-block-image.size-full{
	padding-left: 1rem;
	padding-right: 1rem;
}

.section--exhibition-details ul.gallery li{
	max-height: 20rem;
	overflow: hidden;
}

.section--exhibition-details ul.gallery li img{
	max-height: 100%;
	max-height: 20rem;
}


.breadcrumbs a:hover{
	text-decoration: none;
}

.footer-hours-title{
	font-weight: 700;
	margin-bottom: 0.5rem;
}

@media only screen and (max-width: 1024px){
	.site-footer .cell-day{
		width: 40%;
	}

	.site-footer .cell-hours {
	    width: 60%;
	}
}

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

	.site-footer .cell-hours {
	    width: 50%;
	}

	.site-footer .cell-day {
	    width: 29%;
	}

	ul.sponsor-logos{
	    text-align: center;
	}

	.sponsor-logos li img {
	    height: 3rem;
	}

	.breadcrumbs{
		flex-wrap: wrap;
	}

	.breadcrumbs a{
		white-space: normal;
		/* font-size: 20px; */
	}

	.breadcrumbs img {
	    top: 0.6rem;
	}

	img.footer-cuag{
		max-width: 150px;
		margin-bottom: 1rem;
		margin-top: 4rem;
	}

	p.logo-group-title{
		margin-bottom: 0.5rem;
	}
}

.sticky-container--inner{
	background-color: #fff;
}

.icon-search{
	cursor: pointer;
}

.dropdown-search-form{
	/* display: none; */
	opacity: 0;
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	background-color: #fff;
	padding: 2rem;
	transform: translateY(-100%);
	transition: all 0.3s ease;
	z-index: 9999999999;
}

.search-form-inner{
	position: relative;
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1rem;
}

@media only screen and (max-width: 640px){
    .search-form-inner{
        padding: 0;
    }
}

.dropdown-search-form.is-active{
	transform: translateY(0);
	opacity: 1;
	z-index: 99999999999;
}

.dropdown-search-form .btn--menu{
	right: 1rem;
	top: 0;
}

@media only screen and (max-width: 1024px){
	.dropdown-search-form .btn--menu{
		top: -0.5rem;
	}
}

@media only screen and (max-width: 640px){
    .dropdown-search-form .btn--menu{
        right: 0;
    }
}

.dropdown-search-form p{
	margin: 0;
}

.search-form-container{
	padding-right: 8rem;
	position: relative;
}

.search-form-container input[type="text"]{
	padding: 0.5rem 0;
	font-size: 20px;
	height: auto;
	border: none;
	border-bottom: 1px solid #D71200;
	box-shadow: none;
}

.search-form-container .search-button{
	position: absolute;
	right: 0;
	top: 0;
	background-color: transparent;
	font-family: 'relative-bold-pro';
	font-size: 24px;
	transition: all 0.3s ease;
	border-radius: 3px;
	padding: 0.5rem 1rem 0.6rem 1rem;
	margin: 0;
	border: 1px solid #D71200;
	color: #D71200;
}

.fancybox-button--thumbs,
.fancybox-button--play,
.fancybox-button--zoom,
.fancybox-navigation{
	display: none!important;
}

.fancybox-bg{
	background: #fff!important;
}

.fancybox-is-open .fancybox-bg{
	opacity: 1!important;
}

.fancybox-toolbar,
.fancybox-infobar{
	/* opacity: 1!important;
	visibility: visible; */
}

.fancybox-caption{
	background: #fff;
}

.fancybox-caption__body{
  color: #000;
  font-family: 'relative-book-pro';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 32px;
}

.fancybox-button {
    background: transparent!important;
}

.fancybox-infobar {
    right: 11rem;
	top: 2rem;
    left: auto;
}

.fancybox-toolbar {
    right: 2rem;
    top: 2rem;
}

.fancybox-button[disabled] svg polyline{
	stroke: #B3B3B3!important;
}

.fancybox-infobar,
.fancybox-infobar {
	color: #D71000;
    mix-blend-mode: normal;
	font-size: 26px;
	font-weight: 500;
}

@media only screen and (max-width: 1024px){
	.fancybox-caption__body{
	  font-size: 18px;
	  line-height: 24px;
	}
}

.galleryTitle{
    z-index: 9000;
    color: #D71000;
    margin: 2rem;
	opacity: 0;
    transition: opacity .25s ease, visibility 0s ease .25s;
    visibility: hidden;
    font-size: 27px;
}

.fancybox-show-toolbar .galleryTitle{
    opacity: 1;
    transition: opacity .25s ease 0s, visibility 0s ease 0s;
    visibility: visible;
}

@media only screen and (max-width: 640px){
	.galleryTitle {
	    margin-top: 5rem;
	    text-align: center;
	}

	.fancybox-slide{
		/*padding-top: 8rem!important;*/
	}
}



.wp-block-button:first-child{
  padding-left: 0;
}

.wp-block-column .wp-block-buttons{
  padding: 1rem 0 2rem 0;
}

.section--curated-by.count-2 .grid-container,
.section--curated-by.count-1 .grid-container{
	max-width: 50rem;
}

.section--curated-by + .section--exhibition-details{
  padding-top: 0;
}

.fancybox-slide--image {
    overflow: hidden;
    /*padding: 10rem 0 4rem 0;*/
}

.fancybox-infobar,
.fancybox-toolbar,
.fancybox-navigation .fancybox-button,
.galleryTitle {
    /* opacity: 1;
    visibility: visible; */
    z-index: 99999;
}

.galleryTitle{
  position: relative;
  z-index: 99997;
  margin: 0;
  padding: 2rem 18rem 1rem 2rem;
  background-color: #fff;
}

.sticky-container{
  z-index: 9999;
}

.menu-wrapper-header.is-open{
  z-index: 99999999999;
}

.staff-grid.no-padding-top{
  padding-top: 0;
}

body .wp-block-buttons .wp-block-button{
  margin-top: 0;
  margin-bottom: 0;
}

@media only screen and (max-width: 1160px){
  .sticky.is-stuck{
    max-width: 100vw!important;
    left: 0;
    padding: 0 3rem;
  }

  .sticky.is-stuck .btn--menu{
    right: 3rem;
  }

  .btn--menu{
    right: 0;
    transition: all 0s ease;
  }
}

@media only screen and (max-width: 640px){
  .sticky.is-stuck{
    padding: 0 2rem;
  }

  .sticky.is-stuck .btn--menu{
    right: 1rem;
  }
}

@media only screen and (max-width: 40em){
  .galleryTitle{
    padding: 6rem 2rem 2rem 2rem;
  }
}

.bio-title{
    margin-bottom: 2rem;
}

.bio-text p{
    margin-bottom: 2rem!important;
}

.bio-text p:last-child{
    margin-bottom: 0!important;
}

@media only screen and (max-width: 640px){
    .bio-title{
        margin-bottom: 1rem;
    }
}

.section--exhibition-details ul.gallery li a,
.section--event-details ul.gallery li a{
     display: block;
     height: 100%;
 }


@media only screen and (max-width: 640px){
    .wp-block-column iframe{
        margin-bottom: 2rem;
    }
}


/*Global Spacing*/

@media only screen and (max-width: 1380px){
  .grid-container {
    padding-right: 3rem;
    padding-left: 3rem;
  }

  main.main > h1,
  main.main > h2,
  main.main > h3,
  main.main > h4,
  main.main > h5,
  main.main > h6,
  main.main > p,
  main.main > ul,
  main.main > ol,
  main.main > blockquote,
  main.main > .wp-block-columns{
   padding: 0 3rem;
  }
}

@media only screen and (max-width: 640px){
  .grid-container {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  main.main > h1,
  main.main > h2,
  main.main > h3,
  main.main > h4,
  main.main > h5,
  main.main > h6,
  main.main > p,
  main.main > ul,
  main.main > ol,
  main.main > blockquote,
  main.main > .wp-block-columns{
   padding: 0 1rem;
  }

  .wp-block-buttons{
    padding: 1rem 1rem;
  }

  .wp-block-column .wp-block-buttons{
    padding: 1rem 0;
  }

  .wp-block-button{
    margin-top: 0;
  }
  
 .sticky.is-stuck {
    padding: 0 1rem;
  } 
}



.wp-block-buttons {
    max-width: 80rem;
    margin: 0 auto;
	padding: 1rem 1rem;
}

.wp-block-buttons,
.wp-block-button{
    line-height: 1!important;
}

@media only screen and (max-width: 1380px){
 .wp-block-buttons {
	  padding: 1rem 3rem;
    }   
}

@media only screen and (max-width: 640px){
 .wp-block-buttons {
	  padding: 1rem 1rem;
    }   
}


.single-exhibition main.main .wp-block-buttons, 
.single-post main.main .wp-block-buttons, 
.single-collection main.main .wp-block-buttons, 
.single-event main.main .wp-block-buttons, 
.single-column main.main .wp-block-buttons{
    max-width: 50rem;
}

main.main > h1, 
main.main > h2, 
main.main > h3, 
main.main > h4, 
main.main > h5, 
main.main > h6{
    margin-top: 2rem;
}


main.main > *:last-child:not(section){
    margin-bottom: 4rem!important;
}

.wp-block-image{
    margin: 1rem 0;
}

 main.main > h1:first-child + .wp-block-image,
 main.main > h2:first-child + .wp-block-image,
 main.main > h3:first-child + .wp-block-image,
 main.main > h4:first-child + .wp-block-image,
 main.main > h5:first-child + .wp-block-image,
 main.main > h6:first-child + .wp-block-image,
 main.main > p:first-child + .wp-block-image,
 main.main > ul:first-child + .wp-block-image,
 main.main > ol:first-child + .wp-block-image,
 main.main > .wp-block-columns:first-child + .wp-block-image{
     margin-top: 3rem;
 }
 
 main.main > .wp-block-image,
 main.main > .wp-block-embed{
     max-width: 80rem;
     margin-left: auto;
     margin-right: auto;
     padding: 0 1rem;
 }
 
  main.main > .wp-block-embed{
      margin-bottom: 2rem;
  }
 
  main.main > .wp-block-embed iframe{
    display: block;
    margin: 0 auto;
  }
  
  main.main > .wp-block-embed figcaption{
      text-align: center;
  }
 
.wp-block-embed-youtube iframe{
    width: 100%;
    display: block;
    margin: 0 auto;
    min-height: 25rem;
}
 
.single-exhibition main.main > .wp-block-embed, 
.single-post main.main > .wp-block-embed, 
.single-collection main.main > .wp-block-embed, 
.single-event main.main > .wp-block-embed, 
.single-column main.main > .wp-block-embed{
  max-width: 50rem;
}
 
 @media only screen and (max-width: 1380px){
      main.main > .wp-block-image,
      main.main > .wp-block-embed{
          padding: 0 3rem;
      }
     
 }
 
 @media only screen and (max-width: 640px){
     main.main > .wp-block-image,
     main.main > .wp-block-embed{
          padding: 0 1rem;
      }
      
      .wp-block-buttons + .wp-block-columns .wp-block-column:first-child .wp-block-image{
          margin-top: 2rem;
      }
 } 
 

.booking_form_div{
    max-width: 80rem;
    padding: 1rem 1rem 3rem 1rem;
    margin: 0 auto;   
}

.wpbc_booking_form_structure.wpbc_vertical {
    display: flex;
}

.wpbc_structure_form{
    width: 50%;
    padding-left: 2rem;
}

.wpbc_structure_calendar {
    padding-right: 2rem;
    width: 50%;
}


body .booking_form .form-group .controls select, 
body .booking_form select, 
body .booking_form textarea, 
body .booking_form input[type="text"] {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: auto;
    padding: 0.5rem;
}

.wpbc_structure_form .wpdev-help-message.alert.alert-warning,
.wpbc_structure_calendar .wpdev-help-message.alert.alert-warning{
    margin-left: 0!important;
}

.booking_form .form-group:first-child {
    margin-top: 0;
}

body .booking_form_div .btn{
     background-color: #000;
    font-family: 'relative-bold-pro';
    font-size: 24px;
    transition: all 0.3s ease;
    border-radius: 5px;
    padding: 0.5rem 1rem 0.6rem 1rem;
    margin: 0;   
    display: inline-block;
    vertical-align: middle;
    position: relative;
    color: #FFF;
    text-shadow: none;
    border: none;
}

body .booking_form_div .btn:hover{
    background-color: #D71200;
    color: #fff;
}

body .booking_form_div .btn:active,
body .booking_form_div .btn:focus{
    outline: none;
}

.booking_form_div .btn:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #D71200;
    border-radius: 5px;
    transition: all .3s;
    z-index: -1;
}

.booking_form_div .btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: 5px;
    z-index: -2;
}

.booking_form_div .btn:hover:before {
    width: 100%;
}

@media only screen and (max-width: 1260px){
    .wpbc_booking_form_structure.wpbc_vertical {
        display: block;
    }
    
    .wpbc_structure_form{
        width: 100%;
        padding-left: 0;
    }
    
    .wpbc_structure_calendar {
        padding-right: 0;
        width: 100%;
    }
}


/*Header height bug fix*/

.site-header{
    min-height: 201px;
}

@media only screen and (max-width: 1024px){
    .site-header{
        min-height: 162px;
    }
}

@media only screen and (max-width: 640px){
    .site-header{
        min-height: 138px;
    }
}


/*Header height bug fix*/


/* Mobile Adjustments */

@media only screen and (max-width: 640px){
    .featured-image {
        margin-top: 1rem;
    }
    
    .section--single-intro .featured-image img,
    .section--single-intro .featured-image{
        margin-bottom: 0;
    }
 
    .section--single-intro + h1.red, .section--single-intro + h2.red, .section--single-intro + h3.red, .section--single-intro + h4.red, .section--single-intro + h5.red, .section--single-intro + h6.red {
        margin-bottom: 1rem!important;
        margin-top: 0!important;
    }
    
    main.main > h1, main.main > h2, main.main > h3, main.main > h4, main.main > h5, main.main > h6 {
        margin-top: 1rem;
    }
    
    main a.back-button {
        font-size: 18px;
    }
    
    .breadcrumbs img {
        max-width: 1.5rem;
    }
    
    .breadcrumbs a:first-child {
        padding-left: 2.25rem;
    }    
    
    #sticky-trigger {
        margin-top: 0rem;
    }
    
    .section--text-with-image br{
        display: none;
    }
    
    .section--single-intro h1{
        margin: 0;
    }
    
    .secondary-nav-wrapper {
        padding: 2.5rem 1rem;
    }
    
    .breadcrumbs{
        margin-bottom: 0;
    }
    
    .section--single-intro{
        padding-top: 0;
    }
    
    .section--single-intro > .grid-container > h1:first-child{
        padding-top: 1rem;
    }
    
    .intro-date{
        margin-top: 1rem;
    }
    
    .section--single-intro + .wp-block-spacer{
        display: none;
    }
    
    .section--single-intro + .wp-block-image{
        margin-top: 0;
    }
    
    .section--exhibitions .cell {
        padding-bottom: 2rem;
    }
    
    .section--exhibitions{
        padding-bottom: 1rem;
    }
    
    .main .section--single-intro .back-button{
        margin: 0;
    }
    
    main.main > h1:first-child, main.main > h2:first-child, main.main > h3:first-child, main.main > h4:first-child, main.main > h5:first-child, main.main > h6:first-child, main.main > p:first-child, main.main > ul:first-child, main.main > ol:first-child, main.main > .wp-block-columns:first-child {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    main.main > h1:first-child + .section--callouts,
    main.main > h2:first-child + .section--callouts{
        padding-top: 0;
    }
    
    .section--callouts h4.subtitle {
        margin-bottom: 1rem;
    }
    
    .section--staff{
        padding-top: 1rem;
    }
    .section--staff h1 {
        margin-bottom: 1rem;
    }
    
    .staff-block {
        padding-bottom: 2rem;
    }    
    
    .menu-wrapper-header .btn--menu{
        right: 1rem;
    }
    
    .section--events-archive h3 {
        margin-bottom: 2rem;
    }
    
    .paginated-list {
        padding-bottom: 0;
    }
    
    main.main > .events-archive-grid:last-child{
        margin-bottom: 1rem!important;
    }
    
    .single-event-callout-title {
        margin-top: 0;
        margin-bottom: 1rem;
    }
    
    .section--event-details{
        padding-top: 0;
    }
    
    .section--exhibition-details .grid-container > h3, .section--event-details .grid-container > h3 {
        margin-top: 1rem;
    }
    
    .wp-block-column .footer-hours p {
        line-height: 30px;
		font-size: 22px;
	}
    
    .news-block.publication{
        padding-bottom: 2rem;
    }
    
    .section--exhibition-archive h3 {
        margin-bottom: 2rem;
    }
    
    .section--exhibition-archive .grid-container:first-child h3{
        margin-top: 0;
    }
    
    section.small p,
    section.small p a,
    p.small{
        font-size: 18px;
        line-height: 24px;
    }
    
    .drilldown .is-drilldown-submenu a {
        padding: 0.5rem 1rem;
    }
    
    article *{
        word-break: break-word;
    }
    
    .article--result {
        padding-bottom: 1rem;
    }
    
    section.section.section--search{
        padding-top: 1rem;
    }
    
    .section--curated-by {
        padding-top: 0;
        padding-bottom: 1rem;
    }
    
    .section--exhibition-details .news-block{
        padding-bottom: 1rem;
    }
    
    .dropdown-search-form{
        padding: 2rem 1rem;
    }
    
    .galleryTitle{
        font-size: 20px;
        line-height: 28px;
        padding: 4rem 1rem 1rem 1rem;
    }
    
    .fancybox-slide--image {
        overflow: hidden;
        /*padding: 10rem 0 1rem 0;*/
    }   
    
    .fancybox-toolbar {
        right: 1rem;
        top: 1rem;
    }  
    
    .fancybox-infobar {
        right: 9rem;
        top: 1rem;
        left: auto;
    }
    
    .section--exhibitions .large-3 .callout-icon,
    .section--exhibition-archive .medium-3 .callout-icon{
        max-width: 100%;
        max-height: none;
    }
    
    .animated-image > a{
        display: block;
    }
    
    .page-template-template-collection .section--single-intro + h2.red,
    .page-template-template-collection .section--single-intro + h1.red,
    .single .section--single-intro + h1.red, 
    .single .section--single-intro + h2.red{
        font-size: 26px;
        line-height: 32px;
    }
    
}

@media only screen and (max-width: 380px){
    .site-footer .footer-hours p {
        font-size: 15px;
    }
}

.embed-container { 
    position: relative; 
    padding-bottom: 56.25%; 
    height: 0; 
    overflow: hidden; 
    max-width: 100%; 
} 

.embed-container iframe, 
.embed-container object, 
.embed-container embed { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
}

.video-embed-grid .cell,
.audio-embed-grid .cell{
    padding-bottom: 2rem;
}

.mail-subscribe .gform_wrapper .gform_footer{
    margin-top: 0;
    width: 27%;
}

.mail-subscribe .button:after{
    background-color: transparent;
}

.mail-subscribe .button:before{
    background-color: #D71200;
    border-radius: 0px;
    content: "";
}

@media only screen and (max-width: 767px){
    .section--subscription .mail-subscribe .button{
        margin-left: 1rem;
    }
}


.mail-subscribe .gform_wrapper ul.gform_fields li.gfield{
    padding-right: 0;
}

.section--subscription .mail-subscribe input[type="text"]{
    height: 62px;
}


/* Subscription form */

.mail-subscribe .gform_wrapper div.validation_error{
    display: none;
}

.mail-subscribe .gform_wrapper li.gfield.gfield_error, 
.mail-subscribe .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning{
    padding-top: 0;
    background-color: transparent;
    border: none;
}

.mail-subscribe .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container, 
.mail-subscribe .gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label{
    margin-top: 0;
}

.mail-subscribe .gform_wrapper .validation_message{
    color: #D71200;
    font-size: 20px;
    padding-top: 10px!important;
}

.mail-subscribe .gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), 
.mail-subscribe .gform_wrapper li.gfield_error textarea {
    border: 2px solid #D71200;
}

.mail-subscribe .gform_confirmation_message {
    font-size: 20px;
    padding-bottom: 10px;
}

body img.gform_ajax_spinner {
 display: none !important;
}

.site-footer .mail-subscribe input[type="text"] {
    height: 46px;
}

.site-footer .mail-subscribe .button:before {
    background-color: #D71200;
}

.site-footer .mail-subscribe .gform_confirmation_message{
    color: #fff;
}

@media only screen and (max-width: 640px){
    .section--subscription .mail-subscribe input[type="text"]{
        height: 46px;
    }
    
    .mail-subscribe .gform_body {
        width: 60%;
    }    
}

/*#D71200*/


.fancybox-caption a, .fancybox-caption a:link, .fancybox-caption a:visited{
    color: #000;
    text-decoration: underline;
}

.fancybox-caption a:hover,
.fancybox-caption a:focus{
    color: #000;
    text-decoration: none;
}

.staff-block a.button{
    color: #fff;
    text-decoration: none;
    margin-top: 0.5rem;
    line-height: 1;
}

.news-block .button{
    position: relative;
    z-index: 20;
}

@media only screen and (max-width: 640px){
    .section--subscription .gform_wrapper {
        margin-bottom: 0px;
        margin-top: -20px;
    }
}

.breadcrumbs p{
    margin: 0;
}


.single main > p.publication-intro{
    margin-top: 0!important;
    margin-bottom: 0!important;
}

#gateway_payment_forms1{
    padding-right: 1rem;
    padding-left: 1rem;
    max-width: 80rem;
    margin: 0 auto;
}

.booking_form .booking_form_div{
    display: flex;
    flex-wrap: wrap;
}

.times-calendar,
.times-form{
    width: 50%;
}

.times-form {
    padding-left: 2rem;
}

body .booking_form_div input[type="text"], 
body .booking_form_div select, 
body .booking_form_div textarea {
    width: 100% !important;
    margin: auto auto 0.5rem auto!important;
}

.submiting_content.wpdev-help-message.alert.alert-warning.alert-success{
    padding-right: 1rem;
    padding-left: 1rem;
    max-width: 78rem;
    margin: 0 auto;   
}

.cpp_form{
     padding-right: 1rem;
    padding-left: 1rem;
    max-width: 80rem;
    margin: 0 auto;     
}

@media only screen and (max-width: 1380px){
    #gateway_payment_forms1,
    .booking_form .booking_form_div{
        padding-right: 3rem;
        padding-left: 3rem;
        max-width: 80rem;
        margin: 0 auto;
    }
    .times-calendar,
    .times-form{
        width: 100%;
    }
    
    .times-form{
        padding-top: 2rem;
        padding-left: 0;
    }
    
     .times-form .grid-container{
        padding: 0;
     }
     
     .calendar-form,
     .bk_calendar_frame.months_num_in_row_.cal_month_num_2.wpbc_timeslot_day_bg_as_available {
        width: 100%!important;
    }
    
    .submiting_content.wpdev-help-message.alert.alert-warning.alert-success{
        padding-right: 3rem;
        padding-left: 3rem;
        max-width: 80rem;
        margin: 0 auto;   
         width: calc(100% - 12rem)!important;
        margin-left: 6rem!important;
        margin-right: 6rem!important;
    }
    
    .cpp_form{
        padding-right: 3rem;
        padding-left: 3rem;
        max-width: 80rem;
        margin: 0 auto;   
         width: calc(100% - 12rem)!important;
        margin-left: 6rem!important;
        margin-right: 6rem!important;   
    }    
}

@media only screen and (max-width: 640px){
    #gateway_payment_forms1,
    .booking_form .booking_form_div{
        padding-right: 1rem;
        padding-left: 1rem;
        max-width: 80rem;
        margin: 0 auto;
    }
    
    .submiting_content.wpdev-help-message.alert.alert-warning.alert-success{
        padding-right: 1rem;
        padding-left: 1rem;
        max-width: 80rem;
        margin: 0 auto;   
         width: calc(100% - 2rem)!important;
        margin-left: 1rem!important;
        margin-right: 1rem!important;
    }
    
    .cpp_form{
         padding-right: 1rem;
        padding-left: 1rem;
        max-width: 80rem;
        margin: 0 auto;   
         width: calc(100% - 2rem)!important;
        margin-left: 1rem!important;
        margin-right: 1rem!important;
    } 
}



.times-form p{
    font-size: 21px;
    line-height: 32px;
    margin-bottom: 0.5rem;
}

body .booking_form .wpdev-help-message.alert.alert-warning, 
body .booking_form .wpdev-help-message .alert.alert-warning{
    margin-left: 0!important;
}

body .booking_form input[type="text"]{
    margin-bottom: 0.5rem;
}

body .booking_form textarea{
    height: 200px!important;
}

.bk_calendar_frame{
    margin-bottom: 0.5rem;
}

.datepick-inline .calendar-links{
    background-color: #D71200!important;
    background-image: none!important;
    background: #D71200!important;
    border-bottom: none!important;
}

.datepick-inline .datepick-header{
    margin-bottom: 0.1rem!important;
}

.datepick-inline .calendar-links{
    margin-bottom: -2.7em!important;
}   

@media only screen and (min-width: 640px){
    .datepick-inline .datepick-header{
        margin-bottom: 0.6rem!important;
    }
    
    .datepick-inline .calendar-links{
        margin-bottom: -3.2em!important;
    }    
}

.datepick-inline .datepick-header span,
.datepick-inline .calendar-links .datepick-next a,
.datepick-inline .calendar-links .datepick-prev a{
    font-size: 18px!important;
    font-family: 'relative-book-pro'!important;   
    color: #fff!important;
}

.datepick-inline .datepick-header,
.datepick-inline .calendar-links .datepick-next a{
    text-shadow: none!important;
}

.datepick-inline{
    box-shadow: none!important;
    border: none!important;
}

.datepick-inline .datepick-title-row th, 
.datepick-inline .datepick-days-cell{
    height: 43px!important;
}


.bk_calendar_frame.months_num_in_row_.cal_month_num_1.wpbc_timeslot_day_bg_as_available {
    width: 100%!important;
    margin-bottom: 2rem;
}

.block_hints .block_free, 
.block_hints .block_time, 
.block_hints .block_check_in_out div.check-in-div, 
.block_hints .block_check_in_out div.check-out-div, 
.datepick-inline .date_available, 
.datepick-inline .timespartly.check_in_time div.check-in-div, 
.datepick-inline .timespartly.check_out_time div.check-out-div{
        background-color: #000!important;
}

.block_booked, .datepick-inline .date_approved, td.timespartly.check_in_time.check_out_time.check_in_time_date2approve.check_out_time_date_approved div.check-in-div, td.timespartly.check_in_time.check_out_time.check_out_time_date2approve.check_in_time_date_approved div.check-out-div {
    background-color: #D71200!important;
}

.block_hints .date_approved.block_check_in_out, .block_hints .block_booked, .datepick-inline .date_approved, .block_hints .block_booked a, .datepick-inline .date_approved a {
    color: #fff!important;
    font-weight: 600;
    text-shadow: none!important;
}

.datepick-inline .datepick-one-month .datepick .datepick-current-day{
    background-color: #555!important;
}

.fancybox-caption{
    padding-top: 1rem!important;
}

@media only screen and (max-width: 640px){
    .fancybox-caption__body {
        font-size: 14px;
        line-height: 18px;
    }
}

.section--single-intro + .section--exhibitions{
  margin-top: 1rem;  
}

.section--single-intro h1 + .featured-image{
    margin-top: 2rem;
}



.yui-calendar a{
    font-size: 16px;
    line-height: 17px;
}

.cpp_form{
    padding-bottom: 3rem;
}



.stylised-play, .stylised-pause{
    height: 100%;
    width: 186px;
    background-color: #D71200;
}

.stylised-play:active, .stylised-pause:active, .stylised-restart:active {
    background-color: #D71200;
}

.stylised-restart{
    background-color: #D71200;
    background-image: none;
}

.stylised-restart:before {
    content: "";
    position: absolute;
    top: 1rem;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    background-image: url(img/icon_restart_black.png);
    background-size: 65px 65px;
    filter: brightness(0) invert(1);
    background-position: center center;
}

.stylised-time-progress{
    background-color: rgba(215, 18, 0, 0.25);
}

.stylised-play-icon,
.stylised-pause-icon{
    filter: brightness(0) invert(1);
}

.stylised-player h3{
    color: #fff;
}

.stylised-player h3{
    margin-left: 1rem;
}

.stylised-player{
    margin: 0;
}

.audio-player-info{
    display: none;
}

/*.fancybox-content{*/
/*    margin-bottom: 0!important;*/
/*}*/

/*.fancybox-image, .fancybox-spaceball {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    margin: 0 auto!important;*/
/*    display: block;*/
/*    left: 0;*/
/*    right: 0;*/
/*    width: auto;*/
/*}*/

/*.fancybox-slide--image .fancybox-content{*/
/*    top: -23px;*/
/*}*/

.fancybox-slide--image{
    padding: 0!important;
}

.fancybox-inner{
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.fancybox-caption{
    position: relative;
    order: 6;
}

.galleryTitle{
    order: 1;
}

.fancybox-stage {
    order: 2;
    position: relative;
    height: 100vh;
}

.fancybox-caption__body .stylised-player{
    margin: 1rem auto 0 auto;
}

.fancybox-caption__body audio{
    display: block;
    margin: 1rem auto 0 auto;
}

.fancybox-caption__body audio{
    opacity: 0;
}

.plyr__menu{
    display: none;
}

.section--single-intro .plyr__controls{
    padding: 0;
}

 main.main > ul,
 main.main > ol{
       padding-left: 3.55rem;  
 }
 
@media only screen and (max-width: 1380px){
 main.main > ul,
 main.main > ol{
    padding-left: 5.75rem; 
 }   
}

@media only screen and (max-width: 640px){
 main.main > ul,
 main.main > ol{
    padding-left: 3rem; 
 }   
}

.section--exhibitions .callout-icon{
    max-height: 600px;
}

body .grid-x > .text-cell-padding{
    padding-left: 8rem;
}

@media only screen and (max-width: 1400px){
    body .grid-x > .text-cell-padding{
        padding-left: 6rem;
    }
}

@media only screen and (max-width: 1024px){
    body .grid-x > .text-cell-padding{
        padding-left: 1rem;
    }
}



.template--template-news .cell.year-heading:nth-child(n + 2){
  margin-top: 0;  
}