/* *,
*:after,
*:before {
    box-sizing: border-box;
} */

body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
th,
td {
    margin: 0;
    padding: 0
}

body,
button,
input,
select,
textarea {
    font: 12px Arial, Helvetica, sans-serif
}


/* html,
body {
    background-color: #F5F7F7;
    max-width: 750px;
    margin: 0 auto;
} */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    color: #333;
    font-family: '微软雅黑', 'YaHei', '黑体', 'Hei', Tahoma, Helvetica, arial, sans-serif;
}

address,
cite,
dfn,
em,
var {
    font-style: normal
}

code,
kbd,
pre,
samp {
    font-family: courier new, courier, monospace
}

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

a {
    text-decoration: none;
    outline: none;
    color: inherit;
}

a:hover {
    /* opacity: 0.7; */
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

sup {
    vertical-align: text-top
}

sub {
    vertical-align: text-bottom
}

legend {
    color: #000
}

fieldset,
img {
    border: 0
}

button,
input,
select,
textarea {
    font-size: 100%;
}

textarea {
    resize: none
}

button,
input {
    margin: 0;
    padding: 0;
    background-color: transparent;
    border: none;
    outline: none;
    line-height: 1;
    box-sizing: border-box;
}

button:hover {
    cursor: pointer;
}

select {
    padding: 2px;
    border: 1px solid #ddd;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px
}

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

img {
    vertical-align: top;
    display: inline-block;
    background-color: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    display: block;
    margin: 0;
    padding: 0
}

object,
embed {
    outline: 0
}


h2 {
    font-size: .4rem;
    font-weight: bold;
    color: #333333;
}

.bold {
    font-weight: bold;
}

.relative {
    position: relative;
}

.flex {
    display: flex;
}

.wrap {
    flex-wrap: wrap;
}

.nowarp {
    flex-wrap: nowrap;
}

.shrink-0 {
    flex-shrink: 0;
}

.flex-s {
    display: flex;
    justify-content: flex-start;
}

.flex-e {
    display: flex;
    justify-content: flex-end;
}

.flex-b {
    display: flex;
    justify-content: space-between;
}

.flex-c {
    display: flex;
    flex-direction: column;
}

.flex-center {
    display: flex;
    justify-content: center;
}

.flex-cc {
    display: flex;
    justify-content: center;
    align-items: center;
}

.align-center {
    display: flex;
    align-items: center;
}

.elli {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nowrap {
    white-space: nowrap;
}

.elli-2 {
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.over {
    overflow: hidden;
}