/*
*Name: CSS Reset.
* Author:huzhangjun
* Time:2017-04-17
*/


/* Reset default browser CSS. */

* {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	outline: none;
}

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,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
	margin: 0;
	padding: 0;
	border: 0;
}


/* HTML5 display-role reset for older browsers */

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

ol,
ul,
li {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

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

html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	/*旋转屏幕时，字体大小调整的问题*/
	box-sizing: border-box;
	line-height: 1.6;
}

body {
	font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
	font-size: 14px;
	color: #333;
	letter-spacing: .03em;
	background-color: #fff;
}

a {
	text-decoration: none;
	color: #000;
	-webkit-tap-highlight-color: transparent;
	/*解决ios半透明的灰色背景*/
}


/*滑动条srollStyle*/

::-webkit-scrollbar {
	width: 2px;
	height: 2px;
}

::-webkit-scrollbar-track-piece {
	background-color: rgba(0, 0, 0, 0.2);
	-webkit-border-radius: 6px;
}

::-webkit-scrollbar-thumb:vertical {
	height: 2px;
	background-color: rgba(125, 125, 125, 0.7);
	-webkit-border-radius: 6px;
}

::-webkit-scrollbar-thumb:horizontal {
	width: 2px;
	background-color: rgba(125, 125, 125, 0.7);
	-webkit-border-radius: 6px;
}

html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
}

input[type="text"],
input[type="search"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="datetime-local"],
input[type="time"],
input[type="number"],
select,
textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	appearance: none;
	box-sizing: border-box;
	border: none;
	background: none;
	border-radius: 0 0 0 0;
	box-shadow: none;
}

a,
input,
textarea,
select,
button {
	outline: 0;
}

i,
em {
	font-style: normal;
}

div {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}


/*** Utility Classes ***/

input:focus,
button:focus,
select:focus,
textarea:focus {
	outline: none;
}


/* ios系统中元素被触摸时产生的半透明灰色遮罩怎么去掉*/

button,
input,
textarea {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-appearance: none;
	border: 0;
}


/* 部分android系统中元素被点击时产生的边框怎么去掉*/

button,
input,
textarea {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	-webkit-user-modify: read-write-plaintext-only;
}


/*webkit表单输入框placeholder的颜色值改变*/

input::-webkit-input-placeholder {
	color: #aaa;
}

input:focus::-webkit-input-placeholder {
	color: #eee;
}


/*webkit表单元素的默认外观重置*/

.app {
	-webkit-appearance: none;
}


/*伪元素改变number类型input框的默认样式*/

input[type=number]::-webkit-textfield-decoration-container {
	background-color: transparent;
}

input[type=number]::-webkit-inner-spin-button {
	-webkit-appearance: none;
}

input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
}


/*禁用 select 默认下拉箭头*/

select::-ms-expand {
	display: none;
}


/*禁用PC端表单输入框默认清除按钮*/

input[type=text]::-ms-clear,
input[type=tel]::-ms-clear,
input[type=number]::-ms-clear {
	display: none;
}


/*禁用 radio 和 checkbox 默认样式*/

input[type=radio]::-ms-check,
input[type=checkbox]::-ms-check {
	display: none;
}


/*去掉苹果默认样式*/

input {
	-webkit-appearance: none;
	border: none;
	box-sizing: border-box;
	font-family: "Consolas", Microsoft Yahei;
}

input[type="button"],
input[type="submit"] {
	cursor: pointer;
}

img {
	vertical-align: bottom;
	border: none;
}

em,
i {
	font-style: normal;
}

::selection {
	background: #333;
	color: #fff;
}