/* ================================================================= */
/* = TAB PANE ====================================================== */
/* ================================================================= */

.xtrip-tab-pane {
	-xtrip-tab-progress-bar-active: -theme-common-active;
	-xtrip-tab-progress-bar-active-border: derive(-theme-common-active, 50%);
	-xtrip-tab-progress-track-active: derive(-theme-common-active, 97%);
	-xtrip-tab-progress-track-active-border: derive(-theme-common-active, 70%);
	-xtrip-tab-progress-bar-inactive: #74a0e9;
	-xtrip-tab-progress-bar-inactive-border: #417de1;
	-xtrip-tab-progress-track-inactive: #d0e1fd;
	-xtrip-tab-progress-track-inactive-border: #a1c3fc;
	-xtrip-tab-special-width: 3.571428em; /* 50 */
	-xtrip-tab-min-width: 8.571428em; /* 120 */
	-xtrip-tab-max-width: 17.857142em; /* 250 */
}

.xtrip-tab-pane .background-pane {
	-fx-background-color: -xtrip-header-background;
	-fx-border-width: 0 0 1 0;
	-fx-border-color: -xtrip-table-border;
}

/* ================================================================= */
/* = CONTROLS PANE ================================================= */
/* ================================================================= */

.xtrip-tab-pane .controls-pane {
	-fx-background-color: -xtrip-header-background;
	-fx-border-width: 0 1 1 1;
	-fx-border-color: transparent transparent -xtrip-table-border -xtrip-table-border;
}

.xtrip-tab-pane .controls-pane:hover {
	-fx-background-color: -xtrip-panel-header-background;
}

.xtrip-tab-pane .controls-pane:showing {
	-fx-background-color: -xtrip-controls-background;
	-fx-border-color: transparent -xtrip-form-button-color transparent -xtrip-form-button-color;
}

.xtrip-tab-pane .controls-pane .button-icon {
	-fx-padding: .5em .5em .5em .5em; /* 7 7 7 7 */	
}

.xtrip-tab-pane .controls-pane .context-menu {
	-fx-background-color: -xtrip-controls-background;	
	-fx-border-width: 1 1 1 1;
	-fx-border-color: -xtrip-form-button-color;
	-fx-border-radius: 0;
	-fx-background-radius: 0;
	-fx-effect: dropshadow( gaussian , -xtrip-form-button-color-shadow , 6, 0.0 , 0 , 2 )
}

.xtrip-tab-pane .controls-pane .menu-item {
	-fx-background-color: -xtrip-controls-background;	
	-fx-padding: .428571em 1.071428em .428571em 1.071428em; /* 6 15 6 15 */
	-fx-border-width: 1 0 1 0;
	-fx-border-color: -xtrip-table-border transparent transparent transparent;
	-fx-cursor: hand;
}

.xtrip-tab-pane .controls-pane .menu-item-first {
	-fx-border-color: transparent;
}

.xtrip-tab-pane .controls-pane .menu-item-separator {
	-fx-border-color: -xtrip-form-button-color transparent transparent transparent;
}

.xtrip-tab-pane .controls-pane .menu-item .label {
	-fx-text-fill: -xtrip-header-text-color;
}

.xtrip-tab-pane .controls-pane .menu-item:hover {
	-fx-background-color: -xtrip-faint-focus-color;
	-fx-border-color: -xtrip-focus-color;
}

.xtrip-tab-pane .controls-pane .menu-item:hover .label {
	-fx-text-fill: -xtrip-selection-color;
}

.xtrip-tab-pane .controls-pane .menu-item:disabled {
	-fx-background-color: -xtrip-controls-background;	
	-fx-border-color: -xtrip-table-border transparent transparent transparent;
	-fx-opacity: 1.0;
	-fx-cursor: null;
}

.xtrip-tab-pane .controls-pane .menu-item:disabled .label {
	-fx-text-fill: -xtrip-label-color;
	-fx-opacity: 1.0;
}

.xtrip-tab-pane .controls-pane .menu-item-first:disabled {
	-fx-border-color: transparent;
}

.xtrip-tab-pane .controls-pane .menu-item-separator:disabled {
	-fx-border-color: -xtrip-form-button-color transparent transparent transparent;
}

/* ================================================================= */
/* = TAB =========================================================== */
/* ================================================================= */

.xtrip-tab {
	-fx-background-color: -xtrip-header-background;
	-fx-padding: .428571em .428571em .428571em .428571em; /* 6 6 6 6 */
	-fx-border-width: 0 1 1 1;
	-fx-border-color: transparent -xtrip-table-border -xtrip-table-border transparent;
}

.xtrip-tab:hover {
	-fx-background-color: -xtrip-panel-header-background;
	-fx-cursor: hand;
}

.xtrip-tab:selected {
	-fx-background-color: -xtrip-panel-header-background;
	-fx-border-color: transparent -xtrip-table-border transparent transparent;
}

.xtrip-tab:selected:hover {
	-fx-cursor: null;
}

.xtrip-tab .text-label {
	-fx-padding: .571428em .571428em .571428em .571428em; /* 8 8 8 8 */
	-fx-text-fill: -xtrip-header-text-color;
}

.xtrip-tab:highligted .text-label {
	-fx-font-weight: bolder;
}

.xtrip-tab:selected .text-label {
	-fx-text-fill: #4e3b3d;
}

.xtrip-tab .image-icon {
	-fx-padding: .714285em .714285em .714285em .714285em; /* 10 10 10 10 */
}

.xtrip-tab .button-icon {
	-fx-padding: .714285em .714285em .714285em .714285em; /* 10 10 10 10 */
}

.xtrip-tab .decoration-label {
	-fx-background-color: -xtrip-tab-progress-bar-active;
	-fx-border-width: 0 0 1 0;
	-fx-border-color: -xtrip-tab-progress-bar-active-border;
	-fx-min-height: .357142em; /* 5 */
	-fx-pref-height: .357142em; /* 5 */
	-fx-max-height: .357142em; /* 5 */
}

.xtrip-tab .progress-bar {
	-fx-min-height: .357142em; /* 5 */
	-fx-pref-height: .357142em; /* 5 */
	-fx-max-height: .357142em; /* 5 */
}

.xtrip-tab .progress-bar .track {
	-fx-background-color: -xtrip-tab-progress-track-inactive;
    -fx-padding: 0 0 0 0;
	-fx-border-width: 0 0 1 0;
	-fx-border-color: -xtrip-tab-progress-track-inactive-border;
    -fx-background-insets: 0 0 0 0;
    -fx-background-radius: 0;
}

.xtrip-tab .progress-bar .bar {
	-fx-background-color: -xtrip-tab-progress-bar-inactive;
    -fx-padding: 0 0 0 0;
	-fx-border-width: 0 0 1 0;
	-fx-border-color: -xtrip-tab-progress-bar-inactive-border;
    -fx-background-insets: 0 0 0 0;
    -fx-background-radius: 0;
}

.xtrip-tab:selected .progress-bar .track {
	-fx-background-color: -xtrip-tab-progress-track-active;
	-fx-border-width: 0 0 1 0;
	-fx-border-color: -xtrip-tab-progress-track-active-border;
}

.xtrip-tab:selected .progress-bar .bar {
	-fx-background-color: -xtrip-tab-progress-bar-active;
	-fx-border-width: 0 0 1 0;
	-fx-border-color: -xtrip-tab-progress-bar-active-border;
}

/* ================================================================= */
/* = TOOLS PANE ==================================================== */
/* ================================================================= */

.tools-pane {
	-fx-background-color: -xtrip-header-background;
	-fx-border-width: 0 1 1 1;
	-fx-border-color: transparent -xtrip-table-border -xtrip-table-border transparent;
    -fx-background-insets: 0 0 0 0;
    -fx-background-radius: 0 0 0 0;
}

.tools-pane:hover {
	-fx-background-color: -xtrip-panel-header-background;
}

.tools-pane:showing {
	-fx-background-color: -xtrip-controls-background;
	-fx-border-color: transparent -xtrip-form-button-color transparent -xtrip-form-button-color;
}

.tools-pane .button-icon {
	-fx-padding: 1.142857em 1.142857em 1.142857em 1.142857em; /* 16 16 16 16 */	
}

.tools-pane .context-menu {
	-fx-background-color: -xtrip-controls-background;	
	-fx-border-width: 1 1 1 1;
	-fx-border-color: -xtrip-form-button-color;
	-fx-border-radius: 0;
	-fx-background-radius: 0;
	-fx-effect: dropshadow( gaussian , -xtrip-form-button-color-shadow , 6, 0.0 , 0 , 2 )
}

.tools-pane .decorated-menu-item {
	-fx-padding: 0 0 0 0;
	-fx-border-width: 0 0 0 0;
	-fx-border-color: transparent;
	-fx-cursor: null;
}

.tools-pane .decorated-menu-item .tool-pane {
	-fx-padding: 0.357142em; /* 5 */
	-fx-border-width: 1 1 1 1;
	-fx-border-color: transparent;
	-fx-min-width: 8.714285em; /* 122 */
	-fx-pref-width: 8.714285em; /* 122 */
	-fx-max-width: 8.714285em; /* 122 */
	-fx-vgap: 0.25em;
}

.tools-pane .decorated-menu-item .tool-pane.scale {
	-fx-border-color: -xtrip-table-border;
	-fx-padding: .7em .357142em;
}

.tools-pane .decorated-menu-item .tool-pane.scale:hover {
	-fx-border-color: -xtrip-focus-color;
}

.tools-pane .decorated-menu-item .tool-pane:hover {
	-fx-background-color: -xtrip-faint-focus-color;
	-fx-border-color: -xtrip-focus-color;
	-fx-cursor: hand;
}

.tools-pane .decorated-menu-item .tool-pane>.icon {
	-fx-background-color: -xtrip-header-text-color;
	-fx-pref-width: 2.25em;
	-fx-pref-height: 2.25em;
	-fx-padding: 0.5em;
}

.tools-pane .decorated-menu-item .tool-pane:hover>.icon {
	-fx-background-color: -xtrip-selection-color;
}

.tools-pane .decorated-menu-item .tool-pane>.title-label {
	-fx-text-fill: -xtrip-header-text-color;
	-fx-text-alignment: center;
	-fx-wrap-text: true;	
}

.tools-pane .decorated-menu-item .tool-pane:hover>.title-label {
	-fx-text-fill: -xtrip-selection-color;
}

.tools-pane .plain-menu-item {
	-fx-padding: .428571em 1.071428em .428571em 1.071428em; /* 6 15 6 15 */
	-fx-border-width: 1 0 1 0;
	-fx-border-color: -xtrip-table-border transparent transparent transparent;
	-fx-cursor: hand;
}

.tools-pane .plain-menu-item .label {
	-fx-text-fill: -xtrip-header-text-color;
}

.tools-pane .plain-menu-item:hover {
	-fx-background-color: -xtrip-faint-focus-color;
	-fx-border-color: -xtrip-focus-color;
}

.tools-pane .plain-menu-item:hover .label {
	-fx-text-fill: -xtrip-selection-color;
}

/* ================================================================= */
/* = DEBUG ========================================================= */
/* ================================================================= */

/* #debug-tab { */
/* 	-fx-background-color: #ff9922; */
/* } */

/* #debug-tab-text-label { */
/* 	-fx-background-color: #00ff00; */
/* } */

/* #debug-tab-image-icon { */
/* 	-fx-background-color: #ffff00; */
/* } */

/* #debug-tab-button-icon { */
/* 	-fx-background-color: #ffff00; */
/* } */
