
#ansar-main{
	max-width: 1300px;
	margin: 130px auto;
	text-align: center;
}
.ansar-main{
	width: 286px;
	height: 264px;
	display: inline-block;
	margin: 10px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0px 0px 3px #333;
}
.ansar-main-background{
	width: 100%;
	height: 214px;
	background-size: cover;
	background-position: center center;
	position: relative;
}
.ansar-main h4{
	width: 100%;
	height: 50px;
	background-color: #ffffff;
	border-top: 1px solid #b60300;
	color: #363b3f;
	line-height: 38px;
	-webkit-transition: all 0.3s;
	 -moz-transition: all 0.3s;
	 -o-transition: all 0.3s;
	transition: all 0.3s;
}

.ansar-main-background-hover{
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0;
	-webkit-transition: all 0.3s;
	 -moz-transition: all 0.3s;
	 -o-transition: all 0.3s;
	transition: all 0.3s;
}
.ansar-main:hover .ansar-main-background-hover{
	opacity: 1;
	background-color: rgba(54,59,63, 0.2);
}