/* 导入富文本编辑器样式 */
@import '/utils/quill.snow.css';

* {
    font-family: Source Han Sans CN;
    box-sizing: border-box;
}

body,
ol,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
th,
td,
dl,
dd,
form,
fieldset,
legend,
input,
textarea,
select {
    margin: 0;
    padding: 0;
}

html,
body {
    /* font-size: 14px; */
    font-family: Source Han Sans CN;
    /* font: 12px "微软雅黑", "Arial Narrow", HELVETICA; */
    /* background-color: #f2f2f2; */
    box-sizing: border-box;
}

@media screen and (max-width: 1024px) {
    html {
        font-size: 42.66px !important;
    }
}

@media screen and (min-width: 1920px) {
    html {
        font-size: 80px !important;
    }
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    outline: none;
    /* color: #404040; */
}

/* em,
i {
    font-style: normal;
}

b,
strong {
    font-weight: normal;
} */

img {
    border: none;
    vertical-align: middle;
}

input {
    outline: none;
}

textarea {
    resize: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /* font-weight: normal; */
    /* font-size:16px; */
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.clearfix {
    zoom: 1;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.ql-editor {
    padding: 0 !important;
}

.w1200 {
    /* width: 1408px; */
    /* max-width: 1408px; */
    max-width: 17.6rem;
    margin: 0 auto;
    position: relative;
}

.textOnlyOneLine {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.textOnlyOneLine-2 {
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.textOnlyOneLine-3 {
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.textOnlyOneLine-4 {
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.clearfix:after {
    content: '.';
    display: block;
    visibility: hidden;
    height: 0;
    line-height: 0;
    clear: both;
}