.teams-elementor-widget > .container-fluid,
.teams-elementor-widget > .container-fluid > .row,
.teams-elementor-widget > .container-fluid .team:only-of-type {
	padding-left: 0;
	padding-right: 0;
	margin-left: 0;
	margin-right: 0;
}

.teams-elementor-widget .elementor-heading-title.elementor-size-default {
	display: block;
	width: 100%;
	margin-top: 0.5rem;
    margin-bottom: 0.8rem;
    padding-top: 0;
    line-height: 1.2;
}

#team_list ul {
	margin: 0;
	padding: 0;
	list-style-type: none
}

#team_list .team.col-md-12, #team_list .team.col-md-12 article {
	max-width: 400px;
}

#team_list .elementor-post-info {
	position: relative;
}

#team_list .elementor-posts .elementor-post__card .elementor-post__title {
    font-size: 2rem;
	padding-top: 0px;
}

#team_list .elementor-posts .elementor-post__card .elementor-post__title {
    font-size: 2rem;
    padding-top: 0px;
	margin: 10px 0;
}

#team_list .elementor-post__card:hover .elementor-post__thumbnail.flip-photo img {
	display: none;
}
#team_list .elementor-post__card .elementor-post__thumbnail.flip-photo img.flip-photo {
	display: none;
}
#team_list .elementor-post__card:hover .elementor-post__thumbnail.flip-photo img.flip-photo {
	display: block;
}

#team_list .taxonomy-header-wrapper {
	width: 100%;
	text-align: left;
	background-color: var( --e-global-color-primary );
	margin-bottom: 2.5rem;
}

#team_list .taxonomy-header-name {
	color: var( --e-global-color-accent );
	padding: 5px 20px 0 20px;
}

#team_list .heading-subtitle {
	font-size: 1.2rem;
	padding-left: 1rem;
	position: relative;
	bottom: 0.2rem;
}

#team_list .elementor-post-info {
	font-size: 0.9rem;
	margin: 0;
    padding: 0;
}

#team_list .elementor-post-info li {
    padding: 4px;
	list-style-type: none;
}

#team_list .elementor-post-info .elementor-icon-list-icon {
	display: inline-block;
	vertical-align: top;
}

#team_list .elementor-post__thumbnail {
	min-height: 100%;
	background-size:cover;
	outline-offset: -80px;
}

#team_list .elementor-post__title {
	position: relative;
}

#team_list .elementor-button {
	position: relative;
	font-size: 12px;
}

#team_list .elementor-post__text {

	padding: inherit;
}

#team_list .hover-element {
	display: none;
	left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    position: absolute;
    padding: 0;
    width: 100%;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    align-content: space-around;
    flex-direction: column;
}

#team_list .hover-element.text-left {
    padding: 0.5rem;
    align-items: flex-start;
}

#team_list .hover-element.text-right {
    padding: 0.5rem;
    align-items: flex-end;
}

#team_list .hover-element.text-justify {
    padding: 0.5rem;
    align-items: stretch;
}

#team_list .hover-element-active {
	display: flex; /* block */
	color: #fff !important;
	animation-duration: 1.2s;
	animation-fill-mode: both;
	animation-name: fadeInBottom
}

#team_list .hover-element-active .elementor-post-info__terms-list-item a {
	color: #fff !important;
}

#team_list .hover-element-active .elementor-post__title {
	color: #fff !important;
}

#team_list .elementor-post__card .elementor-post__text {
	margin-top: 0;
}

#team_list .elementor-post__card {
	margin: 0 auto;
}

#team_list .elementor-post__card {
    margin: 0 auto;
}

#team_list .elementor-post__card {
    overflow: hidden;
    position: relative;
    background-color: #fff;
    width: 100%;
    min-height: 100%;
    border-radius: 3px;
    border: 0 solid #818a91;
    -webkit-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
}

#team_anchors {
	margin-bottom: .5rem;
	padding-left: 0;
    padding-right: 0;
}

#team_anchors a.elementor-button-link {
	width: 100%;
	margin-bottom: 1rem;
	font-size: 1rem;
}

.flip-container {
	perspective: 1000;
	display: inline-block;
}
.team-container:hover .back {
	transform: rotateY(180deg);
}
.team-container:hover .front {
	transform: rotateY(0deg);
}
.flip-container, .front, .back {
	width: 250px;
	height: 327px;
	right: -1px;
}
.card {
	transition: 0.6s;
	transform-style: preserve-3d;
	position: relative;
}
.front, .back {
	position: absolute;
	backface-visibility: hidden;
	transition: 0.6s;
	transform-style: preserve-3d;
}
.front {
	z-index: 1;
	transform: rotateY(-180deg);
}
.back {
	z-index: 2;
	transform: rotateY(0deg);
}

@keyframes fadeInBottom {
	from {
		opacity: 0;
		transform: translateY(100%);
	}
	to {
		opacity: 1;
	}
}


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

	#team_list .hover-background-element {
		background-color: #003D69;
		width: 250px;
		height: 327px;
		/* Fix */
		width: 100%;
		height: auto;
		min-width: 250px;
		min-height: 327px;
		
	}

	#team_list .elementor-post__card:hover .hover-background-element .elementor-post__thumbnail__link {
		opacity: 0.5;
		overflow: visible;
		position: relative;
	}

	#team_list .elementor-post__card:hover .hover-background-element .attachment-medium {
		opacity: 0.5;
		overflow: visible;
		position: relative;
	}
	
}

@keyframes fadeOutBottom {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
		transform: translateY(100%);
	}
}