/* Salient Team Member Popup */
.stmp-no-scroll { overflow: hidden !important; }

#stmp-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483646;
	display: flex;
	align-items: stretch;
	justify-content: stretch;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity .35s ease, visibility .35s ease;
}

#stmp-modal.is-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.stmp-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.78);
}

.stmp-modal__dialog {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100dvh;
	max-height: 100dvh;
	overflow: auto;
	background: #fff;
	transform: translateY(25px);
	transition: transform .4s cubic-bezier(.22,.61,.36,1);
}

#stmp-modal.is-open .stmp-modal__dialog {
	transform: translateY(0);
}

.stmp-modal__close {
	position: fixed;
	top: 25px;
	right: 30px;
	z-index: 5;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: rgba(0,0,0,.75);
	color: #fff;
	font-size: 34px;
	line-height: 44px;
	padding: 0;
	cursor: pointer;
	font-family: Arial, sans-serif;
}

.stmp-modal__loading {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
}

.stmp-modal__inner {
	min-height: 100dvh;
}

.stmp-member {
	display: grid;
	grid-template-columns: minmax(0, 48%) minmax(0, 52%);
	min-height: 100vh;
}

.stmp-member__image {
	background: #f2f2f2;
	min-height: 100dvh;
	height: 100dvh;
}

.stmp-member__image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100dvh;
	height: 100dvh;
	object-fit: cover;
}

.stmp-member__content {
	align-self: center;
	padding: 90px 9vw 90px 7vw;
}

.stmp-member__title {
	margin: 0 0 12px;
	font-size: clamp(34px, 4vw, 64px);
	line-height: 1.05;
}

.stmp-member__role {
	margin-bottom: 35px;
	font-size: 18px;
	opacity: .7;
}

.stmp-member__body {
	font-size: 17px;
	line-height: 1.75;
}

.stmp-member__body > :first-child {
	margin-top: 0;
}

.stmp-member__body > :last-child {
	margin-bottom: 0;
}

.stmp-modal__error {
	padding: 100px 40px;
	text-align: center;
}

@media (max-width: 767px) {
	.stmp-member {
		display: block;
		min-height: 0;
	}

	.stmp-member__image,
	.stmp-member__image img {
		min-height: 55vh;
		height: 55vh;
	}

	.stmp-member__content {
		padding: 55px 30px 70px;
	}

	.stmp-modal__close {
		top: 15px;
		right: 15px;
	}
}


/* Keep the popup above Salient's page preloader when the preloader is still present. */
body #ajax-loading-screen,
body #ajax-loading-screen.loaded,
body #ajax-loading-screen.hidden {
	z-index: 999999 !important;
}

#stmp-modal {
	height: 100vh;
	height: 100dvh;
	max-height: 100vh;
	max-height: 100dvh;
}

.stmp-modal__dialog {
	height: 100vh;
	height: 100dvh;
	max-height: 100vh;
	max-height: 100dvh;
}

.stmp-member {
	min-height: 100vh;
	min-height: 100dvh;
}

.stmp-member__image,
.stmp-member__image img {
	min-height: 100vh;
	min-height: 100dvh;
	height: 100vh;
	height: 100dvh;
}


html.stmp-team-popup-open #ajax-loading-screen,
body.stmp-team-popup-open #ajax-loading-screen {
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}


/* Respect the HTML hidden attribute.
   This must come after .stmp-modal__loading { display:flex; } */
.stmp-modal__loading[hidden] {
	display: none !important;
}


/* Responsive layout
 * 768px and above: keep image/content in a single row.
 * 767px and below: stack vertically.
 */
@media (min-width: 768px) {
	.stmp-member {
		display: grid;
		grid-template-columns: minmax(0, 48%) minmax(0, 52%);
		min-height: 100vh;
		min-height: 100dvh;
	}

	.stmp-member__image {
		min-height: 100vh;
		min-height: 100dvh;
		height: 100vh;
		height: 100dvh;
	}

	.stmp-member__image img {
		width: 100%;
		height: 100vh;
		height: 100dvh;
		min-height: 100vh;
		min-height: 100dvh;
		object-fit: cover;
	}

	.stmp-member__content {
		align-self: center;
		width: 100%;
		max-width: none;
		padding: 90px 9vw 90px 7vw;
	}
}

@media (max-width: 767px) {
	.stmp-modal__dialog {
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.stmp-member {
		display: block;
		min-height: 0;
	}

	.stmp-member__image {
		width: 100%;
		min-height: 0;
		height: 55dvh;
	}

	.stmp-member__image img {
		display: block;
		width: 100%;
		height: 55dvh;
		min-height: 0;
		object-fit: cover;
	}

	.stmp-member__content {
		width: 100%;
		max-width: none;
		padding: 55px 30px 70px;
	}

	.stmp-modal__close {
		top: 15px;
		right: 15px;
	}
}
