

/* Common style */
.figure {
	position: relative;
	float: left;
	overflow: hidden;
	margin: 10px 1%;
	width: 100%;
	max-width: 480px;
	height: 100%;
	width: 48%;
	background: #3085a3;
	text-align: center;
	cursor: pointer;
}



.figure img {
	position: relative;
	display: block;
	min-height: 100%;
	max-width: 100%;
	opacity: 0.8;
}

.figure figcaption {
	width:100%;
	height:100%;
	box-sizing:border-box;
	padding: 2em;
	color: #fff;
	text-transform: uppercase;
	font-size: 1.25em;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

#figcaption:hover {
background: rgba(153,102,0,0.5);
}


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



/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */


.startboxen_small figure h2 {
	word-spacing: -0.15em;
	font-weight: 600;
	color:#FFF;
	font-size:1.2em;
	
}

.startboxen_long figure h2 {
	word-spacing: -0.15em;
	font-weight: 600;
	color:#FFF;
	font-size:1.2em;
	
}

. figure h2 span {
	font-weight: 600;
}

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



/* Individual effects */
/*---------------*/
/***** Oscar *****/
/*---------------*/

figure.effect-oscar {
	background: -webkit-linear-gradient(45deg, #22682a 0%, #9b4a1b 40%, #3a342a 100%);
	background: linear-gradient(45deg, #22682a 0%,#9b4a1b 40%,#3a342a 100%);
		width: 100%;
	height:100%;

 color:#FFF;
}

figure.effect-oscar img {
	opacity: 1;
	-webkit-transition: opacity 0.35s;
	transition: opacity 0.35s;
	width: 100%;
	height:100%;
 
  display: block;
  box-sizing:border-box;
	object-fit: cover;
	position: absolute;
-webkit-transition: opacity 0.5s, -webkit-transform 0.5s;
	transition: opacity 1s, transform 0.5s;
	-webkit-backface-visibility: hidden;
}


figure.effect-oscar:hover img {
	-webkit-transform: scale3d(1.1,1.1,1);
	transform: scale3d(1.1,1.1,1);
}

figure.effect-oscar figcaption {
	padding: 3em;
	-webkit-transition: background-color 0.35s;
	transition: background-color 0.35s;
width: 100%;
	height:100%;
	box-sizing:border-box;
}

figure.effect-oscar figcaption::before {
	max-height:100%;
	max-width:100%;
position: absolute;
	top: 30px;
	right: 30px;
	bottom: 30px;
	left: 30px;
	border: 1px solid rgba(255,255,255,0.4);
	content: '';

}

figure.effect-oscar h2 {
	margin: 30px 0 10px 0;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
	color:#FFF;
	font-size:1.7em;
	text-transform:uppercase;
	line-height:1em;
	
	
}

.border_bottom{
	padding-bottom:8px;
	border-bottom: 1px dotted rgba(255,255,255,0.7);}

figure.effect-oscar figcaption::before,
figure.effect-oscar 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);
	max-width:98%;
	
}



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

figure.effect-oscar a {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	color:#FFF;
	
}

figure.effect-oscar:hover a {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	color:#FFF;
	
}

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

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

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

@media screen and (max-width: 50em) {
	.content {
		padding: 0 10px;
		text-align: center;
	}
	.grid figure {
		display: inline-block;
		float: none;
		margin: 10px auto;
		width: 100%;
	}
}

@media screen and (max-width : 550px){
	
	
	
	figure.effect-oscar figcaption {

	-webkit-transition: background-color 0.35s;
	transition: background-color 0.35s;
width: 100%;
	height:100%;
	box-sizing:border-box;
}

figure.effect-oscar h2 {
	margin: 10px 0 10px 0;
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	-webkit-transform: translate3d(0,100%,0);
	transform: translate3d(0,100%,0);
	color:#FFF;
	font-size:1.5em;
	text-transform:uppercase;
	
	
}}