/**
 * FlexBox 布局
 * --------------------------------------------------
 */
.row {
    display: -webkit-box;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    padding: 5px;
    width: 100%;
}

.row-wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.row-no-padding {
    padding: 0;
}

.row-no-padding>.col {
    padding: 0;
}

.col {
    -webkit-box-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: block;
    padding: 5px;
    width: 100%;
}

.col-10 {
    -webkit-box-flex: 0;
    -moz-flex: 0 0 10%;
    -ms-flex: 0 0 10%;
    flex: 0 0 10%;
    max-width: 10%;
}

.col-15 {
    -webkit-box-flex: 0;
    -moz-flex: 0 0 15%;
    -ms-flex: 0 0 15%;
    flex: 0 0 15%;
    max-width: 15%;

}

.col-20 {
    -webkit-box-flex: 0;
    -moz-flex: 0 0 20%;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
}

.col-25 {
    -webkit-box-flex: 0;
    -moz-flex: 0 0 25%;
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

.col-30 {
    -webkit-box-flex: 0;
    -moz-flex: 0 0 30%;
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    max-width: 30%;
}

.col-33 {
    -webkit-box-flex: 0;
    -moz-flex: 0 0 33%;
    -ms-flex: 0 0 33%;
    flex: 0 0 33%;
    max-width: 33%;
}


/**
 * 0.5像素边框样式
 * --------------------------------------------------
 */
.half-pixel-border,
.half-pixel-border-top,
.half-pixel-border-right,
.half-pixel-border-bottom,
.half-pixel-border-left {
    position: relative !important;
}

/* 全边框 */
.half-pixel-border::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    left: 0;
    top: 0px;
    border: 1px solid #494949;
    transform-origin: 0 0;
    transform: scale(0.5, 0.5);
    -webkit-transform: scale(0.5, 0.5);
    -moz-transform: scale(0.5, 0.5);
    -ms-transform: scale(0.5, 0.5);
    -o-transform: scale(0.5, 0.5);
    box-sizing: border-box;
}

/* 上边框 */
.half-pixel-border-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.5px;
    background-color: #494949;
    -webkit-transform: scale(1, 0.5);
    -moz-transform: scale(1, 0.5);
    -ms-transform: scale(1, 0.5);
    -o-transform: scale(1, 0.5);
    transform: scale(1, 0.5);
}

/* 右边框 */
.half-pixel-border-right::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 1px;
    background-color: #494949;
    -webkit-transform: scale(0.5, 1);
    -moz-transform: scale(0.5, 1);
    -ms-transform: scale(0.5, 1);
    -o-transform: scale(0.5, 1);
    transform: scale(0.5, 1);
}

/* 下边框 */
.half-pixel-border-bottom::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #494949;
    -webkit-transform: scale(1, 0.5);
    -moz-transform: scale(1, 0.5);
    -ms-transform: scale(1, 0.5);
    -o-transform: scale(1, 0.5);
    transform: scale(1, 0.5);
}

/* 左边框 */
.half-pixel-border-left::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 1px;
    background-color: #494949;
    -webkit-transform: scale(0.5, 1);
    -moz-transform: scale(0.5, 1);
    -ms-transform: scale(0.5, 1);
    -o-transform: scale(0.5, 1);
    transform: scale(0.5, 1);
}

/**
 * 公用按钮 buttons
 * --------------------------------------------------
 */
.btn-block {
    display: block;
    width: 95%;
    height: 45px;
    line-height: 45px;
    font-size: 15px;
    text-align: center;
    border-radius: 18px;
    background: #666;
    /* background: #FE3B30; */
    /* background: #3665f3; */
    border: none !important;
    margin: 20px auto 0;
    color: #fff;
}

.silver-gray-bg {
    background-color: #2f3848;
    color: #f2d8be;
}

.red-bg-btn {
    background-color: rgb(255, 107, 97);
}

.border-rad-5 {
    border-radius: 5px;
}

.border-rad-8 {
    border-radius: 8px;
}

.border-rad-10 {
    border-radius: 10px;
}

.border-rad-15 {
    border-radius: 15px;
}

/**
 * 公用边距
 * --------------------------------------------------
 */
.margin {
    margin: 10px;
}

.margin-15 {
    margin: 15px;
}

.margin-top-5 {
    margin-top: 5px;
}

.margin-top-8 {
    margin-top: 8px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-25 {
    margin-top: 25px;
}

.margin-left-5 {
    margin-left: 5px;
}

.margin-left-10 {
    margin-left: 10px;
}

.margin-right-10 {
    margin-right: 10px;
}

.margin-bot-10 {
    margin-bottom: 10px;
}

.padding {
    padding: 10px;
}

.padding-15 {
    padding: 15px;
}

.padding-top-10 {
    padding-top: 10px;
}

.padding-top-15 {
    padding-top: 15px;
}

.padding-bot-15 {
    padding-bottom: 15px;
}

.padding-bot-20 {
    padding-bottom: 20px;
}

.text-align-center {
    text-align: center;
}

.text-align-left {
    text-align: left;
}

.text-align-right {
    text-align: right;
}

.text-mute{
    opacity: 0.7;
}

.green-text {
    color: #139453;
}

.red-text {
    color: #eb4e59;
}

.text-success {
  color: #00BE7D;
}

/**
 * 公用色值集合
 * --------------------------------------------------
 */
.light {
    color: #fff !important;
}

.light-bg {
    background-color: #fff !important;
    /* background-color: #F5F6F8 !important; */
}

.gray {
    color: #666 !important;
}

.gray2 {
    color: #ebebe5 !important;
}

.gray2-bg {
    background: #f2f2f2 !important;
}

.gray3-bg {
    background: #2f3848 !important;
}

.gray4-bg {
    background: #4a4e5b !important;
}

.gray3 {
    color: #9e9e9e !important;
}

.blue {
    color: rgb(42, 40, 195) !important;
}

.violet {
    color: rgb(216, 20, 201) !important;
}

/*正数*/
.plus-num {
    color: #0073d6 !important;
    /* color: #f04134 !important; */
}

.plus-num2 {
    color: #ff7264 !important;
}

.red-bg {
    background-color: #ff7264 !important;
}

/*负数*/
.negative-num {
    color: #00b56b !important;
}

.green-bg {
    background-color: #00b56b !important;
}

/**
 * 公用字体字号集合
 * --------------------------------------------------
 */
.font-bold {
    font-weight: bold;
}

.fot_trans_min1 {
    transform: scale(0.9);
}

.fot_trans_min2 {
    transform: scale(0.8);
}

.font_13 {
    font-size: 0.26rem;
}

.font_14 {
    font-size: 0.28rem;
}

.font_15 {
    font-size: 0.3rem;
}

.font_16 {
    font-size: 0.32rem;
}

.font_18 {
    font-size: 0.36rem;
}

.font_20 {
    font-size: 0.4rem;
}

.font_22 {
    font-size: 0.44rem;
}

.font_24 {
    font-size: 0.48rem;
}

.font-wt-400 {
    font-weight: 400;
}

.font-wt-700 {
    font-weight: 700;
}

/*
 * 页面布局样式
 * --------------------------------------------------
 */
.page {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    box-orient: vertical;
    flex-direction: column;
    backface-visibility: hidden;

}

.page .page-content {
    width: 100%;
    margin: 0 auto;
    flex: 1;
    overflow: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.dark-bg {
    background: linear-gradient(to right, #343740, #161A23);
    color: #fff;
}

.van-overlay {
    background-color: rgba(0, 0, 0, 0.6) I !important;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* .van-dialog {
    background-image: url('../static/image/modal-bg.png');
    background-size: cover;
    background: #fff;
    background: linear-gradient(135deg, #a5d5ff 0%, #888888 100%);
    color: #2f3848;
    background: linear-gradient(to right, #fff, #FFD1D6);
    margin: 0 auto;
    padding: 15px;
    width: 80%;
    top: 40% !important;

    .van-dialog__message--has-title {
    }

    .van-dialog__header {
        padding-top: 10px;
    }

    .van-toast__text {
        color: #2f3848;
        padding: 10px;
        border-radius: 6px;
        background: #666;
    }

    .van-dialog__footer button {
        height: 38px;
        line-height: 38px;
        font-size: 14px;
        border: 1px solid #ccc;
        margin-left: 4px;
        border-radius: 6px;
    }

    .van-dialog__confirm {
        color: #0073d6 !important;
    }
} */


.van-nav-bar--fixed {
    background: inherit !important;

    /* background: linear-gradient(to right, #343740, #161A23);
    color: #fff; */
    .van-icon,
    .van-nav-bar__title {
        color: inherit !important;
    }
}

.left-bor {
    width: 3px;
    height: 15px;
    margin-right: 2px;
    vertical-align: bottom;
    display: inline-block;
    background: #62b2c5;
    /* background-color: #ea5343; */
}

.van-tabs__nav {
    background: inherit !important;

    .van-tab--active {
        color: #000;
        font-weight: 700;
    }

    .van-tabs__line {
        width: 35px;
        bottom: 18px;
        height: 3px;
        background: #3665f3;
    }
}



.van-radio {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-direction: row-reverse;

    .van-radio__icon--checked .van-icon {
        /* background: #fe3b30; */
        background: #3665f3;
        border: none;
    }

    .van-radio__label {
        display: flex;
    }
}