/* T E A M  A R C H I V E ***************/

.teamModWrap h2 {
	text-align: center;
}

.teamModWrap .teamTitle {
	margin-bottom:1em;
}

.teamGrid {
	display: flex;
	flex-wrap: wrap;
	justify-content:center;
	margin-bottom:3em;
}

.teamGrid article {
	background:none;
	position: relative;
	margin:3% 4% 0 0;
	width:22%;
}

.teamGrid article:nth-child(4n) {
	margin-right:0;
}

.teamGridWrap {
	position: relative;
}

.teamGridWrap img {
	display: block;
	width:100%;
}

.teamProfileMore {
	align-items: center;
	background:rgba(0,0,0,0.7);
	color:#fff;
	display: flex;
	flex-direction: column;
	height:100%;
	justify-content: center;
	opacity: 0;
	padding:0 2em;
	position: absolute;
	text-align: center;
	top:0;
	transition: 0.3s all linear;
}


#teamGridWrap article:hover .teamProfileMore {
	opacity: 1;
	transition: 0.3s all linear;
}

.teamProfileMore p {
	font-size:1em;
}

.teamProfileMore img {
	width:auto;
}

.teamProfileWrap {
	text-align: center;
}

#teamGridWrap article a,
.teamProfileWrap a {
	text-decoration: none;
}

#teamGridWrap article h3 {
	font-size:1.1em;
	margin:0.5em 0 0 0;
}

/* C A R O U S E L *******/

.teamCarousel  {
	margin:0 1.5em;
}

.teamArrow {
	cursor: pointer;
	position: absolute;
	top: 37%;
	z-index: 888;
}

#teamPrev {
    left: -22px;
}

#teamNext {
    right: -22px;
}

/* S I N G L E  T E A M **************/

.single-team #main h1 {
	margin-bottom:0;
	line-height:1.1em;
}

.single-team #main .entry-meta {
	margin-bottom:1em;
}

#singleTeamContent {
	width:60%;
}

#singleTeamConnect {
	margin:0;
	padding: 0;
}

#singleTeamConnect li {
	list-style: none;
	float:left;
	margin-right:0.5em;
}

.single-team #sidebarPosts h2 {
	margin-bottom:0.5em;
}


/* max 480px */
@media screen and (max-width: 767px) {
	
	/* T E A M  M O D U L E ****/
	
	.teamGrid article {
		margin:3% 0;
		width:100%;
	}
	
	.teamArrow {
		width:1.5em;
	}
	
	#teamPrev {
		left:-8px;
	}
	
	#teamNext {
		right:-8px;
	}
	
	
	/* T E A M  A R C H I V E ******************/
	
		.post-type-archive-team #teamGridWrap h1,
		.tax-team_categories #teamGridWrap h1 {
			padding:0.5em 0;
			text-align: center;
		}
	
		.post-type-archive-team #teamGridWrap article,
		.tax-team_categories #teamGridWrap article {
			width:100%;
		}
		
		.teamProfileMore p {
			font-size:0.825em;
		}
		
		.teamProfileMore img {
			width:2em;
		}
	
	/* T E A M  S I N G L E *************/
	
	.single-team #main h1 {
		text-align: center;
	}
	
	.single-team #main .entry-meta {
		text-align: center;
	}
	
	.single-team #main .entry-meta .floatLeft {
		float:none;
	}
	
	#singleTeamFeature {
		float:none;
		text-align: center;
	}
	
	#singleTeamContent {
		width:100%;
	}

}


/* 481 - 767px */
@media screen and (min-width: 481px) and (max-width: 767px) {
	
	/* T E A M  M O D U L E ****/
	
	.teamGrid article {
		margin:3% 4% 0 0;
		width:48%;
	}
	
	.teamGrid article:nth-child(2n) {
		margin-right:0;
	}
	
	.teamArrow {
		width:1.5em;
	}
	
	#teamPrev {
		left:-8px;
	}
	
	#teamNext {
		right:-8px;
	}
	
	/* A R C H I V E  P A G E S ***********/
	
	.post-type-archive-team #teamGridWrap article,
	.tax-team_categories #teamGridWrap article {
		margin:0.5em;
		width: 46%;
	}
	
}

/* 768 - 959px */
@media screen and (min-width: 768px) and (max-width: 959px) {
	
		/* T E A M  M O D U L E ****/
		
		.teamGrid article {
			margin:3% 4% 0 0;
			width:30.5%;
		}
		
		.teamGrid article:nth-child(3n) {
			margin-right:0;
		}
		
		.teamArrow {
			width:1.5em;
		}
		
		#teamPrev {
			left:-4px;
		}
		
		#teamNext {
			right:-4px;
		}
		
		
	/* T E A M  A R C H I V E ******************/
	
	.post-type-archive-team #teamGridWrap,
	.tax-team_categories #teamGridWrap  {
		justify-content: flex-start;
	}
	
	.post-type-archive-team #teamGridWrap article,
	.tax-team_categories #teamGridWrap article {
		margin:0.5em;
		width: 30.5%;
	}
	
	.teamProfileMore {
		padding:0 1em;
	}
	
	.teamProfileMore p {
		font-size:0.825em;
	}
	
	.teamProfileMore img {
		width:1.75em;
	}
	
	/* S I N G L E  T E A M ****************/
	
	#singleTeamContent {
		width:60%;
	}
	
	#singleTeamFeature {
		float:right;
		width:35%;
	}
		
}

/* 960 - 1200px */
@media screen and (min-width: 960px) and (max-width: 1200px) {
	
	.teamArrow {
		width:2em;
	}
	
	#teamPrev {
		left:-13px;
	}
	
	#teamNext {
		right:-13px;
	}
	
}