.team-members{
	position:relative;
}
{#***************** Cards Container **********************#}
.team-members__container{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}
{#***************** End Cards Container **********************#}

{#***************** Card **********************#}
.team-members--card-border-styles{
	overflow:hidden;
}
.team-members__team-item{
	transition-property: all !important;
	transition: .3s ease;
}
{#***************** End Cards **********************#}

{#***************** Image Settings **********************#}
.team-members__image-container{
	margin:0;
	line-height:0;
	text-align:center;
	overflow:hidden;
}
.team-members__image{
	transition:all 0.3s ease;
	width:100%;
	height:100%;
}
.team-members--image-full-width{
	width:100%;
}
{#***************** End Image Settings **********************#}

{#***************** Text Content **********************#}
.team-members__text-content{
	display: flex;
	flex-direction:column;
	gap:10px;
}
.team-members__name,
.team-members__position,
.team-members__description *:last-child{
	margin:0;
}
.team-members--image-grayscale{
	-webkit-filter: grayscale(100%);
	-moz-filter: grayscale(100%);
	filter: grayscale(100%);
}
.team-members__name,
.team-members__position,
.team-members__description,
.team-members__description *{
	transition:all .3s ease;
}
{#***************** End Text Content **********************#}

{#***************** Social Media **********************#}
.team-members__social-media-container{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap:10px;
	line-height:0;
}
.team-members--social-align-desktop-center{
	justify-content:center;
}
.team-members--social-align-desktop-left{
	justify-content:start;
}
.team-members--social-align-desktop-right{
	justify-content:end;
}
.team-members--social-align-desktop-justify{
	justify-content:space-between;
}
.team-members__social-icon{
	display: flex;
	align-items: center;
	justify-content:center;
	padding:10px;
	transition:all .3s ease;
}
.team-members__social-icon svg path{
	transition:all .3s ease;
}
.team-members__social-type-none{
	width:100%;
}
.team-members--social-align-desktop-center .team-members__social-type-none{
	text-align:center;
}
.team-members--social-align-desktop-left .team-members__social-type-none{
	text-align:left;
}
.team-members--social-align-desktop-right .team-members__social-type-none{
	text-align:right;
}
.team-members--social-align-desktop-justify .team-members__social-type-none{
	text-align:justify;
}
{#***************** End Social Media **********************#}

{#***************** Button **********************#}
.team-members--text-content-middle .team-members--show-button-on-hover{
	opacity:0;
	height:0;
	transform: translateY(100%);
	transition:all .3s ease;
}
.team-members--text-content-middle:hover .team-members--show-button-on-hover{
	opacity:1;
	height:auto;
	transform: translateY(0);
}
{#***************** End Button **********************#}

{#***************** Layout Overlapping Content **********************#}
.team-members--layout-overlapping-content{
	overflow:visible;
}
.team-members--layout-overlapping-content .team-members__image-container{
	position:relative;
	z-index:1;
}
.team-members--layout-overlapping-content .team-members__text-content{
	position:relative;
	z-index:2;
	margin: -60px auto 0;
	max-width:88%;
	transition: all .3s ease;
}
{#***************** End Layout Overlapping Content **********************#}

{#***************** Layout Text On Image **********************#}
.team-members--layout-text-on-image{
	position:relative;
	overflow:hidden;
}
.team-members--layout-text-on-image .team-members__text-content{
	position:absolute;
	width:100%;
	transition:all .5s ease;
}
{#**Behind Position**#}
.team-members--text-content-behind .team-members__text-content{
	justify-content:center;
}
.team-members--layout-text-on-image .team-members__image-container{
	height:100%;
}
.team-members--text-content-behind .team-members__text-content{
	top:0;
	left:0;
	right:0;
	z-index:-1;
	opacity:0;
}
.team-members--text-content-behind:hover .team-members__text-content{
	position:absolute;
	opacity:1;
	z-index:2;
	bottom:0;
}
{#**Middle Position**#}
.team-members--text-content-middle .team-members__text-content{
	justify-content:center;
	bottom:0;
	left:0;
	right:0;
	gap:20px;
}
.team-members--text-content-middle:hover .team-members__text-content{
	height:100%!important;
	gap:40px;
}
{#**Bottom Position**#}
.team-members--text-content-bottom .team-members__text-content{
	top:100%;
	left:0;
	right:0;
	transition:all .8s ease;
}
.team-members--text-content-bottom:hover .team-members__text-content{
	top:0;
	justify-content:center;
}
{#**Top Position**#}
.team-members--text-content-top .team-members__text-content{
	bottom:100%;
	left:0;
	right:0;
	transition:all .8s ease;
}
.team-members--text-content-top:hover .team-members__text-content{
	bottom:0;
	justify-content:center;
}
{#***************** End Layout Text On Image **********************#}		

{#***************** Layout Image Circle **********************#}
.team-members--layout-circle-image .team-members__image-container,
.team-members--layout-circle-image .team-members__image{
	margin: 0 auto;
	border-radius:50%;
	transition:all .3s ease;
}
{#***************** End Layout Layout Image Circle **********************#}				

{#***************** Form Popup **********************#}
.team-members--add-form .team-members__team-item{
	cursor:pointer;
}
.team-members__popup-container{
	display:none;
}
.team-members--popup-active .team-members__popup-container{
	display:flex;
	justify-content:center;
	align-items:center;
	position:fixed;
	top:0;
	bottom:0;
	right:0;
	left:0;
	background-color: #1217209c;
	z-index: 20;
}
.team-members--add-form .team-members__team-item.team-members--popup-active{
	cursor:default;
}
.team-members--popup-active.team-members--show-form .team-members__card-popup{
	display:none;
}
.team-members__card-popup{
	position:relative;
	width:90%;
	max-width:1200px;
	overflow:hidden;
	border-radius:20px;
}
.team-members__popup-text-image-content{
	display: flex;
	position:relative;
	justify-content: space-between;
	flex-direction:row;
	column-gap:86px;
	padding: 30px 60px 48px;
}
.team-members__card-popup-heading{
	padding: 72px 60px 30px;
	position: absolute;
	left: 0;
	right: 0;
}
.team-members__popup-text-content{
	width:calc(63% - 0px);
	position:relative;
	padding-top: 178px;
	display: flex;
	flex-direction:column;
	gap:20px;
	justify-content: space-between;
}
.team-members__popup-image-content{
	position:relative;
	text-align:center;
	width:37%;
}
.team-members__popup-name{
	margin:0;
}
.team-members__popup-position,
.team-members__popup-image-heading{
	margin:0;
}

.team-members__popup-image-description *:last-child,
.team-members__popup-description *:last-child{
	margin:0;
}
.team-members__popup-image{
	width:334px;
	height:334px;
	border-radius:50%;
	border: solid 8px var(--primary);
	object-fit: cover;
}
.team-members__popup-text-image-content .team-members__social-media-container{
	margin-top:10px;
}
.team-members__popup-image-text-content{
	max-width:80%;
	margin:0 auto;
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 20px;
	padding-top: 12px;
}
.team-members__popup-form-button{
	margin-top:12px;
}
.team-members__popup-close-btn{
	position: absolute;
	top: 30px;
	right: 60px;
	cursor:pointer;
	z-index:1;
}
.team-members__popup-form-container{
	display:none;
}
.team-members--show-form .team-members__popup-form-container{
	display:block;
	width: 60%;
	max-width: 800px;
	margin: 0 auto;
	position:relative;
}
.team-members--show-form .team-members__popup-form{
	width:100%;
}
.team-members--show-form .team-members__popup-form-content{
	padding:85px 30px 60px;
	border-radius: 20px;
	box-shadow: 0px 0px 15px 0px rgba(218, 248, 255, 0.60);
}
.team-members__popup-form-close-btn{
	position: absolute;
	top: 30px;
	right: 30px;
	cursor:pointer;
	z-index:1;
}
.team-members--popup-active .team-members__popup-container {
	align-items: start;
	overflow: auto;
	padding: 40px 0;
}
.team-members__popup-form form .hs-dateinput > input{
	background-repeat: no-repeat;
	background-position: 18px 50%;
	padding-left:55px;
}
{#***************** End Form Popup **********************#}

.team-members--editor{
  padding: 10px;
  color: #fff;
  position: relative;
  z-index: 3;
}
.team-members--editor{
	background: repeating-linear-gradient(45deg, rgba(0, 52, 98, 1.0), rgba(0, 52, 98, 1.0) 10px, rgba(0, 111, 186, 1.0) 10px, rgba(0, 111, 186, 1.0) 20px);
}

{#***************** Breakpoints **********************#}
@media(max-width:992px){
	{#***************** Social Media **********************#}
	.team-members--social-align-tablet-center{
		justify-content:center;
	}
	.team-members--social-align-tablet-left{
		justify-content:start;
	}
	.team-members--social-align-tablet-right{
		justify-content:end;
	}
	.team-members--social-align-tablet-justify{
		justify-content:space-between;
	}
	.team-members--social-align-tablet-center .team-members__social-type-none{
		text-align:center;
	}
	.team-members--social-align-tablet-left .team-members__social-type-none{
		text-align:left;
	}
	.team-members--social-align-tablet-right .team-members__social-type-none{
		text-align:right;
	}
	.team-members--social-align-tablet-justify .team-members__social-type-none{
		text-align:justify;
	}
	{#***************** End Social Media **********************#}
	
	.team-members--text-content-middle.team-members--active-hover-mobile .team-members__text-content{
		height:100%!important;
		gap:40px;
	}
	.team-members--text-content-middle.team-members--active-hover-mobile .team-members--show-button-on-hover {
		opacity: 1;
		height: auto;
		transform: translateY(0);
	}
	.team-members--text-content-behind.team-members--active-hover-mobile .team-members__text-content {
		position: absolute;
		opacity: 1;
		z-index: 2;
		bottom: 0;
	}
	.team-members__popup-text-image-content{
		flex-direction:column-reverse;
		padding: 30px 39px 48px;
	}
	.team-members__popup-text-content {
		width: 100%;
		padding-top: 70px;
	}
	.team-members__popup-text-image-content .team-members__social-media-container {
		justify-content:center;
	}
	.team-members__card-popup-heading {
		padding: 72px 60px 213px;
	}
	.team-members__popup-image-content {
		padding-top: 130px;
		width: 100%;
	}
	.team-members__popup-close-btn {
		right: 20px;
	}
	.team-members__popup-name {
		text-align: center;
	}
	.team-members__popup-image-text-content {
		max-width: 100%;
	}
	.team-members--show-form .team-members__popup-form-container {
		width: 90%;
	}
}

@media(max-width:765px){
	.team-members__popup-image-content {
		padding-top: 180px;
	}
	{#***************** Social Media **********************#}
	.team-members--social-align-mobile-center{
		justify-content:center;
	}
	.team-members--social-align-mobile-left{
		justify-content:start;
	}
	.team-members--social-align-mobile-right{
		justify-content:end;
	}
	.team-members--social-align-mobile-justify{
		justify-content:space-between;
	}
	.team-members--social-align-mobile-center .team-members__social-type-none{
		text-align:center;
	}
	.team-members--social-align-mobile-left .team-members__social-type-none{
		text-align:left;
	}
	.team-members--social-align-mobile-right .team-members__social-type-none{
		text-align:right;
	}
	.team-members--social-align-mobile-justify .team-members__social-type-none{
		text-align:justify;
	}
	{#***************** End Social Media **********************#}
	.team-members__popup-form form input.hs-input{
		width:100%!important;
	}
	.team-members__popup-image {
		width: 290px;
		height: 290px;
	}
}
@media(max-width:410px){
	.team-members__popup-image {
		width: 250px;
		height: 250px;
	}
	.team-members__popup-image-content {
		padding-top: 210px;
	}
}
