* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    color: #363A44;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    /*修正手持设备字体变化*/
}

.transition {
    transition: .5s;
}

h1,
h2,
h3,
h4,
h5,
h6,
img,
ol,
ul,
li,
a,
span,
p,
i,
em,
div,
body,
html {
    margin: 0;
    padding: 0;
    border: none;
    list-style-type: none;
    font-weight: normal;
    text-decoration: none;
}

input,
button {
    border: 0;
    outline: none;
}

input::-webkit-search-cancel-button {
    display: none;
}

input[type=search]::-ms-clear {
    display: none;
}

img {
    border: 0;
    vertical-align: middle;
    width: 100%;
    -ms-interpolation-mode: bicubic
        /*ie7 解决图片缩放失真问题*/
}

a {
    outline: none;
    text-decoration: none;
    color: #363A44;
    background: transparent;
    /*修正win8系统IE连接灰色背景*/
}


/*去掉点击链接时的虚线外框*/

a:focus {
    outline-style: none;
    -moz-outline-style: none;
}


/*清楚浮动*/

.clearfix:after {
    content: " ";
    clear: both;
    height: 0;
    visibility: hidden;
    display: block;
}

.clearfix {
    *zoom: 1;
}


/*省略号*/

.ellipsis_1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.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;
}

.ellipsis_4 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}


/* float */

.fl {
    float: left;
}

.fr {
    float: right;
}


/**去掉input默认样式**/

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
}

.bgfff {
    background: #fff;
}



.flex1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex2 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.flex3 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex4 {
    display: flex;
    justify-content: left;
    align-items: center;
}

.flex5 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flex6 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.flex7 {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.flex8 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flex9 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}