/* 当屏幕宽度小于或等于768像素时，应用以下样式 */
@media (max-width: 830px) {
	#musicType,#beat,#midfile {
		display: none;
	}
}

@media (min-width: 831px) and (max-width: 1029px) {
	#musicType,#midfile {
		display: none;
	}
}

@media print {
	#board {
		display: none;
	}
}

@font-face {
	font-family: 'Standard';
	src: url('/mmyf/pub/fonts/CHWJP3B.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Elegant';
	src: url('/mmyf/pub/fonts/ZHAOXS.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'BBlack';
	src: url('/mmyf/pub/fonts/FZDHJT.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'SegoeUIB';
	src: url('/mmyf/pub/fonts/segoeuib.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Beautic';
	src: url('/mmyf/pub/fonts/georgiai.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'Cartoon';
	src: url('/mmyf/pub/fonts/Bodoni.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
}

@media print {
	@page {
		margin-buttom:0;
	}
	div.oper {
		display: none;
	}
}
html, body {
	background-color:transparent;
}

#midDiv {
	width:300px;
	height:200px;
	padding:5px;
	position:absolute;
	display:none;
}
#beat {
	margin: 0.5rem 0;
	padding:0 3px;
	width: 8rem;
	background-color: lightgrey;
	display: none;
	flex-direction: column;
	border-radius: 12px;
	position: absolute;
	z-index: 999;
}
label {
	padding: 0.2rem;
}
label:hover {
	background-color: aqua;
}

#playbackprogress {
	width:10%;
}

#hideBoard, #hideRowNumber {
	position: relative;
	top:5px;
	width:19px;
	height:19px;
}
body {
	margin:2px;
	color:#333;
	font-size: 16px;
	line-height:28px;
    font-family: "Chinese Quote","Segoe UI",Roboto,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji";
}

h1, h2, h3 {
	font-family: "Chinese Quote","Segoe UI",Roboto,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Helvetica,Arial,sans-serif,"Apple Color Emoji";
	font-weight:700;
	color:#262626;
}

video {
	display: block;
	margin: 0;
	padding: 0;
}

table.reference, table.reference2 {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 4px;
    margin-top: 4px;
}

/******* reference *****/

table.reference th {
    color: #fff;
    background-color: #555;
    border: 1px solid #555;
    font-size: 12px;
    padding: 3px;
    vertical-align: top;
    text-align: center;
}

table.reference tr:nth-child(odd) {
    background-color: #f6f4f0;
}

table.reference tr:nth-child(even) {
    background-color: #fff;
}

/******* reference2 *****/

table.reference2 th {
    color: #4f4f4f;
    background-color: #eff3f5;
    border: 1px solid #ddd;
    font-size: 14px;
	font-family: -apple-system,SF UI Text,Arial,PingFang SC,Hiragino San;
    padding: 3px;
    vertical-align: top;
    text-align: center;
}

table.reference2 td {
	border:1px solid rgb(221,221,221);	
}

table.reference2 tr:nth-child(odd) {
    background-color: #fff;
}

table.reference2 tr:nth-child(even) {
    background-color: #f7f7f7;
}

table.reference3 {
	width: 100%;
    margin-bottom: 4px;
    margin-top: 4px; 	
}
table.reference3 th {
    color: #4f4f4f;
    background-color: #eff3f5;
    border: 1px solid #ddd;
    font:20px/40px -apple-system,SF UI Text,Arial,PingFang SC,Hiragino San;
    padding: 3px;
    vertical-align: top;
    text-align: center;
}
table.reference3 td {
	height:30px;
    text-align:center;
    font:20px/40px -apple-system,SF UI Text,Arial,PingFang SC,Hiragino San;
}

tr.tone {
	border:1px solid #ddd;
	
}

tr.tone input[type=text] {
	width:38%;
	border:0;
	font-size:100%;
}
tr.tone select {
	height:23px;
	position: relative;
	top:-1px;
}

img.mbg {
	position:relative;
	top:-350px;
}

div.oper button.play {
	width:65px;
}

div.oper #speed {
	width:50px;
}

div.oper #songname {
	width:75px;
}

div.oper #author {
	width:75px;
}

div.oper #timer {
	width:68px;
}

#phead {
	padding:10px 0;	
	position:relative;
	white-space:nowrap;
}

#phead .ptone {		
	float:left;
	margin-left: 10px;
	height:100px;
	font:bold 70px/100px Cartoon;
}

#phead span {
	font-size:32px;
	position: relative;
	top:-16px;
}

#phead .ptype {
	float:left;
	margin-left: 10px;
	height:100px;
	width:26px;
}

#phead .ptype div {
	height:50px;
	position: static;
	text-align: center;
	font:bold 42px/50px Cartoon; 
}
#phead .ptype div.up {
	border:0;
	padding-bottom: 1px;
	border-bottom:3px solid #000;
}

#phead .speed {
	float:left;
	margin-left: 10px;
	height:66px;
	font:bold 66px/66px Cartoon;
}
#phead .songname {
	display: inline-block;
	vertical-align: top;
	margin-left: 20px;
	height:100px;
	font:bold 80px/100px 楷体;
}
#phead .author {	
	display: inline-block;
	margin-left: 20px;
	height:72px;
	font:bold 36px/36px 楷体;
}
#phead .author_1 {
	position: relative;
	height:36px;
}
#phead .author_2 {
	position: relative;
	height:36px;
}
#phead td {
	min-width: 240px;
}
#qrcode {
	width:100px;
	display: none;
	margin:0 auto;
	vertical-align: top;
	cursor:pointer;
}

#editor {
	height:66px;
	color:#708090;
	font:bold 66px/70px 楷体;
	text-align: center;
	cursor: pointer;
	white-space: pre;
}

#containerFrame {
	overflow: hidden;
}

#canvasContainer {
	margin-bottom:170px;
	position: relative;
}
#canvasContainer input {
	border:0;
	font:24px/26px "楷体";
	/*此处设置窄间距的英文字体，中文歌词在code最后以:引出一遍歌词，如果有几遍歌词，分别由多个:引出*/
}

h1{
	display:none;
}
canvas {
	margin:0;
	display:block;
    border-radius:10px;
}
      
canvas:hover {
	background:#AED7ED;
}


#mcur {
	opacity:0.6;
    display:none;
	background:#00ff00;
	position:absolute;
	height:200px;
	width:40px;
	z-index: 999;
}

#mcur div.uname{
	width:40px;
	color:#fff;
	font: 28px / 36px Yahei;
	text-align: center;
}

div.msg {
    width:300px;
    height:30px;
    line-height:30px;
    color:#333;
    position:absolute;
    border-radius:5px;
    opacity:0.95;
    display:none;
    text-align:center;
}
div.success {
	background-color:#17CF45;
}
div.failure {
	background-color:pink;
}
td {
	text-align:center;
}

.free_btn {
	background:url('/ischool/pub/img/q/000604.png');
	border:0;
}

.stronger_btn {
	background:url('/ischool/pub/img/q/000603.png') -2px 0px;
	border:0;
}

.weaker_btn {
	background:url('/ischool/pub/img/q/000603.png') -2px -22px;
	border:0;
}
.instru_key {
	background:pink;
}
table.reference2 th.instru_fun {
	background:#269D81;
}

#songname {
	width:110px;
}

input.eleven {
	background:url('/mmyf/pub/image/eleven.jpg') 7px 0 no-repeat;
}
input.doublel {
	background:url('/mmyf/pub/image/doublel.jpg') 7px -10px no-repeat;
}
.highlight {background-color: #FFFF88; }
#show {
	width:40px;
}
#mcode {
	padding: 3px;
	height: 100px;
	overflow: auto;
	line-height: 25px;
	border: 1px dashed green;
}
#board {
	bottom: 0px;
	margin-bottom: 1px;
	background: #fff;
	position: fixed;
	word-wrap: break-word;
	word-break: break-all;
}

#bgboard {
	bottom:212px;
	right:20px;
	width: 614px;/*宽度不要动*/
	height: 262px;/*每增加一行，高度增加52*/
	padding: 1px;
	opacity: 0.8;
	display:none;
	position: fixed;
	background:yellow;
	border-radius:6px;
}

#bgboard div {
	float:left;
	width:100px;
	height:50px;
	margin:1px;
	cursor:pointer;
	background:#fff;	
	border-radius:3px;
	text-align:center;
}
#bgboard div img {
	width:100px;
}

#snboard {
	bottom:212px;
	right:20px;
	width: 314px;
	height: 482px;/*每行高32*/
	padding: 1px;
	opacity: 0.5;
	display:none;
	position: fixed;	
	background:yellow;
	border-radius:6px;
}
#snboard div {
	float:left;
	width:50px;
	height:30px;
	margin:1px;
	cursor:pointer;
	background:#fff;	
	border-radius:3px;
	text-align:center;
}
#bgboard div:hover, #snboard div:hover {
	color:#fff;
	background:green;
}
#bgboard div:active, #snboard div:active {
	transform: scale(0.98);
	box-shadow: 3px 2px 22px 1px rgba(0, 0, 0, 0.24);
}

div.cursorcolor {
	display:none;
	position: fixed;
	cursor:pointer;
	border-radius:6px;				
	border:1px dashed #000;
}

div.cursorcolor div {
	width:30px;
	height:80px;
	margin:1px;
	opacity:0.6;
	text-align:center;
	border-radius:6px;
	display:inline-block;
	font:bold 18px/26px arial; 
}

div.globalcolor {
	display: none;
	position: absolute;
}
#tipValue input {
	width:80%;
	height:36px;
	font-size:24px;
}
#tipValue button {
	width:30px;
	color:red;
	font-size:24px;
	position: relative;
	top:2px;
}
#tipPrompt {
	padding:0 20px;
}
div.globalcolor td {
	width:50px;
	height:30px;
	cursor:pointer;
}

div.globalcolor td.up, div.globalcolor td.down {
	font-size:30px;
}
div.globalcolor td.left, div.globalcolor td.right {
	font-size:30px;
}
li span.noteIdx {
	color:green;
}
li span.configValue {
	color:#5CA7BA;
}