.grid {
	overflow: hidden;
	position: relative;
	margin: 0 auto;
	padding: 1em 0 2em;
	max-width: 1254px;
	list-style: none;
	text-align: center;
}

/* Common style */
.grid figure {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 10px .3%;


    width: 24.4%;
    background: #3085a3;
    text-align: center;
    cursor: pointer;
}

.grid figure img {
	position: relative;
	display: block;

	max-width: 100%;
	opacity: 0.8;
	width: 100%;
}

.grid figure figcaption {
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
	pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
	z-index: 1000;

	white-space: nowrap;
	font-size: 0;
	opacity: 0;
}

.grid figure h2 {
    font-size:20px;
	line-height:30px;
	font-weight: 300;
}

.grid figure h2 span {
	font-weight: 800;
}

.grid figure h2,
.grid figure p {
	margin: 0;
}

.grid figure p {
	letter-spacing: 1px;
	font-size: 14px;
    line-height: 26px;
}





/**********style********/



figure.effect-prs {
	background: -webkit-linear-gradient(45deg, #525853 0%,#9b4a1b 40%,#5c5852 100%);
	background: linear-gradient(45deg, #525853 0%,#9b4a1b 40%,#5c5852 100%);
}

figure.effect-prs img {
	opacity: 0.9;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
}

figure.effect-prs figcaption {
	padding: 3em;
	background-color: rgba(58, 52, 42, 0.4);
	-webkit-transition: background-color 0.35s;
	transition: background-color 0.35s;
}

figure.effect-prs figcaption::before {
	position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	border: 1px solid #fff;
	content: '';
}

figure.effect-prs h2 {
	margin: 25% 0 5px 0;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
}

figure.effect-prs figcaption::before,
figure.effect-prs p {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: scale(0);
	transform: scale(0);
}

figure.effect-prs:hover h2 {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

figure.effect-prs:hover figcaption::before,
figure.effect-prs:hover p {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

figure.effect-prs:hover figcaption {
	background-color: rgba(58,52,42,0);
}

figure.effect-prs:hover img {
	opacity: 0.4;
}


.most-title img{
   width:40px;
   vertical-align:middle;
}


@media only screen and (max-width:1238px){
 .grid figure{
    min-width: inherit;
     height: 230px;
}
}

@media only screen and (max-width:940px){
	.grid figure{
		    width: 49.3%;
		}
	}
	
@media only screen and (max-width:840px){
	.customs-cont:before{
		    width: 340px!important;
		}
	}	
	
@media only screen and (max-width:480px){
	.grid figure{
    width: 100%;
    height: auto;
		}
	.customs-cont:before{
		width:100%!important;
		}	
	.grid{
		padding:1em 0 0;
		}
	}