.btn,
.btn-border-o:after,
.btn-border-o:before,
.btn-border:after,
.btn-border:before {
	-webkit-transition: all .3s;
	transition: all .3s
}

.btn {
	display: inline-block;
	line-height: 15px;

	padding: 0 15px;
	font-size: 15px;
	position: relative;
	opacity: .999;
	border-radius: 3px
}

.btn-border-o {
	background-color: transparent;
	border: 1px solid #d0d0d0;
	color: #b8b8b8
}

.btn-border-o:after,
.btn-border-o:before {
	content: '';
	border-style: solid;
	position: absolute;
	z-index: 5;
	border-radius: 3px;
	-webkit-box-sizing: content-box;
	box-sizing: content-box
}

.btn-border-o:before {
	width: 0;
	height: 100%;
	border-width: 1px 0 1px 0;
	top: -1px;
	left: 0;
	-webkit-transition-delay: 50ms;
	transition-delay: 50ms
}

.btn-border-o:after {
	width: 100%;
	height: 0;
	border-width: 0 1px 0 1px;
	top: 0;
	left: -1px
}

.btn-border-o:hover:before {
	width: 100%
}

.btn-border-o:hover:after {
	height: 100%
}

.btn-border-o.btn-blue:after,
.btn-border-o.btn-blue:before {
	border-color: #3498db
}

.btn-border-o.btn-blue:hover {
	color: #3498db
}

.btn-border {
	background-color: #e5e5e5;
	border: 1px solid #e5e5e5;
	color: #a6a6a6
}

.btn-border:after,
.btn-border:before {
	content: '';
	border-style: solid;
	position: absolute;
	z-index: 5;
	border-radius: 3px;
	-webkit-box-sizing: content-box;
	box-sizing: content-box
}

.btn-border:before {
	width: 0;
	height: 100%;
	border-width: 1px 0 1px 0;
	top: -1px;
	left: 0;
	-webkit-transition-delay: 50ms;
	transition-delay: 50ms
}

.btn-border:after {
	width: 100%;
	height: 0;
	border-width: 0 1px 0 1px;
	top: 0;
	left: -1px
}

.btn-border:hover {
	background-color: transparent
}

.btn-border:hover:before {
	width: 100%
}

.btn-border:hover:after {
	height: 100%
}

.btn-border.btn-blue:after,
.btn-border.btn-blue:before {
	border-color: #3498db
}

.btn-border.btn-blue:hover {
	color: #3498db
}

