/** Widgets: member, image-grid **/

.ha-btn {
	display: inline-block;
	max-width: 100%;
	vertical-align: middle;
	text-align: center;
	text-decoration: none;
	font-size: 14px;
	line-height: 1;
	-webkit-transition: all .3s;
	transition: all .3s;
}

.ha-btn:not(.ha-btn--link) {
	padding: 15px 25px;
	border-radius: 5px;
	background-color: #562dd4;
	color: #fff;
}

.ha-btn:not(.ha-btn--link):focus, .ha-btn:not(.ha-btn--link):hover {
	background-color: #e2498a;
}

.ha-btn.ha-btn--link {
	color: #562dd4;
}

.ha-btn.ha-btn--link:focus, .ha-btn.ha-btn--link:hover {
	color: #e2498a;
}

.ha-btn-icon+.ha-btn-text, .ha-btn-text+.ha-btn-icon {
	margin-left: 5px;
}

.ha-btn-icon--svg {
	display: inline-block;
}

.ha-btn-icon--svg svg {
	width: auto;
	height: 1em;
	fill: currentColor;
}

@-webkit-keyframes ha-member-lightbox-zoomIn {
	0% {
		opacity: 0;
		-webkit-transform: scale3d(.3, .3, .3);
		transform: scale3d(.3, .3, .3);
	}
	
	50% {
		opacity: 1;
	}
}

@keyframes ha-member-lightbox-zoomIn {
	0% {
		opacity: 0;
		-webkit-transform: scale3d(.3, .3, .3);
		transform: scale3d(.3, .3, .3);
	}
	
	50% {
		opacity: 1;
	}
}

.ha-member>.elementor-widget-container {
	padding: 25px;
	border-radius: 5px;
	background-color: #fff;
	-webkit-box-shadow: 0 3px 40px rgba(36, 36, 36, .1);
	box-shadow: 0 3px 40px rgba(36, 36, 36, .1);
}

.ha-member:not(:has(.elementor-widget-container)) {
	padding: 25px;
	border-radius: 5px;
	background-color: #fff;
	-webkit-box-shadow: 0 3px 40px rgba(36, 36, 36, .1);
	box-shadow: 0 3px 40px rgba(36, 36, 36, .1);
}

.ha-member-figure {
	position: relative;
	display: inline-block;
	margin: 0 0 25px !important;
}

.ha-member-figure img {
	width: 100%;
	height: 100%;
	vertical-align: bottom;
	-o-object-fit: cover;
	object-fit: cover;
}

.ha-member.ha-member-hover-image-on .ha-member-figure img:nth-of-type(2) {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	opacity: 0;
}

.ha-member.ha-member-hover-image-on .ha-member-figure:hover img:nth-of-type(1) {
	z-index: -1;
	opacity: 0;
}

.ha-member.ha-member-hover-image-on .ha-member-figure:hover img:nth-of-type(2) {
	z-index: 2;
	opacity: 1;
}

.ha-member-name {
	margin-top: 0;
	margin-bottom: 10px;
	color: #151515;
	font-size: 18px;
}

.ha-member-position {
	margin-bottom: 25px;
	color: #7f7f7f;
	font-size: 14px;
}

.ha-member-bio {
	margin-bottom: 25px;
	font-size: 14px;
	line-height: 1.6;
}

.ha-member-links>a {
	display: inline-block;
	color: #9895ad;
	text-align: center;
	line-height: 1;
	-webkit-transition: all .2s;
	transition: all .2s;
}

.ha-member-links>a:focus, .ha-member-links>a:hover {
	color: #222;
}

.ha-member-links>a>i {
	width: 1em;
	height: 1em;
}

.ha-member-links>a:not(:last-child) {
	margin-right: 10px;
}

.ha-member .ha-btn {
	margin-bottom: 15px;
	cursor: pointer;
}

.ha-member-body .ha-btn:last-child {
	margin-top: 15px;
	margin-bottom: 0;
}

.ha-member-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	z-index: -999999;
	display: none;
	visibility: hidden;
	width: 0;
	height: 0;
}

.ha-member-lightbox.ha-member-lightbox-show {
	z-index: 999999;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	visibility: visible;
	overflow: auto;
	-webkit-box-align: start;
	-webkit-align-items: flex-start;
	align-items: flex-start;
	-ms-flex-align: start;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .6);
}

.ha-member-lightbox.ha-member-lightbox-show .ha-member-lightbox-close {
	position: absolute;
	z-index: 99999;
	display: -webkit-inline-box;
	display: -webkit-inline-flex;
	display: -ms-inline-flexbox;
	display: inline-flex;
	color: #9ec8f0;
	font-size: 30px;
	cursor: pointer;
	-webkit-transition: -webkit-transform .3s;
	transition: transform .3s, -webkit-transform .3s;
	transition: transform .3s;
	-webkit-transition-delay: .5s;
	transition-delay: .5s;
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
}

.ha-member-lightbox.ha-member-lightbox-show .ha-member-lightbox-inner {
	width: 100%;
	-webkit-animation-name: ha-member-lightbox-zoomIn;
	animation-name: ha-member-lightbox-zoomIn;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}

.ha-image-grid__wrap {
	overflow: hidden;
	margin-right: calc(-1 * var(--image-grid-right, 10px));
	margin-left: calc(-1 * var(--image-grid-left, 10px));
}

.ha-image-grid__item {
	display: block;
	float: left;
	overflow: hidden;
	width: calc(100% / var(--image-grid-column, 4));
	outline: 0;
	border: 10px solid transparent;
	text-decoration: none;
}

.ha-image-grid__item img {
	display: block;
	width: 100%;
	border-radius: inherit;
	-webkit-transition: all .25s;
	transition: all .25s;
	-o-object-fit: cover;
	object-fit: cover;
}

.ha-image-grid--even .ha-image-grid__item {
	height: 250px;
}

.ha-image-grid--even .ha-image-grid__item img {
	height: 100%;
}

.ha-filter {
	margin-bottom: 20px;
}

.ha-filter__item {
	display: inline-block;
	overflow: hidden;
	margin-bottom: 10px;
	padding: 8px 20px;
	max-width: 100%;
	border: 2px solid #885cff;
	border-radius: 3px;
	background-color: transparent;
	color: #885cff;
	text-transform: uppercase;
	text-overflow: ellipsis;
	font-size: 14px;
	line-height: 1.2;
	cursor: pointer;
	-webkit-transition: all .3s;
	transition: all .3s;
}

.ha-filter__item:focus, .ha-filter__item:hover {
	outline: 0;
	background-color: #885cff;
	color: #fff;
}

.ha-filter__item--active, .ha-filter__item:active {
	background-color: #885cff;
	color: #fff;
}

.ha-filter__item:not(:last-child) {
	margin-right: 10px;
}
