/* Dropdown button */
.finsemble-dropdown__btn {
	background-color: var(--core-primary);
	border-radius: 12px;
	cursor: pointer;
	display: flex;
	flex-direction: row;
	height: fit-content;
	justify-content: flex-start;
	min-width: 58px;
	padding: 5px 8px;
	position: relative;
}

.finsemble-dropdown__btn:hover,
.finsemble-dropdown__btn.active {
	background-color: var(--core-primary-4);
}

.finsemble-dropdown__btn .finsemble-dropdown__btn-options {
	background-color: var(--core-primary);
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	font-size: var(--font-size);
	max-width: 120px;
	min-width: 80px;
	padding: 10px 5px;
	position: absolute;
	right: 3px;
	text-align: right;
	top: 28px;
	white-space: nowrap;
	z-index: 999;
}

.finsemble-dropdown__btn-options .finsemble-dropdown__btn-option {
	padding: 5px;
}

.finsemble-dropdown__btn-options .finsemble-dropdown__btn-option:hover,
.finsemble-dropdown__btn-options .finsemble-dropdown__btn-option[aria-selected="true"] {
	background-color: var(--core-primary-2);
	border-radius: 4px;
}

.finsemble-dropdown__btn.push-right i::before {
	margin: 0 5px;
}

.finsemble-dropdown__btn.push-right i {
	margin-left: auto;
}

.finsemble-dropdown__btn.push-right i.ff-caret-up::before {
	vertical-align: bottom;
}

.finsemble-dropdown__btn.core-primary-2 {
	background-color: var(--core-primary-2);
}

/* Dropdown Action Button */
.finsemble-dropdown-action__btn-container {
	align-items: flex-end;
	display: flex;
	flex-direction: column;
	position: relative;
}

.finsemble-dropdown-action__btn {
	align-items: center;
	background-color: var(--accent-primary);
	border-radius: 5px;
	cursor: pointer;
	display: flex;
	font-size: var(--font-size);
	justify-content: center;
	margin-bottom: 5px;
	width: 76px;
}

.finsemble-dropdown-action__btn .expand-options {
	justify-content: center;
	display: flex;
	align-self: stretch;
	align-items: center;
	padding-left: 4px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

.finsemble-dropdown-action__btn .expand-options:hover,
.finsemble-dropdown-action__btn .expand-options:focus {
	cursor: pointer;
	background-color: var(--accent-primary-1);
}

.finsemble-dropdown-action__btn span.btn-label {
	overflow: hidden;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
	padding: 4px;
	margin: auto;
	color: var(--font-color);
	cursor: pointer;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}

.finsemble-dropdown-action__btn span.btn-label:hover,
.finsemble-dropdown-action__btn span.btn-label:focus {
	background-color: var(--accent-primary-1);
}

.finsemble-dropdown-action__btn-options {
	background-color: var(--accent-primary-1);
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	font-size: var(--font-size);
	max-width: 120px;
	margin-top: 1px;
	min-width: 80px;
	position: absolute;
	text-align: right;
	top: 25px;
	white-space: nowrap;
	z-index: 999;
}

.finsemble-dropdown-action__btn-options.flow-up {
	top: auto;
	bottom: 31px;
}

.finsemble-dropdown-action__btn-option {
	cursor: pointer;
	height: 26px;
	border-radius: 4px;
	line-height: 26px;
	overflow: hidden;
	padding: 0 10px;
	text-overflow: ellipsis;
	color: var(--font-color);
}

.finsemble-dropdown-action__btn-option:hover,
.finsemble-dropdown-action__btn-option:focus {
	background-color: var(--accent-primary);
}

.finsemble-dropdown-action__btn .separator {
	margin: 0;
}

.caret {
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid var(--font-color);
	height: 0;
	margin-right: 5px;
	width: 0;
	cursor: pointer;
}

.separator {
	background: var(--font-color);
	content: "";
	display: inline-block;
	height: 19px;
	margin: 0 4px;
	vertical-align: top;
	width: 1px;
}

.finsemble-dropdown-action__btn.push-right {
	margin-left: auto;
}

/* Navigation Button */
.finsemble-navigation__btn {
	align-items: center;
	background-color: var(--core-primary-2);
	border-radius: 12px;
	cursor: pointer;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	width: 58px;
	padding: 5px 5px 3px;
	margin: 0 10px;
}

.finsemble-navigation__btn:hover,
.finsemble-navigation__btn:focus {
	background-color: var(--core-primary-3);
}

.finsemble-navigation__btn-label {
	margin: 0 5px 2px;
}

/* Button */
.finsemble__btn {
	align-items: center;
	background-color: var(--core-primary-3);
	border-radius: 5px;
	cursor: pointer;
	display: flex;
	font-size: var(--font-size);
	justify-content: center;
	margin-bottom: 5px;
	width: 76px;
}

.finsemble__btn span.btn-label {
	overflow: hidden;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
	padding: 4px;
	color: var(--font-color);
}

.finsemble__btn:hover,
.finsemble__btn:focus {
	background-color: var(--core-primary-2);
}

.finsemble__btn.accent-negative {
	background-color: var(--accent-negative);
}

.finsemble__btn.accent-negative:hover,
.finsemble__btn.accent-negative:focus {
	background-color: var(--accent-negative-1);
}
