@import './fonts/style.css';

html {
    color: #333;
    font: 14px/1.5 '-apple-system', 'Helvetica', 'sans-serif';
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    max-width: 768px;
    min-width: 320px;
    margin: 0 auto;
}

* {
    box-sizing: border-box !important;
}

body {
    max-width: 768px;
    min-width: 320px;
    margin: 0 auto;
    text-size-adjust: 100% !important;

}

html,
body {
    height: 100%;
}

body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
input,
textarea,
blockquote,
pre,
address,
cite,
code,
del,
dfn,
em,
ins,
small,
strong,
sub,
sup,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
}

a {
    text-decoration: none;
    color: #333;
}


a:active,
a:visited {
    color: #333;
}

/*a:hover {*/
/*    color: #f60;*/
/*}*/


ul {
    list-style: none;
}

button,
input,
optgroup,
select,
textarea {
    border: 0;
    outline: 0;
    font: inherit;
    color: inherit;
}

img {
    border: 0;
    vertical-align: middle;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #333;
    /*输入框提示语的字体样式*/
    font-size: 14px;
}

input[type=search] {
    -webkit-appearance: textfield;
    -webkit-box-sizing: content-box;
    font-family: inherit;
    font-size: 100%;
}

input::-webkit-search-decoration,
input::-webkit-search-cancel-button {
    display: none;
}

.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}

/*  单行省略 */
.single-line {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 两行省略 */
.line2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
