.block-team{padding: 10vh 0; margin: 0 auto;position: relative;}
.block-team .bg_headline_container{
	position: absolute;
	width: 100%;
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;
	top: 45vh;
	transform: translateY(-50%);
	z-index: 0;
}
.block-team .bg_headline_container .outlined_text{
	color: #fff;
	text-shadow: -1px -1px 0 #FCC19A,
		1px -1px 0 #FCC19A,
		-1px 1px 0 #FCC19A,
		1px 1px 0 #FCC19A;
}
.block-team.section_title_container .section_title{width: 33.33%; min-width: 320px;margin: 0 auto 0 28vw; position: relative;left: -8vw;}
.block-team.section_title_container.team_two .section_title{margin: 0 auto 20vh; left: 0;text-align: center;}
.block-team.section_title_container .section_title h1, .block-team.section_title_container .section_title h3{margin-bottom: 2rem;}
.team_one .team_items{text-align: center;margin-top: 20vh;}
.team_one .team_items_container > h4{width: 33.33%;min-width: 320px;margin: 0 auto 1rem 20vw;position: relative;}
.team_one .images_container{
	width: 55vh;
	height: 100%;
	margin: auto;
	z-index: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}
.block-team .team_items h4{text-transform: uppercase;color: #000;margin-bottom: 0;}
.block-team.team_one .team_items h4{color: #FCC19A;}
.block-team .team_items p{text-transform: uppercase;}
.team_two .team_items a.linkedin{position: absolute;bottom: 2rem;}
.team_two .team_item img{display: none;}
.block-team.team_two .team_items .team_item.is-selected h4,
.block-team.team_two .team_items .team_item:hover h4,
.block-team.team_two .team_items .team_item.is-selected p,
.block-team.team_two .team_items .team_item:hover p,
.block-team.team_two .team_items .team_item.is-selected a,
.block-team.team_two .team_items .team_item:hover a{color: #fff;}
//.team_two .team_items{display: flex;}
.team_two .team_items_container{display: flex;align-items: center;justify-content: center;}
.team_two .team_items {width: 75%;margin: 0 0 0 auto;position: relative;z-index: 1;}
.team_two .team_items:not(.flickity-enabled){display: flex;}
.team_two .carousel_images_container{height: 33.33vw; width: 33.33vw; position: absolute;left: 0;z-index: 0;}
.team_two .team_items .team_item{width: 33.33%;background-color: #F5F5F5;height: 35vh;display: flex;flex-direction: column;align-items: center;justify-content: center;text-align: center;}
.team_two .team_items:not(.flickity-enabled) .team_item{position: relative;}
.team_two .team_items .team_item.is-selected,
.team_two .team_items .team_item:hover{background-color: #FCC19A;}
.team_two .team_items .team_item .team_photo_url{position: absolute;width: 100%;height: 100%;cursor: pointer;}

.team_two .team_items{
	counter-reset: listing-team 0;
}
.team_two .team_items .team_item {
	counter-increment: listing-team 1; /* Increase the counter by 1. */
}
.team_two .team_items .team_item:before{
	color: #000;
	font-size: 0.7rem;
	font-family: 'Futura', sans-serif;
	font-weight: 400;
	line-height: 1;
	rotate: -90deg;
	display: block;
	position: absolute;
	left: 2rem;
	top: 2rem;
	content: counter(listing-team, decimal-leading-zero);
}

.team_two .team_items .team_item.is-selected:before,
.team_two .team_items .team_item:hover:before{
	color: #fff;
}

.block-team .slide_numbers{
	color: #FCC19A;
	right: 10%;
	position: absolute;
	top: 26vh;
	left: 37%;
	display: flex;
	z-index: 1;
	line-height: 0.4 !important;
	font-family: 'Futura', sans-serif !important;
	font-weight:  400;
}
.block-team .slide_numbers i{
	height: 1px;
	width: 4rem;
	background-color: #000;
	margin: 0 0.7rem;
}

.block-team .gallery-button.disabled{
	opacity: 0;
	pointer-events: none;
}

.block-team .prev-next-button{
	border: none;
	text-decoration: none;
	display: block;
	width: 1rem;
	height: 1rem;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 50%;
	z-index: 10;
	overflow: visible;
	cursor: pointer;
	background: transparent;
	border-radius: 0;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.block-team .prev-next-button:hover{
	width: 1.4rem;
	background: transparent;
}

.block-team .prev-next-button.next{
	left: 30.33%;
	right: initial
}

.block-team .prev-next-button.previous{
	right: 97%;
	left: initial
}

.block-team .prev-next-button.previous:before, .block-team .prev-next-button.previous:after{
	content: "";
	display: block;
	width: 7px;
	height: 7px;
	left: 1px;
	top: 5px;
	position: absolute;
	border-left: 1px solid #fff;
	border-bottom: 1px solid #fff;
	transform: rotate(45deg);
}

.block-team .prev-next-button.next:before, .block-team .prev-next-button.next:after{
	content: "";
	display: block;
	width: 7px;
	height: 7px;
	right: 1px;
	top: 5px;
	position: absolute;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	transform: rotate(45deg);
}

.block-team .prev-next-button.previous:after,
.block-team .prev-next-button.next:after{
	content: "";
	height: 1px;
	width: 100%;
	background-color: #fff;
	position: absolute;
	left: 0px;
	top: 8px;
	transform: rotate(0deg);
}

.block-team .prev-next-button.next:after{
	right: 0px;
	left: initial;
}

.team_two .flickity-page-dots{
	display: none;
}

/* iPhone 6+ portrait */
@media screen and (max-width: 414px) {
	.block-team.section_title_container .section_title{
		width: 80%;
		margin: auto;
		left: initial;
	}
	.block-team.section_title_container.team_two .section_title{
		margin: 0 auto;
		text-align: left;
	}
	.team_one .team_items_container > h4{
		width: 80%;
		margin: auto;
	}
	.team_two .team_items_container{
		position: relative;
		top: 2rem;
	}
	.team_two .team_items_container{
		padding: 4rem 0;
		background-color: #FCC19A;
	}
	.block-team .slide_numbers{
		z-index: 2;
		color: #fff;
		right: 15%;
		top: 4rem;
		left: initial;
	}
	.block-team .slide_numbers i{
		background-color: #fff;
	}
	.block-team .bg_headline_container{
		display: none;
	}
	.team_one .team_items{
		margin-top: 0;
	}
	.team_one .images_container{
		width: 80%;
		margin-top: 2rem;
	}
	.team_two .team_items .team_item{
		width: 100%;
		height: auto;
		background-color: #FCC19A;
		padding-bottom: 2rem;
	}
	.team_two .team_items{
		width: 100%;
	}
	.team_two .team_item img{
		display: block;
		object-fit: cover;
		width: 100%;
		height: 100%;
	}
	.team_two .carousel_images_container{
		display: none;
	}
	.team_two .team_item .images_container{
		width: 70%;
		height: 80vw;
		margin-top: 4rem;
	}
	.block-team .prev-next-button.previous{
		right: 90%;
	}
	.block-team .prev-next-button.next{
		left: 90%;
	}
	.team_two .team_items a.linkedin{
		bottom: 0;
	}
	.block-team.team_two .team_items h4,
	.block-team.team_two .team_items p{
		color: #fff;
	}
	.team_two .team_items .team_item:before{
		left: 4rem;
	}
	.team_two .flickity-page-dots{
		display: flex;
	}
	.team_two .flickity-page-dots .flickity-page-dot {
		height: 2px;
		width: 40px;
		margin: 0;
		border-radius: 0;
		background-color: #fff;
	}
	.team_two .flickity-page-dot.is-selected{
		background-color: #000;
	}
}