
:root {
	
	--bw-blue-light: #00A0E3;   
	--bw-blue:       #008CC9;   
	--bw-blue-deep:  #005E93;   
	
	--bw-blue-tint:  color-mix(in srgb, var(--bw-blue-light) 18%, #FFFFFF);
	--bw-blue-deeper: #004A75;  
	--bw-progress:   #E68523;   

	
	--bw-text-dense: #1B2733;
	--bw-text-strong: #333333;
	--bw-text-label: #555555;
	--bw-text-secondary: #666666;
	--bw-text-note: #777777;
	--bw-text-muted: #888888;
	--bw-text-quiet: #999999;

	
	--bw-surface: #FFFFFF;
	--bw-ground: #F4F5F7;
	--bw-inset: #F7F7F7;
	--bw-chrome: #EEEEEE;
	--bw-plot-ground: #FAFBFC;
	--bw-row-loaded: #F9FCFE;
	--bw-row-hover: #F4F8FC;
	--bw-row-selected: #EAF2FB;

	
	--bw-rule-strong: #DDDDDD;
	--bw-rule: #E4E4E4;
	--bw-rule-light: #EEEEEE;
	--bw-rule-hairline: #F2F2F2;
	--bw-border-dense: #D0D4D9;
	--bw-border-card-cool: #E1E4E8;
	--bw-divider-cool: #EEF0F3;

	
	--bw-info: #7EC8E8;
	--bw-success: #AED677;
	--bw-success-tint: #E4F2D2;   
	--bw-warning: #EFB920;
	--bw-danger: #F16D64;
	--bw-pill-ok: #95C753;
	--bw-danger-text: #EC4339;
	--bw-changed: #2E7D32;
	--bw-removed: #C62828;
	--bw-expires-soon: #B45309;
	--bw-expired: #B91C1C;
	--bw-banner-idle: #F4F9F4;
	--bw-banner-paused: #FFF8E6;
	--bw-banner-interrupted: #FDECEA;
	--bw-note-warning: #FDF6E1;

	
	--bw-clash-a: #648FFF;
	--bw-clash-b: #FFB000;
	--bw-clash-point: #DC267F;

	
	--bw-file-pdf: #C62828;
	--bw-file-doc: #2B579A;
	--bw-file-sheet: #1E7145;
	--bw-file-slides: #B7472A;
	--bw-file-image: #7B4FA8;
	--bw-file-media: #AD1457;
	--bw-file-cad: #00796B;
	--bw-file-bim: #3949AB;
	--bw-file-gis: #5B7A1E;
	--bw-file-text: #546E7A;
	--bw-file-mail: #9A6700;
	--bw-file-archive: #6D4C41;
	--bw-file-url: #005E93;
	--bw-file-note: #616161;
	--bw-file-id: #455A64;

	
	--bw-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	--bw-font-mono: ui-monospace, Menlo, Consolas, monospace;
	--bw-size-app: 15px;
	--bw-size-dense: 13px;

	
	--bw-radius-chip: 2px;
	--bw-radius-badge: 3px;
	--bw-radius-anchored: 4px;
	--bw-radius-button: 5px;
	--bw-radius-card: 6px;
	--bw-radius-dialog: 8px;
	--bw-radius-pill: 9px;
	--bw-shadow-anchored: 0 0 0 1px rgba(99, 114, 130, .16), 0 8px 16px rgba(27, 39, 51, .08);
	--bw-shadow-dialog: 0 8px 30px rgba(0, 0, 0, .25);
	--bw-shadow-tooltip: 0 4px 14px rgba(0, 0, 0, .12);

	
	--bw-slide: 16px;
	--bw-slide-duration: 200ms;
}

a {
	cursor: pointer;
}

.default-margins {
	margin: 10px;
	height: 100%;
}

.gears {
	height: 100%;
}

.toolbar {
	margin-bottom: 10px;
	margin-top: 10px;
}

html, body {
}

#root {
	height: 100%;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.buttonbar > button, .buttonbar > button.btn, .buttonbar > button.btn:first-child {
}

button {
	margin-right: 5px;
}

.buttonbar > button.btn:first-child {
}

.MenuBar {
	height: 60px;
}

caption {
	margin-top: 0px;
	padding-top: 0px;
	padding-left: 15px;
}

.noborders a, .noborders li, .noborders div {
	border-bottom: 0;
	border-left: 0;
	border-right: 0;
}

.noborders a:first-child, .noborders li:first-child, .noborders div:first-child {
	border-top: 0;
	border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.search-highlight {
	background-color: yellow;
}

.ScrollView {
	overflow-y: auto;
	overflow-x: auto;
}

.Tr:hover {
	cursor: pointer;
}

.spinner {
	margin-top: -2px;
	margin-left: 4px;
	width: 16px;
}

.CountDownSpinner {
	display: inline;
}

.SmartButton {
	display: flex;
	flex-direction: row;
}

.SmartButton button {
	display: flex;
	align-items: center;
	flex-direction: row;
	position: relative;
	transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}


.SmartButton button.loading {
	opacity: 0.65;
	cursor: default;
	pointer-events: none;
}


.SmartButton button > *:not(.smart-spinner) {
	transition: opacity 0.2s ease;
}

.SmartButton button.loading > *:not(.smart-spinner) {
	opacity: 0;
}


.SmartButton button .smart-spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	box-sizing: border-box;
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	opacity: 0;
	transition: opacity 0.2s ease;
	transform: translate(-50%, -50%);
	animation: smart-spin 0.7s linear infinite;
}

.SmartButton button .smart-spinner.visible {
	opacity: 1;
}

@keyframes smart-spin {
	from { transform: translate(-50%, -50%) rotate(0deg); }
	to { transform: translate(-50%, -50%) rotate(360deg); }
}


.gutter:where(:not(.monaco-editor *)) {
    background-color: #DDDDDD;
    background-repeat: no-repeat;
    background-position: 50%;
}

.gutter.gutter-horizontal {
    background-image: url('grips/vertical.png');
    cursor: col-resize;
}

.gutter.gutter-vertical {
    background-image: url('grips/horizontal.png');
    cursor: row-resize;
}

.gutter.gutter-vertical {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=');
}

.gutter.gutter-horizontal {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');
}
.modal-backdrop {
	width: 100%;
	height: 100%;
	position: fixed;
	position: fixed;
	z-index: 999;
	left: 0;
	top: 0;
	background: rgba(0, 0, 0, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ModalContainer {
	z-index: 1000;
	width: 100%;
	height: 100%;
	align-items: center;
	position: fixed;
	justify-content: center;
	display: flex;
}

.WindowManager .WindowWrapper {
	position: fixed;
	display: flex;
		flex-direction: column;
	justify-content: center;
	align-items: center;
	top: 0px;
	left: 0px;
	bottom: 0px;
	right: 0px;
	width: 100%;
	height: 100%;
}

.WindowManager {
	z-index: 1000;
	width: 100%;
	height: 100%;
	position: absolute;
}

.modal {
	background-color: transparent;
	border: 1px solid var(--bw-blue-deep, #005E93);
	display: flex;
	flex-direction: column;
	border-radius: 5px;
	z-index: 1000;
	margin-top: 10vh;
	margin-bottom: 10vh;
	margin-left: 10vw;
	margin-right: 10vw;
}

.modal .modal-header h3 {
	font-size: 15px;
	margin: 2px;
}

.modal .modal-content {
	display: flex;
	flex-direction: column;
}

.modal .modal-dialog {
	display: flex;
	flex-direction: column;
	background-color: var(--bw-blue-deep, #005E93);
}

.modal .modal-header {
		
	background: var(--bw-blue-deep, #005E93);
	padding: 3px;
	display: flex;
	flex-direction: row;
	color: white;
	border-radius: 4px 4px 0px 0px;
}

.modal .modal-header .close {
	background-color: transparent;
	color: gray;
	padding: 4px;
	margin: 0;
}

.modal .modal-header .close:hover {
	background-color: var(--bw-blue, #008CC9);
}

.modal .modal-header .modal-title {
	background-color: transparent;
}

.modal .modal-body {
	background-color: #EEEEEE;
	padding: 10px;
	display: flex;
	flex-direction: column;
}

.modal .modal-body:last-child {
	border-radius: 0px 0px 4px 4px;
}

.modal .modal-footer {
	border-top: 1px solid #BBBBBB;
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	background-color: #EEEEEE;
	padding: 10px;
	border-radius: 0px 0px 4px 4px;
}

.modal .modal-footer:empty {
	padding: 0;
}


.modal-resize-handle {
	position: absolute;
	right: 1px;
	bottom: 1px;
	width: 14px;
	height: 14px;
	cursor: nwse-resize;
	z-index: 5;
	background: repeating-linear-gradient(135deg, transparent, transparent 3px, rgba(0, 0, 0, 0.35) 3px, rgba(0, 0, 0, 0.35) 4px);
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
	border-bottom-right-radius: 4px;
}


.modal.flat {
	border: none;
	border-radius: 8px;
	background-color: #FFFFFF;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.modal.flat .modal-header {
	background: none;
	color: #222222;
	padding: 14px 16px 6px 16px;
	border-radius: 0;
}

.modal.flat .modal-header h3 {
	font-size: 16px;
	font-weight: 600;
	margin: 0;
}


.modal.flat .modal-title {
	color: inherit;
}


.modal.flat .modal-header .close {
	padding: 4px;
	opacity: 0.35;
}

.modal.flat .modal-header .close:hover {
	background-color: transparent;
	opacity: 0.7;
}


.modal.flat .modal-header .close svg {
	fill: #000000 !important;
}

.modal.flat .modal-body {
	background-color: transparent;
	padding: 10px 16px;
}

.modal.flat .modal-footer {
	border-top: none;
	background-color: transparent;
	padding: 6px 16px 16px 16px;
	border-radius: 0;
}

.GridForm {
	display: grid;
	grid-column-gap: 20px;
	grid-row-gap: 5px;
	margin-top: 10px;
	align-items: center;
}

.GridForm input[type="checkbox"] {
}

.modal-footer button {
	margin-right: 10px;
}

button {
	
	-webkit-tap-highlight-color: transparent;
	border: 1px solid transparent;
	background-color: transparent;
	border-radius: 5px;
	cursor: pointer;
	padding: 6px;
}


button:not([disabled]):hover {
	background-color: var(--bw-blue-tint, #D1EDF9);
}


:where(button, a[href], summary, [data-actionable], [tabindex]:not([tabindex="-1"], input, textarea, [contenteditable])):focus-visible {
	outline: 2px solid var(--bw-blue-deep, #005E93);
	outline-offset: 1px;
}


:where(.DropDownItem, .NewMenuItem, .DataManagerItem, .NodePopupAction, .NodePopupSection, .NodePopupBack, .RenderTypeItem):focus-visible {
	outline-offset: -2px;
}

button[disabled], button[disabled] > * {
	cursor: not-allowed;
	background-color: transparent;
}


button[disabled] {
	opacity: .5;
}


button.primary, .primary button {
	border: 1px solid var(--bw-blue, #008CC9);
	background-color: var(--bw-blue, #008CC9);
	color: #FFFFFF;
}


button.primary:not([disabled]):hover, .primary button:not([disabled]):hover {
	background-color: var(--bw-blue-deep, #005E93);
	border-color: var(--bw-blue-deep, #005E93);
}


button.primary[disabled], .primary button[disabled] {
	background-color: var(--bw-blue, #008CC9);
	border-color: var(--bw-blue, #008CC9);
	opacity: 0.65;
}

button.success, .success button {
	border: 1px solid #95C753;
	color: #95C753;
}

button.success:not([disabled]):hover, .success button:not([disabled]):hover {
	background-color: var(--bw-success-tint, #E4F2D2);
}

button.danger, .danger button {
	border: 1px solid #F16D64;
	color: #F16D64;
}

button.danger:not([disabled]):hover, .danger button:not([disabled]):hover {
	background-color: var(--bw-banner-interrupted, #FDECEA);
}

button img {
	cursor: pointer;
}

input, select {
	padding: 4px;
	margin: 0;
}


select {
	padding-top: 3px;
	padding-bottom: 3px;
}

.FleetCapability {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
}

.FleetPill {
	padding: 1px 6px;
	border-radius: 5px;
	font-size: 11px;
	line-height: 1.35;
	color: #FFFFFF;
	white-space: nowrap;
}

.FleetPill.Ok {
	background-color: var(--bw-pill-ok, #95C753);
}

.FleetPill.Error {
	background-color: var(--bw-danger, #F16D64);
}

.FleetPill.Quiet {
	background-color: #E6E9EC;
	color: var(--bw-text-label, #555555);
}

.FleetNote {
	font-size: 12px;
	color: var(--bw-text-note, #777777);
}

.FleetExpiry {
	color: var(--bw-expires-soon, #B45309);
	font-weight: bold;
}

.FleetExpiry.Passed {
	color: var(--bw-expired, #B91C1C);
}

.FleetWarning {
	margin: 5px 0;
	padding: 7px 9px;
	border-left: 3px solid var(--bw-warning, #EFB920);
	border-radius: 3px;
	background-color: var(--bw-note-warning, #FDF6E1);
	color: #000000;
}

