.check-box-widget>.text {
	-fx-fill: -xtrip-dark-text-color;
	-fx-underline: false;
}

.check-box-widget>.box {
	-fx-background-insets: 0;
	-fx-background-color: -xtrip-controls-background;
	-fx-effect: dropshadow(gaussian, #c6bdbeA0, 3, 0.0, 0, 1);
	-fx-border-color: -xtrip-text-box-border;
	-fx-border-radius: 3;
	-fx-border-width: 1;
	-fx-min-width: 1.5em;
	-fx-min-height: 1.5em;
	-fx-max-width: 1.5em;
	-fx-max-height: 1.5em;
	-fx-padding: 0.25em;
}

.check-box-widget {
	-fx-cursor: hand;
}

.check-box-widget:hover>.box {
	-fx-opacity: 1;
	-fx-border-color: derive(-xtrip-control-button-hover-color, 50%);
	-fx-effect: dropshadow(gaussian, #5f91e550, 3, 0.0, 0, 1);
}

.check-box-widget:hover>.text {
	-fx-fill: -xtrip-control-button-hover-color;
}

.check-box-widget>.box>.mark {
	-fx-mark-color: -xtrip-table-button-color;
}

.check-box-widget:hover>.box>.mark {
	-fx-mark-color: -xtrip-selection-color;
}

.check-box-widget>.xtrip-underline {
	-fx-background-color: transparent;
	-fx-border-color: -xtrip-control-button-color;
	-fx-border-width: 0 0 1 0;
	-fx-border-radius: 0;
	-fx-border-style: segments(1, 1, 1, 1);
}

.check-box-widget:hover>.xtrip-underline {
	-fx-border-color: -xtrip-control-button-hover-color;
}

.check-box-widget:readonly {
	-fx-opacity: 1;
	-fx-padding: 0;
	-fx-min-height: 0;
}

.check-box-widget:readonly>.box {
	-fx-effect: null;
}

.check-box-widget:readonly>.text:disabled {
	-fx-fill: -xtrip-mid-text-color;
}

.check-box-widget:readonly>.box:disabled {
	-fx-border-color: transparent, transparent;
}

.check-box-widget:readonly>.xtrip-underline {
	-fx-border-color: transparent;
}

.check-box-widget.grid-cell,
.grid-cell>.check-box-widget {
	-fx-max-width: infinity;
	-fx-max-height: infinity;
}

.check-box-widget:empty.grid-cell,
.grid-cell>.check-box-widget:empty {
	-fx-alignment: center;
}

.check-box-widget.grid-cell>.box,
.grid-cell>.check-box-widget>.box {
	-fx-border-width: 0;
	-fx-effect: null;
}
