/* Button */
.button {
	margin: 0 0 0 5px;
	padding: 10px 18px;
	font-size: 14px;
	font-weight: 700;
    border-width: 0px;
	border-style: solid;
	position: relative;
    display: inline-block;
    cursor: pointer;
	text-align: center;
	transition: .1s linear;
	-moz-transition: .1s linear;
	-webkit-transition: .1s linear;
	-o-transition: .1s linear;
	color: #666666;
	border-color: #c3c6c9;
	border-radius: .25rem;
	background-color: #fff;
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.button:first-child {
	margin: 0;
}

.button:not(.disabled):hover {
	outline: none;
}

.button-animation {
	transition: all .5s;
    -webkit-transition: all .5s;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    -webkit-animation-name: hvr-wobble-horizontal;
    animation-name: hvr-wobble-horizontal;
    -webkit-animation-duration: 10s;
    animation-duration: 10s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.button-loading {
	position: relative;
	cursor: default;
	point-events: none;
	text-shadow: none !important;
	color: transparent !important;
	-webkit-transition: all 0s linear;
	transition: all 0s linear;
}

.button-loading i {
	visibility: hidden;
}

.button-loading:before {
	position: absolute;
	content: '';
	top: 50%;
	left: 50%;
	margin: -0.6em 0 0 -0.6em;
	width: 1.1857em;
	height: 1.1857em;
	border-radius: 500rem;
	border: 3px solid rgba(0, 0, 0, 0.15);
}

.button-loading:after {
	position: absolute;
	content: '';
	top: 50%;
	left: 50%;
	margin: -0.6em 0 0 -0.6em;
	width: 1.1857em;
	height: 1.1857em;
	-webkit-animation: button-spin 0.5s linear;
	animation: button-spin 0.5s linear;
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
	border-radius: 500rem;
	border-color: #ffffff transparent transparent;
	border-style: solid;
	border-width: 3px;
	box-shadow: 0px 0px 0px 1px transparent;
}

@-webkit-keyframes button-spin {
	from {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	to {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes button-spin {
	from {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	to {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

.button-block {
	width: 100%;
	display: block;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

@media screen and (max-width: 640px) {
	.button-mobile-block {
		width: 100%;
		display: block;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

.button-mini {
	font-size: 12px;
	padding: 3px 5px 4px;
	line-height: 1.5;
}

.button-mini i {
	line-height: 0.5;
}

.button-small {
	font-size: 13px;
	padding: 5px 10px;
}

.button-medium {
	font-size: 16px;
    padding: 11px 18px;
}

.button-large {
	font-size: 18px;
    padding: 16px 22px;
}

/* Button Icon */
.button i {
	margin: 0;
}

.button i:before {
	font-size: 20px;
}

/* Button Rounded */
.button-rounded {
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 50px;
}

/* Button Position */
.button.button-left-icon i,
.button.button-right-icon i {
	position: relative;
	font-weight: normal !important;
	/* top: 1px; */
}

.button.button-left-icon i {
	margin-left: 0;
	margin-right: 5px;
}

.button.button-right-icon i {
	margin-left: 5px;
	margin-right: 0;
}

.button.text-left.button-right-icon i {
	float: right;
}

.button.text-right.button-left-icon i {
	float: left;
}

.button.text-center.button-left-icon i {
	float: left;
}

.button.button-left-icon i::before,
.button.button-right-icon i::before {
	font-size: 14px;
}

.button.button-small.button-left-icon i::before,
.button.button-small.button-right-icon i::before {
	font-size: 14px;
}

.button.button-medium.button-left-icon i::before,
.button.button-medium.button-right-icon i::before {
	font-size: 18px;
}

.button.button-large.button-left-icon i::before,
.button.button-large.button-right-icon i::before {
	font-size: 20px;
}

/* Button Default */
.button.button-default {
    color: #666666;
	border-color: #dddddd;
	background-color: #ffffff;
    border-width: 1px;
}

.button.button-default > i:before {
    color: #666666;
}

.button.button-default:hover {
	color: #666666;
    border-color: #dce1e4;
	background-color: #f7f8f9;
}


/* Button Primary */
.button.button-primary {
    color: #fff;
    background: #008bd2;
    border: 1px solid transparent;
}

.button.button-primary > i:before {
    color: #fff;
}

.button.button-primary:hover {
    color: #fff;
    background: #008bd2;
}

.button.button-primary:hover > i:before {
    color: #fff;
}

/* Button Primary Outline */
.button.button-primary-outline {
	color: #008bd2;
	border: 1px solid #008bd2;
}

.button.button-primary-outline > i:before {
    color: #008bd2;
}

.button.button-primary-outline:hover {
	color: #fff;
	border: 1px solid #008bd2;
    background: #008bd2;
}

.button.button-primary-outline:hover > i {
	color: #fff;
}

/* Button Secondary */
.button.button-secondary {
    color: #ffffff;
    background: #282828;
    border: 1px solid transparent;
}

.button.button-secondary > i:before {
    color: #fff;
}

.button.button-secondary:hover {
    color: #fff;
    background: #fff170;
}

.button.button-secondary:hover > i:before {
    color: #fff;
}

/* Button Secondary Outline */
.button.button-secondary-outline {
	color: #282828;
	border: 1px solid #282828;
}

.button.button-secondary-outline > i:before {
    color: #282828;
}

.button.button-secondary-outline:hover {
	color: #ffffff;
	border: 1px solid #282828;
    background: #282828;
}

.button.button-secondary-outline:hover > i:before {
	color: #ffffff;
}

/* Button Soft Gray */
.button.button-soft-gray {
    color: #666666;
    background: #eeeeee;
    border: 1px solid transparent;
}

.button.button-soft-gray > i:before {
    color: #999999;
}

.button.button-soft-gray:hover {
    color: #666666;
    background: #dddddd;
}

.button.button-soft-gray:hover > i:before {
    color: #666666;
}

/* Button Dark Gray */
.button.button-dark-gray {
    color: #fff;
    background: #333333;
    border: 1px solid transparent;
}

.button.button-dark-gray > i:before {
    color: #fff;
}

.button.button-dark-gray:hover {
    color: #fff;
    background: #242424;
}

.button.button-dark-gray:hover > i:before {
    color: #fff;
}

/* Button Success */
.button.button-success {
	color: #fff;
	background: #8dc63f;
    border: 1px solid transparent;
}

.button.button-success > i:before {
    color: #fff;
}

.button.button-success:hover {
    color: #fff;
    background: #80b43a;
}

.button.button-success:hover > i:before {
    color: #fff;
}

/* Button Info */
.button.button-info {
	color: #fff;
	background: #40bbea;
    border: 1px solid transparent;
}

.button.button-info > i:before {
    color: #fff;
}

.button.button-info:hover {
    color: #fff;
	background: #3cadd9;
}

.button.button-info:hover > i:before {
    color: #fff;
}

/* Button Warning */
.button.button-warning {
	color: #fff;
    background: #ffba00;
    border: 1px solid transparent;
}

.button.button-warning > i:before {
    color: #fff;
}

.button.button-warning:hover {
    color: #fff;
    background: #f0af00;
}

.button.button-warning:hover > i:before {
    color: #fff;
}

/* Button Danger */
.button.button-danger {
	color: #fff;
    background: #e33244;
    border: 1px solid transparent;
}

.button.button-danger > i:before {
    color: #fff;
}

.button.button-danger:hover {
    color: #fff;
    background: #d6404f;
}

.button.button-danger:hover > i:before {
    color: #fff;
}

/* Button Pink */
.button.button-pink {
    color: #fff;
    background: #ff7aa3;
    border: 1px solid transparent;
}

.button.button-pink > i:before {
    color: #fff;
}

.button.button-pink:hover {
    color: #fff;
    background: #ff5187;
}

.button.button-pink:hover > i:before {
    color: #fff;
}

/* Button Purple */
.button.button-purple {
    color: #fff;
    background: #9261c6;
    border: 1px solid transparent;
}

.button.button-purple > i:before {
    color: #fff;
}

.button.button-purple:hover {
    color: #fff;
    background: #7d43bb;
}

.button.button-purple:hover > i:before {
    color: #fff;
}

/* Button Disabled */
.button.button-disabled,
.button.button-disabled:hover,
.button.button-disabled:active,
.button.button-disabled:focus {
	cursor: not-allowed;
	background-color: #c5c5c5;
	color: #fff;
	box-shadow: none;
	border: 1px solid transparent;
}

.button.button-disabled > i:before {
	color: #fff;
	opacity: .8;
}

/* Button Badge */
.button .badge {
	margin: 0 0 -1px;
	padding: 2px 5px;
    position: relative;
    top: 0;
	left: 3px;
}

.button .badge > i {
	font-size: 11px;
    margin: 0;
    position: relative;
    top: -1px;
}

.button-facebook {
	color: #ffffff;
	background: #3b5998;
}

.button-facebook i.fa:before {
	color: #ffffff;
	font-size: 16px;
	margin-left: -5px;
}

.button-twitter {
	color: #ffffff;
	background: #00acee;
}

.button-twitter i.fa:before {
	color: #ffffff;
	font-size: 16px;
	margin-left: -5px;
}

.button-google-plus {
	color: #ffffff;
	background: #e93f2e;
}

.button-google-plus i.fa:before {
	color: #ffffff;
	font-size: 16px;
	margin-left: -5px;
}

.button-pinterest {
	color: #ffffff;
	background: #d20b08;
}

.button-pinterest i.fa:before {
	color: #ffffff;
	font-size: 16px;
	margin-left: -5px;
}
