:root {
  --grey: #566069;
  --yellow: #e5dc85;
  --blue: #b6d2e3;
  --bluetint: #dae8f0;
  --darkblue: #4283bb;
}



html {
    font-size: 16px;
}

@media screen and (min-width: 700px) {
  html {
    font-size: calc(16px + 4 * ((100vw - 700px) / 500));
  }
}
@media screen and (min-width: 1200px) {
  html {
    font-size: 20px;
  }
}

.row {
    width: 61rem;
    max-width:96%;
}

a {
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}

p, li {
    font-family: "Onest", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    color:var(--grey);
    line-height:1.4;
    margin-bottom:0.8rem;
}

h1 {
    color:var(--grey);
    font-size:2.5rem;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom:0.8rem;
    line-height:1.1;
}

h2 {
    color:var(--grey);
    font-size:2rem;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom:0.8rem;
    line-height:1.1;
}

h3 {
    color:var(--grey);
    font-size:1.4rem;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom:0.2rem;
    line-height:1.1;
}

.white-panel {
    padding-top:2.5rem;
    padding-bottom:2.5rem;
}

.white-panel+.white-panel {
    padding-top:0;
    margin-top:-1rem;
}

.blue-tint-panel {
    background-color:var(--bluetint);
    padding-top:2.5rem;
    padding-bottom:2.5rem;
}

.yellow-panel {
    background-color:var(--yellow);
    padding-top:2.5rem;
    padding-bottom:2.5rem;
}

.button {
    background-color:var(--grey);
    color:white;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size:1.3rem;
    border-radius:0.6rem;
    padding: 0.5rem 1.3rem 0.3rem;
    line-height: 1.1;
    margin-top:1rem;
    border:0;
    margin-bottom:0;
}

.button:hover, .button:focus {
    background-color:var(--darkblue);
    border:0;
}

.blue-button {
    background-color:var(--blue);
    color:var(--grey);
}

.blue-button:hover, .blue-button:focus {
    background-color:var(--yellow);
    color:var(--grey);
}

strong {
    font-weight:500;
}

a {
    color:var(--grey);
    border-bottom:1px solid var(--grey);
}

a:hover, a:focus {
    color:var(--darkblue);
    border-bottom:1px solid var(--darkblue);
}

.footer {
    background-color:var(--grey);
    padding-top:2rem;
    padding-bottom:1rem;
}

.footer p, .footer li, .footer li a {
    color:white;
    font-size:0.85rem;
    font-weight:400;
}

.footer ul {
    margin:0 0 1rem;
    display:inline-block;
    vertical-align: top;
}

.footer ul li {
    list-style-type:none;
    display:inline-block;
    margin-left:0.5rem;
    margin-right:0.5rem;
}

.small-print p, .small-print li, .small-print li a {
    font-size:0.75rem;
    margin-bottom:0;
    vertical-align:top;
}

.small-print li.last {
    margin-right:0;
}

.footer a {
    border-bottom:0;
}

.footer a:hover, .footer a:focus {
    color:var(--yellow);
    border-bottom:0;
}

.footer li.active a {
    color:var(--yellow);
}

.footer li.active a:hover, .footer li.active a:focus {
    color:var(--yellow);
    border-bottom:0;
    cursor:default;
}

.insta-link {
    width:1.5rem;
    display: inline-block;
    margin-left:0.5rem;
}

.insta-icon {
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}

.insta-link:hover .insta-icon {
    fill: var(--yellow);
}

.logo {
    width:16rem;
    margin-bottom:2rem;
}

.affiliations-logos img {
    margin-bottom:2rem;
}

.affiliations-logos a {
    border-bottom:0;
}

.header {
    background-color:var(--grey);
    padding-top:2rem;
}

.header ul {
    margin:0;
    display:inline-block;
    vertical-align: top;
}

.header ul li {
    list-style-type:none;
    display:inline-block;
    margin-left:0.5rem;
    margin-right:0.5rem;
}

.header p, .header li, .header li a {
    color:white;
    font-size:0.85rem;
    font-weight:400;
}

.header a {
    border-bottom:0;
}

.header a:hover, .header a:focus {
    color:var(--yellow);
    border-bottom:0;
}

.header li.active a {
    color:var(--yellow);
}

.header li.active a:hover, .header li.active a:focus {
    color:var(--yellow);
    border-bottom:0;
    cursor:default;
}

.header-nav, .footer-nav {
    margin-top:1.6rem;
}

.sub-header {
    background-color:var(--yellow);
    padding-top: 0.7rem;
    padding-bottom:0.5rem;
}

.sub-header h3 {
    margin-bottom:0;
}

.home-carousel {
    margin-top:2rem;
    margin-bottom:1rem;
}

.carousel-box-area {
    position:absolute;
    top:15%;
    left:0;
    width:100%;
    z-index:9999;
}

.carousel-box {
    background-color:var(--grey);
    border-radius:0.6rem;
    border:1px solid white;
    padding:1rem 1rem 0.2rem 1rem;
}

.carousel-box p, .carousel-box h1 {
    color:white;
}

.carousel-box h1 {
    margin-bottom:0;
}

.exhibition-thumbnails {
    margin-top:2rem;
}

.exhibition-thumbnail {
    background-color:var(--grey);
    border-radius:0.6rem;
}

.exhibition-thumbnail p, .exhibition-thumbnail h3 {
    color:white;
}

.exhibition-thumbnail-text-area {
    width:50%;
    padding:1rem 1rem 0.2rem 1rem;
    display:inline-block;
}

.exhibition-thumbnail-image-area {
    width:50%;
    float:right;
    background-size:cover;
    background-position:center center;
    height:100%;
    border-top-right-radius:0.6rem;
    border-bottom-right-radius:0.6rem;
}

.content-page-header {
    background-color:var(--bluetint);
    margin-top: 0.5rem;
    padding-top: 1.25rem;
}

.social-links {
    margin-top:2rem;
}


.social-links svg {
    width:1.5rem;
    vertical-align:middle;
    margin-right:0.25rem;
}

.social-links a, .social-links a:hover, .social-links a:focus {
    border-bottom:0;
}

.artist-social {
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}

.social-links a:hover .artist-social {
    fill:var(--darkblue);
}

.caption {
    font-size:0.8rem;
    font-weight:400;
    margin-top:0.4rem;
    margin-bottom:0;
}

.artist-thumbnail {
    display:block;
    position:relative;
}

.artist-thumbnail {
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}

.artist-thumbnail:hover {
    transform: scale(1.03);
}

.artist-thumbnail-overlay {
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background-color:rgba(0,0,0,0.25);
    opacity:0;
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
    display:table;
}

.artist-thumbnail:hover .artist-thumbnail-overlay {
    opacity:1;
}

.template1 .artist-thumbnail {
    border:1px solid white;
}

.template1 .grid-item {
    margin-bottom:1.5rem;
}

.template1 .grid {
    margin-top:2rem;
}

.artist-thumbnail-overlay-inner {
    display:table-cell;
    vertical-align:middle;
    text-align:center;
}

.artist-thumbnail-overlay-inner p {
    color:white;
    margin-bottom:0;
    font-size:0.8rem;
    font-weight:400;
}


ul ul {
    margin-top:0.8rem;
    margin-bottom:0.8rem;
}

ul ul li {
    margin-bottom:0.25rem;
}

.grid {
	width: 61rem;
	max-width:96%;
	list-style: none;
	margin: auto;
}

.grid li {
	display: block;
	float: left;
	padding: 0.75rem;
	width: 25%;
	opacity: 0;
	margin-bottom:0;
}

.template5 .grid li, .grid.two-per-row li {
    width:50%;
}

.grid li.shown,
.no-js .grid li,
.no-cssanimations .grid li {
	opacity: 1;
}

.grid li a,
.grid li img {
	outline: none;
	border: none;
	display: block;
	max-width: 100%;
}

/* Effect 2: Move Up */
.grid.effect-2 li.animate {
	-webkit-transform: translateY(100px);
	transform: translateY(100px);
	-webkit-animation: moveUp 1s ease-in-out forwards;
	animation: moveUp 1s ease-in-out forwards;
}

@-webkit-keyframes moveUp {
	0% { }
	100% { -webkit-transform: translateY(0); opacity: 1; }
}

@keyframes moveUp {
	0% { }
	100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; }
}







/* OVERLAY STUFF ======================================================================================== */


#trigger-overlay {
    width:1.8rem;
}

#trigger-overlay .hamburger {
    -moz-transition: all .4s ease;
    -webkit-transition: all .4s ease;
    -o-transition: all .4s ease;
    -ms-transition: all .4s ease;
}

#trigger-overlay:hover .hamburger {
    fill:var(--yellow);
}

#trigger-overlay svg:focus, #trigger-overlay:focus {
    outline:none;
}

.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: var(--grey);
	z-index:9999;
	padding-top:2rem;
	overflow:auto;
}

.overlay .overlay-close {
    float:right;
	overflow: hidden;
	border: none;
	outline: none;
	z-index: 100;
}

.overlay .overlay-close .close {
    -moz-transition: all .4s ease;
    -webkit-transition: all .4s ease;
    -o-transition: all .4s ease;
    -ms-transition: all .4s ease;
}

.overlay .overlay-close:hover .close {
    fill:var(--yellow);
}

.overlay .overlay-close svg {
    width: 1.7rem;
    height: 1.8rem;
}

.overlay ul {
    margin:0;
}

.overlay ul li a {
    font-size:1.5rem;
    color:white;
    border-bottom:0;
}

.overlay ul li a:hover, .overlay ul li a:focus {
    color:var(--yellow);
    border-bottom:0;
}

.overlay-nav-area {
    display:table;
    height:90vh;
    width:100%;
}

.overlay-nav-area-inner {
    text-align:center;
    display:table-cell;
    vertical-align:middle;
    height:100%;
    width:100%;
    padding-bottom:3rem;
}



/* Effects */
.overlay-scale {
	visibility: hidden;
	opacity: 0;
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.4s, visibility 0s 0.4s;
	transition: transform 0.4s, opacity 0.4s, visibility 0s 0.4s;
}

.overlay-scale.open {
	visibility: visible;
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);	
	-webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
	transition: transform 0.4s, opacity 0.4s;
}

















/* Media Queries
========================================================================== */

/* Small only */
@media screen and (max-width: 39.9375em) {
    .affiliations-logos {
        margin-top:2rem;
    }
    .column, .columns {
        padding-right: .5rem;
        padding-left: .5rem;
    }
    .exhibition-thumbnail-text-area {
        padding: 0.8rem 0.8rem 0.2rem 0.8rem;
    }
    .exhibition-thumbnail-text-area .button {
        margin-top:0;
    }
    .button {
        padding: 0.4rem 1rem 0.2rem 1rem;
    }
    .carousel-box-area {
        position: relative;
        width: 90%;
        margin-left:5%;
        margin-top: 1.5rem;
    }
    .carousel-box-area .button {
        margin-top:0;
    }
    .home-carousel {
        margin-top: -2rem;
        margin-bottom: 0;
    }
    .carousel-box {
        border: 1px solid white;
        padding: 0.8rem 0.8rem 0.2rem 0.8rem;
    }
    h1 {
        font-size: 2.25rem;
    }
    .carousel-box-area-animation {
        transition-delay:0 !important;
    }
    .grid li {
		width: 50%;
	}
	.template5 .grid li, .template2 .grid li, .template3 .grid li {
		width: 100%;
	}
	.small-print ul li {
	    margin-left:0;
	    margin-right:1rem;
	}
	.small-print ul {
	    margin-top:1rem;
	    margin-bottom:0;
	}
}

/* Medium and up */
@media screen and (min-width: 40em) {
    .column, .columns {
        padding-right: .75rem;
        padding-left: .75rem;
    }
    .column-block {
        margin-bottom:1.5rem;
    }
}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
    .template2 .grid li, .template3 .grid li {
		width: 50%;
	}
}

/* Large and up */
@media screen and (min-width: 64em) {
}