﻿* {
    padding: 0;
    margin: 0;
}
html {
    background: #EEEEEE;
    -webkit-overflow-scrolling: touch;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    height: 100%;
}
body {
    color: #333333;
    font-size: 13px;
    line-height: 24px;
    font-family: 'Microsoft Yahei','simsun', "arial", "sans-serif";
    _font-family: "arial",'simsun','Microsoft Yahei', "sans-serif";
    padding: 10px;
    min-width: 1200px;
}
::-webkit-scrollbar {
    width: 16px
}
::-webkit-scrollbar-track, ::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 5px solid transparent;
}
::-webkit-scrollbar-track {
    box-shadow: 1px 1px 5px rgba(0,0,0,.2) inset;
}
::-webkit-scrollbar-thumb {
    min-height: 20px;
    background-clip: content-box;
    box-shadow: 0 0 0 5px rgba(0,0,0,.2) inset;
}
::-webkit-scrollbar-corner {
    background: 0 0
}
div, dl, dt, dd, form, h1, h2, h3, h4, h5, h6, img, ol, ul, li, table, th, td, p, span, a {
    border: 0;
    list-style: none;
}
input,textarea,button,select{
    outline: none;
}
img {
    list-style: none;
    list-style-type: none;
}
a, a:visited {
    text-decoration: none;
    color: #333333;
    cursor: pointer;
}
    a:hover, a:active {
        color: #FF6600;
    }
.clear {
    clear: both;
    font-size: 1px;
    height: 0;
    visibility: hidden;
    line-height: 0;
}
.left {
    float: left;
}
.right {
    float: right;
}
.layout {
    clear: both;
    width: 100%;
}

button {
    display: inline-block;
    width: auto;
    height: 36px;
    line-height:36px;
    padding: 0 15px 0 12px;
    cursor: pointer;
    color: #FAFAFA;
    letter-spacing: 1px;
    border: none;
    background: #363636;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    transition: All 0.3s ease-in-out;
    -webkit-transition: All 0.3s ease-in-out;
    -moz-transition: All 0.3s ease-in-out;
    -o-transition: All 0.3s ease-in-out;
}
    button:hover {
        color:#FFFFFF;
        background: #222222;
    }
    button i {
        margin-right:5px;
    }
    button.red {
        background: #DA4F49;
    }
        button.red:hover {
            background: #BD362F;
        }
    button.green {
        background: #5BB75B;
    }
        button.green:hover {
            background: #51A351;
        }
    button.gray {
        background: #666666;
    }
        button.gray:hover {
            background: #565656;
        }
    button.cursor {
        background: #FAA732;
        cursor: default;
    }
    
.table-list {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    border-right: 2px solid #CDCDCD;
    border-bottom: 2px solid #CDCDCD;
}
    .table-list > thead > tr > td {
        padding: 10px;
        color: #666666;
        font-weight: bold;
        text-align: left;
        background: #FAFAFA;
        border: 1px solid #DDDDDD;
    }
        .table-list > thead > tr > td > div, .table-list > tfoot > tr > td > div.form {
            float: left;
            height: 36px;
            line-height: 36px;
        }
            .table-list > thead > tr > td > div > i, .table-list > tfoot > tr > td > div.form i {
                float: left;
                margin-right: 10px;
                line-height: 36px;
            }
            .table-list > thead > tr > td > div > input, .table-list > tfoot > tr > td > div.form input {
                float: left;
                margin-right: 10px;
                width: 260px;
                height: 34px;
                padding: 0 10px;
                background: #FFFFFF;
                border: 1px solid #999999;
                -moz-border-radius: 2px;
                -webkit-border-radius: 2px;
                border-radius: 2px;
            }
                .table-list > thead > tr > td > div > input.warning, .table-list > tfoot > tr > td > div.form input.warning {
                    border: 1px solid #C09853;
                    -webkit-box-shadow: 0 0 3px #C09853;
                    -moz-box-shadow: 0 0 3px #C09853;
                    box-shadow: 0 0 3px #C09853;
                }
                .table-list > thead > tr > td > div > input.w4, .table-list > tfoot > tr > td > div.form > input.w4 {
                    width: 40px;
                }
                .table-list > thead > tr > td > div > input.w5, .table-list > tfoot > tr > td > div.form > input.w5 {
                    width: 50px;
                }
                .table-list > thead > tr > td > div > input.w10, .table-list > tfoot > tr > td > div.form > input.w10 {
                    width: 100px;
                }
                .table-list > thead > tr > td > div > input.w15, .table-list > tfoot > tr > td > div.form > input.w15 {
                    width: 150px;
                }
                .table-list > thead > tr > td > div > input.w20, .table-list > tfoot > tr > td > div.form > input.w20 {
                    width: 200px;
                }
            .table-list > thead > tr > td > div > select, .table-list > tfoot > tr > td > div.form > select {
                float: left;
                margin-right: 10px;
                width: auto;
                height: 36px;
                padding: 0 0 0 10px;
                background: #FFFFFF;
                border: 1px solid #999999;
                -moz-border-radius: 2px;
                -webkit-border-radius: 2px;
                border-radius: 2px;
                outline:none;
            }
            .table-list > thead > tr > td > div > button, .table-list > tfoot > tr > td > div.form > button {
                float: left;
                margin-right: 10px;
            }

        .table-list > thead > tr > td a {
            display:inline-block;
            margin: 0 5px;
            height: 36px;
            line-height: 36px;
            padding: 0 10px;
            color: #FFFFFF;
            font-size: 14px;
            font-weight: normal;
            background: #5BB75B;
            -moz-border-radius: 3px;
            -webkit-border-radius: 3px;
            border-radius: 3px;
            transition: All 0.3s ease-in-out;
            -webkit-transition: All 0.3s ease-in-out;
            -moz-transition: All 0.3s ease-in-out;
            -o-transition: All 0.3s ease-in-out;
        }
            .table-list > thead > tr > td a:hover {
                background: #51A351;
            }

    .table-list > thead > tr > th {
        height: 35px;
        padding: 0 10px;
        color: #666666;
        font-weight: bold;
        text-align: left;
        background: #F4F4F4;
        border: 1px solid #DDDDDD;
    }
        .table-list > thead > tr > th > em {
            font-style: normal;
            font-size: 12px;
            font-weight: normal;
            padding: 0 0 0 10px;
            color:#999999;
        }
    .table-list > thead > tr.form > td {
        padding: 10px;
    }
        .table-list > thead > tr > th.r, .table-list > tbody > tr > td.r {
            text-align: right;
        }
        .table-list > thead > tr.form > td > select {
            height: 38px;
            padding: 0 0 0 10px;
            background: #FFFFFF;
            border: 1px solid #CCCCCC;
            -moz-border-radius: 2px;
            -webkit-border-radius: 2px;
            border-radius: 2px;
            outline:none;
        }
        .table-list > thead > tr.form > td > input, .table-list > tbody > tr > td.input > input {
            width: 90%;
            height: 36px;
            color: #333333;
            text-indent: 10px;
            font-size: 14px;
            background: #FFFFFF;
            border: 1px solid #CCCCCC;
            -moz-border-radius: 2px;
            -webkit-border-radius: 2px;
            border-radius: 2px;
        }
            .table-list > thead > tr.form > td > input.warning {
                border: 1px solid #C09853;
                -webkit-box-shadow: 0 0 3px #C09853;
                -moz-box-shadow: 0 0 3px #C09853;
                box-shadow: 0 0 3px #C09853;
            }
            .table-list > thead > tr.form > td > input.c, .table-list > tbody > tr > td > input.c {
                text-align: center;
                text-indent: 0;
            }
        .table-list > thead > tr.form > td.ifile input {
            float:left;
            width: 70px;
            height: 38px;
            overflow: hidden;
            line-height: 38px;
            text-indent:0;
            padding:0 10px;
            border: 1px solid #CCCCCC;
        }
    .table-list > tbody > tr > td {
        height: 40px;
        padding: 5px 10px;
        color: #666666;
        background: #FFFFFF;
        border: 1px solid #DDDDDD;
    }
    .table-list > tbody > tr.load-data > td {
        padding: 50px 0;
        text-align: center;
        color: #666666;
    }
        .table-list > tbody > tr.load-data > td i {
            font-size: 30px;
        }
        .table-list > tbody > tr.load-data > td span {
            display: block;
            font-size: 14px;
            padding: 10px 0 0 0;
        }

    .table-list > tbody > tr:hover > td, .table-list > tbody > tr.cur > td {
        background: #FAFAFA;
    }
    .table-list > thead > tr > th.c, .table-list > tbody > tr > td.c, .table-list > tfoot > tr > td.c {
        text-align: center;
    }
    .table-list > tbody > tr > td.a {
        cursor:pointer;
    }
    .table-list > tbody > tr > td i {
        cursor:pointer;
        font-size:15px;
    }
        .table-list > tbody > tr > td i:hover {
            color: #CC0000;
        }
        .table-list > tbody > tr > td i.green {
            color: #51A351;
        }
        .table-list > tbody > tr > td i.red {
            color: #CC0000;
        }
        .table-list > tbody > tr > td i.gray {
            color: #666666;
        }
        .table-list > tbody > tr > td i.black {
            color: #000000;
        }
    .table-list > tbody > tr > td.fg {
        height: 5px;
        padding: 0;
        background: #EEEEEE;
    }
    .table-list > tbody > tr > td.img > img {
        display: block;
        margin: 0 auto;
        max-height: 40px;
    }
    .table-list > tbody > tr > td.img > a {
        display: block;
        max-width:100px;
        max-height: 40px;
        overflow: hidden;
    }
        .table-list > tbody > tr > td.img > a > img {
            margin:0 auto;
            display: block;
            max-height: 40px;
        }
    .table-list > thead > tr > th.w3, .table-list > tbody > tr > td.w3 {
        width: 30px;
    }
    .table-list > thead > tr > th.w4, .table-list > tbody > tr > td.w4 {
        width: 40px;
    }
    .table-list > thead > tr > th.w5, .table-list > tbody > tr > td.w5 {
        width: 50px;
    }
    .table-list > thead > tr > th.w6, .table-list > tbody > tr > td.w6 {
        width: 60px;
    }
    .table-list > thead > tr > th.w7 {
        width: 70px;
    }
    .table-list > thead > tr > th.w8 {
        width: 80px;
    }
    .table-list > thead > tr > th.w9 {
        width: 90px;
    }
    .table-list > thead > tr > th.w10 {
        width: 100px;
    }
    .table-list > thead > tr > th.w12 {
        width: 120px;
    }
    .table-list > thead > tr > th.w13 {
        width: 130px;
    }
    .table-list > thead > tr > th.w15 {
        width: 150px;
    }
    .table-list > thead > tr > th.w18 {
        width: 180px;
    }
    .table-list > thead > tr > th.w20 {
        width: 200px;
    }
    .table-list > thead > tr > th.w22 {
        width: 220px;
    }
    .table-list > thead > tr > th.w25 {
        width: 250px;
    }
    .table-list > thead > tr > th.w30 {
        width: 300px;
    }
    .table-list > tbody > tr.item > td {
       padding:5px;
    }
    .table-list > tbody > tr.item > td > input {
        width: 100%;
        height: 36px;
        padding: 0 5px;
        color: #333333;
        font-size: 13px;
        background: #FFFFFF;
        border: 1px solid #CCCCCC;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        border-radius: 2px;
        box-sizing: border-box;
    }
    .table-list > tbody > tr > td.simg > div.imagebox {
        margin:0 auto;
        width:40px;
        height: 40px;
    }
        .table-list > tbody > tr > td.simg > div.imagebox > input {
            float: left;
            width: 28px;
            height: 28px;
            padding: 5px;
            overflow: hidden;
            line-height: 28px;
            border: 1px solid #E2E2E2;
            -moz-border-radius: 2px;
            -webkit-border-radius: 2px;
            border-radius: 2px;
        }
        .table-list > tbody > tr > td.simg > div.imagebox > span {
            float: left;
            position: relative;
            width: auto;
            height: 38px;
            margin-right: 10px;
            color: #333333;
            border: 1px solid #EEEEEE;
            -moz-border-radius: 2px;
            -webkit-border-radius: 2px;
            border-radius: 2px;
            overflow: hidden;
        }
        .table-list > tbody > tr > td>select{
            width: 100%;
            height: 36px;
            padding: 0 5px;
            color: #333333;
            font-size: 13px;
            background: #FFFFFF;
            border: 1px solid #CCCCCC;
            -moz-border-radius: 2px;
            -webkit-border-radius: 2px;
            border-radius: 2px;
            box-sizing: border-box;
            outline:none;
        }
        .table-list > tbody > tr > td.input > input {
            width: 100%;
            height: 36px;
            padding: 0 5px;
            color: #333333;
            font-size: 13px;
            background: #FFFFFF;
            border: 1px solid #CCCCCC;
            -moz-border-radius: 2px;
            -webkit-border-radius: 2px;
            border-radius: 2px;
            box-sizing: border-box;
            outline:none;
        }

    .table-list > tfoot > tr > td {
        height: 55px;
        padding: 0 10px;
        color: #666666;
        background: #F4F4F4;
        border: 1px solid #DDDDDD;
    }
        .table-list > tfoot > tr > td.txt {
            background:#FFFFFF;
            padding:10px;
            line-height:24px;
        }

.table-form {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    border-right: 2px solid #CDCDCD;
    border-bottom: 2px solid #CDCDCD;
}
    .table-form > tbody > tr > th {
        width: 80px;
        padding:0 10px;
        color: #666666;
        text-align: right;
        border: 1px solid #DDDDDD;
        background: #FAFAFA;
    }
        .table-form > tbody > tr > th.w15 {
            width: 150px;
        }
    .table-form > tbody > tr > td {
        padding:12px 10px;
        color: #666666;
        border: 1px solid #DDDDDD;
    }
    .table-form > tbody > tr > td.fg {
        height:5px;
        padding:0;
        background:#EEEEEE;
    }
        .table-form > tbody > tr > td > select {
            float: left;
            height: 38px;
            line-height:38px;
            padding: 0 0 0 10px;
            background: #FFFFFF;
            border: 1px solid #CCCCCC;
            -moz-border-radius: 2px;
            -webkit-border-radius: 2px;
            border-radius: 2px;
        }
        .table-form > tbody > tr > td > input {
            float:left;
            width: 280px;
            height: 36px;
            padding: 0 9px;
            color:#333333;
            font-size:14px;
            background: #FFFFFF;
            border: 1px solid #CCCCCC;
            -moz-border-radius: 2px;
            -webkit-border-radius: 2px;
            border-radius: 2px;
        }
            .table-form > tbody > tr > td > input.warning {
                border: 1px solid #C09853;
                -webkit-box-shadow: 0 0 3px #C09853;
                -moz-box-shadow: 0 0 3px #C09853;
                box-shadow: 0 0 3px #C09853;
            }
            .table-form > tbody > tr > td > input.checkbox{
                margin: 5px 10px 0 0;
                width:26px;
                height:26px;
            }
        .table-form > tbody > tr > td input.w8 {
            width: 80px;
        }
        .table-form > tbody > tr > td input.w10 {
            width: 100px;
        }
        .table-form > tbody > tr > td input.w15 {
            width: 150px;
        }
        .table-form > tbody > tr > td input.w20 {
            width: 200px;
        }
        .table-form > tbody > tr > td input.w30 {
            width: 300px;
        }
        .table-form > tbody > tr > td input.w50 {
            width: 500px;
        }
        .table-form > tbody > tr > td input.w5x {
            width: 50%;
        }
        .table-form > tbody > tr > td input.w9x {
            width: 90%;
        }
        .table-form > tbody > tr > td input.w98x {
            width: 98%;
        }
        .table-form > tbody > tr > td > textarea {
            width: 98%;
            height: 200px;
            padding: 5px 10px;
            color: #333333;
            font-size: 14px;
            background: #FFFFFF;
            border: 1px solid #CCCCCC;
            -moz-border-radius: 2px;
            -webkit-border-radius: 2px;
            border-radius: 2px;
        }
        .table-form > tbody > tr > td > i.fa-question-circle-o {
            display: inline-block;
            padding: 8px 5px;
            cursor: pointer;
            font-size: 20px;
            color:#999999;
        }
        .table-form > tbody > tr > td.rs {
            padding:5px 10px;
            font-size:12px;
            line-height:18px;
        }
        .table-form > tbody > tr > td > a {
            display: inline-block;
            height: 38px;
            line-height: 38px;
        }
        .table-form > tbody > tr > td > button {
            margin-right: 10px;
        }
        .table-form > tbody > tr > td.checkbox > label {
            display: inline-block;
            position: relative;
            height: 30px;
            line-height: 30px;
            border: 1px solid #E1E1E1;
            border-radius: 3px;
            font-size: 13px;
            color:#999999;
            padding: 3px 10px 3px 30px;
        }
            .table-form > tbody > tr > td.checkbox > label > input {
                position:absolute;
                top:12px;
                left:10px;
            }

.table-filter>tbody>tr>th{
    width: 120px;
}
.table-filter>tbody>tr>td>em{
    float: left;
    padding: 0 5px;
    line-height: 38px;
    font-style:normal;
}

#winbg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9;
}
#winform {
    position: fixed;
    top: 20%;
    left: 50%;
    margin-left: -25%;
    width: 50%;
    height: auto;
    background: #FFFFFF;
    border-radius: 3px;
    padding: 20px;
    box-sizing: border-box;
    z-index: 99;
}
    #winform > b.title {
        display: block;
        height: 30px;
    }
    #winform > i.fa-close {
        position: absolute;
        top: -15px;
        right: -15px;
        display: block;
        width: 30px;
        height: 30px;
        text-align: center;
        line-height: 28px;
        border-radius: 30px;
        font-style: normal;
        font-size: 16px;
        color: #666666;
        cursor: pointer;
        background: #FFFFFF;
        -webkit-box-shadow: 0 0 5px #999999;
        -moz-box-shadow: 0 0 5px #999999;
        box-shadow: 0 0 5px #999999;
    }
        #winform > i.fa-close:hover {
            color: #CC0000;
        }
    #winform > div.form {
        padding: 10px 0;
    }
        #winform > div.form > textarea {
            width: 100%;
            height: 100px;
            padding: 10px;
            line-height: 20px;
            border: 1px solid #E2E2E2;
            box-sizing: border-box;
            border-radius: 3px;
        }
    #winform > div.forms {
        padding: 0;
    }
        #winform > div.forms > span {
            position: relative;
            margin:10px 0;
            display: block;
            height: 40px;
            padding: 0 10px 0 100px;
            border: 1px solid #E2E2E2;
            box-sizing: border-box;
            border-radius: 3px;
        }
            #winform > div.forms > span > b {
                position: absolute;
                top: 0;
                left: 10px;
                display: block;
                width: 80px;
                height: 40px;
                line-height: 36px;
                font-weight: normal;
                color: #666666;
                text-align:right;
            }
            #winform > div.forms > span > input, #winform > div.forms > span > select {
                width: 100%;
                height: 38px;
                line-height: 38px;
                border: none;
                outline: none;
                background: none;
            }
    #winform > span.button {
        display: block;
        height: 40px;
        text-align: center;
    }

/* 日志容器 */
.log-container {
    width: 100%;
    height: 400px;
    overflow-y: auto;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    padding: 10px;
    box-sizing:border-box;
}
/* 日志条目 */
.log-entry {
    padding: 4px 0;
    margin: 2px 0;
}
/* 日志时间 */
.log-time {
    color: #999;
    margin-right: 15px;
    display: inline-block;
    width: 80px;
}
/* 不同类型的日志文字颜色 */
.log-info {
    color: #333;
}
.log-success {
    color: #28a745;
}
.log-warning {
    color: #ffc107;
}
.log-error {
    color: #dc3545;
}
/* 等待连接的特殊样式 */
.log-container .log-entry:first-child {
    color: #999;
    font-style: italic;
}