/*========================== reset ==========================*/
*, *:before, *:after {
    box-sizing: border-box;
}
html {
    font-family: sans-serif;
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body, h1, h2, h3, h4, h5, h6, p, dl, ul, ol, dd, td, th, figure, blockquote, pre, form, fieldset, legend, button, input, select, optgroup, option, textarea {
    padding: 0;
    margin: 0;
}
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
    display: block;
}
audio, canvas, progress, video {
    display: inline-block;
}
audio:not([controls]) {
    display: none;
    height: 0;
}
template, [hidden] {
    display: none;
}
h1 {
    font-size: 2em;
}
ul, ol, menu {
    list-style: none;
}
a {
    outline: 0;
    text-decoration: none;
    color: inherit;
    background: transparent;
    -webkit-text-decoration-skip: objects;
}
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}
b, strong {
    font-weight: bolder;
}
i, em {
    font-style: normal;
}
dfn {
    font-style: italic;
}
mark {
    color: #000;
    background: #ff0;
}
small {
    font-size: 80%;
}
sub, sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}
sub {
    bottom: -0.25em;
}
sup {
    top: -0.5em;
}
code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em;
}
pre {
    overflow: auto;
    white-space: pre-wrap;
}
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}
img {
    border: 0;
    vertical-align: middle;
    max-width: 100%;
    max-height: 100%;
}
svg:not(:root) {
    overflow: hidden;
}
table {
    border-spacing: 0;
    border-collapse: collapse;
}
fieldset {
    border: 0;
}
legend {
    box-sizing: border-box;
    display: table;
    max-width: 100%;
    color: inherit;
    white-space: normal;
}
button, input, select, optgroup, option, textarea {
    border-radius: 0;
    outline: 0;
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    color: inherit;
}
button, input {
    overflow: visible;
}
button, select {
    text-transform: none;
}
button, [type="button"], [type="reset"], [type="submit"] {
    -webkit-appearance: button;
}
button:not(:disabled), [type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled) {
    cursor: pointer;
}
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
    border: 0;
}
optgroup {
    font-weight: bold;
}
textarea {
    overflow: auto;
    resize: vertical;
    vertical-align: top;
}
[type="checkbox"], [type="radio"] {
    box-sizing: border-box;
}
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
    height: auto;
}
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}
[type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}
::-webkit-file-upload-button {
    font-size: inherit;
    -webkit-appearance: button;
}
/*========================== common ==========================*/
body {
    font-family: 'Microsoft YaHei', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
    background: #fff;
}
@media (min-width: 1025px) {
    body {
        min-width: 1330px;
    }
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
}
.clearfix {
    *zoom: 1;
}
.clearfix:after {
    content: "";
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
}
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    *zoom: 1;
}
.container:before, .container:after {
    content: "";
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
}
@media (max-width: 1024px) {
    .container {
        max-width: 768px;
        padding: 0 2%;
    }
}
@media (max-width: 768px) {
    .container {
        max-width: 100%;
    }
}
.img-box {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    overflow: hidden;
}
.img-box img {
    display: inline-block;
}
.img-centered {
    position: relative;
    overflow: hidden;
    text-align: center;
}
.img-centered img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
