* {
    margin: 0;
    padding: 0;
    list-style: none;
    border: medium none;
    outline: none;
    /*去除ios手机点击时有阴影*/
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
}

html {
    /*解决rem页面页面加载闪烁问题*/
    font-size: 50px;
}

body {
    /*为了解决rem设置的fontSize对行内元素的影响必须设置*/
    font: 12px 'Microsoft YaHei', '宋体', Heiti SC, HelveticaNeue, Helvetica;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    height: auto;
    color: #333;
    background-color: #fff;
    margin: 0 auto;
    position: relative;
    -webkit-text-size-adjust: none;
    /*在苹果手机内容滚动的时候不会卡顿*/
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
}



/*旋转屏幕时，字体大小调整的问题*/

html,
body,
form,
fieldset,
p,
div,
h1,
h2,
h3,
h4,
h5,
h6 {
    -webkit-text-size-adjust: 100%;
}

html,
body {
    height: 100%;
}

img {
    display: block;
    border: none;
    vertical-align: bottom;
    width: 100%;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

select,
select:focus {
    outline: none;
}

input,
textarea,
select,
button {
    background: none;
    border: none;
    outline: none;
    line-height: normal;
    -webkit-appearance: none;
    font: 12px 'Microsoft YaHei', '宋体', Heiti SC, HelveticaNeue, Helvetica;
}

input[type=button],
input[type=radio],
input[type=checkbox],
select {
    -webkit-appearance: none;
}

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

.lf {
    float: left;
}

.rt {
    float: right;
}

.textCenter {
    text-align: center;
}

.bold {
    font-weight: bold;
}

/*弹性布局*/


/*居中*/

.flex-center {
    /*旧弹性盒*/
    /*Internet Explorer 10*/
    display: -ms-flexbox;
    -ms-flex-pack: center;
    -ms-flex-align: center;
    /*Firefox*/
    display: -moz-flex;
    display: -moz-box;
    -moz-box-pack: center;
    -moz-box-align: center;
    display: -webkit-box;
    -webkit-box-pack: center;
    -webkit-box-align: center;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
    -webkit-align-items: center;
}

.flex-direction-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -moz-box;
    display: flex;
    -webkit-box-direction: normal;
    -webkit-box-orient: horizontal;
    -moz-box-direction: normal;
    -moz-box-orient: horizontal;
    flex-direction: row;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
}

.flex-direction-column {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -moz-box;
    display: flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
}

.flex-between {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -moz-box;
    display: flex;
    display: -webkit-flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -moz-box-pack: justify;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -moz-box-align: center;
    align-items: center;
    -webkit-align-items: center;
}

.flex-around {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -moz-box;
    display: flex;
    display: -webkit-flex;
    justify-content: space-around;
    -webkit-justify-content: space-around;
    align-items: center;
    -webkit-align-items: center;
}

.flex-center-column {
    display: -webkit-box;
    display: -webkit-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
}

.flex {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.flex1 {
    -moz-box-flex: 1.0;
    -webkit-box-flex: 1.0;
    -ms-flex: 1.0;
    box-flex: 1.0;
    flex: 1;
    -webkit-flex: 1;
    min-width: 0;
}
.flex-end {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -moz-box;
    display: flex;
    display: -webkit-flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    -moz-box-pack: justify;
    justify-content: flex-end;
    -webkit-justify-content:flex-end;
}

/*多行省略*/

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

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

.overflow-four {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

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

.flex-box {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
    width: 100%;
}

.flex-item {
    -moz-box-flex: 1.0;
    -webkit-box-flex: 1.0;
    -ms-flex: 1.0;
    box-flex: 1.0;
    flex: 1;
    -webkit-flex: 1;
    min-width: 0;
    width: 100%;
}


/*外边框溢出*/

.overflow:before {
    content: '';
    display: table;
}

div,
header,
section,
footer,
aside,
nav,
article,
figure,
input,
ul {
    display: block;
    box-sizing: border-box;
}

.main {
    width: 7.5rem;
}

.clear {
    clear: both;
}

.page_bg {
    background: #F7F8FA;
}


/* 以上是公用 */

.page_title_g {
    height: 0.88rem;
    padding: 0.28rem 0.2rem 0.23rem;
    font-size: 0.32rem;
    color: #333333;
    font-weight: 500;
    text-align: center;
    line-height: 0.32rem;
    background: #fff;
}

.page_title_g img {
    width: 0.4rem;
    height: 0.4rem;
    float: left;
}

.search_f {
    width: 7.5rem;
    padding: 0.12rem 0.3rem;
    background: #fff;
}

.search {
    width: 6.9rem;
    height: 0.68rem;
    background: #F7F8FA;
    border-radius: 0.08rem;
    position: relative;
}

.search img {
    width: 0.3rem;
    height: 0.3rem;
    position: absolute;
    left: 0.3rem;
    top: 50%;
    margin-top: -0.15rem;
}

.search input {
    width: 6.9rem;
    height: 0.68rem;
    position: absolute;
    padding-left: 0.88rem;
    font-size: 0.28rem;
}

.search input::-webkit-input-placeholder {
    color: #A5AEBB;
}


/*防止手机点击图片被放大*/


/* img{ pointer-events: none; } */

@media (min-width: 320px) {
    html {
        font-size: 266.667%;
    }
}

@media (min-width: 360px) {
    html {
        font-size: 300%;
    }
}

@media (min-width: 375px) {
    html {
        font-size: 312.5%;
        ;
    }
}

@media (min-width: 384px) {
    html {
        font-size: 320%;
    }
}

@media (min-width: 414px) {
    html {
        font-size: 345%;
    }
}

@media (min-width: 448px) {
    html {
        font-size: 373.333%;
    }
}

@media (min-width: 480px) {
    html {
        font-size: 400%;
    }
}

@media (min-width: 512px) {
    html {
        font-size: 426.667%;
    }
}

@media (min-width: 544px) {
    html {
        font-size: 453.333%;
    }
}

@media (min-width: 576px) {
    html {
        font-size: 480%;
    }
}

@media (min-width: 608px) {
    html {
        font-size: 506.667%;
    }
}

@media (min-width: 640px) {
    html {
        font-size: 533.333%;
    }
}

@media (min-width: 750px) {
    html {
        font-size: 625%;
        ;
    }
}