﻿/*表格样式*/
.mytable-wrapper { overflow: auto; padding-right: 5px; margin-top:10px;}
.mytable { border-collapse: collapse; margin: 10px auto 5px 0px; }
.mytable thead { border-bottom: solid 2px; border-top: solid 1px; border-left: solid 1px; border-color: #e5e5e5 }
/*表头*/
.thead th { text-align: center; padding: 5px 0px 5px 0px; border-right: solid 1px; font-weight: bold; border-color: #e5e5e5 }
/*表头单元格*/

.mytable tbody { border-left: solid 1px; border-color: #e5e5e5 }
.mytable tbody tr td { border-right: solid 1px; border-bottom: solid 1px; border-color: #e5e5e5;min-height:35px;height:auto;padding:5px; }
.mytable tbody tr:nth-child(2n) { background: #faf7f7 }
.trlist td.tdc { text-align: center; }
.trlist td.tdl { text-align: left; padding-left: 5px; }

@media (max-width: 768px) {
/*手机端和PC端的表格自适应显示 20181010*/
    .autosize .box-body { padding: 0;margin:0;/*border:solid 1px green;*/}
    .autosize .mytable-wrapper { margin: 5px 0px 5px 5px;/*border:solid 1px red;*/ }

    .autosize .mytable { width: 100% !important; margin: 0 auto; }
    /*.autosize .mytable thead th{ width: auto !important; }*/
    .autosize .mytable td { display: block; clear: both; text-align: left;padding:5px; border-bottom:solid 1px #fff;}
    .autosize .mytable tbody tr.trlist:nth-child(2n+1) { background: #387938;color:#fff; border-bottom: solid 5px #fff; }
    .autosize .mytable tbody tr.trlist:nth-child(2n) { background: #808080;color:#fff;border-bottom: solid 5px #fff; }
    .autosize .mytable thead { display: none; }
    .autosize .mytable td:before { content: attr(data-label); float: left; text-transform: uppercase; font-weight: bold; }
    .autosize .mytable a { color:#e0f92a;font-size:14px; /*font-weight:bold;text-decoration:underline;*/}
    /*.autosize .mytable td.operator {background:#fff;color:#000000;}
    .autosize .mytable td.operator a {color:#3b8cd2;}*/
    .autosize .mytable tr.trlist.info { background: #e5e5e5 !important; border-bottom: none !important; }
}