/*
 * 重置
 */
/*---------- normalize ----------*/
/* margin:0, padding:0 */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
button,
textarea,
p,
blockquote,
th,
td,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary,
audio,
canvas,
video {
  margin: 0;
  padding: 0;
}
/* html5 shiv */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}
audio,
canvas,
video {
  display: inline-block;
}
/* Prevent modern browsers from displaying `audio` without controls. Remove excess height in iOS 5 devices. */
audio:not([controls]) {
  display: none;
  height: 0;
}
/* hidden */
[hidden] {
  display: none;
  visibility: hidden;
}
/* Prevent iOS text size adjust after orientation change, without disabling user zoom. */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/* abbr */
abbr[title] {
  cursor: help;
  border-bottom: 1px dotted;
}
/* b, strong */
b,
strong {
  font-weight: bold;
}
/* code,kbd,pre,samp */
code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 1em;
}
/* <del>常用于产品原价，此时Tahoma字体删除线有问题，故改用Arial字体 */
del {
  font-family: Arial;
}
/* img */
img {
  vertical-align: middle;
  border: 0;
}
/* list-style */
li {
  list-style: none;
}
/* mark */
mark {
  background: #ff0;
  color: #000;
}
/* pre */
pre {
  white-space: pre-wrap;
}
/* quote */
q:before,
q:after,
blockquote:before,
blockquote:after {
  content: "";
}
/* sub, sup */
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
/* Correct overflow displayed oddly in IE 9. */
svg:not(:root) {
  overflow: hidden;
}
/* reset fonts */
address,
caption,
cite,
dfn,
em,
i,
q,
th {
  font-weight: normal;
  font-style: normal;
}
h1,
h2,
h3,
h4,
h5,
h6,
small {
  font-size: 100%;
}
/* table */
table {
  border-collapse: collapse;
  border-spacing: 0;
}
th {
  font-weight: bold;
}
/*---------- form & button ----------*/
/* fieldset,legend */
fieldset,
legend {
  border: 0;
}
/* 
// 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
// 2. Correct inability to style clickable `input` types in iOS.
// 3. Improve usability and consistency of cursor style between image-type `input` and others.
 */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
/* disabled */
button[disabled],
html input[disabled] {
  cursor: default;
}
/* reset fonts */
button,
input,
select,
select optgroup,
textarea {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  line-height: inherit;
  vertical-align: middle;
}
/* Reset unusual Firefox-on-Android default style. See https://github.com/necolas/normalize.css/issues/214 */
button,
input,
select[multiple],
textarea {
  background-image: none;
}
/* Remove inner padding and border in Firefox 4+. */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
/* Remove inner padding and search cancel button in Safari 5 and Chrome on OS X. */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/* 
// Fix for Chrome number input
// Setting certain font-sizes causes the `I` bar to appear on hover of the bottom increment button.
// See https://github.com/twbs/bootstrap/issues/8350 for more.
 */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  height: auto;
}
/* textarea */
textarea {
  overflow: auto;
  vertical-align: top;
}
