/**
 * @TODO 按键测试功能js
 * 
 * @date 2018-2-25 18:31:32
 * @author lcl
 */
@CHARSET "UTF-8";

.keyboard {
	background: rgb(25, 25, 25);
	color: rgb(75, 75, 75);
	font-family: Arial, sans-serif;
	font-size: 20px;
	-webkit-font-smoothing: antialiased;
	margin: 0 auto;
	height: 100%;
	width: 100%;
	text-align: center;
	position: relative;
	padding-bottom: 1rem;
}

.keyboard .title {
	text-align: left;
	padding: 10px;
}

.keyboard .title span {
	margin: 8px;
	color: white;
	font-size: 16px;
}

.keyboard .title .showCode {
	float: right;
	margin-right: 40px;
}

.keyboard .f_red {
	font-weight: bold;
	color: red;
	font-size: 22px;
	vertical-align: middle;
}

.keyboard h1 {
	padding: 0;
	margin-bottom: 0;
	font-size: 28px;
	text-align: center;
}

.keyboard h2 {
	margin-bottom: 20px;
	font-size: 15px;
	text-align: center;
}

.keyboard .key-wrapper {
	position: relative;
	top: 0;
	left: 0;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	padding: 0 8px;
	width: max-content;
	margin: 30px auto;
}

.keyboard ul {
	text-align: left;
	white-space: nowrap;
	margin-bottom: 6px;
}

.keyboard ul:after, .keyboard ul:before {
	content: "";
	display: block;
	clear: both;
}

.keyboard li {
	display: inline-block;
	margin: 0;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 10px;
	text-align: center;
	-moz-user-select: none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	user-select: none;
	-webkit-transition: .5s;
	-moz-transition: .5s;
	-o-transition: .5s;
	-ms-transition: .5s;
	transition: .5s;
	height: 40px;
	line-height: 40px;
	float: left;
	overflow: hidden;
	word-wrap: normal;
	white-space: nowrap;
	margin-right: 6px;
}

.key-wrapper ul li:last-child {
	margin-right: 0 !important;
}

.key-wrapper ul li .layui-icon {
	font-size: 26px !important;
}

.keyboard .active {
	-webkit-transition: 0s;
	-moz-transition: 0s;
	-ms-transition: 0s;
	transition: 0s;
	transform: scale(1.05);
}

.keyboard .drum {
	border-color: rgb(0, 255, 100);
	color: rgb(0, 255, 100);
}

.keyboard .drum.active {
	color: rgb(75, 75, 75);
	background-color: rgb(0, 255, 100);
}

.keyboard .pad {
	border-color: rgb(255, 225, 0);
	color: rgb(255, 225, 0);
}

.keyboard .pad.active {
	color: rgb(75, 75, 75);
	background-color: rgb(255, 225, 0);
}

.keyboard .bass {
	border-color: rgb(255, 0, 75);
	color: rgb(255, 0, 75);
}

.keyboard .bass.active {
	color: rgb(75, 75, 75);
	background-color: rgb(255, 0, 75);
}

.keyboard .synth {
	border-color: rgb(150, 0, 255);
	color: rgb(150, 0, 255);
}

.keyboard .synth.active {
	color: rgb(75, 75, 75);
	background-color: rgb(150, 0, 255);
}

.keyboard .effect {
	border-color: rgb(0, 150, 255);
	color: rgb(0, 150, 255);
}

.keyboard .effect.active {
	color: rgb(75, 75, 75);
	background-color: rgb(0, 150, 255);
}

.space {
	width: 24px !important;
	border: 0 !important;
}

.w_01 {
	width: 58px;
}

.w_03, .w_02 {
	width: 40px;
}

.w_04 {
	width: 76px;
}

.w_05 {
	width: 86px;
}

.w_06 {
	width: 86px;
}

.w_07 {
	width: 113px;
}

.w_08 {
	width: 90px;
}

.w_09 {
	width: 57px;
}

.w_10 {
	width: 60px;
}

.w_enter {
	width: 68px;
}

.w_space {
	width: 316px;
}

.ts {
	margin-left: -1px;
}

.fz12 {
	font-size: 12px !important;
}

.fz16 {
	font-size: 16px !important;
}

.cffe100 {
	color: #ffe100 !important;
}