.custom-toggle-button {
	-fx-background-color: -xtrip-controls-background;
	-fx-border-style: solid;
	-fx-border-width: 1 0 1 0, 0 1 0 0;
	-fx-border-color: derive(-xtrip-text-box-border, 50%),
		derive(-xtrip-text-box-border, 50%);
	-fx-border-radius: 0;
	-fx-cursor: hand;
	-fx-text-fill: -xtrip-dark-text-color;
	-fx-background-insets: 0;
	-fx-border-insets: 0;
	-fx-padding: 0.25em;
}

.custom-toggle-button.left-button {
	-fx-border-radius: 3 0 0 3;
	-fx-border-width: 1 0 1 1, 0 1 0 0;
}

.custom-toggle-button.left-button:hover {
	-fx-border-color: -xtrip-focus-color, -xtrip-focus-color;
}

.custom-toggle-button.left-button:selected:hover {
	-fx-border-color: -xtrip-text-box-border, -xtrip-text-box-border;
}

.custom-toggle-button.right-button {
	-fx-border-radius: 0 3 3 0;
	-fx-border-width: 1 1 1 0, 0 0 0 0;
}

.custom-toggle-button:hover {
	-fx-text-fill: -xtrip-control-button-hover-color;
	-fx-background-color: -xtrip-focused-background;
	-fx-border-color: -xtrip-focus-color, -xtrip-focus-color;
}

.custom-toggle-button:to-the-left-from-selected {
	-fx-border-color: derive(-xtrip-text-box-border, 50%),
		-xtrip-text-box-border;
}

.custom-toggle-button:to-the-left-from-selected:hover {
	-fx-border-color: -xtrip-focus-color, -xtrip-focus-color;
}

.custom-toggle-button:selected:to-the-left-from-hover {
	-fx-border-color: -xtrip-text-box-border, -xtrip-focus-color;
}

.custom-toggle-button:to-the-left-from-hover {
	-fx-border-color: derive(-xtrip-text-box-border, 50%),
		-xtrip-focus-color;
}

.custom-toggle-button:selected {
	-fx-background-insets: 0;
	-fx-border-insets: 0;
	-fx-border-color: -xtrip-text-box-border, -xtrip-text-box-border;
	-fx-effect: dropshadow(gaussian, -theme-common-button-shadow, 3, 0.0, 0, 1);
	-fx-cursor: normal;
	-fx-text-fill: -xtrip-dark-text-color;
	-fx-font-weight: bold;
}

.custom-toggle-button:selected:hover {
	-fx-background-color: -xtrip-controls-background;
	-fx-border-color: -xtrip-text-box-border, -xtrip-text-box-border;
}

.custom-toggle-button:disabled {
	-fx-opacity: 1;
	-fx-background-color: -xtrip-disabled-color;
	-fx-text-fill: -xtrip-mid-text-color;
}