:root {
	--adas-bg: #555;
	--adas-bg-focus: #333;
	--adas-bg-enable: #F94;
	--adas-fg: #FFF;
	--adas-fg-enable: #000;
	--adas-fg-disable: #222;
	--adas-s-padding: 0.3rem;
	--adas-l-padding: 1rem;
}

@media only screen and (max-width: 620px), (max-height: 620px) {
:root  {
	font-size: 0.75rem;
}
}

html,
body,
.adasWebDemoImageViewPanel,
.adasWebDemoThreeDRenderingViewPanel,
.help
 {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	touch-action: none;
	margin: 0;
	overflow: hidden;
	font-family: Arial, Helvetica, sans-serif;
	color: var(--adas-fg);
}

a {
	color: var(--adas-fg);
}

.banner-tl,
.banner-tr,
.banner-br,
.banner-bl {
	position: absolute;
	padding: var(--adas-s-padding);
	margin: 0;
	z-index: 10;
	pointer-events: none;
	text-shadow: 2px 2px 1px #000;
}
.banner-tl, .banner-tr { top: 0; }
.banner-bl, .banner-br { bottom: 0; }
.banner-tr, .banner-br { right: 0; }
.banner-tl, .banner-bl { left: 0; }

.adas-toolbar,
.adas-toolbar-v
{
	pointer-events: auto;
	z-index: 11;
	padding: 0;
	background: var(--adas-bg);
	display: flex;
}

.adas-toolbar-v
{
	flex-direction: column;
	background: var(--adas-bg);
}

.adas-toolbar > button {
	height: 3rem;
	aspect-ratio: 1;
}

.adas-toolbar-v > button {
	height: 2rem;
	width: 2rem;
}
@media only screen and (max-width: 620px) {
.adas-toolbar-v > button {
	height: 3rem;
	width: 3rem;
}
}

@media only screen and (max-height: 620px) {
.adas-toolbar-v > button {
	height: 2.5rem;
	width: 2.5rem;
}
}
	
button {
	border: none;
	outline: none;
	background: none;
	padding: var(--adas-s-padding);
	color: var(--adas-fg);
  }

button.active:not(.disable) {
	background-color: var(--adas-bg-enable);
	color: var(--adas-fg-enable)
}

@media (hover: hover) and (pointer: fine) {
button:hover:not(.disable) {
	background-color: var(--adas-bg-focus);
}
  
button.active:not(:hover, .disable) {
	background-color: var(--adas-bg-enable);
	color: var(--adas-fg-enable)
}
}

button.disable {
	color: var(--adas-fg-disable)
}

button > img {
	height: 100%;
	aspect-ratio: 1/1;
}

.ui-layout-resizer {
	background: var(--adas-bg);
}

.adasWebDemo3DView,
.adasWebDemoImageView {
	background: black;
}

.popup,
.tooltip {
	visibility: hidden;
	display: inline-block;
	color: var(--adas-fg);
	background-color: var(--adas-bg);
	box-shadow: 0 1px 9px 0 black;
	white-space: nowrap;
	cursor: default;
	position: absolute;
	z-index: 100;
}

.popup > * {
	width: 100%;
  	text-align: left;
}

.popup > *,
.tooltip {
	display: block;
	padding: var(--adas-s-padding) var(--adas-l-padding);
}

.tooltip {
	transition-delay: 0.1s;
	pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
*:hover > .tooltip {
	transition-delay: 1s;
	visibility: visible;
}
}

.help {
	position: absolute;
	display: none;
	z-index: 1000;
	background: #000D;
	user-select: none;
	box-sizing: border-box;
	padding: 5%;
}

.help .tab-body { height: 100%; }

.help div {	width: 100%; }

.help table {
	border-collapse: collapse;
	text-align: center;
	width: 100%;
}

.help td,
.help th {
	border: 1px solid var(--adas-bg-focus);
	padding: 5px;
	width: 50%;
}

.help td { height: 3rem; }

.help th,
.help td:first-child {
	background-color: var(--adas-bg-focus);
}

.help th:first-child,
.help td:first-child {
    width: 0.1%;
	text-align: left;
}

@media only screen and (max-width: 620px) {
	.help {	padding-left: 0; padding-right: 0; }
}

@media only screen and (max-height: 620px) {
	.help {	padding-top: 0;	padding-bottom: 0; }
	.help .adas-toolbar > button, .help td { height: 2rem; }
}

@media only screen and (min-width: 620px) {
	.help th:first-child, .help td:first-child { white-space: nowrap; }
}

table img {
	height: 100%;
	vertical-align: middle;
}