/* 禁用iPhone中Safari的字号自动调整 */
html {
	-webkit-text-size-adjust: none;
}
/* 设置HTML5元素为块 */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
/* 设置图片视频等自适应调整 */
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}
.video embed, .video object, .video iframe {
	width: 100%;
	height: auto;
}

#metris {
	background-color: #F9F9F9;
	position: relative;
	border: 1px solid gray;
	margin: auto;
	margin-top: 10px;
}
#metris div {
	position: absolute;
}
#score {
	font-size: 50px;
}
#nextBlock {
	position: relative;
	margin: 15px 0 15px 0;
}
#nextBlock div {
	position: absolute;
}
ul, li {
	list-style: none;
}
li {
	padding: 8px;
}
li.even {
	background-color: #F9F9F9;
}
#time, #speed {
	color: red;
}
#stop {
	margin-right: 20px;
}

@media (min-device-width:1024px) and (max-width:989px),screen and (max-device-width:480px),(max-device-width:480px) and (orientation:landscape),(min-device-width:480px) and (max-device-width:1024px) and (orientation:portrait) {
	#stop {
		margin-right: 20px;
	}
}

 /* 当浏览器的可视区域小于980px */
@media screen and (max-width: 980px) {
     #wrap {width: 90%; margin:0 auto;}
     #content {width: 60%;padding: 5%;}
     #sidebar {width: 30%;}
     #footer {padding: 8% 5%;margin-bottom: 10px;}
}
 /* 当浏览器的可视区域小于650px */
@media screen and (max-width: 650px) {
     #header {height: auto;}
     #searchform {position: absolute;top: 5px;right: 0;}
     #content {width: auto; float: none; margin: 20px 0;}
     #sidebar {width: 100%; float: none; margin: 0;}
 }