
/* Common style */
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px auto;
	min-width: 240px;
	max-width: 480px;
	max-height: 390px;
	width: 100%;
	/*background: #3085a3;
	Background : rgba(13, 60, 85, 0.9);*/
	text-align: center;
	cursor: pointer;
}

.grid figure img {
	position: relative;
	margin:0px auto;
	display: block;
	min-height: 100%;
	max-width: 100%;
	/*opacity: 0.8;*/
}


.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 {
	margin-top:130%;
	width: 100%;
	height: auto;
	position: relative;
	opacity: 0;
}

.grid figure h2 {
	position: relative;
	margin:0px auto;
	font-weight: 300;
}

@media screen and (max-width:490px) {
	.grid figure {
		position: relative;
		float: left;
		overflow: hidden;
		margin: 10px auto;
		min-width: 300px;
		max-width: 480px;
		max-height: 300px;
		width: 100%;
		/*background: #3085a3;*/
		Background : rgba(13, 60, 85, 0.9)
		text-align: center;
		cursor: pointer;
	}
	.grid figcaption h2 img{
		left:50%;
		text-align:center;
		position: relative;
		max-width: 74px;
		width:100%;
		background-size: contain;
	}
	.grid figure h2 span {
		position: relative;
		margin: 10px auto;
		width:50%;
		background-size: contain;
		float:left;
		text-align:center;
	}
	.grid figure p {
		padding-left:10%;
		width:100%;
		/*float:left;*/
	}
	.grid figure figcaption > a {
		margin-top:130%;
		width: 100%;
		height: auto;
		position: relative;
		opacity: 0;
	}
}

@media screen and (max-width:767px) {
	.grid figure {
		position: relative;
		float: left;
		overflow: hidden;
		margin: 10px auto;
		min-width: 200px;
		max-width: 480px;
		max-height: 300px;
		width: 100%;
		/*background: #3085a3;*/
		Background : rgba(13, 60, 85, 0.9)
		text-align: center;
		cursor: pointer;
	}
	.grid figcaption h2 img{
		left:100%;
		text-align:center;
		position: relative;
		max-width: 74px;
		width:100%;
		background-size: contain;
	}
	.grid figure h2 span {
		position: relative;
		margin: 10px auto;
		width:50%;
		background-size: contain;
		float:left;
		text-align:center;
	}
	.grid figure p {
		/*padding-left:10%;*/
		width:100%;
		/*float:left;*/
	}
	.grid figure figcaption > a {
		margin-top:130%;
		width: 100%;
		height: auto;
		position: relative;
		opacity: 0;
	}
}


@media screen and (max-width:1163px) {
.grid figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px auto;
	min-width: 200px;
	max-width: 480px;
	max-height: 300px;
	width: 100%;
	/*background: #3085a3;*/
	Background : rgba(13, 60, 85, 0.9)
	text-align: center;
	cursor: pointer;
}

	.grid figcaption h2 img{
		left:0%;
		position: relative;
		max-width: 60px;
		width:100%;
		background-size: contain;
	}
	.grid figure h2 span {
		position: relative;
		margin: 10px 0 0 0;
		width:100%;
		background-size: contain;
		float:left;
		text-align:center;
	}
	.grid figure p {
		padding:0 0 20px 0;
		width:90%;
		/*text-align:center;
		float:left;*/
	}
		.grid figure figcaption > a {
		margin-top:64%;
		width: 100%;
		height: auto;
		position: relative;
		opacity: 0;
	}
}

.grid figure h2 span {
	font-weight: 800;
	color:#ffffff;
	font-size:32px;
}
.grid figure p {
	font-size: 68.5%;
}


.grid figure .read-more {
    border: 1px solid #ffffff;
	border-radius: 30px;
    padding: 8px 4px;
    font-size:14px;
	width: 80%;
    text-decoration: none;
    color: #ffffff;
    display: inline-block;
  }

.grid figure .read-more:hover {
    background-color: #ffffff;
    color: #000000;
  }
 

/* Individual effects */


/*---------------*/
/***** Sadie *****/
/*---------------*/

figure.effect-sadie figcaption::before {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: #000; */
    background: -webkit-linear-gradient(top, rgba(72,76,97,0) 0%, rgba(0,0,0,0.8) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 100%);
    content: '';
    opacity: 0;
    /* -webkit-transform: translate3d(0,50%,0); */
    /* transform: translate3d(0,50%,0); */
}

figure.effect-sadie h2 {
	position: absolute;
	top: 60%;
	left: 0;
	width: 100%;
	color: #484c61;
	-webkit-transition: -webkit-transform 0.35s, color 0.35s;
	transition: transform 0.35s, color 0.35s;
	-webkit-transform: translate3d(0,-50%,0);
	transform: translate3d(0,-50%,0);
}

figure.effect-sadie figcaption::before,
figure.effect-sadie p {
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-sadie p {
	color:#ffffff;
	margin:0px auto;
	font-size:14px;
	/* -webkit-transform: translate3d(0,10px,0);*/
	/* transform: translate3d(0,10px,0);*/
}

figure.effect-sadie:hover h2 {
	color: #fff;
	-webkit-transform: translate3d(0,-50%,0) translate3d(0,-50px,0);
	transform: translate3d(0,-50%,0) translate3d(0,-50px,0);
}

figure.effect-sadie:hover .read-more {
	z-index: 1;
	opacity: 1;
	-webkit-transform: translate3d(0,10px,0);
	transform: translate3d(0,10px,0);
}

figure.effect-sadie:hover figcaption::before ,
figure.effect-sadie:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}