﻿html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,
address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,
var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td {
	margin: 0;
	padding: 0;
	border: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html,body {
	font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif;
	color: #333;
	font: 14px/1.5;
}

h1,h2,h3,h4,h5,h6 {
	font-size: 100%;
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
	display: block;
}

input,textarea,input {
	margin: 0;
	padding: 0;
	outline: 0;
	-webkit-appearance: none;
	border-radius: 0;
	font-family: "Microsoft YaHei";
}

a,a:link,a:visited,a:hover,a:active {
	text-decoration: none;
	color: #333;
	-webkit-tap-highlight-color: transparent;
}

table {
	border-collapse: separate;
	border-spacing: 0;
}

ol,ul {
	list-style: none;
}

hr {
	margin: 0;
	padding: 0;
	border: 0;
	color: #000;
	background-color: #000;
	height: 1px
}

.Absolute-Center {
	margin: auto;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}

.clear {
	clear: both;
	height: 0px;
	font-size: 0px;
	line-height: 0px;
	overflow: hidden;
}

.clearfix:after {
	content: "";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix:after {
	clear: both;
}
.clearfix {
	zoom: 1;
}

/* IE 6/7 */
.fl {
	float: left;
}
.fr {
	float: right;
}

/*单行文本省略号*/
.word {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.words2 {
	display: -webkit-box;
	display: box;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-all;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}
/*多行文本省略号*/
.words3 {
	display: -webkit-box;
	display: box;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-all;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

/*垂直居中*/
.ycenter {
	align-items: center;
	display: -webkit-flex;
}
/*水平居中*/
.xcenter {
	justify-content: center;
	display: -webkit-flex;
}

/*box布局水平垂直居中*/
.xycenterbox{
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	-moz-box-align: center;
	-webkit-box-align: center;
	-moz-box-pack: center;
	-webkit-box-pack: center;
}
/*box布局水平居中*/
.xcenterbox{
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	-moz-box-pack: center;
	-webkit-box-pack: center;
}
/*box布局垂直居中*/
.ycenterbox{
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	-moz-box-align: center;
	-webkit-box-align: center;
}

/*区域分割*/
.line {
	width: 100%;
	height: 0.5rem;
	background-color: rgb(245, 246, 248);
}

/*0.5px底边框*/
.bottomLine{
	background: -webkit-linear-gradient(top,transparent 40%,#ebebeb 60%) center bottom no-repeat;
	background: -moz-linear-gradient(top, transparent 40%, #ebebeb 60%) center bottom no-repeat;
	background: -ms-linear-gradient(top, transparent 40%, #ebebeb 60%) center bottom no-repeat;
	background-size: 100% 1px;
}

/*设置隐藏*/
.none {
	display: none;
}
.hidden {
	visibility: hidden;
}

/*加载更多动画*/
.pullUp {
	height: 40px;
	line-height: 40px;
	font-size: 14px;
	text-align: center;
	color: #b3b3b3;
}
.pullUp .pullUpIcon {
	display: inline-block;
	vertical-align: top;
	width: 16px;
	height: 16px;
	margin: 12px 9px 0 0;
	background: url(http://img.learn.16q.cn/home/2/new/refresh.png) no-repeat;
	background-size: contain;
	-webkit-transform: rotate(0deg) translateZ(0);
	-webkit-transition-duration: 0ms;
	-webkit-animation-name: loading;
	-webkit-animation-duration: 2s;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
}
@-webkit-keyframes loading {
	from {
		-webkit-transform: rotate(0deg) translateZ(0);
	}
	to {
		-webkit-transform: rotate(360deg) translateZ(0);
	}
}

/*媒体查询*/
@media screen and (max-width:240px) {
	html {	font-size: 7.7px}
}
@media screen and (min-width:241px) and (max-width:320px) {
	html {	font-size: 10.2px}
}
@media screen and (min-width:321px) and (max-width:360px) {
	html {	font-size: 11.5px}
}
@media screen and (min-width:361px) and (max-width:375px) {
	html {	font-size: 12px}
}
@media screen and (min-width:376px) and (max-width:414px) {
	html {	font-size: 13.2px}
}
@media screen and (min-width:415px) and (max-width:540px) {
	html {	font-size: 15.4px}
}
@media screen and (min-width:541px) and (max-width:640px) {
	html {	font-size: 20.5px}
}
@media screen and (min-width:641px) and (max-width:720px) {
	html {	font-size: 23px}
}
@media screen and (min-width:721px) and (max-width:768px) {
	html {	font-size: 24px}
}
@media only screen and (min-width: 768px) {
	html {	font-size: 24px}
	.wrap {
		width: 768px;
		margin: 0 auto;
	}
}
@media only screen and (max-width: 768px){
	#home{
		width: 40px;
		height:40px;
		background: #dd383f;
		border-radius: 50%;
		position: fixed;
		bottom: 60px;
		right: 20px;
		z-index: 10;
		display: block;
	}
	#home img{
		width: 50%;
		height: 50%;
		margin: 25% 0 0 25%;
	}
}