/* ================================================================= */
/* = TREE ========================================================== */
/* ================================================================= */

.xtrip-tree-view {
	-fx-padding: 0 0 0 0;
	-fx-border-width: 0 0 0 0;
 	-fx-min-width: 24.285714em; /* 340 */
	-fx-pref-width: 24.285714em; /* 340 */
 	-fx-max-width: infinity; /* 340 */
	-fx-focus-color: transparent;
	-fx-faint-focus-color: transparent;
}

.xtrip-tree-view .scroll-bar {
	-fx-padding: 0 0 0 0;
}

.xtrip-tree-view .tree-cell {
	-fx-padding: 7 8 7 0;
	-fx-indent: 22;
	-fx-text-fill: -xtrip-mid-text-color;
	-fx-pref-width: 23em;
 	-fx-max-width: 23em;
}

.xtrip-tree-view .tree-cell:hover:filled {
	-fx-background-color: -xtrip-faint-focus-color;
	-fx-border-color: -xtrip-focus-color;
	-fx-padding: 6 8 6 0;
	-fx-border-width: 1 0 1 0;
	-fx-cursor: hand;
}

.xtrip-tree-view .tree-cell:hover:afterselected:filled {
	-fx-padding: 7 8 6 0;
	-fx-border-width: 0 0 1 0;
}

.xtrip-tree-view .tree-cell:hover:beforeselected:filled {
	-fx-padding: 6 8 7 0;
	-fx-border-width: 1 0 0 0;
}

.xtrip-tree-view .tree-cell:selected:filled {
	-fx-background-color: -xtrip-faint-focus-color;
	-fx-border-color: -xtrip-focus-color;
	-fx-padding: 6 8 6 0;
	-fx-border-width: 1 0 1 0;
	-fx-text-fill: -xtrip-selection-color;
}

.xtrip-tree-view .tree-cell:dnd:filled {
	-fx-background-color: -xtrip-faint-focus-color;
}

.xtrip-tree-view .tree-cell:dndabove:filled {
	-fx-background-color: -xtrip-faint-focus-color;
	-fx-border-color: -xtrip-focus-color;
	-fx-padding: 5 8 7 0;
	-fx-border-width: 2 0 0 0;
}

.xtrip-tree-view .tree-cell:dndabove:dndafterselected:filled {
	-fx-padding: 6 8 7 0;
	-fx-border-width: 1 0 0 0;
}

.xtrip-tree-view .tree-cell:dndbelow:filled {
	-fx-background-color: -xtrip-faint-focus-color;
	-fx-border-color: -xtrip-focus-color;
	-fx-padding: 7 8 5 0;
	-fx-border-width: 0 0 2 0;
}

.xtrip-tree-view .tree-cell:dndbelow:dndbeforeselected:filled {
	-fx-padding: 7 8 6 0;
	-fx-border-width: 0 0 1 0;
}

.xtrip-tree-view .tree-cell .title-label {
	-fx-text-fill: -xtrip-mid-text-color;
}

.xtrip-tree-view .tree-cell:hover:filled .title-label {
	-fx-text-fill: -xtrip-selection-color;
}

.xtrip-tree-view .tree-cell:selected:filled .title-label {
	-fx-text-fill: -xtrip-selection-color;
}

.xtrip-tree-view .tree-cell .image-icon	{
	-fx-padding: 3 3 3 3;
}

.xtrip-tree-view .tree-cell .button-icon {
	-fx-padding: 3 3 3 3;
}

/* ================================================================= */
/* = CHECKBOX TREE ================================================= */
/* ================================================================= */

.xtrip-checkbox-tree-view .tree-cell .title-label {
 	-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);
}

.xtrip-checkbox-tree-view .tree-cell:hover:filled .title-label {
 	-fx-border-color: -xtrip-focus-color;
}

.xtrip-checkbox-tree-view .tree-cell:filled .container-pane .check-box .box {
	-fx-background-insets: 0;
	-fx-background-color: -xtrip-controls-background;
    -fx-border-color: -xtrip-text-box-border, -xtrip-text-box-border;
    -fx-effect: dropshadow(gaussian, #c6bdbe78, 3, 0.0, 0, 1);
    -fx-background-radius: 3;
    -fx-border-radius: 3;
}

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

.xtrip-checkbox-tree-view .tree-cell:filled .container-pane .check-box .box .mark {
	-fx-mark-color: -xtrip-table-button-color;
}

.xtrip-checkbox-tree-view .tree-cell:hover:filled .container-pane .check-box .box .mark  {
	-fx-mark-color: -xtrip-selection-color;
}

