.team-box {
	width: 64%;
	height: auto;
	margin: 6% auto;
	display: flex;
	flex-flow: row wrap;
	padding: 2%;
}

.team-card-box {
	text-align: center;
	margin: 2% auto;
	overflow: hidden;
	position: relative;
}

.team-card-box:before {
	content: '';
	background-color: #c50d2f;
	width: 100%;
	height: 30%;
	opacity: 1;
	position: absolute;
	top: 85%;
	left: 0;
	z-index: 1;
	transition: all 0.4s ease;
}

.team-card-box:hover:before {
	height: 300px;
	position: absolute;
	top: 65%;
	left: 0;
	border-radius: 0px 0px 0 0;
	box-shadow: 0 0 20px #000;
	opacity: 0.9;
}

.team-card-box .team-card-box-text {
	color: #fff;
	text-align: center;
	width: 100%;
	padding: 0 30px;
	opacity: 1;
	transform: translateX(-50%);
	position: absolute;
	top: 85%;
	left: 50%;
	z-index: 1;
	transition: all 0.4s ease;
	padding: 2%;
}

.team-card-box:hover .team-card-box-text {
	position: absolute;
	top: 65%;
	left: 50%;
}


/*.team-card-box-text {
	width: 100%;
	height: 12%;
	position: relative;
	top: -8%;
	text-align: center;
	color: white;
	background-color: #c50d2f;
	padding: 4%;
	transform: 2s;
}*/


/*.team-card-box-text:hover {
	width: 100%;
	height: 30%;
	position: relative;
	top: -27%;
}*/

.team-card-box-text hr {
	width: 20%;
	height: 2px;
	background: white;
}
@media screen and (max-width: 1680px){
	.team-box {
	width: 73%;
	height: auto;
	margin: 6% auto;
	display: flex;
	flex-flow: row wrap;
	padding: 2%;
}

.team-card-box {
	text-align: center;
	margin: 2% auto;
	overflow: hidden;
	position: relative;
}

.team-card-box:before {
	content: '';
	background-color: #c50d2f;
	width: 100%;
	height: 30%;
	opacity: 1;
	position: absolute;
	top: 85%;
	left: 0;
	z-index: 1;
	transition: all 0.4s ease;
}

.team-card-box:hover:before {
	height: 300px;
	position: absolute;
	top: 65%;
	left: 0;
	border-radius: 0px 0px 0 0;
	box-shadow: 0 0 20px #000;
	opacity: 0.9;
}

.team-card-box .team-card-box-text {
	color: #fff;
	text-align: center;
	width: 100%;
	padding: 0 30px;
	opacity: 1;
	transform: translateX(-50%);
	position: absolute;
	top: 85%;
	left: 50%;
	z-index: 1;
	transition: all 0.4s ease;
	padding: 2%;
}

.team-card-box:hover .team-card-box-text {
	position: absolute;
	top: 65%;
	left: 50%;
}


/*.team-card-box-text {
	width: 100%;
	height: 12%;
	position: relative;
	top: -8%;
	text-align: center;
	color: white;
	background-color: #c50d2f;
	padding: 4%;
	transform: 2s;
}*/


/*.team-card-box-text:hover {
	width: 100%;
	height: 30%;
	position: relative;
	top: -27%;
}*/

.team-card-box-text hr {
	width: 20%;
	height: 2px;
	background: white;
}
}
@media screen and (max-width: 1440px){
	.team-box {
	width: 85%;
	height: auto;
	margin: 6% auto;
	display: flex;
	flex-flow: row wrap;
	padding: 2%;
}

.team-card-box {
	text-align: center;
	margin: 2% auto;
	overflow: hidden;
	position: relative;
}

.team-card-box:before {
	content: '';
	background-color: #c50d2f;
	width: 100%;
	height: 30%;
	opacity: 1;
	position: absolute;
	top: 85%;
	left: 0;
	z-index: 1;
	transition: all 0.4s ease;
}

.team-card-box:hover:before {
	height: 300px;
	position: absolute;
	top: 65%;
	left: 0;
	border-radius: 0px 0px 0 0;
	box-shadow: 0 0 20px #000;
	opacity: 0.9;
}

.team-card-box .team-card-box-text {
	color: #fff;
	text-align: center;
	width: 100%;
	padding: 0 30px;
	opacity: 1;
	transform: translateX(-50%);
	position: absolute;
	top: 85%;
	left: 50%;
	z-index: 1;
	transition: all 0.4s ease;
	padding: 2%;
}

.team-card-box:hover .team-card-box-text {
	position: absolute;
	top: 65%;
	left: 50%;
}


/*.team-card-box-text {
	width: 100%;
	height: 12%;
	position: relative;
	top: -8%;
	text-align: center;
	color: white;
	background-color: #c50d2f;
	padding: 4%;
	transform: 2s;
}*/


/*.team-card-box-text:hover {
	width: 100%;
	height: 30%;
	position: relative;
	top: -27%;
}*/

.team-card-box-text hr {
	width: 20%;
	height: 2px;
	background: white;
}
}
@media screen and (max-width: 1280px){
	.team-box {
	width: 95%;
	height: auto;
	margin: 6% auto;
	display: flex;
	flex-flow: row wrap;
	padding: 2%;
}

.team-card-box {
	text-align: center;
	margin: 2% auto;
	overflow: hidden;
	position: relative;
}

.team-card-box:before {
	content: '';
	background-color: #c50d2f;
	width: 100%;
	height: 30%;
	opacity: 1;
	position: absolute;
	top: 85%;
	left: 0;
	z-index: 1;
	transition: all 0.4s ease;
}

.team-card-box:hover:before {
	height: 300px;
	position: absolute;
	top: 65%;
	left: 0;
	border-radius: 0px 0px 0 0;
	box-shadow: 0 0 20px #000;
	opacity: 0.9;
}

.team-card-box .team-card-box-text {
	color: #fff;
	text-align: center;
	width: 100%;
	padding: 0 30px;
	opacity: 1;
	transform: translateX(-50%);
	position: absolute;
	top: 85%;
	left: 50%;
	z-index: 1;
	transition: all 0.4s ease;
	padding: 2%;
}

.team-card-box:hover .team-card-box-text {
	position: absolute;
	top: 65%;
	left: 50%;
}


/*.team-card-box-text {
	width: 100%;
	height: 12%;
	position: relative;
	top: -8%;
	text-align: center;
	color: white;
	background-color: #c50d2f;
	padding: 4%;
	transform: 2s;
}*/


/*.team-card-box-text:hover {
	width: 100%;
	height: 30%;
	position: relative;
	top: -27%;
}*/

.team-card-box-text hr {
	width: 20%;
	height: 2px;
	background: white;
}
}
@media screen and (max-width: 1024px) {
	.team-card-box img {
		width: 100%;
		height: auto;
	}
	.team-card-box:before {
	content: '';
	background-color: #c50d2f;
	width: 100%;
	height: 30%;
	opacity: 1;
	position: absolute;
	top: 85%;
	left: 0;
	z-index: 1;
	transition: all 0.4s ease;
}

.team-card-box:hover:before {
	height: 300px;
	position: absolute;
	top: 65%;
	left: 0;
	border-radius: 0px 0px 0 0;
	box-shadow: 0 0 20px #000;
	opacity: 0.9;
}

.team-card-box .team-card-box-text {
	color: #fff;
	text-align: center;
	width: 100%;
	padding: 0 30px;
	opacity: 1;
	transform: translateX(-50%);
	position: absolute;
	top: 85%;
	left: 50%;
	z-index: 1;
	transition: all 0.4s ease;
	padding: 2%;
}

.team-card-box:hover .team-card-box-text {
	position: absolute;
	top: 65%;
	left: 50%;
}

}

@media screen and (max-width: 998px) {
	.team-card-box {
		position: relative;
	}
	.team-card-box img {
		width: 800px;
		height: auto;
	}
	.team-card-box:before {
	content: '';
	background-color: #c50d2f;
	width: 100%;
	height: 30%;
	opacity: 1;
	position: absolute;
	top: 85%;
	left: 0;
	z-index: 1;
	transition: all 0.4s ease;
}

.team-card-box:hover:before {
	height: 300px;
	position: absolute;
	top: 65%;
	left: 0;
	border-radius: 0px 0px 0 0;
	box-shadow: 0 0 20px #000;
	opacity: 0.9;
}

.team-card-box .team-card-box-text {
	color: #fff;
	text-align: center;
	width: 100%;
	padding: 0 30px;
	opacity: 1;
	transform: translateX(-50%);
	position: absolute;
	top: 86%;
	left: 50%;
	z-index: 1;
	transition: all 0.4s ease;
	padding: 2%;
}

.team-card-box:hover .team-card-box-text {
	position: absolute;
	top: 65%;
	left: 50%;
}
.team-card-box-text h5{
	font-size: 36px;
}
.team-card-box-text p{
	margin-top: 5%;
	font-size: 24px;
}


}

@media screen and (max-width: 600px) {
	.team-card-box {
		position: relative;
	}
	.team-box {
		width: 100%;
		height: auto;
		margin: 0 auto;
		display: flex;
		flex-flow: row wrap;
	}
	.team-card-box img {
		width: 100%;
		height: auto;
	}
.team-card-box:before {
	content: '';
	background-color: #c50d2f;
	width: 100%;
	height: 30%;
	opacity: 1;
	position: absolute;
	top: 85%;
	left: 0;
	z-index: 1;
	transition: all 0.4s ease;
}

.team-card-box:hover:before {
	height: 300px;
	position: absolute;
	top: 65%;
	left: 0;
	border-radius: 0px 0px 0 0;
	box-shadow: 0 0 20px #000;
	opacity: 0.9;
}

.team-card-box .team-card-box-text {
	color: #fff;
	text-align: center;
	width: 100%;
	padding: 0 30px;
	opacity: 1;
	transform: translateX(-50%);
	position: absolute;
	top: 85%;
	left: 50%;
	z-index: 1;
	transition: all 0.4s ease;
	padding: 2%;
}

.team-card-box:hover .team-card-box-text {
	position: absolute;
	top: 65%;
	left: 50%;
}
.team-card-box-text h5{
	font-size: 22px;
}
.team-card-box-text p{
	margin-top: 0%;
	font-size: 14px;
	margin-bottom: 1%;
}

}
@media screen and (max-width: 600px) {
	
	.team-card-box-text h5{
	font-size: 16px;
}
.team-card-box-text p{
	margin-top: 0%;
	font-size: 12px;
	margin-bottom: 1%;
}
}