* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}
body {
	font-family: "OpenSans", sans-serif;
	font-size: smaller;
}
html, body, #vcs-root {
	height: 100%;
}
#vcs-root {
	display: flex;
}
.picker {
	width: 14em;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.picker > .title {
	font-style: italic;
}
.picker-option {
	display: block;
	cursor: pointer;
	padding: 0.2em;
	flex-grow: 1;
	min-height:3em;
}
.picker-option:nth-child(odd) {
	background-color: #f0f0f0;
}
.picker-option .title {
	font-weight: bold;
}
.picker-option.selected {
	background-color: lightblue;
}
#canvasContainer {
	flex-grow: 1;
	flex-basis: 0%;

	display: flex;
	flex-direction: column;
}
#spacesCanvas {
	display: block;
	/* width: 800px;
	height: 600px; */
	flex-grow: 1;
	width: 100%;
}
#info {
	height: 40px;
	display: flex;
}
#info > * {
	/* display: inline-block; */
	flex-grow: 1;
	padding: 0px 8px;
	height: 100%;
	vertical-align: top;
	height: 40px;
}
#buttons {
	display: flex;
	padding: 0;
}
#buttons > * {
	height: 98%;
	flex: 1;
	text-align: center;
}

#activeColorPreview {
	width: 24em;
	line-height: 39px;
}
#activeColorPreview > * {
	display: inline-block;
}
#activeColorHex {
	font-size: larger;
	text-align: center;
	width: 12em;
	font-family: monospace;
}

@media only screen and (max-width: 600px) {
    #vcs-root {
		flex-direction: column;
	}
	.picker {
		width: 100%;
	}
	#info {
		flex-direction: column;
		height: auto;
	}
	#activeColorPreview {
		width: 100%;
	}
	#buttons {
		width: 100%;
	}
	.picker-mobile.closed label {
		height: 3em;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
}