/*-----------------------------------------------------*/
/*  Biography Thumbs and Modal popups
/*-----------------------------------------------------*/

.er-radiologists {
	width: 100%;
}

.er-radiologists__grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 2rem;
}

@media (min-width: 576px) {
	.er-radiologists__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 992px) {
	.er-radiologists__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.er-radiologists__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.er-radiologist-card {
	text-align: center;
}

.er-radiologist-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.er-radiologist-card__image-wrap {
	display: block;
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.05);
}

.er-radiologist-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease;
}

.er-radiologist-card__content {
	text-align: center;
}

.er-radiologist-card__name {
	color: var(--er-theme-primary);
	font-family: "Montserrat SemiBold", sans-serif !important;
	font-size: 1.25rem;
	margin-top: 2rem;
	text-align: center;
}

.er-radiologist-card__title {
}


/*-----------------------------------------------------*/
/*  Thumbs
/*-----------------------------------------------------*/

.er-provider_bio-thumb {
	transition: all 1s cubic-bezier(0.13, 0.485, 0.27, 0.95);
}

.er-provider_bio-thumb > div:first-child {
	position: relative;
}

.er-provider_bio-thumb > div:first-child img {
	border-radius: 50%;
	overflow: hidden;
	transition: all 1s cubic-bezier(0.13, 0.485, 0.27, 0.95);
	transition-delay: 0.2s;
}

.er-provider_bio-thumb > div:first-child::before {
	background: transparent;
	border: 1.5px solid rgba(0, 0, 0, 0.8);
	border-color: var(--er-theme-secondary);
	border-radius: 50%;
	bottom: 0;
	content: "";
	left: 0;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	right: 0;
	top: 0;
	transform: scale(0.8);
	transition: all 1s cubic-bezier(0.13, 0.485, 0.27, 0.95);
	z-index: -1;
}

.er-provider_bio-thumb .er-radiologist-card__content {
	transition: all 1s cubic-bezier(0.13, 0.485, 0.27, 0.95);
}

.er-provider_bio-thumb:hover > div:first-child img {
	transform: scale(0.9);
	transition: all 0.4s cubic-bezier(0.13, 0.485, 0.27, 0.95);
}

.er-provider_bio-thumb:hover > div:first-child::before {
	opacity: 1;
	transform: scale(1);
	transition: all 0.5s cubic-bezier(0.13, 0.485, 0.27, 0.95);
}

.er-provider_bio-thumb:hover .er-radiologist-card__content {
	transform: translateY(-1rem);
	transition: all 0.8s cubic-bezier(0.13, 0.485, 0.27, 0.95);
	transition-delay: 0.2s;
}


/*-----------------------------------------------------*/
/*  Modal
/*-----------------------------------------------------*/

.er-provider-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: #121212;
	display: none;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
}

.er-provider-modal.is-open {
	display: block;
}

.er-provider-modal__inner {
	min-height: 100vh;
	color: #fff;
}

.er-provider-modal__header {
	border-bottom: .1rem solid var(--er-theme-primary);
	display: flex;
	justify-content: flex-start;
	align-items: end;
	padding: 2rem 0rem .5rem 1rem;
	width: 100%;
}

@media screen and (min-width: 990px) {
	.er-provider-modal__header {
		padding: 3rem 0rem 1.8rem 0rem;
	}
}

.er-provider-modal__close {
	border: 0;
	background: rgba(0, 0, 0, 0);
	font-size: 1.4rem;
	line-height: 100%;
	padding-top: .6rem;
	padding-bottom: .6rem;
	text-align: center;
	color: #fff;
	cursor: pointer;
}

.er-provider-modal__close:hover,
.er-provider-modal__close:focus {
	color: #fff;
	text-decoration: none;
}

.er-provider-modal__close:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.er-provider-modal__close .btn-icon {
	display: inline-flex;
	width: 2.8rem;
	transition: all 0.95s cubic-bezier(0.130, 0.485, 0.270, 0.950);
}

.er-provider-modal__close:hover .btn-icon {
	margin-right: 0.7rem;
	transition: all 0.4s cubic-bezier(0.130, 0.485, 0.270, 0.950);
}

.er-provider-modal__close svg {
	display: block;
	width: 100%;
	height: 100%;
}

.er-provider-modal__main {
	padding-top: 4rem;
}

.er-provider-modal__image-wrap {
	background: rgba(255, 255, 255, 0.08);
}

.er-provider-modal__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.er-provider-modal__name {
	color: var(--brand-secondary);
	font-size: 2.5rem;
}

@media screen and (min-width: 990px) {
	.er-provider-modal__name {
		font-size: 3rem;
	}
}

.er-provider-modal__title {
}

.er-provider-modal__bio p {
	color: hsla(0, 0%, 100%, .76);
}

.er-provider-modal__bio p:last-child {
	margin-bottom: 0;
}

/**
 * Important:
 * Do not add overflow:hidden to body or html here.
 * ScrollSmoother can visually jump/reset when html/body overflow is changed.
 */

body.er-provider-modal-open #header-sticky {
	display: none !important;
}