﻿/*
 *  作者:bamen-tzy
 *  邮箱:全局样式表
*/

/* 元素尺寸规则 & 删除轮廓 & 点击高亮颜色 */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* 页面 body 设置，默认14px字体大小 */
body {
    margin: 0;
    padding: 0;
    background-color: #fff;
    font-size: 0.28rem;
    font-family: "PingFangSC-Regular", "Microsoft YaHei", 'STHeiti',Helvetica, Arial, sans-serif;
    letter-spacing: 0;
    word-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -webkit-touch-callout: none;
}

/*表单元素默认字体大小及字体*/
input,
select,
textarea {
    font-size: 0.28rem;
    font-family: "PingFangSC-Regular", "Microsoft YaHei", 'STHeiti',Helvetica, Arial, sans-serif;
}

/* 取消超链接默认下划线 */
a {
    text-decoration: none;
}

ul,ol,li{
    padding: 0;
    margin: 0;
    list-style: none;
}

img{
    display: block;
}

/*主体容器*/
.container {
    width: 7.2rem;
    margin: 0 auto;
    position: relative;
}

/* 列式弹性盒子 */
.flex-col {
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-box-pack: start;
    -webkit-box-align: center;

    display: -ms-flexbox;
    -ms-flex-wrap: nowrap;
    -ms-flex-direction: row;
    -ms-flex-pack: start;
    -ms-flex-align: center;
    -ms-flex-line-pack: center;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
}

.flex-col-reserve {
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -webkit-box-pack: start;
    -webkit-box-align: center;

    display: -ms-flexbox;
    -ms-flex-wrap: nowrap;
    -ms-flex-direction: row-reverse;
    -ms-flex-pack: start;
    -ms-flex-align: center;
    -ms-flex-line-pack: center;

    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
}

/* 行式弹性盒子 */
.flex-row {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-box-pack: start;
    -webkit-box-align: start;

    display: -ms-flexbox;
    -ms-flex-direction: column;
    -ms-flex-wrap: nowrap;
    -ms-flex-pack: start;
    -ms-flex-align: start;
    -ms-flex-line-pack: start;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: flex-start;
}

/* 弹性盒子弹性容器 */
.flex-col>*.flex-grow {
    width: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.flex-col-reserve>*.flex-grow {
    width: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.flex-row>*.flex-grow {
    height: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

/* 列式弹性盒子允许换行 */
.flex-col.flex-wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/* 列式弹性盒子居中对齐 */
.flex-col.flex-center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.flex-col.flex-row-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/* 列式弹性盒子两端对齐 */
.flex-col.flex-space {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/* 列式弹性盒子顶部对齐 */
.flex-col.flex-top {
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
}

/* 列式弹性盒子快速分栏 */
.flex-col.flex-col-2>* {
    width: 50%;
}

.flex-col.flex-col-3>* {
    width: 33.33333%;
}

.flex-col.flex-col-4>* {
    width: 25%;
}

.flex-col.flex-col-5>* {
    width: 20%;
}

.flex-col.flex-col-6>* {
    width: 16.66666%;
}

/* 字体对齐 */
.font-l {
    text-align: left;
}

.font-c {
    text-align: center;
}

.font-r {
    text-align: right;
}

/* 字体大小 */
.font-10 {
    font-size: 0.20rem;
}

.font-12 {
    font-size: 0.24rem;
}

.font-14 {
    font-size: 0.28rem;
}

.font-16 {
    font-size: 0.32rem;
}

.font-18 {
    font-size: 0.36rem;
}

.font-20 {
    font-size: 0.40rem;
}

.font-24 {
    font-size: 0.48rem;
}

.font-28 {
    font-size: 0.56rem;
}

.font-32 {
    font-size: 0.64rem;
}

.rgb-32 {
    color: #323232;
}

.rgb-50 {
    color: #505050;
}

.rgb-90 {
    color: #909090;
}

.rgb-d8 {
    color: #d8d8d8;
}

.rgb-ff {
    color: #ffffff;
}

.rgb-00 {
    color: #000000;
}

.rgb-08f {
    color: #0089FF;
}


/* 字体状态 */
.font-U {
    text-decoration: underline;
}

.font-B {
    font-weight: 700;
}

.font-I {
    font-style: italic;
}

/* 背景颜色 */
.bg-default {
    background-color: #F3F4F5;
}

.bg-fff {
    background-color: #ffffff;
}

/* 取消长按选中-加在body元素上则全站均不可长按选择文字复制 */
.cancel-select {
    -webkit-user-select: none;
    user-select: none;
}

/* 超出省略 */
.ellipsis-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

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

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

.img-icon{
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}


/* 微信下载提示 */
.download-shade {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 100;
    top: 0;
    left: 0;
}

.download-shade>p {
    margin: 0;
    padding: 10px 100px 0 15px;
    font-size: 14px;
    color: #Fff;
}

.download-shade>img {
    width: 130px;
    height: auto;
    position: absolute;
    top: 10px;
    right: 15px;
}