/*
Theme Name: Customs House
Author: Thrive Creative Group, LLC
Author URI: http://thinkthrive.com
Description: This is a custom theme for Customs House designed and developed by Thrive Creative Group, LLC, WordPress --v 5.2.3
Version: 1.0
Text Domain: thrive
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Header
# Navigation
	## Links
	## Menus
# Footer
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Home Page
	## Posts and pages
	## Comments
	## Advanced Custom Fields
# Infinite scroll
# Media
	## Captions
	## Galleries
# Media Queries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: none;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: 600;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	-webkit-box-sizing: content-box;
	        box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
	font-size: 20px;
	color: #FFF;
	background-color: #147987;
	padding: 1em;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea,
.button {
	color: #112146;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
	letter-spacing: .03em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Playfair Display', serif;
	color: #112146;
	clear: both;
}

h1 {
	font-size: 64px;
}

h2 {
	/* font-size: 50px; */
	font-size: 36px;
}

h3 {
	/* font-size: 40px; */
	font-size: 24px;
	font-family: 'Poppins', sans-serif;
	font-weight: 800;
}

h4 {
	/* font-size: 24px; */
	font-size: 18px;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	color: #8DADAF;
}

h5 {
	font-size: 18px;
	font-weight: 300;
	font-style: italic;
}

h6 {
	font-size: 16px;
	font-family: 'Poppins Light', sans-serif;
	font-weight: 300;
}

p {
	margin-bottom: 1.5em;
	font-size: 16px;
	font-weight: 300;
	color: #231F20;
}

dfn,
cite,
em,
i {
	font-style: italic;
	font-family: 'Playfair Display', serif;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	-webkit-box-sizing: inherit;
	        box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 1em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 0 0 1em; /* Extra wide images within figure tags don't overflow the content area. */
	background-color: #ffffff !important; /*#F1F2F2*/
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	font-size: 18px;
	font-weight: 600;
	color: #FFF;
	background-color: #147987;
	padding: 1em;
	border: none;
	-webkit-transition: .3s ease;
	transition: .3s ease;
}

button:hover,
.button:hover
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background-color: #F3931F;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
}

.button,
.p-button > a {
	display: inline-block;
	width: auto;
	font-size: 16px;
	color: #FFF;
	background-color: #147987;
	padding: 0.75em 1em;
}

.btn-wide {
	width: auto;
}

.button-red-bg {
	color: #FFF;
	background-color: #d54447;
}

.button:hover,
.p-button > a:hover {
	color: #FFF;
	background-color: #F3931F;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
	outline: none;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-branding-cta-social {
	margin-top: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.site-branding {
	/* display: flex;
	justify-content: space-between;
	align-items: center;
	width: auto;
	height: auto; */
}

.logo {
	display: block;
	max-width: 170px;
	max-height: 80px;
}

.logo svg {
	width: 100%;
	height: auto;
}

.logo svg path {
	transition: fill 0.3s ease;
}

.logo:hover svg path {
	fill: #F3931F;
}

.cta-social {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.cta-social .button {
	/* width: 125px; */
	text-align: center;
}

.cta-social .social {
	margin-left: 1em;
	display: flex;
}

.cta-social .social .icon {
	width: 35px;
	height: 35px;
	margin-left: 0.5em;
}

.cta-social .social .icon svg path {
	transition: fill 0.3s ease;
}

.cta-social .social .icon:hover svg path {
	fill: #147987;
}

.member-login {padding-left: 15px; color: #F3931F}
.member-login:hover {color: #147987}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
#site-navigation {
	margin: 15px 0 0;
	background-color: #112146;
}

#site-navigation > .page-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #147987;
	font-weight: 600;
	text-decoration: none;
	-webkit-transition: .3s ease;
	transition: .3s ease;
}

a:hover,
a:focus,
a:active {
	color: #F3931F;
}

a:focus {
	outline: none;
}

a:hover,
a:active {
	outline: 0;
}

.moretag {
	display: inline-block;
	margin-top: .5em;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.menu-main-menu-container {
	width: 100%;
	display: flex;
  flex-direction: column;
  justify-content: center;
}

.main-navigation {
	clear: both;
	display: flex;
  flex-direction: row;
  justify-content: flex-end;
	width: 100%;
}

.main-navigation #primary-menu > li {
	position: relative;
}

.main-navigation #primary-menu > li::after {
	content: "|";
	position: absolute;
	right: -2px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	color: #FFF;
}

.main-navigation #primary-menu > li:last-of-type::after {
	display: none;
}

.main-navigation > .menu {
	display: flex;
	justify-content: center;
	align-items: center;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	text-transform: uppercase;
	padding: 0.75em 1em;
	color: #FFF;
}

.main-navigation a:hover {
	color: #edc134;
}

/* .main-navigation #menu-item-34,
.main-navigation #menu-item-30,
.main-navigation #menu-item-31,
.main-navigation #menu-item-32,
.main-navigation #menu-item-28,
.main-navigation #menu-item-27 {
	cursor: pointer !important;
} */

.main-navigation #menu-item-34 > a:hover,
.main-navigation #menu-item-30 > a:hover,
.main-navigation #menu-item-31 > a:hover,
.main-navigation #menu-item-32 > a:hover,
.main-navigation #menu-item-28 > a:hover,
.main-navigation #menu-item-27 > a:hover {
	color: #FFF;
	/* cursor: pointer !important; */
}

@-webkit-keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	visibility: hidden;
	opacity: 0;
	z-index: 99999;
	display: block;
	width: 250px;
	padding: 10px 0;
	background-color: #D84535;
	transition: opacity 0.3s ease;
	filter: drop-shadow(-2px 0 8px rgba(0, 0, 0, 0.3));
}

.main-navigation ul ul::before {
	content: "";
	position: absolute;
	top: -15px;
	left: 10%;
	z-index: 99999;
	width: 25px;
	height: 20px;
	background: url(images/svg/submenu-triangle.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
}

.main-navigation ul > li:last-of-type > ul::before {
	left: auto;
	right: 10%;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul a {
	width: calc(250px - 2em);
	padding: .5em 1em;
}

.main-navigation ul ul li {
	display: block;
}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	visibility: visible;
	opacity: 1;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}

/* #primary-menu > li {
	width: 190px;
	margin: 25px 0 10px;
} */

/* #primary-menu > li > a {
	text-align: center;
	display: flex;
	justify-content: center;
	flex-direction: column-reverse;
	align-items: center;
	padding-bottom: 15px;
} */

/* Small menu. */
#site-navigation {
	height: 60px;
}

.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.menu-toggle {
	position: relative;
	width: 30px;
	height: 20px;
	padding: 0;
	background-color: transparent;
	border-radius: 0;
	transition: none;
}

.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle:active {
	background-color: transparent;
}

.menu-toggle .bar {
	width: 100%;
	height: 2px;
	background-color: #FFF;
}

/* .menu-toggle[aria-expanded="true"] .bar {
	background-color: #112146;
} */

.menu-toggle .top {
	position: absolute;
	top: 0;
	left: 0;
}

.menu-toggle .middle {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

.menu-toggle .bottom {
	position: absolute;
	bottom: 0;
	left: 0;
}

.main-navigation.toggled {
	-webkit-box-align: center;
	-webkit-align-items: center;
	    -ms-flex-align: center;
	        align-items: center;
}

.menu-toggle[aria-expanded="true"] {
	position: absolute;
	z-index: 2001;
	top: 0;
	right: 310px;
	width: 50px;
	height: 50px;
	/* background-color: rgba(255, 255, 255, 0.95); */
	background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .bar {
	width: 33px;
}

.menu-toggle[aria-expanded="true"] .top {
	top: 25%;
	left: 40%;
	transform: rotate(-45deg) translate(-50%, -50%);
}

.menu-toggle[aria-expanded="true"] .bottom {
	bottom: 25%;
	left: 40%;
	transform: rotate(45deg) translate(-50%, -50%);
}

.menu-toggle[aria-expanded="true"] .middle {
	display: none;
}

.main-navigation.toggled .menu {
	position: fixed;
	z-index: 2000;
	top: 0;
	right: 0;
	bottom: auto;
	left: 0;
	/* max-width: 75%;
	width: 310px; */
	width: 100vw;
	height: 100vh;
	padding-top: 100px;
	/* background-color: rgba(255, 255, 255, 0.95); */
	box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
	/* background-color: #112146; */
	background-color: rgba(215, 69, 53, 0.98);
}

.main-navigation.toggled ul {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.main-navigation.toggled ul li {
	float: none;
	display: block;
	/* width: calc(100% - 50px); */
	width: 100%;
	/* height: auto; */
	padding: 0;
	margin: 0;
}

/* .main-navigation.toggled ul.sub-menu > li {
	width: 100%;
} */

.main-navigation.toggled ul a {
	position: relative;
	z-index: 0;
	display: inline-block;
	width: 100%;
	/* height: 100%; */
	font-size: 18px;
	text-align: center;
	/* padding: 0.5em 1em !important; */
	padding: 0.5em 1em !important;
	/* border-top: 1px solid #FFF; */
	/* border-bottom: 1px solid #FFF; */
	-webkit-animation: fadeIn 1s;
	        animation: fadeIn 1s;
}

.main-navigation.toggled ul a.icon {
	padding: 0 !important;
}

.main-navigation.toggled ul > li > .sub-menu {
	visibility: hidden;
}

.main-navigation.toggled ul ul {
	position: relative;
	z-index: -1;
	top: 0;
	left: auto;
	display: block;
	width: 100%;
	max-height: 0;
	opacity: 0;
	background-color: rgba(17, 33, 70, 0.1);
	box-shadow: none;
	transition: opacity 0.3s ease, max-height 0.3s ease;
}

.main-navigation.toggled ul ul::before {
	display: none;
}

.main-navigation ul > li:last-of-type ul {
	right: 0;
}

.main-navigation.toggled ul li.menu-item-has-children {
	position: relative;
}

.main-navigation.toggled ul li.menu-item-has-children.focus ul.sub-menu {
	z-index: 9999;
	max-height: 9999px;
	visibility: visible;
	opacity: 1;
}

.main-navigation.toggled ul li.menu-item-has-children.focus ul.sub-menu a {
	font-size: 16px;
	padding: 0.5em 1em;
}

@-webkit-keyframes slideIn {
	0% {
		width: 0;
	}
	100% {
		width: 100vw;
	}
}

@keyframes slideIn {
	0% {
		width: 0;
	}
	100% {
		width: 100vw;
	}
}

.submenu-toggle {
	position: absolute;
	right: 0;
	/* top: 25px; */
	top: 0;
	z-index: 1;
	width: 45px;
	height: 45px;
	background-color: #EFEFEF;
	display: flex;
	justify-content: center;
	align-items: center;
}

.submenu-toggle:hover,
.submenu-toggle:focus {
	background-color: #DEDEDE;
}

.submenu-toggle svg {
	width: 25px;
	pointer-events: none;
	transition: 0.3s ease;
}

.focus .submenu-toggle svg {
	transform: rotate(-180deg);
}

@media screen and (min-width: 1101px) {
	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
    flex-direction: row;
    justify-content: center;
	}

	.submenu-toggle {
		display: none;
	}
}

@media screen and (max-width: 1100px) {
	.main-navigation #primary-menu > li::after {
		display: none;
	}
}

/* @media screen and (max-width: 480px) {
	.menu-toggle[aria-expanded="true"] {
		right: 75%;
	}

	.main-navigation.toggled .menu {
		max-width: none;
		width: 75%;
	}
} */

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	width: 100%;
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

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

.pagination .nav-links > * {
	padding: 0.25em;
	margin: 0.25em;
	font-size: 18px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
	padding-top: 25px;
	font-size: 14px;
	color: #FFF;
	background-color: #112146;
}

.site-footer,
.site-footer a {
	color: #FFF;
}

.site-footer a:hover {
	color: #F3931F;
}

.site-footer ul,
.site-footer ol {
	margin-left: 1.5em;
	padding-left: 0;
}

.signup-social {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	padding-bottom: 60px;
	border-bottom: 1px solid #8DADAF;
}

.signup-social .signup > * {
	color: #FFF;
}

.signup-social .signup .title {
	margin-bottom: 0;
	font-weight: 600;
}

.signup-social .signup p {
	margin-top: 0;
}

.signup-social .signup input {
	border-radius: 0;
}

.signup-social .signup input[type="text"] {
	width: 340px;
	padding: 0.75em 1em;
	border: 2px solid #D1D3D4;
}

.signup-social .signup input[type="text"]::placeholder {
	font-style: italic;
}

.signup-social .signup input[type="submit"] {
	padding: 0.75em 1.5em;
}
.signup-social .signup a:hover {color: #fff}
.signup-social .social {
	display: flex;
}

.signup-social .social .icon {
	position: relative;
	z-index: 1;
	width: 45px;
	height: 45px;
	margin-left: 1em;
}

.signup-social .social .icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 0;
	width: 80%;
	height: 80%;
	background-color: #FFF;
	border-radius: 50%;
}

.signup-social .social .icon svg {
	position: relative;
	z-index: 1;
}

.signup-social .social .icon svg path {
	transition: fill 0.3s ease;
}

.signup-social .social .icon:hover svg path {
	fill: #147987;
}

.site-info {
	width: 100%;
	margin-top: 20px;
	margin-bottom: 25px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	line-height: 2;
	font-weight: 300;
}

.site-info > * {
	width: 23.5%;
}

.site-info p {
	color: #FFF;
}

.site-info .section-title {
	font-size: 20px;
	color: #F3931F;
}

.site-info .contact .address {
	font-style: normal;
	margin-bottom: 0;
}

.site-info .contact .hours {
	margin-top: 2em;
}

.site-info .contact a,
.site-info .visit a,
.site-info .about a {
	font-weight: 300;
}

.site-info a {
	font-size: 16px;
}

.site-info .visit ul,
.site-info .about ul {
	margin: 0;
	list-style-type: none;
}

.site-info .support-us .widget .widget-title {
	display: none;
}
.support-us ul {list-style: none}
.site-info .support-us .widget p {
	margin-top: 0;
	margin-bottom: 2em;
}

.copyright-bar {
	text-align: center;
	padding: 1em 0;
	color: #FFF;
	background-color: #147987;
}

.copyright-bar a {
	color: #FFF;
	font-weight: 400;
}

.copyright-bar a:hover {
	color: #147987;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	-webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	        box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

.slider .default-image {
	width: 100%;
	height: auto;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
}

.slider .default-image img {
	width: 100%;
	height: auto;
}

.slider .widget img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Home Page
--------------------------------------------------------------*/
.metaslider .flexslider {
	margin-bottom: 0 !important;
	/* overflow: hidden; */
	border-radius: 0;
}

.metaslider .caption-wrap {
	width: 90% !important;
	max-width: 1200px;
	height: 100%;
	left: 50% !important;
	transform: translateX(-50%);
	display: flex !important;
	justify-content: flex-start;
	align-items: center;
	line-height: 1.15 !important;
	opacity: 1 !important;
	background-color: transparent !important;
}

.metaslider .caption-wrap .caption {
	width: 55%;
	color: #FFF;
}

.metaslider .caption-wrap .caption h2 {
	margin-top: 0.25em;
	font-size: 64px;
	color: #FFF;
}

.metaslider .caption-wrap .caption .exhibit {
	font-size: 18px;
}

.metaslider .caption-wrap .caption .button {
	font-size: 20px;
}

.flex-control-nav {
	bottom: 25px !important;
}

.flex-control-nav li a {
	width: 20px !important;
	height: 20px !important;
	background-color: transparent !important;
	border: 1px solid #147987 !important;
}

.flex-control-nav li a.flex-active {
	background-color: #147987 !important;
}

.latest-exhibitions {
	/* max-width:  */
	padding: 25px 0;
}

.latest-exhibitions .title-bar {
	position: relative;
	margin-bottom: 35px;
	padding-bottom: 10px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	border-bottom: 1px solid #8DADAF;
}

.latest-exhibitions .title-bar::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	z-index: 1;
	width: 50px;
	height: 3px;
	background-color: #D84535;
}

.latest-exhibitions .title-bar .title {
	margin-bottom: 0;
	line-height: 1.25;
}

/* .latest-exhibitions .title-bar a.all {
	padding-bottom: 0.5em;
} */

.latest-exhibitions .exhibits-container {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}

.latest-exhibitions .exhibits-container .exhibit .image-container img {
	width: 100%;
	height: auto;
}

.bg-orange {
	color: #FFF;
	background-color: #F3931F;
}

.bg-lightblue {
	color: #FFF;
	background-color: #8DADAF;
}

.bg-red {
	color: #FFF;
	background-color: #D84535;
}

.latest-exhibitions {
	margin-bottom: 50px;
}

@supports (display: grid) {
	.latest-exhibitions .exhibits-container {
		display: grid;
		grid-template-columns: 35% 1fr 1fr;
		grid-template-rows: auto auto;
		grid-gap: 25px;
	}

	.latest-exhibitions .exhibits-container .exhibit-latest {
		grid-row: 1 / -1;
		grid-column: 1;
	}

	.latest-exhibitions .exhibits-container .exhibit-latest > a {
		height: 100%;
		max-height: 695px;
		display: grid;
		grid-template-rows: 70% 1fr;
		grid-gap: 2px;
	}

	.latest-exhibitions .exhibits-container .exhibit-latest .image-container {
		width: 100%;
		overflow: hidden;
	}

	.latest-exhibitions .exhibits-container .exhibit-latest .image-container img {
		height: 500px;
		width: 420px;
		object-fit: cover;
		object-position: center;
	}

	.latest-exhibitions .exhibits-container .exhibit-2 {
		grid-row: 1;
		grid-column: 2;
	}

	.latest-exhibitions .exhibits-container .exhibit-3 {
		grid-row: 1;
		grid-column: 3;
	}

	.latest-exhibitions .exhibits-container .exhibit-4 {
		grid-row: 2;
		grid-column: 2;
	}

	.latest-exhibitions .exhibits-container .exhibit-5 {
		grid-row: 2;
		grid-column: 3;
	}

	.latest-exhibitions .exhibits-container .exhibit {
		/* width: 100%;
		height: 100%; */
	}

	.latest-exhibitions .exhibits-container .exhibit > a {
		display: grid;
		grid-template-columns: auto;
		grid-template-rows: 75% 1fr;
		grid-gap: 2px;
		/* align-items: start; */
		height: 100%;
		width: 100%;
	}

	.latest-exhibitions .exhibits-container .exhibit > a .image-container {
		max-height: 255px;
		overflow: hidden;
	}

	.latest-exhibitions .exhibits-container .exhibit > a .image-container img {
		width: 365px;
		height: 255px;
		object-fit: cover;
		object-position: center;
	}

	.latest-exhibitions .exhibits-container .exhibit > a .post-title-container {
		/* height: 100%; */
	}

	.latest-exhibitions .events-container {
		display: grid;
		grid-template-columns: 35% 1fr 1fr;
		grid-template-rows: auto;
		grid-gap: 25px;
		margin-top: 25px;
	}

	.latest-exhibitions .events-container {

	}

	.latest-exhibitions .events-container .event-1 {
		grid-row: 1;
		grid-column: 1;
	}

	.latest-exhibitions .events-container .event-2 {
		grid-row: 1;
		grid-column: 2;
	}

	.latest-exhibitions .events-container .event-3 {
		grid-row: 1;
		grid-column: 3;
	}

	.latest-exhibitions .events-container .event > a {
		display: grid;
		grid-template-columns: auto;
		grid-template-rows: 75% 1fr;
		grid-gap: 2px;
		/* align-items: start; */
		height: 100%;
		width: 100%;
	}

	.latest-exhibitions .events-container .event > a .image-container {
		max-height: 255px;
		overflow: hidden;
	}

	.latest-exhibitions .events-container .event > a .image-container img {
		width: 365px;
		height: 255px;
		object-fit: cover;
		object-position: center;
	}

	.latest-exhibitions .events-container .event-1 .image-container img {
		height: 500px !important;
		width: 420px !important;
		object-fit: cover;
		object-position: center;
	}

	.latest-exhibitions .events-container .event-1 .post-title-container {
		color: #FFF;
		background-color: #D84535;
	}

	.latest-exhibitions .events-container .event-2 .post-title-container {
		color: #FFF;
		background-color: #8DADAF;
	}

	.latest-exhibitions .events-container .event-3 .post-title-container {
		color: #FFF;
		background-color: #F3931F;
	}
} /* end @supports (display: grid) */


.latest-exhibitions .exhibits-container .exhibit-latest .post-title-container,
.latest-exhibitions .exhibits-container .exhibit .post-title-container,
.latest-exhibitions .events-container .event .post-title-container {
	width: 100%;
	padding: 1em;
}

.latest-exhibitions .exhibits-container .exhibit-latest .post-title-container .date,
.exhibitions-container .exhibition .post-title-container .date {
	margin-bottom: 0.5em;
	font-size: 18px;
	color: #FFF;
}

.latest-exhibitions .exhibits-container .exhibit-latest .post-title-container .post-title,
.latest-exhibitions .exhibits-container .exhibit .post-title-container .post-title,
.exhibitions-container .exhibition .post-title-container .post-title,
.latest-exhibitions .events-container .event .post-title-container .event-title {
	margin: 0;
	line-height: 1.25;
	color: #FFF;
	font-weight: 600;
}

.latest-exhibitions .exhibits-container .exhibit .post-title-container .post-title,
.latest-exhibitions .events-container .event .post-title-container .event-title {
	display: block;
	font-size: 18px;
}

/* .latest-exhibitions .exhibits-container .exhibit-latest > a .image-container,
.latest-exhibitions .exhibits-container .exhibit > a .image-container {
	position: relative;
}

.latest-exhibitions .exhibits-container .exhibit-latest > a .image-container::after,
.latest-exhibitions .exhibits-container .exhibit > a .image-container::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background-color: transparent;
	transition: background-color 0.3s ease;
} */

.latest-exhibitions .exhibits-container .exhibit-latest > a .image-container img,
.latest-exhibitions .exhibits-container .exhibit > a .image-container img,
.latest-exhibitions .events-container .event > a .image-container img {
	transition: transform 0.3s ease;
}

.latest-exhibitions .exhibits-container .exhibit-latest > a .post-title-container,
.latest-exhibitions .exhibits-container .exhibit > a .post-title-container,
.latest-exhibitions .events-container .event > a .post-title-container {
	align-self: stretch;
	transition: background-color 0.3s ease;
}

.latest-exhibitions .exhibits-container .exhibit-latest > a:hover .image-container img,
.latest-exhibitions .exhibits-container .exhibit > a:hover .image-container img,
.latest-exhibitions .events-container .event > a:hover .image-container img {
	transform: scale(1.05);
}

.latest-exhibitions .exhibits-container .exhibit-latest > a:hover .post-title-container,
.latest-exhibitions .exhibits-container .exhibit > a:hover .post-title-container,
.latest-exhibitions .events-container .event > a:hover .post-title-container {
	background-color: #147987;
}

.latest-exhibitions .title-bar {
	position: relative;
	margin-bottom: 35px;
	padding-bottom: 10px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	border-bottom: 1px solid #8DADAF;
}

.latest-exhibitions .title-bar::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	z-index: 1;
	width: 50px;
	height: 3px;
	background-color: #D84535;
}

.latest-exhibitions .title-bar .title {
	margin-bottom: 0;
	line-height: 1.25;
}

.newsfeed {
	position: relative;
	z-index: 0;
	min-height: 475px;
	padding: 25px 0 50px;
	background-image: url(images/upcomingevents-bg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.newsfeed > .page-wrap {
	position: relative;
	z-index: 2;
}

.newsfeed .title-bar {
	position: relative;
	margin-bottom: 35px;
	padding-bottom: 10px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	color: #FFF;
	border-bottom: 1px solid #FFF;
}

.newsfeed .title-bar::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	z-index: 1;
	width: 50px;
	height: 3px;
	background-color: #112146;
}

.newsfeed .title-bar .title {
	margin-bottom: 0;
	line-height: 1.15;
	color: #FFF;
}

.newsfeed .title-bar a.all {
	/* padding-bottom: 0.5em; */
	color: #FFF;
}

.newsfeed .title-bar a.all:hover {
	color: #F3931F;
}

.newsfeed__container {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.newsfeed__singlepost {
	width: 30%;
}

.newsfeed__singlepost > a:hover .newsfeed__imagecontainer img {
	transform: scale(1.05);
}

.newsfeed__singlepost > a:hover * {
	color: #F3931F;
}

.newsfeed__imagecontainer {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 70%;
	overflow: hidden;
}

.newsfeed__imagecontainer img {
	width: 365px;
  height: 255px;
  object-fit: cover;
  object-position: center;
	transition: transform 0.3s ease;
}

.newsfeed__postdate {
	margin-bottom: 0;
	color: #FFF;
	line-height: 1.25;
	transition: color 0.3s ease;
}

.newsfeed__posttitle {
	margin-top: 0.5em;
	color: #FFF;
	line-height: 1.25;
	transition: color 0.3s ease;
}

.get-involved {
	height: 550px;
	margin: 0;
	padding: 50px 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.get-involved .content {
	max-width: 380px;
	color: #112146;
}

.get-involved .content h4 {
	margin: 0;
	color: #8DADAF;
	font-size: 18px;
}

.get-involved .content .title {
	margin-top: 0;
	margin-bottom: 0;
	line-height: 1.15;
	font-size: 64px;
}

.get-involved .content .text {
	margin-left: 50px;
	line-height: 2;
}

.get-involved .content .links {
	margin-left: 50px;
	line-height: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.get-involved .content .links > a {

}

.instagram-feed {
	color: #FFF;
	background-color: #112146;
	padding: 25px 0 100px;
}

.instagram-feed > .page-wrap,
.sponsors > .page-wrap {
	text-align: center;
}

.instagram-feed > .page-wrap {
	margin-bottom: 50px;
}

.instagram-feed > .page-wrap > * {
	color: #FFF;
}

.instagram-feed .title {
	margin-bottom: 0;
}

.instagram-feed p {
	margin-top: 0.5em;
	margin: 0.5em 0 0;
}

.instagram-feed a {
	font-weight: 300;
	color: #F3931F;
}

.sponsors .title {
	margin-bottom: 0;
}

.sponsors .gallery {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.sponsors .gallery img {
	max-height: 200px;
	width: auto;
	margin: 0 25px 50px;
}

.map {
	width: 100%;
	height: auto;
}

.map img {
	width: 100%;
	height: auto;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.page-wrap {
	width: 90%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.entry-container .entry-content h1:first-of-type,
.entry-container .entry-content h2:first-of-type,
.entry-container .entry-content h3:first-of-type,
.entry-container .entry-content h4:first-of-type,
.entry-container .entry-content h5:first-of-type,
.entry-container .entry-content p:first-of-type {
	margin-top: 0;
	padding-top: 0;
}

/* Page.php */
.entry-header .entry-title {
	margin: 0.5em 0;
	text-align: center;
	line-height: 1.15;
}

.entry-header .featured-image {
	position: relative;
	width: 100%;
	/* max-height: 200px; */
	margin-bottom: 75px;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	background-color: transparent !important;
}

.entry-header .featured-image img {
	width: 100%;
	height: auto;
}

/* .wp-block-column p {
	word-break: break-all;
} */

figure {
	background-color: #FFFFFF !important; /* #8DADAF !important; */
}

figure img {
	width: 100%;
}

figure figcaption {
	margin-top: 0 !important;
	padding: 1em 5%;
	color: #FFF !important;
	text-align: left !important;
}

blockquote {
	margin: 0 2em !important;
}

blockquote > * {
	font-size: 24px !important;
	font-family: "Playfair Display", serif;
	font-style: italic;
	font-weight: 800;
	color: #D84535;
}

.red-bg-block {
	position: relative;
	z-index: 0;
	min-height: 0;
	padding: 25px 0 25px;
	background-image: url(images/upcomingevents-bg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.red-bg-block > .page-wrap > * {
	color: #FFF;
}

.gallery-block {

}

.gallery-block > .page-wrap {

}

.gallery-block .acf-gallery {
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: flex-start;
	flex-wrap: wrap;
}

.gallery-block .acf-gallery img {
	width: 295px;
	height: 185px;
	margin: 10px;
}

.page-id-48 figure {
	background-color: transparent !important;
}

/* Page-membership.php */
.wp-block-media-text {
	margin-bottom: 50px;
	align-items: start;
}

/* .wp-block-media-text.one-third-imageleft {
	grid-template-columns: 33% auto;
} */

.bg-gray {
	background-color: #F1F2F2;
}

.flex-block {
	padding: 50px 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	align-content: center;
}

.flex-block .membership-block {
	width: 30%
}

.flex-block .membership-block .membership-type,
.flex-block .membership-block h3 {
	margin-bottom: 0;
	font-size: 20px;
}

.flex-block .membership-block .price,
.flex-block .membership-block h4 {
	margin-bottom: 0.5em;
	color: #D84535;
	font-weight: 600;
}

.flex-block .membership-block ul.details-list,
.flex-block .membership-block ul {
	margin: 1em 0 1em 2em;
	padding: 0 1.5em 0 0;
}

.flex-block .membership-block ul.details-list li,
.flex-block .membership-block ul li {
	/* padding: 0 1.5em 0.5em 0; */
	padding-bottom: 0.5em;
}

.flex-block .membership-block .button {
	min-width: 125px;
	text-align: center;
}

.flex-block .membership-card-block,
.page-template-page-membership .entry-content > div:last-of-type .flex-block div:nth-of-type(2) {
	width: 50%;
}

.flex-block .membership-card-block img,
.page-template-page-membership .entry-content:last-child .flex-block > div:nth-of-type(2) img {
	margin-bottom: 25px;
	filter: drop-shadow(0px 10px 8px rgba(0, 0, 0, 0.3));
}

.flex-block .membership-card-block .ask-us,
.page-template-page-membership .entry-content:last-child .flex-block > div:nth-of-type(2) h2 {
	line-height: 1.15;
}

/*
 * Category-exhibitions.php
 * page-exhibitions.php
 */
.category-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	list-style-type: none;
}

.category-nav li {
	margin: 0.25em;
}
.category-nav li a:after {content: "|"; padding-left: 1.5em}
.category-nav li:last-child a:after {content: none}

.category-nav li > a {
	padding: 0.5em 1em .5em 0;
	font-weight: 400;
}
.category-nav li.current a {font-weight: 700}
.exhibitions-container {
	margin-bottom: 50px;
	column-count: 3;
	column-gap: 10px;
}

.exhibitions-container .exhibition {
	break-inside: avoid;
	margin-bottom: 10px;
}

.exhibitions-container .exhibition .image-container {
	width: 100%;
	margin-bottom: 2px;
	display: flex;
	overflow: hidden;
}

.exhibitions-container .exhibition .image-container img {
	width: 100%;
	transition: transform 0.3s ease;
}

.exhibitions-container .exhibition > a:hover .image-container img {
	transform: scale(1.05);
}

.exhibitions-container .exhibition .post-title-container {
	padding: 1em;
}

.exhibitions-container .exhibition > a:hover .post-title-container {
	background-color: #147987;
	transition: background-color 0.3s ease;
}

.exhibitions-container .exhibition-1 .post-title-container,
.exhibitions-container .exhibition-4 .post-title-container,
.exhibitions-container .exhibition-7 .post-title-container,
.exhibitions-container .exhibition-10 .post-title-container,
.exhibitions-container :nth-child(3n - 2) .post-title-container
{
	background-color: #F3931F;
}

.exhibitions-container .exhibition-2 .post-title-container,
.exhibitions-container .exhibition-5 .post-title-container,
.exhibitions-container .exhibition-8 .post-title-container,
.exhibitions-container :nth-child(3n - 1) .post-title-container
{
	background-color: #8DADAF;
}

.exhibitions-container .exhibition-3 .post-title-container,
.exhibitions-container .exhibition-6 .post-title-container,
.exhibitions-container .exhibition-9 .post-title-container,
.exhibitions-container :nth-child(3n) .post-title-container
{
	background-color: #D84535;
}

.exhibitions-container .exhibition .post-title-container .date {
	font-size: 16px;
	line-height: 1.15;
}

.exhibitions-container .exhibition .post-title-container .post-title {
	line-height: 1.15;
	font-size: 20px;
	font-weight: 600;
  font-family: 'Poppins', sans-serif;
	color: #FFF;
}

.galleryspace-date {
	text-align: center;
}

.exhibitions-template-default .entry-container .featured-image-container {
	margin-bottom: 25px;
	display: flex;
	justify-content: center;
}

.no-posts {
	width: 100%;
	margin-bottom: 50px;
	display: flex;
	justify-content: center;
	text-align: center;
}

.current > a,
.current-cat > a {
	color: #F3931F;
}

.no-results > .page-wrap {
	text-align: center;
	margin-bottom: 50px;
}

/* 404 Page */
.error404 .error-404 {
	text-align: center;
}

.error404 .site-content {
	min-height: 400px;
}

.error404 form {
	margin-bottom: 50px;
}

.error404 form input {
	padding: 0.75em 1em;
}

.error404 form input[type="search"] {
	border-radius: 0;
	border: 2px solid #D1D3D4;
}

/* Single.php */
.post-navigation-wrap {
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.back-to-exhibitions {
	margin-bottom: 1em;
}

/* Page-news.php */
.no-results input[type=search] {
	border-width: 2px;
	transition: border-color 0.3s ease;
}

.no-results input[type=search]:focus {
	border-color: #112146;
}

.no-results input[type=search],
.no-results input[type=submit] {
	padding: 0.5em 1em;
	border-radius: 0;
}

.page-template-page-news .post-title {
	margin-bottom: 0.25em;
	text-align: left;
	color: #147987;
	font-weight: 600;
	transition: color 0.3s ease;
}

.page-template-page-news a:hover > .post-title:hover {
	color: #F3931F;
}

.page-template-page-news article {
	border-bottom: 2px solid #8DADAF;
}

/* Search.php */
.search .page-title {
	text-align: center;
}

.search article {
	border-bottom: 2px solid #8DADAF;
}

.search article .entry-title {
	margin-bottom: 0.25em;
	text-align: left;
}

.search article .entry-summary,
.search article .entry-summary > p {
	margin-top: 0;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
## Advanced Custom Fields
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

.custom-logo-link img {
	display: block;
	max-height: 150px;
	width: auto;
	max-width: 300px;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33333%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66667%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28571%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11111%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/
@media only screen and (min-width: 1300px) {

}

@media only screen and (min-width: 1600px) {

}

@media only screen and (max-width: 1200px) {
	.metaslider .caption-wrap .caption h2 {
		font-size: 40px;
	}
}

@media only screen and (max-width: 1100px) {
	#site-navigation > .page-wrap {
		position: relative;
	}

	#primary-menu::before {
		content: "";
		position: fixed;
		top: 0;
		left: 0;
		z-index: 999;
		width: 100vw;
		height: 75px;
		background-color: #112146;
	}

	#site-navigation > .page-wrap .menu-toggle[aria-expanded="false"] {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
	}

	#site-navigation > .page-wrap .menu-toggle[aria-expanded="true"] {
		top: -125px;
		left: 50%;
		/* transform: none; */
		transform: translate(-50%, 0%);
		/* transform: translateY(0%); */
	}

	.main-navigation.toggled .menu {
		padding-bottom: 100px;
		overflow: scroll;
	}

	.main-navigation.toggled ul li.menu-item-has-children.focus ul.sub-menu {
		z-index: 1;
	}

	.latest-exhibitions .exhibits-container,
	.latest-exhibitions .events-container {
		grid-template-columns: calc(50% - 10px) calc(50% - 10px);
		grid-gap: 20px;
	}

	.latest-exhibitions .events-container {
		grid-template-rows: auto auto;
	}

	.latest-exhibitions .exhibits-container .exhibit-latest {
		grid-row: 1;
		grid-column: 1 / 3;
	}

	.latest-exhibitions .exhibits-container .exhibit-latest .image-container img {
		width: 100%;
		height: 100%;
	}

	.latest-exhibitions .exhibits-container .exhibit-latest > a {
		grid-template-rows: 80% 1fr;
	}

	.latest-exhibitions .exhibits-container .exhibit > a,
	.latest-exhibitions .events-container .event > a {
		max-height: 400px;
	}

	.latest-exhibitions .exhibits-container .exhibit > a .image-container,
	.latest-exhibitions .events-container .event > a .image-container {
		max-height: none;
	}

	.latest-exhibitions .exhibits-container .exhibit > a .image-container img,
	.latest-exhibitions .events-container .event > a .image-container img {
		width: 100% !important;
		height: 100% !important;
	}

	.latest-exhibitions .exhibits-container .exhibit-2,
	.latest-exhibitions .events-container .event-1 {
		grid-row: 2;
		grid-column: 1;
	}

	.latest-exhibitions .exhibits-container .exhibit-3 {
		grid-row: 2;
		grid-column: 2;
	}

	.latest-exhibitions .exhibits-container .exhibit-4 {
		grid-row: 3;
		grid-column: 1;
	}

	.latest-exhibitions .exhibits-container .exhibit-5 {
		grid-row: 3;
		grid-column: 2;
	}

	.latest-exhibitions .events-container .event-1 {
		grid-row: 1;
		grid-column: 1;
	}

	.latest-exhibitions .events-container .event-2 {
		grid-row: 1;
		grid-column: 2;
	}

	.latest-exhibitions .events-container .event-3 {
		grid-row: 2;
		grid-column: 1;
	}

	.latest-exhibitions .exhibits-container .exhibit-latest .post-title-container .post-title {
		font-size: 18px;
	}

	.latest-exhibitions .exhibits-container .exhibit-latest .post-title-container .date {
		font-size: 16px;
	}

	.latest-exhibitions .exhibits-container .exhibit .post-title-container .post-title {
		/* font-size: 16px; */
	}
}

@media only screen and (max-width: 1024px) {
	.metaslider .caption-wrap .caption {
		width: 60%;
	}

	.metaslider .caption-wrap .caption h2 {
		font-size: 30px;
	}

	.button {
		padding: 0.5em 0.75em;
	}

	.get-involved {
		position: relative;
	}

	.get-involved::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 1;
		background-color: rgba(255, 255, 255, 0.8);
	}

	.get-involved > .page-wrap {
		position: relative;
		z-index: 2;
	}

	.exhibitions-container {
		column-count: 2;
	}

	.exhibitions-container .exhibition .post-title-container .post-title {
		font-size: 20px;
	}
}

@media only screen and (max-width: 900px) {
	.latest-exhibitions .exhibits-container .exhibit > a {
		max-height: 350px;
	}

	.latest-exhibitions .exhibits-container .exhibit .post-title-container .post-title {
		font-size: 16px;
	}

	.newsfeed__container {
		flex-wrap: wrap;
		justify-content: center;
	}

	.newsfeed__singlepost {
		width: 100%;
		max-width: 365px;
		margin: 0 25px 50px;
	}

	.site-info {
		flex-wrap: wrap;
	}

	.site-info > * {
		width: 48.5%;
	}

	.get-involved .content .title {
		font-size: 45px;
	}
}

@media only screen and (max-width: 782px) {
	.latest-exhibitions .title-bar,
	.upcoming-events .title-bar {
		flex-wrap: wrap;
	}
}

@media only screen and (max-width: 768px) {
	#site-navigation > .page-wrap .menu-toggle[aria-expanded="true"] {
		top: -115px;
	}

	.metaslider .flexslider {
		margin-bottom: 25px !important;
	}

	.metaslider .caption-wrap {
		/* display: none !important; */
		position: relative !important;
		padding-top: 25px;
		padding-bottom: 25px;
	}

	.metaslider .caption-wrap .caption {
		width: 100% !important;
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
	}

	.metaslider .caption-wrap .caption > *:not(.button) {
		width: 100% !important;
		color: #112146 !important;
		text-align: center;
	}

	.metaslider .caption-wrap .caption .button {

		color: #FFF !important;
	}

	.flex-control-nav {
		bottom: -35px !important;
	}

	.site-branding-cta-social .site-branding .logo {
		max-width: 125px;
	}

	.signup-social {
		justify-content: center;
		flex-wrap: wrap;
		padding-bottom: 50px;
	}

	.signup-social .signup {
		width: 100%;
		margin-bottom: 50px;
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
		text-align: center;
	}

	.signup-social .signup input[type="text"],
	.signup-social .signup input[type="submit"] {
		width: 100%;
		text-align: center;
	}

	h1 {
		font-size: 52px;
	}

	h2 {
		font-size: 40px;
	}

	h3 {
		font-size: 32px;
	}

	h4 {
		font-size: 20px;
	}

	.latest-exhibitions .title-bar a.all,
	.upcoming-events .title-bar a.all {
		padding-bottom: 0;
	}

	.flex-block {
		padding-bottom: 0;
		flex-wrap: wrap;
		justify-content: center;
	}

	.flex-block .membership-block,
	.flex-block .membership-card-block {
		width: 100%;
		max-width: 450px;
		margin-bottom: 50px;
	}

	.upcoming-events .flexslider .flex-viewport {
		width: calc(100% - 110px);
	}

	.site-branding-cta-social .site-branding {
		width: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.cta-social {
		width: 100%;
		flex-wrap: wrap;
		justify-content: center;
	}

	.cta-social .cta {
		width: 100%;
	}

	.cta-social .cta a {
		border-bottom: 1px solid #FFF;
	}

	.cta-social .cta a:last-of-type {
		border-bottom: none;
	}

	.cta-social .social {
		width: 100%;
		margin-top: 10px;
		margin-left: 0;
		margin: 10px 0 25px;
		justify-content: center;
		align-items: center;
	}

	.cta-social .social .icon {
		width: 45px;
		height: 45px;
	}

	#site-navigation > .page-wrap .menu-toggle[aria-expanded="true"] {
		top: -100px;
	}
}

@media only screen and (max-width: 640px) {
	.site-branding-cta-social {
		/* flex-wrap: wrap; */
	}

	.site-branding-cta-social .site-branding .logo {
		max-width: 100px;
	}

	@supports (display: grid) {
		.latest-exhibitions .exhibits-container,
		.latest-exhibitions .events-container {
			grid-template-columns: 100%;
			grid-template-rows: auto;
			grid-gap: none;
			grid-column-gap: 20px;
		}

		.latest-exhibitions .exhibits-container .exhibit-latest {
			grid-row: 1;
			grid-column: 1;
		}

		.latest-exhibitions .exhibits-container .exhibit-latest > a {
			grid-template-rows: 75% 1fr;
		}

		.latest-exhibitions .exhibits-container .exhibit > a,
		.latest-exhibitions .events-container .event > a {
			max-height: 450px;
			grid-template-rows: 80% 1fr;
		}

		.latest-exhibitions .exhibits-container .exhibit-2 {
			grid-row: 2;
			grid-column: 1;
		}

		.latest-exhibitions .exhibits-container .exhibit-3 {
			grid-row: 3;
			grid-column: 1;
		}

		.latest-exhibitions .exhibits-container .exhibit-4 {
			grid-row: 4;
			grid-column: 1;
		}

		.latest-exhibitions .exhibits-container .exhibit-5 {
			grid-row: 5;
			grid-column: 1;
		}

		.latest-exhibitions .events-container .event-1 {
			grid-row: 1;
			grid-column: 1;
		}

		.latest-exhibitions .events-container .event-2 {
			grid-row: 2;
			grid-column: 1;
		}

		.latest-exhibitions .events-container .event-3 {
			grid-row: 3;
			grid-column: 1;
		}
	}

	.get-involved {
		height: auto;
	}

	.get-involved .content {
		max-width: 100%;
	}

	.get-involved .content .title {
		font-size: 35px;
	}

	.get-involved .content .text-links > * {
		margin-left: 0;
	}
}

@media only screen and (max-width: 600px) {
	.site-info > * {
		width: 100%;
		text-align: center;
	}

	h1 {
		font-size: 40px;
	}

	h2 {
		font-size: 32px;
	}

	h3 {
		font-size: 25px;
	}

	h4 {
		font-size: 18px;
	}

	.wp-block-media-text .wp-block-media-text__media {
		margin-bottom: 25px;
	}

	.exhibitions-container {
		column-count: 1;
	}
}

@media only screen and (max-width: 480px) {
	/* .latest-exhibitions .title-bar,
	.upcoming-events .title-bar {
		flex-wrap: wrap;
	} */

	.latest-exhibitions .title-bar .title,
	.upcoming-events .title-bar .title {
		width: 100%;
	}
}

@media only screen and (max-width: 425px) {
	.error404 form input {
		width: 100%;
	}

	.error404 form input[type="search"] {
		text-align: center;
	}

	.error404 form input[type="search"]::placeholder {
		font-style: italic;
	}

	.newsfeed__singlepost {
		max-width: 365px;
		margin: 0 0 50px;
	}
}

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

}


figure {background-color:#ffffff !important;}

.exhibitions-container .exhibition .image-container {display:block;}

header nav {position:relative; z-index:999999999999999999999999999999999999999999999999999999999;}

.tms img {margin-bottom:15px;}