.keyboard-overlay {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: #333;
	z-index: 999;
	display: none;
	flex-direction: column;
}
.keyboard-overlay.shown {
	display: flex;
}
.keyboard-title-bar {
	padding: 0.25rem;
	font-size: 1.5rem;
}
.keyboard-close {
	cursor: pointer;
	padding: 0 0.35em;
	display: inline-block;
	margin-right: 0.35em;
}
.keyboard-title {
	font-weight: bold;
	display: inline-block;
}
.keyboard-content {
	flex: 1;
	overflow: auto;
	background: #ffe;
}
.keyboard-content .dialog-body.content-audio {
	padding-left: 0;
}
.keyboard-content .dialog-body.content-audio .audio-player {
	display: none;
}

.keyboard {
	font-size: 1.3rem;
}
.keyboard-field-container {
	width: 100%;
	box-sizing: border-box;
	background: white;
	padding: 0.5em;
	border-top: 1px solid #cc9;
}
.keyboard-field {
	box-sizing: border-box;
	width: 100%;
	border: none !important;
	outline: none !important;
	padding: 0.5em 0 !important;
}
.keyboard-keys {
	background: #111;
	padding: 0.5em 0;
}
.keyboard-row {
	text-align: center;
	white-space: nowrap;
}
.keyboard-key {
	display: inline-block;
	box-sizing: border-box;
	padding: 0;
	width: 10%;
	border: 0.15em solid #111;
	background: #333;
	color: white;
	margin: 0;
	line-height: 3.25rem;
	border-radius: 0.5rem;
	outline: none;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	font-size: inherit;
}
.keyboard-key.pressed {
	animation: keyboard-flash-button 0.25s ease-out;
}
.keyboard-key.half {
	width: 5%;
}
.keyboard-key.double {
	width: 20%;
}
.keyboard-key.spacer {
	background: #111;
}
.keyboard-key.symbol {
	background: #111;
}
.keyboard-key.space {
	width: 60%;
}
.keyboard-key.space::after {
	content: '\2423';
}
@keyframes keyboard-flash-button {
	0% {
		color: #333;
		background: white;
	}
}
