/*---- Team member intro ----*/

.team-intro-wrap {
	padding-top: 300px;
}

.team-intro-bg-icon {
	position: absolute;
    top: -100px;
    left: 350px;
    width: 200%;
    height: 1000px;
    border-radius: 1000px 0 0 1000px;
    background-color: #edeff1;
    transform: rotate(45deg);
    transform-origin: top left;
}

.team-intro-abs-text-wrap {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	z-index: 5;
	pointer-events: none;
}

.team-intro-abs-text-right {
	position: absolute;
	right: 25px;
	bottom: 0;
	transform: rotate(90deg);
    transform-origin: right bottom;
	width: 100%;
    overflow: hidden;
	pointer-events: all;
}

.team-intro-abs-text-right .team-intro-abs-text {
	transform: rotate(180deg);
}

.team-intro-abs-text .line {
	height: 1px;
	background-color: #000;
	align-self: center;
/*
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
*/
	width: 100px;
}

.team-intro-abs-text h5 {
	letter-spacing: 0.1em;
	margin-left: 15px;
/*	font-size: 0.8em;*/
}



/*---- Team member boxes ----*/

.team-mem-box {
	position: relative;
	overflow: hidden;
	width: 50%;
	padding: 25%;
	background-color: #afcbca;
	cursor: pointer;
}

.team-mem-box:nth-child(6n + 1) {
	background-color: #afcbca;
}

.team-mem-box:nth-child(6n + 2) {
	background-color: #6a6e7a;
}

.team-mem-box:nth-child(6n + 3) {
	background-color: #a8b1bd;
}

.team-mem-box:nth-child(6n + 4) {
	background-color: #f1e4db;
}

.team-mem-box:nth-child(6n + 5) {
	background-color: #f0c19b;
}

.team-mem-box:nth-child(6n + 6) {
	background-color: #b4dad6;
}

.team-mem-box-text-wrap {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	z-index: 5;
	pointer-events: none;
}

.team-mem-box-text-left {
	position: absolute;
	left: 35px;
	top: 20px;
	transform: rotate(90deg);
    transform-origin: left top;
	width: 100%;
    overflow: hidden;
	pointer-events: all;
}

.team-mem-box-text-left .team-mem-box-text {
    transform: rotate(180deg);
}

.team-mem-box-text-right {
    position: absolute;
	bottom: 20px;
    right: 35px;
    transform: rotate(90deg);
    transform-origin: right bottom;
    width: 100%;
    overflow: hidden;
	pointer-events: all;
}

.team-mem-box-text .line {
	height: 1px;
	background-color: #fff;
	align-self: center;
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

.team-mem-box-text h6 {
	letter-spacing: 0.1em;
	margin-left: 15px;
/*	font-size: 0.8em;*/
	color: #fff;
}

.team-mem-box-icon-wrap {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

.team-mem-box-icon {
	position: absolute;
}

.team-mem-box-icon.icon-1 {
	bottom: 0;
	left: 0;
	width: 40%;
	height: 40%;
	background-image: url(../img/svg/ico-team-box-1.svg);
	background-position: bottom left;
	z-index: 4;
}

.team-mem-box:hover .team-mem-box-icon.icon-1 {
	bottom: -10%;
	left: -10%;
}

.team-mem-box-icon.icon-2 {
	top: 8%;
	right: 10%;
	width: 30%;
	height: 10%;
	background-image: url(../img/svg/ico-team-box-2.svg);
	z-index: 2;
}

.team-mem-box:hover .team-mem-box-icon.icon-2 {
	top: 8%;
	right: 30%;
	width: 20%;
}

.team-mem-box-icon.icon-3 {
	top: 10%;
	right: 12%;
	width: 10%;
	height: 10%;
	background-image: url(../img/svg/ico-team-box-3-green.svg);
	z-index: 1;
}

.team-mem-box:nth-child(6n + 1) .team-mem-box-icon.icon-3 {
	background-image: url(../img/svg/ico-team-box-3-green.svg);
}

.team-mem-box:nth-child(6n + 2) .team-mem-box-icon.icon-3 {
	background-image: url(../img/svg/ico-team-box-3-blue.svg);
}

.team-mem-box:nth-child(6n + 3) .team-mem-box-icon.icon-3 {
	background-image: url(../img/svg/ico-team-box-3-grey.svg);
}

.team-mem-box:nth-child(6n + 4) .team-mem-box-icon.icon-3 {
	background-image: url(../img/svg/ico-team-box-3-orange.svg);
}

.team-mem-box:nth-child(6n + 5) .team-mem-box-icon.icon-3 {
	background-image: url(../img/svg/ico-team-box-3-sand.svg);
}

.team-mem-box:nth-child(6n + 6) .team-mem-box-icon.icon-3 {
	background-image: url(../img/svg/ico-team-box-3-green.svg);
}

.team-mem-box:hover .team-mem-box-icon.icon-3 {
	top: 15%;
	right: 10%;
}

.team-mem-img-wrap {
	position: absolute;
	bottom: 0;
	right: 0;
	height: 100%;
	width: 100%;
	z-index: 3;
}

.team-mem-img {
	position: absolute;
	width: 100%;
	height: 100%;
	bottom: -10%;
	right: -20%;
	transform: scale(1.4);
}

.team-mem-box:hover .team-mem-img {
	right: -15%;
	transform: scale(1.5);
}





/*========== RESPONSIVENESS ==================*/

@media screen and (max-width: 1320px) {
	
	.team-intro-bg-icon {
		top: -150px;
	}
	
	.team-intro-wrap {
		padding-top: 250px;
	}
	
}




@media screen and (max-width: 1024px) {
	
	.team-intro-bg-icon {
		top: -175px;
	}
	
	.team-intro-wrap {
		padding-top: 200px;
	}
	
	.team-intro-abs-text-right {
		right: -50px;
	}
	
}





@media screen and (max-width: 768px) {
	
	.team-intro-bg-icon {
		top: -200px;
	}
	
	.team-intro-wrap {
		padding-top: 150px;
	}
	
	.team-intro-text h2 {
		padding-left: 0;
		text-align: center;
	}
	
	.team-mem-box {
		width: 100%;
		padding: 50%;
	}
	
}