body {
	background-color:#5f337f; 
	font-family: "Helvetica Neue", Helvetica, Arial;
	width: 100%;
	text-align: center;
}
#main {
	padding: 1em;
	display: flex;
	flex-direction: row;
	/*align-items: center;*/
	justify-content: center;
	/*align-items: stretch;*/
	max-width: 100%;
}

@media (max-width: 700px) {
	#main {
		flex-direction: column;
	}
}

#status {
	padding: 1em;
}
#pipelineLeft {
	flex-basis:20%;
	margin: 0.5em;
	/*background: white;*/
	display: flex;
	flex-direction: column;
}
#pipelineLeft .result {
	max-width: 90%;
}

.control {
	margin:1em;
}
.result {
	margin:1em;
}
.control label {
	margin: 0.25em;
	display: block;
}
.panelItem {
	/*margin: 1em;*/
	align-items: center;
	text-align: center;
	padding-bottom: 1em;
}
.panelItem + .panelItem {
	border-top: 2px solid #5f337f;
	margin-top: 0em;
	padding-top: 0.5em;
}

.result canvas {
	border: 1px solid black;
}


#inputImg {
	max-width: 100%;
}
#pipelineRight {
	margin: 0.5em;
	/*outline: 1px black solid;*/
	display: flex;
	flex-basis: 50%;
	flex-direction: column;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding-block-end: 1em;
}
.white {
	background: white;
}
#output .result {
	display: inline-block;
	padding: 0.75em;
	max-width: 100%;
}
#output canvas {
	display: inline-block;
	max-width: 100%;

	/*padding: 0.75em;*/
}
canvas {
	/*background: white;*/
	/*margin: 1em;*/
}
#pattern {
	border: 1px black solid;
}

.caption {
	font-style: italic;
	margin-top: -0.5em;
}

#submit {
	font-size: 2em;
	background: #ff9933;
	margin-top: 0.5em;
}
#submission {
	/*font-size: 2em;
	background: #ff9933;*/
	margin-top: 1em;
	margin-bottom: 1em;
}

.verbose {
	display: none;
}

.hidden {
	opacity: 0;
	display: none;
}


/*.activated {
	font-weight: bold;
	background: #11eaea
}*/



.mainItem {
	background: white;
	outline: 5px double white;
	padding: 1em;
	/*margin-bottom: 10em;*/
/*	max-width: 50%;
	max-height: 70%;*/
}
#sizeSelect {
	width: 90%;
	/*margin:0.5em;*/
}

#canvases {
	position: relative;
	max-width: 100%;
	max-height: 100%;
}
#canvases * {
	display: inline-block;
	max-width: 100%;
	max-height: 100%;
}
.overlap {
	position: absolute;
	top: 0px;
	left: 0px;
	opacity: 1;
}

#simCanvas[class=overlap]{
	opacity: 0.6;
}
