#simulator-container {
	background-color: #111;
	border-radius: 12px;
}

#editor { 
	position: relative;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;

}
#editor-container {
	position: relative;
	top: 0;
	right: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	min-width: 340px;
	width: 90%;
	height: 520px;
	background-color: #272822;
	border: 10px solid #333;
	border-radius: 8px;
}

#simulator-container.embedded-mode #editor-container {
	height: 420px;
}

#simulator-container.embedded-mode #exampleStates {
	display: none;
}

#edit-sim-btn {
	position: absolute;
	top: 0;
	right: 0;
	display: none;
}


#edit-sim-btn span {
	background: url(/qpaths/assets/new_window.svg) no-repeat;	
	background-size: contain;
	width: 20px;
	height: 20px;
	float: right;
	margin-left: 10px;
}

#simulator-container.embedded-mode #edit-sim-btn {
	display: block;
}

#main {
	width: 100%;
	display: table;		
}
div#upper-section {
	display: table-row;
	/*height: 520px;*/
}
div#lower-section {
	/*height: calc(100% - 580px);*/
	display: flex;
	flex-direction: column;
	flex-grow: 1;	
	width: 100%;
	/*background: #400;*/
	padding-left: 50px;
	padding-right: 50px;
	padding-bottom: 20px;
}	
div#lower-section canvas {
	width: 600px;
	height: 400px !important;
}

#simulator-container.embedded-mode div#lower-section canvas {
	height: 240px !important;
}

div.cell {
	padding: 30px;
	display: table-cell;		
}
div.leftcell {
	width: 30%;
	/*background: #020;*/
}
div.rightcell {
	vertical-align: top;
	padding-left: 0;
	/*background: #002;*/
}	
div.rightcell > * {
	vertical-align: top;
}		
#messageDiv {
	padding-top: 36px;
	/*color: #ddd;*/
	color: #0d0;
	white-space: pre-wrap;
	font-family: Courier;
	font-size: 16px;
}
#messageDiv.error {
	color: #C73E1D
}
select.examples {
	display: inline-block;
	width: inherit;
	vertical-align: top;
	margin-right: 20px;
}

p#goToAppMessage {
	font-size: 30px;
	color: white;
	margin-top: 20px;	
}