.box {
	width: 400px;
	height: 246px;
	position: relative;
	display: inline-block;
	margin-top: 10px;
	margin-right: 10px;
	margin-left: 10px;
	margin-bottom: 10px;
	cursor: pointer;
	color: #5A5A5A;
	box-shadow: inset 0 0 0 3px;
	-webkit-transition: background 0.4s 0.5s;
	transition: background 0.4s 0.5s;
	-webkit-box-shadow: inset 0 0 0 3px;
}

.box:hover {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.box img {
	margin-top: 25px;
}

.box span {
	display: block;
	font-size: 11px;
	padding-top: 20px;
	padding-right: 5px;
	padding-left: 5px;
	padding-bottom: 5px;
	width: 350px;
	margin-right: auto;
	margin-left: auto;
}
.box .learnmore_c_01 {
	border-top: 2px solid #002E5B;
	border-bottom: 2px solid #002E5B;
	width: 120px;
	padding-top: 3px;
	padding-bottom: 3px;
	color: #606060;
	text-transform: uppercase;
	margin-right: auto;
	margin-left: auto;
	margin-top: 10px;
}
.box .learnmore_c_02 {
	border-top: 2px solid #ED3237;
	border-bottom: 2px solid #ED3237;
	width: 120px;
	padding-top: 3px;
	padding-bottom: 3px;
	color: #606060;
	text-transform: uppercase;
	margin-right: auto;
	margin-left: auto;
	margin-top: 10px;
}
.box .learnmore_c_03 {
	border-top: 2px solid #F58634;
	border-bottom: 2px solid #F58634;
	width: 120px;
	padding-top: 3px;
	padding-bottom: 3px;
	color: #606060;
	text-transform: uppercase;
	margin-right: auto;
	margin-left: auto;
	margin-top: 10px;
}
.box .learnmore_c_04 {
	border-top: 2px solid #0098DA;
	border-bottom: 2px solid #0098DA;
	width: 120px;
	padding-top: 3px;
	padding-bottom: 3px;
	color: #606060;
	text-transform: uppercase;
	margin-right: auto;
	margin-left: auto;
	margin-top: 10px;
}
.box h3,
.box span {
	-webkit-transition: color 0.4s 0.5s;
	transition: color 0.4s 0.5s;
}

.box:hover h3,
.box:hover span {
	color: #fff;
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.box svg {
	position: absolute;
	top: 0;
	left: 0;
}

.box svg line {
	stroke-width: 3;
	stroke: #ecf0f1;
	fill: none;
	-webkit-transition: all .8s ease-in-out;
	transition: all .8s ease-in-out;
}

.box:hover svg line {
	-webkit-transition-delay: 0.1s;
	transition-delay: 0.1s;
}

.box svg line.top,
.box svg line.bottom {
	stroke-dasharray: 400 400; 
}

.box svg line.left,
.box svg line.right {
	stroke-dasharray: 490 0;
}

.box:hover svg line.top {
	-webkit-transform: translateX(-800px);
	transform: translateX(-800px);
}

.box:hover svg line.bottom {
	-webkit-transform: translateX(800px);
	transform: translateX(800px);
}

.box:hover svg line.left {
	-webkit-transform: translateY(492px);
	transform: translateY(492px);
}

.box:hover svg line.right {
	-webkit-transform: translateY(-492px);
	transform: translateY(-492px);
}

/* Alternatives */

/* Color */
.demo-2 .box {
	box-shadow: inset 0 0 0 0 #FFFFFF;
	-webkit-box-shadow: inset 0 0 0 0 #FFFFFF;
}

.demo-2 .box:hover h3,
.demo-2 .box:hover span {
	color: #747474;
}

.demo-2 .box svg line {
	stroke-width: 8;
}

.demo-2 .box:hover svg line {
	stroke: #ED3237;
}

/* Frame */
.demo-3 .box {
	background: rgba(0,0,0,0);
	color: #fff;
	box-shadow: none;
	-webkit-transition: background 0.3s;
	transition: background 0.3s;
}

.demo-3 .box:hover {
	background: rgba(0,0,0,0.4);
}

.demo-3 .box h3,
.demo-3 .box span {
	-webkit-transition: none;
	transition: none;
}

.demo-3 .box svg line {
	-webkit-transition: all .5s;
	transition: all .5s;
}

.demo-3 .box:hover svg line {
	stroke-width: 10;
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.demo-3 .box:hover svg line.top {
	-webkit-transform: translateX(-400px);
	transform: translateX(-400px);
}

.demo-3 .box:hover svg line.bottom {
	-webkit-transform: translateX(400px);
	transform: translateX(400px);
}

.demo-3 .box:hover svg line.left {
	-webkit-transform: translateY(246px);
	transform: translateY(246px);
}

.demo-3 .box:hover svg line.right {
	-webkit-transform: translateY(-246px);
	transform: translateY(-246px);
}

/* Spin */
.demo-4 .box {
	box-shadow: none;
	background: rgba(0,0,0,0.4);
	-webkit-transition: none;
	transition: none;
	color: #fff;
}

.demo-4 .box h3,
.demo-4 .box span {
	-webkit-transform: scale(0.9);
	transform: scale(0.9);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform 0.5s;
	transition: transform 0.5s;
}

.demo-4 .box:hover h3,
.demo-4 .box:hover span {
	-webkit-transform: scale(1);
	transform: scale(1);
}

.demo-4 .box svg line {
	stroke-width: 30;
	-webkit-transition: all .4s;
	transition: all .4s;
}

.demo-4 .box:hover svg line {
	-webkit-transition-delay: 0s;
	transition-delay: 0s;
}

.demo-4 .box:hover svg line {
	stroke-width: 0;
}

.demo-4 .box svg line.top,
.demo-4 .box svg line.bottom {
	stroke-dasharray: 400; 
}

.demo-4 .box svg line.left,
.demo-4 .box svg line.right {
	stroke-dasharray: 246;
}

.demo-4 .box:hover svg line.top {
	-webkit-transform: translateX(-400px);
	transform: translateX(-400px);
}

.demo-4 .box:hover svg line.bottom {
	-webkit-transform: translateX(400px);
	transform: translateX(400px);
}

.demo-4 .box:hover svg line.left {
	-webkit-transform: translateY(246px);
	transform: translateY(246px);
}

.demo-4 .box:hover svg line.right {
	-webkit-transform: translateY(-246px);
	transform: translateY(-246px);
}