* {
	vertical-align: middle;
}

	/* Webkit micro scrollbars */

	::-webkit-scrollbar {
		width:14px;
	}

	::-webkit-scrollbar-track {
		-webkit-border-radius:5px;
		border-radius:5px;
/*		background:rgba(140,140,140,0.1);*/
		background:rgba(40,40,40,1);
	}

	::-webkit-scrollbar-thumb {
		-webkit-border-radius:5px;
		border-radius:5px;
/*		background:rgba(140,140,140,0.2);*/
		background:rgba(140,140,140,0.75);
	}

	::-webkit-scrollbar-thumb:hover {
/*		background:rgba(140,140,140,0.4);*/
		background:rgba(140,140,140,1);
	}

	::-webkit-scrollbar-thumb:window-inactive {
/*		background:rgba(140,140,140,0.5);*/
		background:rgba(40,140,140,1);
	}

body {
	/*background-color: #333;*/
	font-family: Arial, sans-serif;
	font-size: 14px;
	margin: 0;
	overflow: hidden;
}

hr {
	border: 0px;
	border-top: 1px solid #ccc;
}

button {
	position: relative;
}

textarea {
	white-space: pre;
	word-wrap: normal;
}

.Panel {

	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;

	/* No support for these yet */
	-o-user-select: none;
	user-select: none;
}

.CollapsiblePanel .CollapsiblePanelButton {
	float: left;
	margin-right: 6px;
	width: 0px;
	height: 0px;
	border: 6px solid transparent;
}

.CollapsiblePanel.collapsed .CollapsiblePanelButton {
	margin-top: 2px;
	border-left-color: #555;
}

.CollapsiblePanel:not(.collapsed) .CollapsiblePanelButton {
	margin-top: 6px;
	border-top-color: #555;
}

.CollapsiblePanel .CollapsibleContent {
	width: 100%;
	height: 100%;
	/*display: none;*/
}

.CollapsiblePanel.collapsed .CollapsibleContent {
	display: none;
}

.FancySelect {
	background: #222;
	border: 1px solid #3C3C3C;
	padding: 0;
	cursor: default;
	overflow: auto;
	outline: none;
}

	.FancySelect .option {
		padding: 4px;
		white-space: nowrap;
	}

	.FancySelect .option.active {
		background-color: #153C5E;
	}

input.Number {
	color: #2A75B7;
	font-size: 12px;							/** TODO: Use of !imporant is not ideal **/
	background-color: transparent!important;	/* For now this is a quick fix a rendering issue due to inherited background */
	border: 1px solid transparent;
	padding: 2px;
	cursor: col-resize;
}

#viewport, #viewportsession {
	position: absolute;
	top: 32px;
	left: 0px;
/*	right: 300px;*/
        width: 80vw;
	bottom: 32px;
}

#viewport {
  background-image: linear-gradient(#888, #333);
}

#menubar {
	position: absolute;
	width: 100%;
	height: 1.9vw;
	background-color: #222;
        color: #bbb;
	padding: 0px;
	margin: 0px;
}

	#menubar .menu {
		float: left;
		width: 70px;
		cursor: pointer;
  white-space: nowrap;
	}

	#menubar .Panel {
		color: #888;
	}

		#menubar .menu .options {
                opacity: 0.9;
			display: none;
			padding: 5px 0px;
			background-color: #111;
			width: fit-content;
			border-top: solid 1px #1D1D1D;
		}

		#menubar .menu:hover .options {
			display: block;
		}

			#menubar .menu .options hr {
				border-color: #444;
			}

			#menubar .menu .options .option {
				color: #aaa;
				background-color: transparent;
				padding: 5px 10px;
				margin: 0px !important;
			}

				#menubar .menu .options .option:hover {
					color: #fff;
					background-color: #08f;
				}

.treejs-nodes {
    border-left: 1px dashed;
    border-bottom: 1px solid;
    margin-left: 20px;
    margin-bottom: 2px;
    padding-bottom: 2px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 10px;
}                                

.treejs-node {
    margin-left: -20px;
}                                

#sidebar {
	position: absolute;
	right: 0px;
	top: 32px;
	bottom: 0px;
	width: 20vw;
	background-color: #111;
	overflow: auto;
}

	#sidebar button,
	#sidebar input,
	#sidebar textarea,
	#sidebar select {
		background: #ccc;
	}

	#sidebar .Panel {
		margin-bottom: 10px;
	}

	#sidebar .CollapsibleContent {
		background: #222;
	}

	#sidebar .header {
		text-align: right;
                width: 35%;
		margin-right: 10px;
	}

	#sidebar .headerBold {
		text-align: right;
                width: 35%;
		margin-right: 10px;
                color: #ffff88;
	}

	#sidebar .Panel.collapsed {
		margin-bottom: 0px;
	}

	#sidebar > .Panel {
		color: #888;
		/*padding: 10px;*/
		border-top: 1px solid #333;
	}

	#sidebar #treeoutliner {
		width: 100%;
		height: 100%; /* 140px; */
		color: #bbb; /*#868686;*/
		font-size: 12px;
                background: #222;
                overflow: auto;
                margin-top: -10px;
                /* Any entry has a padding 20px */
                margin-left: -20px;
	}

	#sidebar #outliner {
		width: 100%;
		height: 100%; /* 140px; */
		color: #bbb; /*#868686;*/
		font-size: 12px;
                background: #222;
/*                overflow: auto;*/
	}
        
	#sidebar .Panel.Material canvas {

		border: solid 1px #5A5A5A;

	}

#toolbar {
	position: absolute;
	left: 0px;
	right: 0vw;
	bottom: 0px;
	height: 1.9vw;
	background-color: #111;
	color: #333;
}

	#toolbar .Panel {
		padding: 4px;
		color: #888;
	}

/*	#toolbar*/
        button {
		margin-right: 6px;
	}



    .type {
        position:relative;
        top:-2px;
        padding: 0px 2px;
        color: #ddd;
    }
    .type:after {
        content: '■';
    }
    
    .Scene {
        color: #ccccff;
    }
    
    .Object3D {
        color: #aaaaee;
    }
    
    .Mesh {
        color: #8888ee;
    }
    
    /* */
    
    .PointLight {
        color: #dddd00;
    }
    
    /* */
    
    .Geometry {
        color: #88ff88;
    }
    
    .BoxGeometry {
        color: #bbeebb;
    }
    .TorusGeometry {
        color: #aaeeaa;	
    }
    
    /* */
    
    .Material {
        color: #ff8888;
    }
    
    .MeshPhongMaterial {
        color: #ffaa88;
    }
    

