.button {
	position: relative;
	display: inline-block;
	height: 28px;
	line-height: 29px;
	border-width: 1px;
	border-style: solid;
	border-radius: 3px;
	padding: 0 15px;
	white-space: nowrap;

	background: transparent;

	font-size: 14px;
	font-weight: 300;
	text-decoration: none;

	transition: all 0.2s;
}
input.button {
	line-height: 26px;
}
.button.button-xl {
	font-size: 16px;
	height: 40px;
	line-height: 40px;
}
input.button.button-xl {
	line-height: 36px;
}
.button.button-bg:hover {
	background: transparent;
}
.button.button-bg,
.button.button-bg:active {
	background-color: #147CCC;
	border-color: #147CCC;
	color: white;
}
.button:hover,
.button:hover * {
	border-color: #92c0de;
	color: #2692de;
	text-decoration: none !important;
}
.button,
.button:active,
.button:active * {
	border-color: #83ABC5;
	color: #2380C1;
}
.button.more,
.button-buy.more {
	padding-right: 30px;
}
.button.more:after,
.button-buy.more:after {
	content: "";
	display: block;
	position: absolute;
	right: 15px;
	top: 11px;
	width: 6px;
	height: 6px;
	border: 1px solid #1c6090;
	border-left: none;
	border-bottom: none;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);

	transition: all 0.2s;
}
.button.more:hover:after,
.button-buy.more:hover:after {
	right: 14px;
}
.button.more:after,
.button.more:active:after,
.button-buy.more:after,
.button-buy.more:active:after {
	right: 15px;
}
.button.button-xl.more:after {
	width: 8px;
	height: 8px;
	top: 16px;
}
.button.more.alt {
	padding-left: 30px;
	padding-right: 15px;
}
.button.more.alt:after {
	right: auto;
	-webkit-transform: rotate(-135deg);
	transform: rotate(-135deg);
}
.button.more.alt:hover:after {
	right: auto;
	left: 14px;
}
.button.more.alt:after,
.button.more.alt:active:after {
	left: 15px;
}
.button.button-bg.more:hover:after {
	border-color: #2380C1;
}
.button.button-bg.more:after,
.button.button-bg.more:active:after {
	border-color: white;
	top: 17px;
}
.button.noborder {
	border: none;
}
.button,
.button * {
	cursor: pointer !important;
}
.button.white:hover,
.button.white:hover * {
	border-color: rgba(255, 255, 255, 0.85);
	color: rgba(255, 255, 255, 0.85);
}
.button.white,
.button.white:active,
.button.white:active * {
	border-color: white;
	color: white;
}
.button.white.more:after {
	border-color: white;
}
.button.black:hover,
.button.black:hover * {
	border-color: rgba(0, 0, 0, 0.85);
	color: rgba(0, 0, 0, 0.85);
}
.button.black,
.button.black:active,
.button.black:active * {
	border-color: black;
	color: black;
}
.button.black.more:after {
	border-color: black;
}

.button-buy {
	padding: 0.5em 1.5em;
	position: relative;

	background: #00B900;
	border: 1px solid #009c00;
	border-bottom-width: 3px;
	border-radius: 3px;
	
	font-weight: 300;
	color: white;
	text-decoration: none;
	cursor: default;
	white-space: nowrap;
	
	display: flex;
	justify-content: center;
	align-items: center;

	transition: background 0.2s, color 0.2s;	
}
.button-buy .icon {
	display: inline-block;
	margin-right: 0.5em;
	width: 1.2em;
	height: 1.2em;
	background: url(../img/parts/header/cart-white.png) no-repeat center center;
	background-size: contain;
	
	transition: opacity 0.2s;
}
.button-buy:not(.loading):not(.disabled):hover {	
	cursor: pointer;
	background: #00ce00;
}
.button-buy:not(.loading):not(.disabled):active {
	border-bottom-width: 1px;
	top: 2px;
	margin-bottom: 2px;
}
.button-buy.disabled {
	background: #ddd;
	border-color: #ccc;	
	color: #aaa;
	cursor: default;
}
.button-buy.more:after {
	border-color: white;
	top: 13px;
}
.button-buy.more.loading:after {
	opacity: 0;
}
.button-buy:before {
	content: "";
	position: absolute;
	display: block;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: url(../img/generic/button/buy-loading.gif) no-repeat center center;
	
	opacity: 0;
	visibility: hidden;
	
	transition: all 0.3s;
}
.button-buy.loading {
	color: transparent;
}
.button-buy.loading .icon {
	opacity: 0;
}
.button-buy.loading:before {
	opacity: 1;
	visibility: visible;
}
.button-buy.square {
	padding: 0;
	width: 34px;
	height: 30px;
	padding: 0;
}
.button-buy.referal {
	background: transparent;
	color: #009c00;
	border-bottom-width: 1px;
}
.button-buy.referal:hover {
	background: #fafffa !important;
}
.button-buy.referal:active {
	top: 0;
	margin-bottom: 0;
}
.button-order {
	color: white;
	background: #0078ff;
	background: linear-gradient(#0090ff 0%, #0078ff 100%);		
	border: none;
}
.button-order:hover {
	background: linear-gradient(#0095ff 0%, #0083ff 100%);		
	color: white;
}
.button-order:active {
	background: linear-gradient(#0078ff 0%, #0090ff 100%);		
}