﻿/*表格样式*/
.table-title {
    display: inline-block;
    height: .6rem;
    line-height: .6rem;
    padding: .1rem .2rem;
    background: #29CC92;
    color: #fff;
    font-size: .3rem;
    font-weight: bold;
    margin-top: .2rem;
    display: block;
    text-align: center;
}

.table {
    border: 1px solid #F0C600;
    border-collapse: separate;
    border-spacing: 1px;
    width: 100%;
}

    .table th {
        background: #F0C600;
        /*color: #001e54;*/
        color: #fff;
        font-size: .3rem;
        line-height: .5rem;
        padding: .1rem .2rem;
        text-align: center;
        font-weight: normal;
    }

    .table td {
        background: #FFFAF2;
        color: #616161;
        font-size: .3rem;
        line-height: .5rem;
        padding: .1rem .2rem;
        text-align: center;
    }

        .table td.lineTop {
            border-top: 1px solid #F0C600;
        }

        .table td.lineBottom {
            border-bottom: 1px solid #F0C600;
        }

    .table tr:nth-child(2n) td {
        background: #FFF7DB;
    }

    .table td.tal {
        text-align: left;
    }

    .table td.tar {
        text-align: right;
    }

    .table tr:hover td {
        background: #ededed;
    }

    .table input[type=text], .table input[type=tel], .table input[type=password], .table input[type=email], .table input[type=number], .table input[type=datetime], .table input[type=file], .table input[type=search], .table input[type=time], .table input[type=url], .table input[type=week], .table select
    ,.table .input
    ,.table .select {
        border: 1px solid #F2F2F2;
        font-size: .2rem;
        padding: .1rem .2rem;
        width: calc(100% - .4rem - 2px);
    }

    .table select {
        width: 100%;
    }
    
    .table .input.ipt-min
    ,.table .select.ipt-min{
        display: inline-block;
        width: auto;
    }
    .table .input.ipt-max
    ,.table .select.ipt-max{
        display: block;
        min-width: 99%;
        max-width: inherit;
    }

    .table .bt {
        display: inline-block;
        background: #F0C600;
        color: #fff;
        padding: .1rem .2rem;
        font-size: .2rem;
        line-height: .4rem;
        border: none;
    }

        .table .bt.edit {
            background: #06C1AE;
        }

        .table .bt.del {
            background: #999999;
        }

        .table .bt.add {
            background: #08C115;
        }

    .table .must:after {
        content: '*';
        color: #f00;
        line-height: .5rem;
    }

    .table .bt.dsb {
        display: block;
    }

    .table .bt.green {
        background: #91ad0d;
    }

    .table .bt.yellow {
        background: #e77614;
    }

    .table .bt.blue {
        background: #1779e8;
    }

    .table .bt.gray {
        background: #8f8f8f;
    }

    .table .bt.red {
        background: #f64424;
    }

        .table .bt.green:hover, .table .bt.yellow:hover, .table .bt.blue:hover, .table .bt.gray:hover, .table .bt.red:hover {
            background: #b55400;
        }
