#team { position: relative; }
#team > .content-wrapper {}
#team > .content-wrapper > main {
	position: relative;
	padding-top: 75px;
	padding-bottom: 200px;
	
	color: #FFF;
}
#team > .content-wrapper > main:before {
	content: "";
	position: absolute; top: 0; right: min(-45px, calc(((100vw - 100px - 1290px + 90px) / 2) * -1)); bottom: 0; z-index: -1;
	
	background-color: #136064;
}
@media (min-width: 1200px)	  { #team > .content-wrapper > main:before { left: 50%; } }
@media (max-width: 1199.99px) { #team > .content-wrapper > main:before { left: 20%; } }

/*--------------------------------------------------------------------------------------------------------------*/

#team > .content-wrapper > main > .complex-title { margin-bottom: 65px; }
#team > .content-wrapper > main > .complex-title > span { display: block; }
@media (min-width: 1200px)	  {
	#team > .content-wrapper > main > .complex-title {
		padding-left: 70px;
		margin-left: 50%;
	}
}
@media (max-width: 1199.99px) {
	#team > .content-wrapper > main > .complex-title {
		padding-left: 45px;
		margin-left: 20%;
	}
}

/*--------------------------------------------------------------------------------------------------------------*/

#team > .content-wrapper > main > .members {
	display: flex;
	flex-wrap: wrap;
}
@media (min-width: 1200px) {
	#team > .content-wrapper > main > .members {
		margin-left: -45px;
		margin-right: -45px;
	}
}
@media (max-width: 1199.99px) {
	#team > .content-wrapper > main > .members {
		margin-left: -45px;
		margin-right: calc(25% - (45px / 2));
	}
}

@media (min-width: 1200px)							 { #team > .content-wrapper > main > .members > * { flex: 0 0 calc(100% / 4); } }
@media (max-width: 1199.99px) and (min-width: 800px) { #team > .content-wrapper > main > .members > * { flex: 0 0 calc(100% / 3); } }
@media (max-width:  799.99px)						 { #team > .content-wrapper > main > .members > * { flex: 0 0 calc(100% / 2); } }

#team > .content-wrapper > main > .members > .hook {
	position: relative;
	overflow: hidden;
	background-color: #207175;
}
#team > .content-wrapper > main > .members > .hook:before {
	content: '';
	display: block;
	padding-top: 130%;
}
#team > .content-wrapper > main > .members > .hook > div {
	position: absolute; top: 0; right: 0; bottom: 0; left: 0;
	display: flex; overflow: hidden;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}
@media (min-width: 1200px) {
	#team > .content-wrapper > main > .members > .member { order: 2; }
	#team > .content-wrapper > main > .members > .member:nth-child(-n+6) { order: -1; }
	#team > .content-wrapper > main > .members > .member:nth-child(-n+3) { order: -3; }
	#team > .content-wrapper > main > .members > .spacer:nth-last-child(1) { order: -2; }
	#team > .content-wrapper > main > .members > .spacer:nth-last-child(2) { order: 1; }
	#team > .content-wrapper > main > .members > .hook > div { padding: 45px; }
}
@media (max-width: 1199.99px) {
	#team > .content-wrapper > main > .members > .member { order: 1; }
	#team > .content-wrapper > main > .members > .member:nth-child(-n+5) { order: -1; }
	#team > .content-wrapper > main > .members > .spacer { display: none; }
	#team > .content-wrapper > main > .members > .hook > div { padding: 25px; }
}

#team > .content-wrapper > main > .members > .member { position: relative; }
#team > .content-wrapper > main > .members > .member > .avatar {
	position: relative;
	display: block; overflow: hidden;
	padding-top: 130%;
}
#team > .content-wrapper > main > .members > .member > .avatar > div {
	position: absolute; top: 50%; left: 50%;
	transform: translate(-50%, -50%); transition: transform .2s ease-out;
	height: 100%; width: 100%;
	
	background-position: center;
	background-size: cover;
}
#team > .content-wrapper > main > .members > .member:hover > .avatar > div { transform: translate(-50%, -50%) scale(1.1); }
#team > .content-wrapper > main > .members > .member > .avatar:after {
	content: "";
	position: absolute; top: 0; right: 0; bottom: 0; left: 0;
	
	background-image: linear-gradient(to top right, rgba(19,96,100,.8), transparent 60%);
}
#team > .content-wrapper > main > .members > .member > .identity {
	position: absolute; top: 0; right: 0; bottom: 0; left: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 25px;
	
	background-color: rgba(228,92,74,.8);
	opacity: 0; transition: opacity .2s ease-out;
}
#team > .content-wrapper > main > .members > .member:hover > .identity { opacity: 1; }
#team > .content-wrapper > main > .members > .member > .identity > .name {}
#team > .content-wrapper > main > .members > .member > .identity > .name > .first { font-weight: 200; }
#team > .content-wrapper > main > .members > .member > .identity > .name > .last { font-weight: 700; }
#team > .content-wrapper > main > .members > .member > .identity > .role { font-weight: 500; }
@media (min-width: 1200px) {
	#team > .content-wrapper > main > .members > .member > .identity > .name {
		margin-bottom: 15px;

		line-height: 120%;
		font-size: 38px;
	}
	#team > .content-wrapper > main > .members > .member > .identity > .role { letter-spacing: 2px; }
}
@media (max-width: 1199.99px) {
	#team > .content-wrapper > main > .members > .member > .identity > .name {
		margin-bottom: 10px;

		line-height: 120%;
		font-size: 20px;
	}
}