
.testimonials .card1 .content .image img{
	width: 100%;
	height: 100%;
}
{

}
.testimonials .card1
{
	position: relative;
	width: 300px;
	margin: 0 auto;
	/*background: gray;*/
	padding: 20px;
	box-sizing: border-box;
	text-align: center;
	/*box-shadow: 0 10px 40px rgba(0,0,0,.5);*/
	box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
	overflow: hidden;
	border-radius: 5%;
}
.testimonials .card1 .layer
{
	position: absolute;
	top: calc(100% - 2px);
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(#03a9f4, #e91ee3);
	z-index: 1;
	transition: 0.5s;
}
.testimonials .card1:hover .layer
{
	top: 0;
}
.testimonials .card1 .content
{
	position: relative;
	z-index: 2;
}
.testimonials .card1 .content p
{
	font-size: 18px;
	line-height: 24px;
	color: #fff;
}
.testimonials .card1 .content .image
{
	width: 200px;
	height: 200px;
	margin: 0 auto;
	border-radius: 50%;
	overflow: hidden;
	border: 4px solid #fff;
	box-shadow: 0 10px 20px rgba(0,0,0,.2);
}
.testimonials .card1 .content .details h2
{
	font-size: 20px;
	/*color: #fff;*/
}
.testimonials .card1 .content .details h2 span
{
	color: black;
	font-size: 14px;
	transition: 0.5s;
}
.testimonials .card1:hover .content .details h2,h2 span
{
	color: #fff;
}

@media only screen and (max-width: 600px){
.testimonials .card1
{
	position: relative;
	/*width: 230px;*/
	margin: 0 auto;

}

.testimonials .card1 .content p
{
	font-size: 15px;
	line-height: 18px;
}
/*.testimonials .card1 .content .image
{
	width: 100px;
	height: 100px;
	margin: 0 auto;
	border-radius: 50%;
	overflow: hidden;
	border: 4px solid #fff;
	box-shadow: 0 10px 20px rgba(0,0,0,.2);
}*/
.testimonials .card1 .content .details h2
{
	font-size: 18px;
}


}