.xtrip-dialog-pane .xtrip-dialog-pane-shadow {
	-fx-background-color: rgba(0, 0, 0, 0.25);
	-fx-fill-width: true;
}

.xtrip-dialog-pane .xtrip-dialog-pane-container-pane {
	-fx-background-color: transparent;
	-fx-padding: 2em 0;
}

.xtrip-dialog-pane .xtrip-dialog-pane-container-pane .xtrip-horisontal-gap {
	-fx-background-color: transparent;
	-fx-min-width: 32px;
	-fx-max-width: 32px;
}

.xtrip-dialog-pane .xtrip-dialog-pane-container-pane .xtrip-vertical-gap {
	-fx-background-color: transparent;
	-fx-min-height: 0;
	-fx-max-height: 0;
}

.xtrip-dialog-window {
	-fx-base: -xtrip-panel-header-background;
	-fx-background-color: derive(-fx-base, 5%);
	-fx-border-color: derive(-fx-base, -35%);
	-fx-background-insets: 0, 1;
	-fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.2), 12, 0.0, 0, 8);
	-fx-min-width: 400;
	-fx-background-radius: 3;
	-fx-border-radius: 3;
	-fx-border-width: 1;
}

.xtrip-dialog-window>.title-pane {
	-fx-padding: 0.666667em 1em;
	-fx-spacing: 0.5em;
	-fx-border-width: 0 0 1 0;
	-fx-border-color: -xtrip-table-border;
}

.xtrip-dialog-window>.title-pane>.label {
	-fx-text-fill: -xtrip-header-text-color;
	-fx-max-width: infinity;
	-fx-font-size: 1.2em;
	-fx-font-weight: bold;
}

.xtrip-dialog-window>.title-pane>.close-button {
	-fx-background-color: inherit;
	-fx-padding: 0;
	-fx-border-color: transparent;
	-fx-cursor: hand;
}

.xtrip-dialog-window>.dialog-content-pane {
	-fx-background-color: -xtrip-controls-background;
}

.xtrip-dialog-window>.dialog-content-pane .adopts-widget {
	-fx-padding: 0.5em;
}

.xtrip-dialog-window>.dialog-content-pane>.message-pane {
	-fx-padding: 0.5em;
	-fx-spacing: 0.5em;
}

.xtrip-dialog-window>.dialog-content-pane>.message-pane>.label {
	-fx-padding: 0;
	-fx-wrap-text: true;
}

.xtrip-dialog-window>.dialog-content-pane>.message-pane>.label.main-message {
    -fx-text-fill: -xtrip-dark-text-color;
}

.xtrip-dialog-window>.dialog-content-pane>.message-pane>.label.supplemental-message {
    -fx-text-fill: -xtrip-mid-text-color;
}

.xtrip-dialog-window>.buttons-pane {
	-fx-padding: 0.5em;
	-fx-border-width: 1 0 0 0;
	-fx-border-color: -xtrip-table-border;
	-fx-font-weight: bold;
	-fx-hgap: 5em;
}

.xtrip-dialog-window>.buttons-pane>.left {
	-fx-spacing: .5em;
	-fx-alignment: center-left;
}

.xtrip-dialog-window>.buttons-pane>.right {
	-fx-spacing: .5em;
	-fx-alignment: center-right;
}

.xtrip-dialog-window>.buttons-pane .button {
	-fx-padding: 0.333333em 0.5em;
	-fx-min-width: 7em;
	-fx-background-color: -xtrip-controls-background;
	-fx-alignment: center;
	-fx-border-width: 1;
	-fx-border-radius: 3;
	-fx-border-color: derive(-fx-base, -35%);
	-fx-text-fill: -xtrip-control-button-color;
	-fx-effect: dropshadow(gaussian, -theme-common-button-shadow, 2, 0.0, 0, 1);
	-fx-background-insets: 0;
	-fx-cursor: hand;
}

.xtrip-dialog-window>.buttons-pane .button:hover {
	-fx-border-color: -xtrip-selection-color;
	-fx-text-fill: -xtrip-selection-color;
}

.xtrip-dialog-window>.buttons-pane .button.xtrip-button-continue {
	-fx-background-color: -xtrip-table-button-color;
	-fx-border-color: -xtrip-table-button-color, -xtrip-table-button-color;
	-fx-text-fill: -xtrip-light-text-color;
}

.xtrip-dialog-window>.buttons-pane .button.xtrip-button-continue:hover {
	-fx-background-color: -xtrip-table-button-hover-color;
	-fx-border-color: -xtrip-table-button-hover-color, -xtrip-table-button-hover-color;
	-fx-text-fill: -xtrip-light-text-color;
}

.xtrip-dialog-window>.buttons-pane .button.xtrip-button-continue:disabled {
	-fx-base: derive(-xtrip-form-button-color, 35%);
	-fx-background-color: -fx-base;
	-fx-border-color: -fx-base, -fx-base;
	-fx-text-fill: -xtrip-light-text-color;
	-fx-opacity: 1;
}

.xtrip-dialog-window>.buttons-pane .button.xtrip-button-clear {
	-fx-base: -xtrip-form-button-color;
	-fx-background-color: -fx-base;
	-fx-border-color: derive(-fx-base, -35%);
	-fx-text-fill: -xtrip-light-text-color;
}

.xtrip-dialog-window>.buttons-pane .button.xtrip-button-clear:hover {
	-fx-base: derive(-xtrip-form-button-color, 35%);
	-fx-background-color: -fx-base;
	-fx-border-color: derive(-fx-base, -35%);
	-fx-text-fill: -xtrip-light-text-color;
}

.xtrip-light-dialog-pane {
	-fx-padding: 0.5em;
	-fx-hgap: 0.5em;
	-fx-vgap: 0.5em;
}

.xtrip-light-dialog-pane>.label {
	-fx-text-fill: -xtrip-header-text-color;
	-fx-font-weight: bolder;
}

.xtrip-light-dialog-pane>.button {
	-fx-padding: 0.333333em;
	-fx-cursor: hand;
	-fx-alignment: center;
	-fx-border-width: 1;
	-fx-border-radius: 3;
	-fx-base: -xtrip-table-button-color;
	-fx-background-color: -fx-base;
	-fx-border-color: derive(-fx-base, -35%);
	-fx-text-fill: -xtrip-light-text-color;
}