.team-items {
	margin: 0; 
	padding: 0; 
	text-align: center;
}

.team-item {
	margin: 0;
	padding: 0 15px;
	width: calc(33.33% - 34px);
	vertical-align: top;
	list-style: none;
	display: inline-block;
	-webkit-transition: height 500ms ease;
	-o-transition: height 500ms ease;
	transition: height 500ms ease;
}

.team-expander {
	position: absolute;
	left: 0;
	right: 0;
	overflow: hidden;
	max-height: 0;
	-webkit-transition: max-height 500ms ease;
	-o-transition: max-height 500ms ease;
	transition: max-height 500ms ease;
}

.team-contents { position: relative; }


.team-expander-contents:after {
	display: block;
	position: absolute;
	top: 0;
	left: 50%;
	margin-left: -30px;
	width: 0;
	height: 0;
	content: '';
	border-left: 30px solid transparent;
	border-right: 30px solid transparent;
	border-top-style: solid;
	border-top-width: 0px;
	-webkit-transition: border-bottom-width 500ms ease;
	-o-transition: border-bottom-width 500ms ease;
	transition: border-bottom-width 500ms ease;
	z-index: 10;
}
.team-item.active .team-expander-contents:after { border-top-width: 30px; border-top-color: #ffffff;}

.team-item .thumbnail {
	position: relative;
	width: 100%;
	overflow: hidden;
	cursor: pointer;
}
.team-item .thumbnail:before {
	position: absolute;
	margin: 0;
	content: '';
	width: 100%;
	display: block;
	opacity: 0;
	filter: alpha(opacity=0);
	z-index: 1;
	-webkit-transition: all 0.3s linear 0s;
	-moz-transition: all 0.3s linear 0s;
	-o-transition: all 0.3s linear 0s;
	transition: all 0.3s linear 0s;
}
.team-item .thumbnail:hover:before,
.team-item .thumbnail:hover:after {
	opacity: 1;
	filter: alpha(opacity=100);
}
.team-item .thumbnail:hover img  {	
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
	filter: gray; /* IE6-9 */
	-webkit-filter: grayscale(100%);
}
.team-item .thumbnail > img {
	position: relative;
}

.team-expander {
	margin-top: 60px;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	background-color: #78787a;
	background-repeat: no-repeat;
	background-position: 50% 50%;;
}
#Carla-Odishaw.team-expander {
	background-image: url(../images/teambg_Carla-Odishaw.jpg);
}
#Ben-Guido.team-expander {
	background-image: url(../images/teambg_Ben-Guido.jpg);
}
.team-expander {
	background-image: url(../images/lawyer.jpg);
}


.team-expander-contents {
	margin: 0 auto;
	width: 100%;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.team-expander-contents:after {
  clear: both;
  display: table;
  content: '';
}

.team-expander-contents div.close {
  	position: absolute;
	top: 20px;
	right: 20px;
	width: 30px;
	height: 30px;
	cursor: pointer;
	display: block;
	z-index: 100;
}
.team-expander-contents div.close:before,
.team-expander-contents div.close:after {
	content: '';
	position: absolute;
	width: 100%;
	top: 50%;
	right: 0;
	height: 2px;
	background: #ffffff;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	transform: rotate(45deg);
}

.team-expander-contents div.close:after {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.team-expander-contents div.close:hover:before,
.team-expander-contents div.close:hover:after {
	opacity: 0.8;
	filter: alpha(opacity=80);
}

.team-expander-contents div.contents {
	font-size: inherit;
	line-height: inherit;
}

	/*------------------------------------*\
	iPads (portrait)
	\*------------------------------------*/
	@media only screen 
	and (min-width: 320px) 
	and (max-width: 1000px) {
		.team-item {
			margin: 0 auto;
			padding: 0 0 40px 0;
			width: 100%;
			display: block;
		}
		
		.team-expander {
			margin-top: 20px;
		}
		
	}