.grid-frame {
	-fx-border-color: -xtrip-table-border;
	-fx-border-width:  1;
}

.grid-cell {
	-fx-border-color: -xtrip-table-border;
	-fx-border-width:  0 1 1 0;
}

.grid-cell:top {
	-fx-border-width: 1 1 1 0;
}

.grid-cell:left {
	-fx-border-width: 0 1 1 1;
}

.grid-cell:left:top {
	-fx-border-width: 1;
}

.grid-cell>.grid-cell:top,
.grid-cell>.grid-cell:left,
.grid-cell>.grid-cell:left:top {
	-fx-border-width: 0 1 1 0;
}

.grid-cell>.grid-cell:bottom,
.grid-cell>.grid-cell:left:top:bottom {
	-fx-border-width: 0 1 0 0;
}

.grid-cell>.grid-cell:right,
.grid-cell>.grid-cell:top:right {
	-fx-border-width: 0 0 1 0;
}

.grid-cell>.grid-cell:bottom:right {
	-fx-border-width: 0;
}

.grid-frame>.grid-cell:top,
.grid-frame>.grid-cell:left,
.grid-frame>.grid-cell:left:top {
	-fx-border-width: 0 1 1 0;
}

.grid-frame>.grid-cell:bottom,
.grid-frame>.grid-cell:left:top:bottom {
	-fx-border-width: 0 1 0 0;
}

.grid-frame>.grid-cell:right,
.grid-frame>.grid-cell:top:right {
	-fx-border-width: 0 0 1 0;
}

.grid-frame>.grid-cell:bottom:right {
	-fx-border-width: 0;
}
