* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    margin: 0;
    padding: 0;
}

/* body {
    min-width: 640px;
} */

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: #fff;
}

ul {
    list-style: none;
}

a {
    display: block;
}

a,
a:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

a:focus {
    text-decoration: none !important;
}

i {
    font-style: normal;
}

body,
a {
    font-size: 16px;
    font-family: "Microsoft YaHei", "Hiragino Sans GB", Helvetica, Arial, sans-serif;
}

/* @font-face {
    font-family: xiaojun;
    src: url('../font/SourceHanSansSC-Medium.otf'); 
} */

/* 修改input的样式 */

input {
    -webkit-appearance: none;
    border: none;
}

input,
input::placeholder {
    font-size: 16px;
}

textarea {
    -webkit-appearance: none;
    resize: none;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* 清除浮动 */

.clearfix::after {
    display: block;
    clear: both;
    content: '';
}

/*隐藏滚动条*/

/* *::-webkit-scrollbar{
    display: none
} */

/* 文本一行内超出加省略号 */

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

/* 文本两行内超出加省略号 */

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

/* 文本三行内超出加省略号 */

.ellipsis_3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* 内容垂直水平居中 */

.middle {
    display: flex;
    flex-direction: column;
    /* 主轴为竖直方向 */
    justify-content: center;
    /* 主轴方向居中 */
    align-items: center;
    /* 侧轴方向居中 */
}

/* 隐藏滚动条 */

.scroll_hidden::-webkit-scrollbar {
    display: none;
    opacity: 0;
    width: 0;
    height: 0;
}

.scroll_hidden {
    /*三角箭头的颜色*/
    scrollbar-arrow-color: rgba(256, 256, 256, 0);
    /*滚动条滑块按钮的颜色*/
    scrollbar-face-color: rgba(256, 256, 256, 0);
    /*滚动条整体颜色*/
    scrollbar-highlight-color: rgba(256, 256, 256, 0);
    /*滚动条阴影*/
    scrollbar-shadow-color: rgba(256, 256, 256, 0);
    /*滚动条轨道颜色*/
    scrollbar-track-color: rgba(256, 256, 256, 0);
    /*滚动条3d亮色阴影边框的外观颜色——左边和上边的阴影色*/
    scrollbar-3dlight-color: rgba(256, 256, 256, 0);
    /*滚动条3d暗色阴影边框的外观颜色——右边和下边的阴影色*/
    scrollbar-darkshadow-color: rgba(256, 256, 256, 0);
    /*滚动条基准颜色*/
    scrollbar-base-color: rgba(256, 256, 256, 0);
}

.scroll_hidden .-o-scrollbar {
    -moz-appearance: none !important;
    background: rgba(0, 255, 0, 0) !important;
}

.scroll_hidden::-o-scrollbar-button {
    background-color: rgba(0, 0, 0, 0);
}

.scroll_hidden::-o-scrollbar-track {
    background-color: rgba(0, 0, 0, 0);
}

.scroll_hidden::-o-scrollbar-track-piece {
    background-color: rgba(0, 0, 0, 0);
}

.scroll_hidden::-o-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0);
}

.scroll_hidden::-o-scrollbar-corner {
    background-color: rgba(0, 0, 0, 0);
}

.scroll_hidden::-o-scrollbar-resizer {
    background-color: rgba(0, 0, 0, 0);
}