/*重置样式css*/
*,
::before,
::after {
    /* 选择所有的标签 padding:内边距*/
    margin: 0;
    padding: 0;
    /*清楚移动端默认的点击高亮效果*/
    -webkit-tap-highlight-color: transparent;
    /* 设置所有的都是以边框开始计算宽度  百分比*/
    -webkit-box-sizing: border-box; /*兼容*/
    box-sizing: border-box;
}
/* 设置滚动条的样式 */
::-webkit-scrollbar {
    width: 6px;
}
/* 滚动槽 */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 1px rgba(0,0,0,0.3);
    /*border-radius: 10px;*/
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
    /*border-radius: 10px;*/
    background: #bbb;
    /*-webkit-box-shadow: inset 0 0 2px 2px rgba(0,0,0,0.5);*/
}

    ::-webkit-scrollbar-thumb:window-inactive {
        background: rgba(255,0,0,0.4);
    }


body {
    font-size: 14px;
    font-family: "Microsoft YaHei",sans-serif; /*微软雅黑，设备默认字体*/
    color: #333;
}

a {
    color: #333;
    text-decoration: none; /*不要下划线*/
}

    a:hover {
        text-decoration: none; /*不要下划线*/
    }

ul, ol {
    list-style: none;
}

.f_left {
    float: left;
}

.f_right {
    float: right;
}

.clearfix:before,
.clearfix:after {
    content: "";
    height: 0;
    line-height: 0;
    display: block;
    visibility: hidden;
    clear: both;
}

[class^="jd_"] {
}

.m_l10 {
    margin-left: 10px;
}

.m_r10 {
    margin-right: 10px;
}

.m_t10 {
    margin-top: 10px;
}

.m_b10 {
    margin-bottom: 10px;
}
/*******table*******/
.table_sheet {
    overflow: scroll;
    width: 99%;
}

    .table_sheet table {
        border: 1px solid #ccc;
    }

    .table_sheet tr th, .table_sheet tr td {
        border: 1px solid #ccc;
        white-space: nowrap;
        border-collapse: collapse;
        padding: 0px 4px;
    }

    .table_sheet tr .nowrap {
        white-space: nowrap;
    }

    .table_sheet tr .wrap {
        white-space: pre-wrap;
    }

    .table_sheet tr th {
        height: 45px;
        background: #f9f9f9;
        font-size: 14px;
    }

    .table_sheet tr td {
        height: 40px;
        font-size: 12px;
    }

        .table_sheet tr td > ul {
            display: flex;
            flex-direction: column;
        }

    .table_sheet tr:hover {
        background-color: #bfbfbf;
    }

    .table_sheet .selected {
        background-color: #bfbfbf;
    }
/*绿背景，白字体*/
tr .green_box {
    background-color: rgb(9,187,7);
    color: white;
    padding: 0.5em;
    margin: 0px 5px;
}
/*红边框，白字体*/
tr .red_box {
    background-color: rgb(230,67,64);
    color: white;
    padding: 0.5em;
    margin: 0px 5px;
}
/*绿边框，绿字体*/
tr .green_border {
    border: 1px solid rgb(9,187,7);
    color: rgb(9,187,7);
    padding: 0.5em;
    margin: 0px 5px;
}
/*红边框，红字体*/
tr .red_border {
    border: 1px solid rgb(230,0,0);
    color: rgb(230,0,0);
    padding: 0.5em;
    margin: 0px 5px;
}
/*绿字体*/
tr .green {
    color: rgb(9,187,7);
    padding: 0.5em;
    margin: 0px 5px;
}
/*红字体*/
tr .red {
    color: rgb(230,0,0);
    padding: 0.5em;
    margin: 0px 5px;
}

td .btn {
    padding: 0px 0.5em;
    margin: 0px 5px;
    height: 25px;
    background-color: white;
    border: 1px solid gray;
    border-radius: 2px;
    cursor: pointer;
}

    td .btn:hover {
        background-color: rgb(250, 159, 91);
        color: white;
    }

.rows .readonly {
    background: lightgray;
}

.underline {
    text-decoration: underline;
}

.WenAnWarning {
    color: red;
}
