html,
body {
	height: 100%;
	margin: 0;
	padding: 0;
}

#outer {
	height: 100%;
	display: flex;
	flex-flow: column;
}


#databrowser {
	background-color: #DDDDDD;
	padding: 1em;
	min-height: 7em;
	flex: 0 1 auto;
}

#tileview {
	flex: 1 1 auto;
	background-color: #000000;
	/*444;*/
	position: relative;
}

#overview {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	z-Index: 2;
}

select {
	padding: 0.1em 1em 0.1em 1em;
	margin: 0.1em 0em 0.1em 0em;
	border-radius: 6px; 
	border: none;
	background-color: #ffffff;
	box-shadow: inset 0px 0px 4px rgb(0, 0, 0);
}

select option:checked {
	background-color: #F0DC82;
}

button {
	border-radius: 9px;
	border: none;
	background-color: #ffffff;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	transition: background-color 0.3s ease;
}

button:hover {
	background-color: #2196F3;
	cursor: pointer;
}

/* CONTROLS */
#controls {
	position: absolute;
	top: 0px; left: 0px;
	margin: 1em;
	background-color: rgba(239, 243, 247, 0.712);
	padding: 0.5em;
	border-radius: 6px;
	box-shadow: 0px 4px 12px rgba(161, 159, 159, 0.26);
	z-index: 3;
}

#controls button {
	margin: 0.25em 0.25em 0.25em 0.25em;
	background-color: #2196F3;
	color: #fff;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	transition: background-color 0.3s ease;
}

#controls button:hover {
	background-color: #0a77c2;
	cursor: pointer;
}

#controls label {
	/* display: block; */
	margin: 0.1em 0.1em 0 0;
}

#controls input[type="checkbox"] {
	margin-right: 0.2em;
	color: #2196F3;
}

#controls input[type="range"] {
	width: 90%;
	margin: 0.2em;
	color: #2196F3;
	margin-left: 0.5em;
	vertical-align: middle;
}

#controls .slider p {
	display: inline-block;
	margin-left: 0.5em;
	width: 500%;
}

/* END CONTROLS */

/* outline instead of brightening: brightening washes out bright-field slides */
svg image:hover {
	outline: 2px solid #4af;
	outline-offset: -2px;
}

.cellpositions {
	fill-opacity: 0.8
}

.celltype1 {
	background-color: red;
	fill: red;
	stroke: red;
}

.celltype2 {
	background-color: violet;
	fill: violet;
	stroke: violet;
}

.celltype3 {
	background-color: purple;
	fill: purple;
	stroke: purple;
}

.celltype4 {
	background-color: orange;
	fill: orange;
	stroke: orange;
}

.celltype5 {
	background-color: lightblue;
	fill: lightblue;
	stroke: lightblue;
}

.celltype6 {
	background-color: #F0DC82;
	fill: #F0DC82;
	stroke: #F0DC82;
}

.celltype7 {
	background-color: brown;
	fill: brown;
	stroke: brown;
}

.celltype8 {
	background-color: green;
	fill: green;
	stroke: green;
}

.celltype9 {
	background-color: silver;
	fill: silver;
	stroke: silver;
}