/* Author: xiaozheng */

body, h1, h2, h3, h4, h5, h6, dl, dd, p, hr {

	margin: 0;

}

button, option, textarea, td {

	padding: 0;

}

ul, ol, input {

	margin: 0;

	padding: 0;

}

ul, ol {

	list-style-type: none;

}

table {

	border-spacing: 0;

	border-collapse: collapse;

}

strong, b {

	font-weight: normal;

}

em, i {

	font-style: normal;

}

/* 给body设置font-size:12px;的时候，h1-h6是不继承这个属性的，所以设置font-size为100% */

h1, h2, h3, h4, h5, h6 {

	font-size: 100%;

	font-weight: normal;

}

body, button, input, select, textarea {

	font: 12px/1 "Microsoft", SimSun, arial, sans-serif;

}

button {

	border: none;

}

/* 在a标签中放置img标签后，在IE10以及之下版本中，img会出现2px的边框

*/

img {

	border: 0;

	vertical-align: middle;

}

input, textarea, select {

	outline: none;

}

:focus{

	outline:0;

}

a {

	color: #000;

	text-decoration: none;

}

textarea {

	resize: none;

}

/* 

::-ms-clear 是文本清除按钮，也就是input右方的叉叉,

::-ms-reveal是密码查看按钮，也就密码框右边的小眼睛。

*/

::-ms-clear, ::-ms-reveal {

	display: none;

}

::-webkit-input-placeholder { /* WebKit browsers */ 

	color: #999 !important; 

} 

:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ 

	color: #999 !important; 

} 

::-moz-placeholder { /* Mozilla Firefox 19+ */ 

	color: #999 !important; 

} 

:-ms-input-placeholder { /* Internet Explorer 10+ */ 

	color: #999 !important; 

} 

/*去掉苹果安卓系统点击时的灰色遮盖和边框*/

a ,button, input, textarea {

	-webkit-tap-highlight-color: rgba(0,0,0,0);

}

.l {

	float: left!important;

}

.r {

	float: right!important;;

}

.clearfix {

	zoom: 1;

}

.clearfix:after {

	content: ".";

	display: block;

	height: 0;

	clear: both;

	overflow: hidden;

	visibility: hidden;

}

/*定义滚动条宽高及背景，宽高分别对应横竖滚动条的尺寸*/

::-webkit-scrollbar{

    width: 6px;

    height: 6px;

    background-color: #f5f5f5;

}

/*定义滚动条的轨道，内阴影及圆角*/

::-webkit-scrollbar-track{

    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);

    border-radius: 10px;

    background-color: #f5f5f5;

}

/*定义滑块，内阴影及圆角*/

::-webkit-scrollbar-thumb{

    /*width: 10px;*/

    height: 20px;

    border-radius: 10px;

    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);

    background-color: #555;

}