body {
	margin: 0;
	padding: 0;

	font-family: Verdana;
	font-size: 12px;

	color: #ffffff;
	background-color: #111111;

	overflow: hidden;

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

a {
	color: #ffffff;
	text-decoration: none;
}

a:active {
	color: #eeeeee;
}

#body {
	display: flex;
	justify-content: center;
	align-items: center;

	position: absolute;

	top: 0;
	bottom: 20%;
	left: 0;
	right: 0;

	width: 100%;
	height: 80%;

	overflow: hidden;
}

#title {
	cursor: default;
	font-size: 10vmin;
	color: #333333;        
}

#logo_svg {
	display: none;
}

svg {
	max-width: 80%;
	max-height: 90%;
}

.touch_circle {
	position: absolute;
	display: none;

	border: 2px solid #ffffff;
	border-radius: 50%;

	width: 70px;
	height: 70px;
}

.touch_note_text,
.touch_vel_text {
	position: absolute;
	display: none;
}

.touch_vel_text {
	font-size: 80%;
}

#controls {
	display: flex;
	justify-content: space-around;
	align-items: stretch;

	position: absolute;

	padding: 1% 0;

	top: 80%;
	bottom: 0;
	left: 0;
	right: 0;

	width: 100%;
	height: 20%;

	background-color: #111111;
	/* border-top: 2px solid #333333; */

	box-sizing: border-box;
	box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
}

.control {
	flex: 4 1;
	margin: 0 0.5%;

	background-color: #171717;
}

.bar {
	flex: 1 1;
	background-color: #333333;
}

#gain_container {
	flex: 1 1;
	margin: 0 0.5% 0 1%;
}

.bar_container {
	display: flex;
    align-items: flex-end;
}

.chord {
	cursor: default;

	display: flex;
	justify-content: center;
	align-items: center;

	font-size: 300%;

	color: #333333;
}

.chord.selected{
	color: #111111;
	background-color: #333333;
}

#button_container {
	display: flex;
	flex-direction: column;

	flex: 2 1;

	margin: 0 1.0% 0 0.5%;
}

.button {
	cursor: default;

	display: flex;
	justify-content: center;
	align-items: center;

	font-size: 150%;

	max-height: 50%;

	color: #333333;
	box-sizing: border-box;
}

#lock_button {
	margin: 0 0 2px 0;
}

.button.selected,
#more_info_button:active {
	color: #111111;
	background-color: #333333;
}

#more_info_button:active svg path {
	stroke: #111111;
}

#more_info_button {
	margin: 2px 0 0 0;
}

#info {
	display: none;
	position: absolute;

	padding: 5px;

	font-size: 120%;

	color: #ffffff;
	background-color: #000000;
}

#formant_info {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	position: absolute;

	top: 10%;
	bottom: 10%;
	left: 10%;
	right: 10%;

	padding: 5%;

	font-size: 120%;

	color: #ffffff;
	background-color: rgba(0,0,0,0.75);

	overflow: hidden;
}

#formant_info_close_container {
	text-align: right;

	width: 100%;
}

#formant_info_text {
	flex: 1 1;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

@media screen and (max-width: 640px) {
	#body {
		bottom: 10%;
		height: 90%;
	}

	#controls {
		top: 90%;
		height: 10%;
	}

	#formant_info {
		top: 2%;
		bottom: 2%;
		left: 2%;
		right: 2%;
	}

	.button {
		font-size: 100%
	}
}