@charset "utf-8";

.he_border1 {
	background: #54b9fa;
	width: 275px;
	height: 200px;
	padding: 0;
	margin:5px;

	position: relative;
	box-sizing: border-box;
	-webkit-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	-o-transition: all .4s ease-in-out;
	-ms-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
	overflow: hidden;
	float:left;
}

.he_border1 .he_border1_img {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	position: relative;
	-webkit-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	-o-transition: all .4s ease-in-out;
	-ms-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
	opacity: 1;
	overflow: hidden
}

.he_border1:hover .he_border1_img {
	position: absolute;
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
	opacity: .0
}

.he_border1 .he_border1_caption {
	color: #fff;
	padding: 0;
	margin: 0;
	-moz-backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	-o-transition: all .4s ease-in-out;
	-ms-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
	overflow: hidden
}

.he_border1 .he_border1_caption::before,.he_border1 .he_border1_caption::after {
	position: absolute;
	content: '';
	opacity: 0;
	-webkit-transition: opacity 0.4s,-webkit-transform .4s;
	-moz-transition: opacity 0.4s,-moz-transform .4s;
	-o-transition: opacity 0.4s,-o-transform .4s;
	transition: opacity 0.4s,transform .4s
}

.he_border1 .he_border1_caption::before {
	top: 8%;
	right: 10%;
	bottom: 8%;
	left: 10%;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
	-webkit-transform: scale(0,1);
	-moz-transform: scale(0,1);
	-o-transform: scale(0,1);
	transform: scale(0,1);
	-webkit-transform-origin: 0 0;
	-moz-transform-origin: 0 0;
	-o-transform-origin: 0 0;

	transform-origin: 0 0
}

.he_border1 .he_border1_caption::after {
	top: 8%;
	right: 10%;
	bottom: 8%;
	left: 10%;
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
	-webkit-transform: scale(1,0);
	-moz-transform: scale(1,0);
	-o-transform: scale(1,0);
	transform: scale(1,0);
	-webkit-transform-origin: 100% 0;
	-moz-transform-origin: 100% 0;
	-o-transform-origin: 100% 0;
	transform-origin: 100% 0
}

.he_border1:hover .he_border1_caption::before,.he_border1:hover .he_border1_caption::after {
	opacity: 1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1)
}

.he_border1 .he_border1_caption,.he_border1 .he_border1_caption > a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	-o-transition: all .4s ease-in-out;
	-ms-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
	overflow: hidden;
	z-index: 1000
}


.he_border1 .he_border1_caption_h {
	font-size:18px;
color:#FFFFFF;
	text-align:center;
	width:100%;
	position: absolute;
	padding:16px 20px;
	bottom:20px;
	-webkit-transition: all .5s ease-in-out;
	-moz-transition: all .5s ease-in-out;
	-o-transition: all .5s ease-in-out;
	-ms-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
	overflow: hidden;
	opacity: 1;
	background:#54b9fa;

}

.he_border1 .he_border1_caption_p {

	font-size: 1em;
	text-align: center;
	width: 80%;
	position: absolute;
	top: 60%;
	left: 10%;
	-webkit-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	-o-transition: all .4s ease-in-out;
	-ms-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
	overflow: hidden;
	opacity: 0
}

.he_border1:hover .he_border1_caption_p {
	top:25%;
	opacity: 1
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
	.he_border1{
    width: 47%;
  }
}
@media screen and (min-width:320px) and (max-width:768px){
	.he_border1{
    width: 100%;
		margin: 5px 0;
  }
}
@media screen and (min-width:700px) and (max-width:768px){
	.he_border1{
    width: 48%;
		margin: 5px 7px;
  }
}
