.btn-group {
	display: flex;
}

.btn {
	cursor: pointer;
	display: block;
	position: relative;
	white-space: nowrap;
	background-color: var(--button-primary-background);
	color: var(--button-primary-color);
	line-height: 45px;
	text-align: center;
	text-decoration: none;
	font-size: inherit;
	transition: all 0.2s ease-out;
	border: 0;
}

.btn:hover {
	background-color: var(--button-primary-hover-background);
}

.btn-group .btn {
    flex: 1;
    padding: 0 40px;
}

.input-group .btn {
	padding: 0 20px;
}

.input-group-wrapped .btn {
	max-height: 52px;
}

.btn-invisible {
	visibility:hidden;
	pointer-events: none;
}

.btn-hidden {
	display: none;
}

.btn-lg.btn-primary {
	box-shadow: 3px 3px 10px 0px var(--button-primary-shadow);
}

.btn-lg.btn-secondary {
	box-shadow: 3px 3px 10px 0px var(--button-secondary-shadow);
}

.table-wrapper .btn,
.btn.btn-secondary {
	background-color: var(--button-secondary-background);
	color: var(--button-secondary-color);
	/* opacity: 0.5; */
}

.btn.btn-secondary.active,
.btn.btn-secondary:hover {
	background-color: var(--button-secondary-hover-background);
	opacity: 1;
}

.center-vertically {
	display: flex;
	flex-direction: column;
	justify-content: center;
} 

.table-wrapper .btn,
.btn.btn-list {
    border-radius: 50%;
    background-color: var(--button-primary-background);
    color: var(--button-primary-color);
    width: 30px;
	min-width: 30px;
    max-width: 30px;
    height: 30px;
    font-size: 14px;
	line-height: 20px;
    text-align: center;
    padding: 5px;
    margin: 4px;
	
	box-sizing: border-box;
	border: 0 none;
}

.btn.btn-list.btn-secondary {
    background-color: var(--button-secondary-background);
    color: var(--button-secondary-color);
}

.btn-list:hover {
	background-color: var(--button-primary-hover-background);
}

.btn-link a {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	text-align: left;
}

.btn-sm {
	width: 30px;
	height: 30px;
	font-size: 16px;
	line-height: 30px;
	text-align: center;
	border-radius: 50%;
}

.btn-sm .ff-i {
	width: 30px;
	height: 30px;
}

.btn-lg .ff-i,
.btn-lg {
	width: 45px;
	height: 45px;
}

.btn-xxl {
	border-radius: 50%;
	width: 60px;
    height: 60px;
}

.btn-group .btn-xxl {
	flex: none;
	padding: 0;
	margin: 20px;
}

.btn-warning {
	box-shadow: 3px 3px 10px 0px var(--button-warning-background);
    background-color: var(--button-warning-background);
}

.btn-warning:hover {
	background-color: var(--button-warning-background);
}

.btn.btn-frame-only {
	background-color: transparent;
	box-shadow: none;
	border: 1px solid var(--warning-color);
	color: var(--warning-color);
}

.btn.btn-frame-only.btn-warning {
	border-color: var(--warning-color);
}

.btn-special {
	border-radius: 50%;
    margin: 0 15px 0 0;
	
	box-shadow: 3px 3px 10px 0px var(--button-special-shadow);
	background-color: var(--button-special-background);
	color: var(--button-special-color);
}

.btn-special:hover {
	background-color: var(--button-special-hover-background);	
}

.btn-xxl i:before {
	font-size: 24px;
    line-height: 60px;
    text-align: center;
    width: 100%;
    height: 100%;
}

.btn.disabled,
.btn.disabled:hover {
	opacity: 0.5 !important;
	cursor: default !important;
	pointer-events: none;
}

.btn.hidden {
	opacity: 0 !important;
	pointer-events: none;
}

.btn-text {
	overflow: hidden;
    text-overflow: ellipsis;
}

.btn-group .btn-text {
	margin-top: auto;
	margin-bottom: auto;
}

.btn-text-only,
.btn-text-only:hover {
	background-color: transparent;
	border-radius: 0;
	box-shadow: none;
}

.btn-lg.btn-text-only .ff-i::before {
	font-size: 40px;
	line-height: 45px;
	color: var(--link-color);
}

.btn-text-only.btn-warning .ff-i::before {
	color: var(--warning-color);
}

.btn-foldout {
	position:relative;
	height: 60px;
}

.btn-foldout-sm {
	height: 30px;
}

.btn-foldout .btn {
	position: absolute;
    top: 0;
    right: 0;
	z-index: 1;
	padding: 0;
	margin: 0;
}

.btn-foldout-right .btn {
	left: 0;
	right: auto;
}

.btn-foldout .btn.btn-lg {
	margin-right: 0;
}

.btn-foldout.btn-foldout-warning .btn + .btn-text,
.btn-foldout .btn.active + .btn-text,
.btn-foldout .btn:hover + .btn-text {
	width: 250px;
	opacity: 1;
}

.btn-foldout .btn.disabled + .btn-text {
    display: none;
}

.btn-foldout .btn-text {
	position: absolute;
    right: 20px;
    top: 0;
	z-index: 0;
	width: 0;
	
	background-color: var(--button-foldout-background);
    border-radius: 30px 0 0 30px;
    
    white-space: nowrap;
    text-align: right;
    line-height: 18px;
    overflow: hidden;
    box-sizing: border-box;
    transition: width 0.2s ease-in;
	border: 2px solid var(--button-foldout-border);
	color: var(--button-foldout-color);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.btn-foldout-sm .btn-text {
	right: 15px;
}

.btn-foldout-warning .btn-text {
	border-color: var(--warning-color);
	color: var(--warning-color);
}

.btn-foldout-primary .btn-text {
	border: 0 none;
	color: var(--button-primary-background);
}

.btn-foldout-secondary .btn-text {
	opacity: 0.8;
	border: 0 none;
	color: var(--button-secondary-background);
}

.btn-foldout-right .btn-text {
    left: 20px;
    right: auto;
    border-radius: 0 30px 30px 0;
	text-align: left;
}

.btn-foldout-promo .btn-circle {
	background-color: var(--button-foldout-background);
	color: var(--button-foldout-color);
	border: 2px solid var(--button-foldout-border);
	transform: scale(1.2);
}

.btn-foldout-promo .btn-text {
	font-weight: bold;
}

.btn-foldout .btn-m + .btn-text {
	height: 45px;
}

.btn-foldout .btn-lg + .btn-text {
	right: 20px;
	min-height: 45px;
	max-height: 45px;
	line-height: 41px;
}

.btn-foldout .btn-xxl + .btn-text {
    right: 32px;
	min-height: 60px;
	max-height: 60px;
	line-height: 56px;
}

.btn-foldout .btn-text > span {
    display: inline-block;
    vertical-align: middle;	
    padding-right: 40px;
    padding-left: 21px;
	line-height: 18px;
}

.btn-foldout-sm .btn-text > span {
	padding-right: 30px;
	line-height: 26px;
}

.btn-foldout-right .btn-text > span {
    padding-right: 21px;
    padding-left: 50px;
}

.ff-buttongroup-vertical .btn-group {
	flex-direction: column;
}

.ff-buttongroup-vertical .btn {
	margin: 2px 0;
}

.buttongroup-final .btn {
	flex: 1;
	padding: 0 40px;	
	margin-left: 2px;
	height: 45px;	
}

.buttongroup-final .btn .ff-i {
	position: absolute;
	left: 12px;
	top: 0;
}

.buttongroup-final .btn:first-child {
	margin-left: 0;
}

.btn.btn-m {
	border-radius: 50%;
	flex: none;
	padding: 0;
	width: 45px;
	height: 45px;
}

.btn.btn-lg {
	border-radius: 50%;
	margin-right: 22.5px;
	flex: none;
	padding: 0;
}

.btn-lg .ff-i:before {
	display: block;
	text-align: center;
	width: 45px;
	font-size: 18px;
	line-height: 45px;
	/* color: var(--button-primary-color); */
}

.btn-lg.btn-secondary .ff-i:before {
	/* color: var(--button-secondary-color); */
}

.ff-slim .ff-buttongroup.buttongroup-text-link {
	padding: 0;
}

.buttongroup-text-link-inline .btn,
.buttongroup-text-link .btn {
	background-color: transparent;
	border: 0px none;
	padding-left: 0;
    color: var(--link-color);
	text-align: left;
}

.buttongroup-text-link-inline .btn:hover,
.buttongroup-text-link .btn:hover {
	text-decoration: underline;
	background-color: transparent;
}

@media screen and (max-width : 900px) {
	.btn-group .btn {
		padding-left: 20px;
		padding-right: 20px;
	}

	.btn-group .btn.btn-list {
		padding-left: 0;
		padding-right: 0;
	}
	
	.btn-group .btn.btn-lg {
		padding: 0;
	}
}