%g-button {
	display: inline-block;
	font-family: get-font-family($font-family-default);
	font-weight: $font-weight-bold;
	background: $accent-color-1;
	color: $white !important;
  text-transform: uppercase;
	font-size: $core-font-size - 0.3;
	border: 2px solid transparent;
	margin: 0 0 0.5rem 0;
	padding: 0.4rem 1.0rem;
  border-radius: 1px;
	vertical-align: middle;
	text-shadow: none;
	@include transition(all 0.2s);
	&:hover, &:active, &:focus {
		background: darken($accent-color-1, 10%);
		color: $white !important;
	}
}
.button {
	@extend %g-button;
	.fa {
		font-size: $core-font-size + 0.5;
	}
	&.button-square {
		border-radius: 0;
		&[class*="button"] {
			border-radius: 0;
		}
	}
	&.button-block {
		display: block;
	}
	&.button-xlarge {
		font-size: $core-font-size + 0.4;
	}
	&.button-large {
		font-size: $core-font-size + 0.2;
	}
	&.button-medium {
		font-size: $core-font-size;
	}
	&.button-small {
		font-size: $core-font-size - 0.2;
	}
	&.button-xsmall {
		font-size: $core-font-size - 0.4;
	}
	&.button-alt {
		background: $accent-color-2;
		&:hover, &:active, &:focus {
			background: darken($accent-color-2, 10%);
		}
		&.button-special {
			&:before {
				.dir-ltr & {
					border-left: 1px solid darken($accent-color-2, 8%);
					border-bottom: 1px solid darken($accent-color-2, 8%);
				}
			}
			&:after {
				.dir-rtl & {
					border-right: 1px solid darken($accent-color-2, 8%);
					border-bottom: 1px solid darken($accent-color-2, 8%);
				}
			}
		}
	}
	&.button-3,
	&.button-4,
	&.button-grey,
	&.button-pink,
	&.button-red,
	&.button-purple,
	&.button-orange,
	&.button-blue {
		color: $white !important;
		&.button-3, &.button-4 {
			background: transparent;
			&:hover, &:active, &:focus {
				background: transparent;
			}
		}
	}
	&.button-3 {
		border-radius: 2rem;
		color: $accent-color-1 !important;
		border: 2px solid $accent-color-1;
		&:hover, &:active, &:focus {
			border: 2px solid darken($accent-color-1, 15%);
			color: darken($accent-color-1, 15%) !important;
		}
	}
	&.button-4 {
		color: $accent-color-1 !important;
		border: 2px solid $accent-color-1;
		&:hover, &:active, &:focus {
			border: 2px solid darken($accent-color-1, 15%);
			color: darken($accent-color-1, 15%) !important;
		}
	}
	&.button-grey {
		background: $box-grey-background;
		&.button-3, &.button-4 {
			color: $box-grey-background !important;
			border: 2px solid $box-grey-background;
			&:hover, &:active, &:focus {
				border: 2px solid darken($box-grey-background, 15%);
				color: darken($box-grey-background, 15%) !important;
			}
		}
		&:hover, &:active, &:focus {
			background: darken($box-grey-background, 15%);
		}
	}
	&.button-pink {
		background: $box-pink-background;
		&.button-3, &.button-4 {
			color: $box-pink-background !important;
			border: 2px solid $box-pink-background;
			&:hover, &:active, &:focus {
				border: 2px solid darken($box-pink-background, 15%);
				color: darken($box-pink-background, 15%) !important;
			}
		}
		&:hover, &:active, &:focus {
			background: darken($box-pink-background, 15%);
		}
	}
	&.button-red {
		background: $box-red-background;
		&.button-3, &.button-4 {
			color: $box-red-background !important;
			border: 2px solid $box-red-background;
			&:hover, &:active, &:focus {
				border: 2px solid darken($box-red-background, 15%);
				color: darken($box-red-background, 15%) !important;
			}
		}
		&:hover, &:active, &:focus {
			background: darken($box-red-background, 15%);
		}
	}
	&.button-purple {
		background: $box-purple-background;
		&.button-3, &.button-4 {
			color: $box-purple-background !important;
			border: 2px solid $box-purple-background;
			&:hover, &:active, &:focus {
				border: 2px solid darken($box-purple-background, 15%);
				color: darken($box-purple-background, 15%) !important;
			}
		}
		&:hover, &:active, &:focus {
			background: darken($box-purple-background, 15%);
		}
	}
	&.button-orange {
		background: $box-orange-background;
		&.button-3, &.button-4 {
			color: $box-orange-background !important;
			border: 2px solid $box-orange-background;
			&:hover, &:active, &:focus {
				border: 2px solid darken($box-orange-background, 15%);
				color: darken($box-orange-background, 15%) !important;
			}
		}
		&:hover, &:active, &:focus {
			background: darken($box-orange-background, 15%);
		}
	}
	&.button-blue {
		background: $box-blue-background;
		&.button-3, &.button-4 {
			color: $box-blue-background !important;
			border: 2px solid $box-blue-background;
			&:hover, &:active, &:focus {
				border: 2px solid darken($box-blue-background, 15%);
				color: darken($box-blue-background, 15%) !important;
			}
		}
		&:hover, &:active, &:focus {
			background: darken($box-blue-background, 15%);
		}
	}
	&.button-arrow {
		position: relative;
		&:before, &:after {
			font-family: FontAwesome;
		}
		&:after {
			.dir-ltr & {
				content: "\f178";
				margin-left: 1rem;
			}
		}
		&:before {
			.dir-rtl & {
				content: "\f177";
				margin-right: 1rem;
			}
		}
	}
	&.button-special {
		position: relative;
		&:before {
			.dir-ltr & {
				position: absolute;
				content: "";
				top: 8px;
				bottom: -8px;
				left: -8px;
				right: 8px;
				border-left: 1px solid darken($accent-color-1, 8%);
				border-bottom: 1px solid darken($accent-color-1, 8%);
			}
		}
		&:after {
			.dir-rtl & {
				position: absolute;
				content: "";
				top: 8px;
				bottom: -8px;
				right: -8px;
				left: 8px;
				border-right: 1px solid darken($accent-color-1, 8%);
				border-bottom: 1px solid darken($accent-color-1, 8%);
			}
		}
	}
	&.button-outline {
		color: $white !important;
		background: transparent;
		border: 1px solid $white;
		&:before {
			.dir-ltr & {
				border-left: 1px solid $white;
				border-bottom: 1px solid $white;
			}
		}
		&:after {
			.dir-rtl & {
				border-right: 1px solid $white;
				border-bottom: 1px solid $white;
			}
		}
		&:hover {
			border: 1px solid $accent-color-1;
			color: $accent-color-1 !important;
			&:before {
				.dir-ltr & {
					border-left: 1px solid $accent-color-1;
					border-bottom: 1px solid $accent-color-1;
				}
			}
			&:after {
				.dir-rtl & {
					border-right: 1px solid $accent-color-1;
					border-bottom: 1px solid $accent-color-1;
				}
			}
		}
	}
	&.button-text-only {
		padding: 0 !important;
		background: transparent !important;
		color: $accent-color-1 !important;
		&:hover {
			color: darken($accent-color-1, 15%);
		}
	}
}
