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

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

html,
body {
    height: 100%;
}

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

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

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

/* 列式弹性盒子 */
.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;
}

/* 字体颜色 */
.font-primary {
    color: #303030;
}

.font-info {
    color: #606060;
}

.font-hint {
    color: #909090;
}

.font-success {
    color: #19be6b;
}

.font-error {
    color: #fa3534;
}

.font-warning {
    color: #ff9900;
}

.font-white {
    color: #ffffff;
}

.font-link {
    color: #00b6ed;
}

.font-pink {
    color: #ff007f;
}

.rgb-32 {
    color: #323232;
}
.rgb-90 {
    color: #909090;
}
.rgb-d8 {
    color: #d8d8d8;
}
.rgb-50 {
    color: #505050;
}
.rgb-00{
    color: #000000;
}
/* 大厂们的主题色 */
.font-bd {
    color: #4e6ef2;
}

.font-tb {
    color: #ff4400;
}

.font-qq {
    color: #1479d7;
}

.font-jd {
    color: #e1251b;
}

.font-tm {
    color: #FF0036;
}

.font-mi {
    color: #ff6700;
}

.font-uni {
    color: #42b983;
}


/* 字体状态 */
.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;
}
.mar-16 {
    margin-bottom: 0.16rem;
}
/* 取消长按选中-加在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;
}

.radius-4 {
    border-radius: 4px;
}

.radius-12 {
    border-radius: 12px;
}

.shadow-99{
    box-shadow:0 0.09rem 0.16rem 0 rgba(153,153,153,0.2);
}
.rgb-08d {
   color:  #00B6ED;
}

/*
 *  ---------------------
 *  -----全局样式结束-----
 *  ---------------------
*/
