
/*--------------------------------------------------------------
# DKP What's On Output
# Main values - change these only when adjusting the design
----------------------------------------------------------------*/

:root {
	--dkp-whats-on-light: #ffffff;
	--dkp-whats-on-soft-light: rgba(255, 255, 255, 0.88);
	--dkp-whats-on-muted-light: rgba(255, 255, 255, 0.72);
	--dkp-whats-on-divider: rgba(255, 255, 255, 0.25);

	--dkp-whats-on-modal-background: #ffffff;
	--dkp-whats-on-modal-text: #526b9a;
	--dkp-whats-on-modal-soft-text: #5d5d5d;
	--dkp-whats-on-modal-overlay: rgba(0, 0, 0, 0.72);

	--dkp-whats-on-font: inherit;
	--dkp-whats-on-heading-font: inherit;

	--dkp-whats-on-current-image-width: 460px;
	--dkp-whats-on-current-content-width: 520px;
	--dkp-whats-on-future-thumbnail-width: 110px;
	--dkp-whats-on-gap: 18px;

	--dkp-whats-on-current-title-size: 24px;
	--dkp-whats-on-current-text-size: 20px;

	--dkp-whats-on-future-title-size: 20px;
	--dkp-whats-on-future-text-size: 18px;

	--dkp-whats-on-empty-message-size: 20px;

	--dkp-whats-on-modal-title-size: 26px;
	--dkp-whats-on-modal-text-size: 18px;
}


/*--------------------------------------------------------------
# Shared output styling
----------------------------------------------------------------*/

.dkp-whats-on-list,
.dkp-whats-on-empty {
	color: var(--dkp-whats-on-soft-light) !important;
	font-family: var(--dkp-whats-on-font);
}

.dkp-whats-on-list p {
	margin: 0;
	padding: 0;
}

.dkp-whats-on-title,
.dkp-whats-on-artist,
.dkp-whats-on-date,
.dkp-whats-on-admission,
.dkp-whats-on-short-description,
.dkp-whats-on-full-description,
.dkp-whats-on-full-description p {
	color: var(--dkp-whats-on-soft-light) !important;
}


/*--------------------------------------------------------------
# Current exhibition
----------------------------------------------------------------*/

.dkp-whats-on-current {
	text-align: center;
}

.dkp-whats-on-current-item {
	max-width: var(--dkp-whats-on-current-content-width);
	margin: 0 auto;
}

.dkp-whats-on-current-image {
	width: min(100%, var(--dkp-whats-on-current-image-width));
	margin: 0 auto 28px;
}

.dkp-whats-on-lightbox-image {
	display: block;
	line-height: 0;
	cursor: zoom-in;
}

.dkp-whats-on-current-image img {
	display: block;
	width: 100%;
	height: auto;
}

.dkp-whats-on-current-title {
	margin: 0 0 10px;
	color: var(--dkp-whats-on-light) !important;
	font-family: var(--dkp-whats-on-heading-font);
	font-size: var(--dkp-whats-on-current-title-size) !important;
	font-weight: 600 !important;
	letter-spacing: 1px;
	line-height: 1.35;
}

.dkp-whats-on-current .dkp-whats-on-artist,
.dkp-whats-on-current .dkp-whats-on-date,
.dkp-whats-on-current .dkp-whats-on-admission {
	display: block;
	margin-bottom: 8px;
	font-size: var(--dkp-whats-on-current-text-size) !important;
	font-weight: 400 !important;
	line-height: 1.55;
}

.dkp-whats-on-current .dkp-whats-on-artist {
	font-weight: 600 !important;
}

.dkp-whats-on-current .dkp-whats-on-admission {
	margin-bottom: 18px;
}

.dkp-whats-on-current .dkp-whats-on-short-description,
.dkp-whats-on-current .dkp-whats-on-full-description,
.dkp-whats-on-current .dkp-whats-on-full-description p {
	margin: 0 auto;
	font-size: var(--dkp-whats-on-current-text-size) !important;
	font-weight: 400 !important;
	line-height: 1.7;
}

.dkp-whats-on-current .dkp-whats-on-full-description {
	margin-top: 18px;
}


/*--------------------------------------------------------------
# Future exhibitions list
----------------------------------------------------------------*/

.dkp-whats-on-future-entry[hidden] {
	display: none !important;
}

.dkp-whats-on-future-item {
	margin: 0 0 22px;
	padding: 0 0 22px;
	border-bottom: 1px solid var(--dkp-whats-on-divider);
}

.dkp-whats-on-future-entry:last-child .dkp-whats-on-future-item {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.dkp-whats-on-future-trigger {
	display: flex;
	align-items: flex-start;
	gap: var(--dkp-whats-on-gap);
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.dkp-whats-on-future-trigger:hover .dkp-whats-on-future-title,
.dkp-whats-on-future-trigger:focus-visible .dkp-whats-on-future-title {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.dkp-whats-on-future-trigger:focus-visible,
.dkp-whats-on-show-all:focus-visible,
.dkp-whats-on-modal-close:focus-visible {
	outline: 2px solid var(--dkp-whats-on-light);
	outline-offset: 4px;
}

.dkp-whats-on-future-thumbnail {
	flex: 0 0 var(--dkp-whats-on-future-thumbnail-width);
	width: var(--dkp-whats-on-future-thumbnail-width);
}

.dkp-whats-on-future-thumbnail img {
	display: block;
	width: 100%;
	height: var(--dkp-whats-on-future-thumbnail-width);
	object-fit: cover;
}

.dkp-whats-on-future-details {
	flex: 1 1 auto;
	min-width: 0;
	padding-top: 1px;
}

.dkp-whats-on-future-title {
	display: block;
	margin: 0 0 6px;
	color: var(--dkp-whats-on-light) !important;
	font-family: var(--dkp-whats-on-heading-font);
	font-size: var(--dkp-whats-on-future-title-size) !important;
	font-weight: 600 !important;
	letter-spacing: 0.5px;
	line-height: 1.35;
}

.dkp-whats-on-future .dkp-whats-on-artist,
.dkp-whats-on-future .dkp-whats-on-date {
	display: block;
	margin-bottom: 4px;
	font-size: var(--dkp-whats-on-future-text-size) !important;
	font-weight: 400 !important;
	line-height: 1.5;
}

.dkp-whats-on-future .dkp-whats-on-artist {
	font-weight: 600 !important;
}

.dkp-whats-on-future-more {
	display: inline-block;
	margin-top: 7px;
	color: var(--dkp-whats-on-light);
	font-size: var(--dkp-whats-on-future-text-size) !important;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.dkp-whats-on-show-all {
	display: inline-block;
	margin: 4px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--dkp-whats-on-light);
	font-family: var(--dkp-whats-on-heading-font);
	font-size: var(--dkp-whats-on-future-text-size) !important;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
}


/*--------------------------------------------------------------
# Empty message
----------------------------------------------------------------*/

.dkp-whats-on-empty {
	display: block;
	width: 100%;
	max-width: 440px;
	margin: 0 auto !important;
	color: var(--dkp-whats-on-soft-light) !important;
	font-size: var(--dkp-whats-on-empty-message-size) !important;
	font-style: italic;
	font-weight: 400 !important;
	line-height: 1.6;
	text-align: center !important;
}


/*--------------------------------------------------------------
# Future exhibition detail popup
----------------------------------------------------------------*/

body.dkp-whats-on-modal-open {
	overflow: hidden;
}

.dkp-whats-on-modal[hidden] {
	display: none !important;
}

.dkp-whats-on-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 24px;
}

.dkp-whats-on-modal-backdrop {
	position: absolute;
	inset: 0;
	background: var(--dkp-whats-on-modal-overlay);
}

.dkp-whats-on-modal-dialog {
	position: relative;
	z-index: 1;
	width: min(720px, 100%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	background: var(--dkp-whats-on-modal-background);
	color: var(--dkp-whats-on-modal-soft-text);
	box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
	outline: 0;
}

.dkp-whats-on-modal-close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--dkp-whats-on-modal-text);
	color: var(--dkp-whats-on-light);
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
}

.dkp-whats-on-modal-close span[aria-hidden="true"] {
	display: block;
	transform: translateY(-1px);
}

.dkp-whats-on-modal-image img {
	display: block;
	width: 100%;
	height: auto;
}

.dkp-whats-on-modal-content {
	padding: 30px;
	text-align: left;
}

.dkp-whats-on-modal-content p {
	margin: 0;
	padding: 0;
}

.dkp-whats-on-modal-title {
	margin: 0 40px 12px 0;
	color: var(--dkp-whats-on-modal-text);
	font-family: var(--dkp-whats-on-heading-font);
	font-size: var(--dkp-whats-on-modal-title-size) !important;
	font-weight: 600 !important;
	letter-spacing: 0.5px;
	line-height: 1.35;
}

.dkp-whats-on-modal-artist,
.dkp-whats-on-modal-date,
.dkp-whats-on-modal-admission {
	margin-bottom: 7px !important;
	color: var(--dkp-whats-on-modal-soft-text);
	font-size: var(--dkp-whats-on-modal-text-size) !important;
	font-weight: 400 !important;
	line-height: 1.55;
}

.dkp-whats-on-modal-artist {
	font-weight: 600 !important;
}

.dkp-whats-on-modal-admission {
	margin-bottom: 18px !important;
}

.dkp-whats-on-modal-short-description,
.dkp-whats-on-modal-full-description,
.dkp-whats-on-modal-full-description p {
	color: var(--dkp-whats-on-modal-soft-text);
	font-size: var(--dkp-whats-on-modal-text-size) !important;
	font-weight: 400 !important;
	line-height: 1.7;
}

.dkp-whats-on-modal-short-description {
	margin: 0 0 16px !important;
}

.dkp-whats-on-modal-full-description p {
	margin: 0 0 1em !important;
}

.dkp-whats-on-modal-full-description p:last-child {
	margin-bottom: 0 !important;
}


/*--------------------------------------------------------------
# Mobile
----------------------------------------------------------------*/

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

	:root {
		--dkp-whats-on-current-image-width: 330px;
		--dkp-whats-on-current-content-width: 360px;
		--dkp-whats-on-future-thumbnail-width: 82px;
		--dkp-whats-on-gap: 13px;

		--dkp-whats-on-current-title-size: 22px;
		--dkp-whats-on-current-text-size: 18px;

		--dkp-whats-on-future-title-size: 18px;
		--dkp-whats-on-future-text-size: 16px;

		--dkp-whats-on-empty-message-size: 18px;

		--dkp-whats-on-modal-title-size: 23px;
		--dkp-whats-on-modal-text-size: 17px;
	}

	.dkp-whats-on-future-item {
		margin-bottom: 16px;
		padding-bottom: 16px;
	}

	.dkp-whats-on-modal {
		padding: 14px;
	}

	.dkp-whats-on-modal-dialog {
		max-height: calc(100vh - 28px);
	}

	.dkp-whats-on-modal-content {
		padding: 24px 20px;
	}
}

/*--------------------------------------------------------------
# DKP dynamic drinks menu output
# Font, colour and responsive text sizes are controlled
# in the Divi Text Module Design tab
----------------------------------------------------------------*/

.dkp-drink-menu-output .dkp-drink-menu-list {
	margin: 0;
	padding: 0;
}

.dkp-drink-menu-output .dkp-drink-menu-row {
	display: flex !important;
	align-items: baseline;
	margin: 0 0 0.45em !important;
	padding: 0;
}

.dkp-drink-menu-output .dkp-drink-menu-name {
	flex: 0 1 auto;
	font-weight: 600 !important;
	letter-spacing: 1px;
	white-space: nowrap;
}

.dkp-drink-menu-output .dkp-drink-menu-leader {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0 0.65em;
	border-bottom: 1px solid currentColor;
	opacity: 0.16;
	transform: translateY(-0.22em);
}

.dkp-drink-menu-output .dkp-drink-menu-price {
	flex: 0 0 auto;
	font-weight: 400 !important;
	text-align: right;
	white-space: nowrap;
}

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

	.dkp-drink-menu-output .dkp-drink-menu-row {
		align-items: baseline;
	}

	.dkp-drink-menu-output .dkp-drink-menu-leader {
		min-width: 8px;
		margin-left: 0.4em;
		margin-right: 0.4em;
	}
}

/*--------------------------------------------------------------
# DKP dynamic food menu output
# Typography, colours and responsive sizes are controlled
# in the Divi Text Module Design tab
----------------------------------------------------------------*/

.dkp-food-menu-output .dkp-food-menu-item {
	margin: 1.5em 0 !important;
}

.dkp-food-menu-output .dkp-food-menu-description,
.dkp-food-menu-output .dkp-food-menu-extra {

	margin: 0 !important;
	font-style: italic !important;
}

.dkp-food-menu-output .dkp-food-menu-extra {
	margin: 0;
	padding: 0;
}

/*--------------------------------------------------------------
>>> DKP Directions Video Replay Button
----------------------------------------------------------------*/

.dkp-directions-video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.dkp-replay-video {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    padding: 12px 26px;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.dkp-replay-video:hover {
    background: rgba(0, 0, 0, 0.85);
}
