﻿/* reset */

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
div,
dl,
dt,
dd,
ul,
ol,
li,
p,
blockquote,
pre,
hr,
figure,
table,
caption,
th,
td,
form,
fieldset,
legend,
input,
button,
textarea,
menu {
    margin: 0;
    padding: 0;
}

header,
footer,
section,
article,
aside,
nav,
hgroup,
address,
figure,
figcaption,
menu,
details {
    display: block;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption,
th {
    text-align: left;
    font-weight: normal;
}

html,
body,
fieldset,
img,
iframe,
abbr {
    border: 0;
}

i,
cite,
em,
var,
address,
dfn {
    font-style: normal;
}

[hidefocus],
summary {
    outline: 0;
}

li {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
small {
    font-size: 100%;
}

sup,
sub {
    font-size: 83%;
}

pre,
code,
kbd,
samp {
    font-family: inherit;
}

q:before,
q:after {
    content: none;
}

textarea {
    overflow: auto;
    resize: none;
}

label,
summary {
    cursor: default;
}

a,
button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6,
em,
strong,
b {
    font-weight: bold;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    letter-spacing: 1px;
}

del,
ins,
u,
s,
a,
a:hover {
    text-decoration: none;
}

a:focus {
    text-decoration: none;
}

body,
textarea,
input,
button,
select,
keygen,
legend {
    font: 12px/1.14 arial, \5b8b\4f53;
    color: #333;
    outline: 0;
}

body {
    background: #fff;
}

a {
    color: #272727;
}

a:hover {
    color: #1b35db;
}


/* @font-face {
    font-family: "PingFangSC-Light";
    src: url("../fonts/PingFang Regular.otf");
} */

html,
body {
    font-family: PingFangSC-Light, 'Helvetica', 'helvetica neue', arial, 'hiragino sans gb', 'microsoft yahei ui', 'microsoft yahei', simsun, sans-serif;
}


/* 通用样式 */

@media only screen and (max-width: 560px) {
    html {
        font-size: 14px
    }
}

@media only screen and (max-width: 570px) and (min-width: 560px) {
    html {
        font-size: 15px
    }
}

@media only screen and (max-width: 640px) and (min-width: 800px) {
    html {
        font-size: 16px
    }
}

@media only screen and (max-width: 801px) and (min-width: 1200px) {
    html {
        font-size: 17px
    }
}

@media only screen and (min-width: 1201px) {
    html {
        font-size: 18px
    }
}

html,
body {
    /* height: 100%; */
    width: 100%;
}


/* 左浮动 */

.fl {
    float: left;
}


/* 右浮动 */

.fr {
    float: right;
}

.position-rel {
    position: relative;
}


/* 清除浮动 */

.clear-float::after {
    content: '';
    display: block;
    clear: both;
}