/* FLEX GRID STYLES */

/* Breakpoint definitions 
xs = <= 575px
sm = <= 767px
md = <= 991px
lg = <= 1199px
xl = >= 1200px
*/

.team-member {
	box-sizing: border-box;
	padding:0em 2em 0em 2em;
}
.team-member figure.image_container img {width:100%;}

.col-3-text-image,
.col-2-text-image,
.col-3-gallery,
.flex-gallery {
	box-sizing: border-box;
}
li.flex-gallery {
	width:22%;
	margin-bottom:1em;
}

/* xs definitions */
@media all and (min-width:280px) and (max-width: 575px)
{
	.team-member,
	.flex-gallery {
		width:100%;
		padding:0em 1em 0em 1em;
	}
	
	li.flex-gallery {
		width:100%;
		margin-bottom:1em;
	}
	.col-3-text-image,
	.col-2-text-image {
		width:100%;
	}
		
}

/* sm definitions */
@media (min-width: 576px) and (max-width: 767px)
{
	.team-member,
	.flex-gallery {
		width:50%;
		padding:0em 1em 0em 1em;
	}
		
	li.flex-gallery {
		width:45%;
		margin-bottom:1em;
	}
	.col-3-text-image,
	.col-2-text-image {
		width:49%;
	}
}

/* sm definitions */
@media (min-width: 768px) and (max-width: 991px)
{
		.team-member,
		.flex-gallery {
			width:33%;
		}
		.col-3-text-image {
			width:30%;
			text-align:left;
		}
		.col-2-text-image {
			width:47.5%;
		}
}

/* sm definitions */
@media (min-width: 992px) and (max-width: 1199px)
{
		.team-member,
		.flex-gallery {
			width:25%;
		}
		.col-3-text-image {
			width:30%;
		}
		.col-2-text-image {
			width:47.5%;
		}
}

/* sm definitions */
@media screen and (min-width: 1200px)
{
		.team-member,
		.flex-gallery {
			width:25%;
		}
		.col-3-text-image {
			width:30%;
		}
		.col-2-text-image {
			width:47.5%;
		}
}