/**************************/
/*** Demo with Three.js ***/
/**************************/

html * {
	font-family: Helvetica, Arial, sans-serif;
}

#panel {
	width: 1vw;
	min-width: 150px;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0; /* on left side */
	/*background-color: #eee;*/
	color: #fff;
	text-align: center;
}

#controls {
	width: 1vw;
	min-width: 150px;
	height: 100vh;
	position: absolute;
	top: 0;
	right: 0; /* on right side */
	/*background-color: #eee;*/
	color: #fff;
	text-align: center;
}

#container {
	width: 100vw;
	/*max-width: calc( 100vw - 300px );*/
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
	background-color: #000;
}

/*
#container canvas {
	width: 100%;
	height: 100%;
}
*/

h1, h2, h3, h4, h5, h6, p, pre {
	margin: 1rem .5rem;
}
form {
	margin: .5rem;
}
form * {
	max-width: 100%;
}

select, input {
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 2.5px 5px;
	margin: 5px 0;
	background-color: #eee;  /* should match with js basicButtonColor */
		color: #000;
}
button {
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 10px;
	margin: 5px 0;
	background-color: #eee;  /* should match with js basicButtonColor */
		color: #000;
}

table.buttons {
		width: 100%;
		margin: 1.5rem 0;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		color: #fff;
}
table.buttons th,
table.buttons td,
table.buttons td:first-child:last-child {
		text-align: center;
}

table.buttons td:first-child {
		text-align: right;
}
table.buttons td:last-child {
		text-align: left;
}

table.buttons button {
		margin: 0;
		padding: 0;
		font-size: 1rem;
		width: 6rem;
		height: 3rem;
		line-height: 3rem;
		font-weight: bold;
		text-align: center;
}
table.buttons.keys td button {
		margin: 0;
		padding: 0;
		font-size: 2rem;
		width: 3rem;
		height: 3rem;
		line-height: 3rem;
		font-family: Verdana, Helvetica, Arial, sans-serif;
}

#depth_value {
	display: inline-block;
	width: 1rem;	
}

#btn_mode,
#settings,
#btn_actions,
#save_scene,
#demo_mode {
	display: none;
}

/*****************/

#overlay {
	width: 100vw; 
	height: 100vh; 
	position: absolute;
	top: 0;
	left: 0;
	display: block;
}
#overlay_bg {
	position: absolute;
	width: 100vw; 
	height: 100vh; 
	background-color: #000000; 
	opacity: 0.5; 
}
#overlay_txt {
	position: absolute;
	width: 100vw; 
	/*height: 100vh;*/
	text-align: center; 
	vertical-align: middle; 
	margin: 45vh 0; 
	font-size: 3em; 
	color: #fff; 
	text-shadow: 0 0 10px black;
}

/*****************/
