﻿/*表格样式*/
.mytable-wrapper { overflow: auto; padding-right: 5px;margin-bottom:20px; }
.mytable { border-collapse: collapse; margin: 5px 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;*/ padding-top:5px;padding-bottom:5px;}
.mytable tbody tr:nth-child(2n+1) { background: #e5e5e5; }
.trlist td.tdc { text-align: center; }
.trlist td.tdl { text-align: left; padding-left: 5px; }

.md-hidden{display:none;}

@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 tbody { border-left: none }
    .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-left:5px;padding-top:5px;padding-bottom:5px; /*height:35px;*/ border-bottom:solid 1px #ccc;border-right:none;}
    .autosize .mytable tr:nth-child(2n+1) { background: none;}
    .autosize .mytable tr:last-child td{border-bottom:none;}
    /*.mytable tbody tr:nth-child(2n) { background: none;}*/
    .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:#0094ff;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 a.btn {color:#fff;}

    /*20190411 增加 手机浏览器适配样式*/
    .md-hidden{display:normal !important;} /*在大屏幕中隐藏，小屏幕中显示*/
    .sm-hidden {display:none !important;} /*在小分辨率上隐藏*/

    label {width:auto;height:40px; /*margin:5px;border:solid 1px red;*/ }
    label input[type=text]{width:auto;}
}