*
{
	margin: 0;
	padding: 0;
}

.trainers-text
{
	text-align: center;
	background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)), url(../img/poster3.png);
	background-size: cover;
	background-position: center;
	padding: 6rem 0;
}

.trainers-text h1
{
	font-size: 5rem;
	font-weight: bolder;
	letter-spacing: 2px;
	color: #fff;
}

.t-text
{
	margin: 3rem 0;
}

.t-text h1
{
	font-size: 2.5rem;
	font-weight: bolder;
	text-align: center;
}

.t-text p
{
	font-size: 16px;
	color: #4d4d4d;
	max-width: 700px;
	width: 100%;
	margin: 1rem auto;
	text-align: center;
}


/*---------------------- Our Team-------------------------*/
.trainer
{
	margin-bottom: 4rem;
}

.our-team .team-row
{
  	margin-left: -40px;
  	margin-right: -40px;
}

.our-team .team-wrap
{
  	padding: 0 40px;
}

.our-team .container-fluid
{
  	padding: 0 50px;
}

.team-member
{
	box-shadow: 0px 0px 5px #404040;
	border: 1px solid #4d4d4d;
	padding-bottom: 10px;
	margin-top: 1.5rem;
}

.team-img img
{
  	-webkit-transition: all .2s ease-in-out;
  	-moz-transition: all .2s ease-in-out;
  	-o-transition: all .2s ease-in-out;
  	transition: all .2s ease-in-out;
  	overflow: hidden;
  	width: 100%;
}

.team-member,
.team-img
{
  	position: relative;
  	overflow: hidden;
}

.team-title
{
	font-size: 1.2rem;
	margin-top: 20px;
}

.team-member span
{
	font-size: 1rem;
	text-transform: uppercase;
	font-weight: bolder;
	letter-spacing: 1px;
}

.overlay
{
  	background-color: rgba(20,20,20,.7);
  	position: absolute;
  	top: 0;
  	width: 100%;
  	height: 100%;
  	opacity: 0;
  	-webkit-transition: all .2s ease-in-out;
  	-moz-transition: all .2s ease-in-out;
  	-o-transition: all .2s ease-in-out;
  	transition: all .2s ease-in-out;
}

.team-details
{
  	opacity: 0;
  	position: absolute;
  	top: 50%;
  	left: 0;
  	padding: 5%;
  	overflow: hidden;
  	width: 100%;
  	z-index: 2;
  	-webkit-transition: all .2s ease-in-out;
  	-moz-transition: all .2s ease-in-out;
  	-o-transition: all .2s ease-in-out;
  	transition: all .2s ease-in-out;
}

.team-details p
{
  	color: #fff;
}

.team-img:hover .team-details
{
  	opacity: 1;
  	margin-top: -80px;
}

.team-img:hover .overlay
{
  	opacity: 1;
}

.socials a
{
  	display: inline-block;
  	width: 37px;
  	height: 37px;
  	background-color: transparent;
}

.socials i
{
  	line-height: 37px;
  	color: #616161;
  	font-size: 14px;
  	width: 37px;
  	height: 37px;
  	border-radius: 50%;
  	text-align: center;
  	-webkit-transition: all 0.2s linear;
  	-moz-transition: all 0.2s linear;
  	-o-transition: all 0.2s linear;
  	-ms-transition: all 0.2s linear;
  	transition: all 0.2s linear;
}

.team-details .socials i
{
	color: #fff;
}

.socials a:hover i 
{
  	color: #fff;
  	background-color: #355c7d;
}



@media only screen and (max-width: 767px)
{
	.trainers-text
	{
		padding: 4rem 0;
	}

	.trainers-text h1
	{
		font-size: 3rem;
	}

	.t-text
	{
		margin: 2rem 0;
	}

	.t-text h1
	{
		font-size: 2rem;
	}

	.t-text p
	{
		font-size: 16px;
		padding: 0 10px;
	}

	/*---------------------- Our Team-------------------------*/
	.trainer
	{
		margin-bottom: 2rem;
	}


}

@media only screen and (min-width: 768px) and  (max-width: 991px)
{
	.trainers-text
	{
		padding: 4rem 0;
	}

	.trainers-text h1
	{
		font-size: 3rem;
	}

	.t-text
	{
		margin: 2rem 0;
	}

	.t-text h1
	{
		font-size: 2rem;
	}

	.t-text p
	{
		font-size: 16px;
		padding: 0 10px;
	}

	/*---------------------- Our Team-------------------------*/
	.trainer
	{
		margin-bottom: 2rem;
	}

	.team-member
	{
		margin-top: 1rem;
	}


}

@media only screen and (min-width: 992px) and  (max-width: 1199px)
{


}