/* */
@import "../css/figcaption-reset.css";
@import "../css/figcaption-grid.css";
.boxes a.btn {
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
}
a.btn {
	text-decoration: none;
	text-transform: uppercase;
	color: #abc607;
	display: inline-block;
	background-color: #fff;
	font-size: 1.1em;
	line-height: 1em;
	padding: 5px 16px 5px ;
	outline: none;
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
}

a.btn:hover {
	color: #fff;
	background-color: #586b7a;
}

.clear {
	float: none !important;
	clear: both;
}

.boxes>div {
	position: relative;
}
 
.boxes figure{
}

.boxes figure figcaption{
	background-color: #abc607;
	position: absolute;
	top: 0;
	font-size: 13px;
	line-height: 19px;
	color: #586b7a;
	text-align: left;
	left: 0;
	height: 300px;
	width: 183px;
	opacity: 0;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform-origin: 0 0;
	-moz-transform-origin: 0 0;
	-o-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transform: rotateY(-90deg);
	-moz-transform: rotateY(-90deg);
	-o-transform: rotateY(-90deg);
	transform: rotateY(-90deg);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
	-o-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
	transition: transform 0.4s, opacity 0.1s 0.3s;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	padding-top: 20px;
	padding-right: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
}

figcaption h3 {
	color: #ffffff;
	text-align: left;
	padding-top: 18px !important;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	font-size: 1.5em;
	line-height:0;
	background-color:transparent;
	display:block;

}

figcaption a.btn {
	display: block;
	float: left;
	margin-top: 20px;
	margin-bottom: 20px;
	margin-right: 10px;
	margin-left: 0;
}

.boxes {
	margin-bottom: 30px;
	margin-top: 0px;
}
.boxes figure div {
	overflow: hidden;
}

.boxes figure {
	-webkit-perspective: 1700px;
	-moz-perspective: 1700px;
	-ms-perspective: 1700px;
	-o-perspective: 1700px;
	 perspective: 1700px;
    
    -webkit-perspective-origin: 0 50%;
    -moz-perspective-origin: 0 50%;
    -ms-perspective-origin: 0 50%;
    -o-perspective-origin: 0 50%;
    perspective-origin: 0 50%;
	background-color: #abc607;
}

.boxes a.btn {
	box-shadow: none;
}

.boxes figure img {
	position: relative;
	transition: 0.5s ease;
	-o-transition: 0.5s ease;
	-webkit-transition: 0.5s ease;
}

.boxes figure:hover img {
	-webkit-transform: translateX(25%);
	-moz-transform: translateX(25%);
	-ms-transform: translateX(25%);
	transform: translateX(25%);
}

.boxes figure:hover figcaption {
		border-bottom: 3px solid #abc607;
	opacity: 1;
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	-o-transform: rotateY(0deg);
	transform: rotateY(0deg);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	-o-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
}