canvas.webglviewer {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	/* prevent border on focus in Chrome */
	outline: none;
}

.viewerContainer {
	position: relative;
	display: none;
	width: 100%;
	height: 100%;
}

.viewerContainer > * {
	width: 100%;
	height: 100%;
}

.viewerContainer .actionArea {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: auto;
	height: auto;
	right: 5px;
	bottom: 5px;
	z-index: 1;
	text-align: left;
	padding: 5px;
	background-color: rgba(187, 187, 187, 0.46);
	border-radius: 5px;
}

.viewerContainer .actionArea button {
	margin-top: 1px;
}

.viewerContainer .actionArea button img {
	width: 20px;
	height: 20px;
	vertical-align: middle;
	margin-right: 5px;
}

.viewerContainer .actionArea button span {
	vertical-align: middle;
}

.gwt-PopupPanel.gwt-PopupPanel,
.gwt-MenuBarPopup.gwt-MenuBarPopup {
	border: 1px solid gray;
	padding: 2px;
	background: white;
	z-index: 504;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.gwt-MenuBarPopup.gwt-MenuBarPopup {
	margin: 0px;
}

.gwt-MenuItem-selected.gwt-MenuItem-selected.gwt-MenuItem-selected,
.subMenuIcon-selected.subMenuIcon-selected.subMenuIcon-selected {
	background-color: #c8e0fd;
}

.gwt-MenuItem.gwt-MenuItem.gwt-MenuItem {
	white-space: nowrap;
	text-align: left;
	font-family: Arial Unicode MS, Arial, sans-serif;
	font-size: small;
	padding: 3px 7px 3px 1px;
	color: black;
}

.gwt-MenuItem + .subMenuIcon {
	vertical-align: top;
	padding: 1px;
	padding-top: 8px;
	line-height: 1px;
}

.gwt-MenuItem + .subMenuIcon > img {
	vertical-align: top;
}

.gwt-MenuItem > .rowContainer {
	display: table;
	width: 100%;
}

.gwt-MenuItem > .rowContainer > .icon-placeholder {
	display: table-cell;
	min-width: 22px;
	height: 20px;
	padding-left: 2px;
	text-align: center;
}

.gwt-MenuItem > .rowContainer > .icon-placeholder > img {
	padding: 2px;
	vertical-align: top;
}

.gwt-MenuItem > .rowContainer > .caller-name {
	display: table-cell;
	width: 100%;
	padding-left: 5px;
	vertical-align: middle;
}

.gwt-MenuItem > .rowContainer > .caller-accelerator {
	display: table-cell;
	width: 1px;
	padding-left: 8px;
	vertical-align: middle;
}

.gwt-DialogBox {
	z-index: 504;
}

.gwt-ListBox {
	font: inherit;
}

.gwt-SplitLayoutPanel-HDragger.gwt-SplitLayoutPanel-HDragger {
	background: #f0f0f0;
	cursor: e-resize;
}

.com-google-gwt-user-cellview-client-CellTree-Style-cellTreeWidget {
	background-color: white;
	text-align: left;
	white-space: nowrap;
	min-height: 100%;
	min-width: 100%;
	display: table;
}

.com-google-gwt-user-cellview-client-CellTree-Style-cellTreeWidget * {
	overflow: visible !important;
}

.com-google-gwt-user-cellview-client-CellTree-Style-cellTreeTopItem.com-google-gwt-user-cellview-client-CellTree-Style-cellTreeTopItem {
	margin-top: 0px;
	padding: 0px !important;
}

.com-google-gwt-user-cellview-client-CellTree-Style-cellTreeTopItemImageValue.com-google-gwt-user-cellview-client-CellTree-Style-cellTreeTopItemImageValue {
	border-bottom: none;
	padding-bottom: 4px;
}

.com-google-gwt-user-cellview-client-CellTree-Style-cellTreeItem.com-google-gwt-user-cellview-client-CellTree-Style-cellTreeItem {
	padding-top: 0px;
	padding-bottom: 0px;
	cursor: default;
}

.com-google-gwt-user-cellview-client-CellTree-Style-cellTreeSelectedItem.com-google-gwt-user-cellview-client-CellTree-Style-cellTreeSelectedItem {
	background: none;
	color: black;
}

.com-google-gwt-user-cellview-client-CellTree-Style-cellTreeItemImage {
	margin-top: 1px;
	margin-left: 3px;
}

.com-google-gwt-user-cellview-client-CellTree-Style-cellTreeKeyboardSelectedItem.com-google-gwt-user-cellview-client-CellTree-Style-cellTreeKeyboardSelectedItem {
	background: none;
}

.com-google-gwt-user-cellview-client-CellTree-Style-cellTreeItemValue.com-google-gwt-user-cellview-client-CellTree-Style-cellTreeItemValue {
	display: inline-block;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.com-google-gwt-user-cellview-client-CellTree-Style-cellTreeItemValue > img {
	margin-right: 2px;
}

.com-google-gwt-user-cellview-client-CellTree-Style-cellTreeItemValue > span {
	border: 1px solid transparent;
	vertical-align: 3px;
}

.com-google-gwt-user-cellview-client-CellTree-Style-cellTreeKeyboardSelectedItem .com-google-gwt-user-cellview-client-CellTree-Style-cellTreeItemValue > span {
	border: 1px dotted black;
}

.BorderLayout {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.BorderLayout > div[region=center] {
	flex-grow: 1;
}

.BorderLayout > div {
	min-height: 0px;
}

.BorderLayout > div > * {
	height: 100%;
}

.GridBagLayout > tbody > tr > td > * {
	height: 100%;
}

.JScrollPane > div {
	min-height: 100%;
	height: 0px;
}

.JToolBar {
	display: flex;
	background-color: #f0f0f0;
}

.JToolBar .gwt-TextBox {
	min-width: 0px;
	flex-grow: 1;
}

.JToolBar .gwt-PushButton.gwt-PushButton,
.JToolBar .gwt-ToggleButton.gwt-ToggleButton {
	background: none;
	border: 1px solid transparent;
	padding: 3px;
}

.JToolBar .gwt-PushButton > img,
.JToolBar .gwt-ToggleButton > img {
	vertical-align: top;
}

.JToolBar .gwt-PushButton-up-hovering.gwt-PushButton-up-hovering,
.JToolBar .gwt-ToggleButton-up-hovering.gwt-ToggleButton-up-hovering {
	background-color: #d8e6f2;
	border-color: #c0dcf3;
}

.JToolBar .gwt-PushButton-down.gwt-PushButton-down,
.JToolBar .gwt-PushButton-down-hovering.gwt-PushButton-down-hovering,
.JToolBar .gwt-ToggleButton-down.gwt-ToggleButton-down,
.JToolBar .gwt-ToggleButton-down-hovering.gwt-ToggleButton-down-hovering {
	background-color: #c0dcf3;
	border-color: #90c8f6;
}

.toolbarSeparator {
	border-left: 1px solid #848484;
	margin: 2px;
}

.toolbarSpanner {
	flex-grow: 1;
}

.busyDialog {
	padding: 4px;
	border-radius: 6px;
}

.busyDialog div {
	font-weight: bold;
	font-size: 15px;
}

.wgl-preview-panel {
	font-family: Arial Unicode MS, Arial, sans-serif;
	font-size: 12px;
}

.wgl-preview-panel.maximized {
	position: fixed !important;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: auto !important;
	height: auto !important;
	z-index: 502;
}

body.viewer-maximized {
	overflow: hidden;
}

.wgl-preview-panel > *,
.DifferenceDetectorFrame > * {
	height: 100%;
}

.DifferenceDetectorFrame {
	background-color: #f0f0f0;
}

.SynchronizedInteractionPanel > table {
	table-layout: fixed;
}

@supports (-moz-appearance:none) {

	/* height: 0.1px doesn't work in Firefox */
	.DifferenceDetectorFrame > div > table > tbody > tr:first-child > td {
		height: auto !important;
	}

	.DifferenceDetectorFrame > div > table > tbody > tr:last-child > td {
		height: 100%;
	}
}

@media screen and (-webkit-min-device-pixel-ratio:0) {

	/* needed on Firefox, Chrome and Edge but not working in IE */
	.SynchronizedInteractionPanel > table > tbody > tr > td {
		position: relative;
	}

	.SynchronizedInteractionPanel > table > tbody > tr > td > * {
		position: absolute;
		left: 0px;
		right: 0px;
		top: 0px;
		bottom: 0px;
	}
}

.DifferencePanel > .BorderLayout > div[region=center] {
	position: relative;
}

.DifferencePanel > .BorderLayout > div[region=center] > .webglviewer {
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
}

.wgl-preview-panel .maximized-close {
	display: none;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: fit-content;
	padding: 5px;
	border-radius: 5px;
	background-color: rgba(230, 230, 230, 0.46);
	font-size: 14px;
	color: #474647;
	margin: 0 auto;
}

.wgl-preview-panel.maximized .maximized-close {
	display: block;
	z-index: 503;
}

.wgl-preview-panel.maximized ~ .viewerContainer {
	position: fixed;
	bottom: 0;
	right: 0;
	height: 100%;
	z-index: 503;
}

.wgl-preview-panel.maximized ~ .viewerContainer .actionArea {
	z-index: 503;
}

.wgl-preview-panel .menu-toggle {
	position: absolute;
	display: block;
	z-index: 1;
	top: 16px;
	right: 10px;
	width: 35px;
	height: 25px;
}

.wgl-preview-panel.maximized .menu-toggle {
	z-index: 503;
}

.wgl-preview-panel .menu-toggle span {
	display: block;
	width: 33px;
	height: 4px;
	margin-bottom: 5px;
	background-color: #eeeeee;
	border-radius: 3px;
	transition: background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

.wgl-preview-panel .menu-toggle:hover span {
	/* #eeeeee99 is not IE-compatible */
	background-color: rgba(238, 238, 238, 0.6);
}