/***
 * Button
 */

.btn {
	background-color: $primary;
	border: none;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-family: $font-family-2;
	position: relative;
	text-transform: uppercase;
	@include transition;
	white-space: nowrap;

	.rev_slider_wrapper & {
		transition: .2s background-color, .3s color !important;
	}

	&:hover,
	&:focus {
		background-color: $hover;
		color: #fff;
	}
}

.btn:not(.btn-minimal):not(.btn-xs) {
	text-align: center;

	@media(max-width: 500px) {
		float: none;
		left: 50%;
		transform: translateX(-50%);
		width: 80%;
	}
}

.btn,
.btn.btn-md   { font-size: 12px; padding: 11px 28px; }
.btn.btn-sm   { font-size: 11px; padding: 9px 21px; }
.btn.btn-lg   { font-size: 14px; padding: 14px 31px; }
.btn.btn-wide { font-size: 14px; padding: 9px 34px; }
.btn.btn-xs {
	font-family: $font-family-1;
	font-size: 12px;
	padding: 3px 11px;
	text-transform: none;
}

/** Button Minimal */

.btn.btn-minimal {
	background: none;
	color: $primary;
	padding-left: 0;
	padding-right: 0;

	&:hover,
	&:focus {
		color: $hover;
	}
}

/** Button Gradient */

.btn.btn-gradient {
	background: linear-gradient(0deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, 0) 18px), $primary;
	color: #fff;

	&:hover,
	&:focus {
		background: linear-gradient(0deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, 0) 18px), $hover;
	}
}

/** Button Dark */

.btn.btn-dark {
	background-color: #242424;

	&:hover,
	&:focus {
		color: #242424;
		background-color: #fff;
	}
}

/** Button Light */

.btn.btn-light {
	background-color: #fff;
	color: #242424;

	&:hover,
	&:focus {
		color: #fff;
		background-color: #242424;
	}
}

/** Button Shadow */

.btn.btn-shadow:after {
	border-color: #595959 transparent transparent transparent;
	border-style: solid;
	border-width: 4px 4px 0 0;
	bottom: 3px;
	content: "";
	position: absolute;
	right: -4px;
	width: 0;
	height: 0;
	width: 0;
}