﻿* {
    /* 禁止页面长按复制黏黏 */
    user-select: none;
}

/* 初始化css */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
legend,
button form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* 酌情修改 */
body {
    background: #fff;
    font-family: PingFangSC-Regular, sans-serif;
    font-size: 16px;
    line-height: 22px;
    color: #26272B;
    background-color: #F5F5F5;
}

/* 短引用的内容可取值：''或"" */
q:before,
q:after {
    content: ”;
}

/* 缩写，图片等无边框 */
fieldset,
img,
abbr,
acronym {
    border: 0 none;
}

abbr,
acronym {
    font-variant: normal;
}

legend {
    color: #000;
}

/* 清除特殊标记的字体和字号 */
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-weight: normal;
    font-style: normal;
}

/* 上下标 */
sup {
    vertical-align: text-top;
}

sub {
    vertical-align: text-bottom;
}

/* 设置表格的边框被合并为一个单一的边框, 指定分隔边框模型中单元格边界之间的距离为0*/
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 表格标题及内容居左显示 */
caption,
th {
    text-align: left;
}

input,
img,
select {
    vertical-align: middle;
}

/* 清除列表样式 */
ol,
ul {
    list-style: none;
}

/* 输入控件字体 */
input,
button,
textarea,
select,
optgroup,
option {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
}

/* 标题元素样式清除 */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    font-size: 100%;
}

/* 链接样式，颜色可酌情修改 */
del,
ins {
    text-decoration: none;
}

/* 鼠标样式 */
input[type="submit"] {
    cursor: pointer;
}

input {
    border: 0;
    outline: none
}

button {
    cursor: pointer;
}

input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.clear {
    clear: both;
}


a {
    text-decoration: none;
    color: #333;
}

    a:hover,
    a:visited,
    a:link,
    a:active {
        color: #333333;
    }

/*去除*/
input {
    border-radius: 0;
}

    /*去除Chrome等浏览器文本框默认发光边框*/
    input:focus,
    textarea:focus {
        outline: none;
    }

    /*去掉高光样式*/
    input:focus {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        -webkit-user-modify: read-write-plaintext-only;
    }

    /*去除IE10+浏览器文本框后面的小叉叉*/
    input::-ms-clear {
        display: none;
    }

/*禁止多行文本框textarea拖拽*/
textarea {
    resize: none;
}

input,
button,
select,
textarea {
    outline: none
}

input,
button,
select,
textarea {
    outline: none
}

textarea {
    resize: none
}

/************************** input css **************************/
input {
    display: block;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 400;
}

    /* 占位符样式 */
    input::-webkit-input-placeholder {
        font-size: 16px;
        color: #C5C6CA;
    }

    input:-moz-placeholder {
        font-size: 16px;
        color: #C5C6CA;
    }

    input::-moz-placeholder {
        font-size: 16px;
        color: #C5C6CA;
    }

    input:-ms-input-placeholder {
        font-size: 16px;
        color: #C5C6CA;
    }

/************************** 公共css **************************/
.bg-gray {
    background: #F2F2F3;
}

.font16 {
    font-size: 16px;
    line-height: 22px;
}

.font14 {
    font-size: 14px;
    line-height: 20px;
}

.font-bold {
    font-weight: bold;
}

.flex-grow1 {
    flex-grow: 1;
}

.flex-shrink0 {
    flex-shrink: 0;
}

/* 文本单行超出隐藏 */
.text-hidden {
    overflow: hidden;
    white-space: nowrap;
}

/* 文本单行超出以...结尾 */
.text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 文本两行超出以...结尾 */
.text-ellipsis-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 文本居中 */
.text-center {
    text-align: center;
}

/* 文本右排列 */
.text-right {
    text-align: right;
}

/* 隐藏滚动条 */
.scrollbarNone {
    /* firefox */
    scrollbar-width: none;
    /* IE 10+ */
    -ms-overflow-style: none;
}

    .scrollbarNone::-webkit-scrollbar {
        display: none;
    }

/* 点击效果 */
.clickPointer {
    cursor: pointer;
    overflow: hidden;
}

/************* 按钮 *************/
/**
 *  注 需要点击样式则设置background-color属性，不需要点击样式则设置background属性
 */
.btn {
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 4px;
    color: #FFFFFF;
    background-color: #FE610D;
}

    .btn:active {
        background-image: linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15));
    }

/************* 复选框 *************/
[checkbox] {
    position: relative;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    overflow: hidden;
}

    [checkbox] input {
        display: block;
        width: 100%;
        height: 100%;
        position: relative;
        z-index: 9;
        opacity: 0;
    }

    [checkbox] label {
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        position: absolute;
        left: 0;
        top: 0;
        background-image: url("../img/unSelected.png");
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }

    [checkbox] input:checked + label {
        background-image: url("../img/selected.png");
    }

/************* switch开关 *************/
input[type='checkbox'].switch {
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    width: 50px;
    height: 26px;
    border-radius: 13px;
    background: #ccc;
    transition: border-color .3s, background-color .3s;
}

    input[type='checkbox'].switch:after {
        content: '';
        display: inline-block;
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: #fff;
        box-shadow: 0, 0, 2px, #999;
        transition: .4s;
        position: absolute;
        top: 2px;
        left: 2px;
    }

    input[type='checkbox'].switch:checked {
        background: #FE610D;
    }

        input[type='checkbox'].switch:checked:after {
            left: 26px;
        }

/************* 弹性布局 *************/
.r-fs-s {
    display: flex;
}

.r-fs-fs {
    display: flex;
    align-items: flex-start;
}

.r-fs-c {
    display: flex;
    align-items: center;
}

.r-fs-fe {
    display: flex;
    align-items: flex-end;
}

.r-c-c {
    display: flex;
    justify-content: center;
    align-items: center;
}

.r-sb-s {
    display: flex;
    justify-content: space-between;
}

.r-sb-fs {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.r-sb-c {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.r-sb-fe {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.r-fe-c {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.c-fs-s {
    display: flex;
    flex-direction: column;
}

.c-fs-fs {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.c-fs-c {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.c-c-s {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.c-c-c {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.c-sb-s {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/************* 固定定位 *************/
.fixed-t-l {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.fixed-t-r {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999;
}

.fixed-b-l {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
}

.fixed-b-r {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 999;
}

/************************** weui css Start **************************/
/************* loading加载动画 *************/
.loading-classname .weui-toast {
    background: none;
    top: 50%;
    transform: translateY(-50%);
}

/************* toptips提示信息 *************/
.toptips_warn {
    background-color: #FFA434;
}

.toptips_success {
    background-color: #21CA63;
}

.toptips_failure {
    background-color: #e64340;
}

/************* picker多列选择器 *************/
.weui-picker a[data-action=select] {
    color: #FE610D;
}

/************* dialog交互弹窗 alert 警告弹框 *************/
.weui-dialog a.weui-dialog__btn_primary {
    color: #FE610D;
}

.dialog-classname .weui-dialog,
.alert-classname .weui-dialog {
    border-radius: 16px;
}

    .dialog-classname .weui-dialog .weui-dialog__hd,
    .alert-classname .weui-dialog .weui-dialog__hd {
        text-align: center;
    }

        .dialog-classname .weui-dialog .weui-dialog__hd .weui-dialog__title,
        .alert-classname .weui-dialog .weui-dialog__hd .weui-dialog__title {
            font-size: 18px;
            font-weight: bold;
        }

    .dialog-classname .weui-dialog .weui-dialog__bd,
    .alert-classname .weui-dialog .weui-dialog__bd {
        font-size: 16px;
        display: table;
        margin: 0 auto;
        text-align: center;
    }

    .dialog-classname .weui-dialog .weui-dialog__ft,
    .alert-classname .weui-dialog .weui-dialog__ft {
        padding: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        display: flex;
    }

        .dialog-classname .weui-dialog .weui-dialog__ft a,
        .alert-classname .weui-dialog .weui-dialog__ft a {
            margin: 0;
            padding: 0;
            text-align: center;
            line-height: 52px;
            font-size: 16px;
            flex-grow: 1;
        }

            .dialog-classname .weui-dialog .weui-dialog__ft a.weui-dialog__btn_primary {
                border-left: 1px solid rgba(0, 0, 0, 0.1);
            }

/************************** weui css End **************************/

/************* 弹窗 *************/
[popup] {
    -webkit-box-align: end;
}

    [popup] .content {
        background-color: white;
        width: 100%;
        border-radius: 10px 10px 0 0;
        position: relative;
    }

    [popup] .popup-fork {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 24px;
        height: 24px;
    }

/************* 对话框提示弹窗 *************/
[dialog].ui-dialog {
    z-index: 999999;
    background: rgba(0, 0, 0, 0.1);
}

    [dialog].ui-dialog .ui-dialog-no {
        color: #C5C6CA;
    }

    [dialog].ui-dialog .ui-dialog-yes {
        color: #FE610D;
    }


.ui-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-box-pack: center;
    -webkit-box-align: center;
    background: rgba(0, 0, 0, .4);
    display: none;
}

    .ui-dialog.show {
        display: -webkit-box;
        display: box;
    }

.ui-dialog-hd {
    height: 48px;
    line-height: 48px;
    text-align: center;
    position: relative;
}

.ui-dialog-cnt {
    border-radius: 6px;
    width: 270px;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    pointer-events: auto;
    background-color: rgba(253, 253, 253, .95);
    position: relative;
    font-size: 16px;
}

.ui-dialog-bd {
    min-height: 71px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    padding: 18px;
    display: -webkit-box;
    display: box;
    -webkit-box-pack: center;
    -webkit-box-align: center;
    -webkit-box-orient: vertical;
}

    .ui-dialog-bd > h4 {
        margin-bottom: 4px;
        width: 100%;
        text-align: center;
    }

    .ui-dialog-bd > div,
    .ui-dialog-bd > ul {
        width: 100%;
    }

.ui-dialog-ft {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    display: -webkit-box;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-align: center;
    border-top: 1px solid #e0e0e0;
    height: 42px;
    line-height: 42px;
}

.ui-dialog-close:before {
    font-family: iconfont !important;
    font-size: 32px;
    line-height: 44px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: .2px;
    display: block;
    color: rgba(0, 0, 0, .5);
    content: "";
    color: #828282;
    display: block;
    line-height: 32px;
    position: absolute;
    top: 3px;
    right: 3px;
}

.ui-dialog-close:active {
    opacity: .5;
}

.ui-dialog-ft button {
    color: #00a5e0;
    text-align: center;
    border-right: 1px #e0e0e0 solid;
    width: 100%;
    line-height: 42px;
    background: transparent;
    display: block;
    margin: 0 !important;
    -webkit-box-flex: 1;
}

    .ui-dialog-ft button:active {
        background-color: rgba(0, 0, 0, .1) !important;
    }

    .ui-dialog-ft button:first-child {
        border-bottom-left-radius: 6px;
    }

    .ui-dialog-ft button:last-child {
        border-right: 0;
        border-bottom-right-radius: 6px;
    }




/* 骨架屏 */
.skeleton {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #fff;
    z-index: 999999;
}

.sk-transparent {
    color: transparent !important;
}

.sk-image {
    background: #EFEFEF !important;
}

.sk-ef {
    color: transparent !important;
    background: #EFEFEF !important;
}

/*  */
/* .weui-mask {
    z-index: 19999;
}

.weui-dialog {
    z-index: 20000;
} */

.weui-toptips {
    z-index: 99999;
}

/* class="weui-toptips weui-toptips_warn toptips_failure" */
