﻿.treeview-menu > li.active a { color: #E43A36 !important; }
.dataTables_wrapper { overflow: auto; }
.row { margin-right: 10px; }
.operator label a { margin-right: 5px; }
select.form-select { height: 28px; }
.disabled { color: #999; }
input { display: inline-block !important; }
.box-body .row {margin:0;}
.btn-notext { display: inline-block; width: auto; }
.form-span {margin-top:6px;display:inline-block;} /*表单中的文字*/

@media (max-width: 768px) {
    /*手机端样式优化*/

	div.dataTables_wrapper > div.row > div,
	div.dataTables_length,
	div.dataTables_filter,
	div.dataTables_info,
	div.dataTables_paginate {
		 text-align: left !important; 
	}

    /*不显示最上面的标题（公司名称），左侧导航栏自动上移*/
    .logo, .logo-lg { display: none !important; }
    .main-sidebar, .left-side { padding-top: 50px; }

    /*隐藏button上的文字，只保留一个icon图标 */
    button.btn-notext { width: 35px !important; display: inline-block; }
    button.btn-notext > span { display: none; }

    /*表格上面的行（搜索栏）文字靠左*/
    .search-box, .search-box div { text-align: left; }
    .row { margin-right: 0px !important; }
    .row div { padding-right: 5px; }
    .form-horizontal .form-group { margin-right: 10px; }
    /*手机端和PC端的表格自适应显示 2018-10-10后请使用mytable.css 里的样式 */
    .autosize .box-body { padding: 0 }
    .autosize .column12 { padding: 10px !important; }

    .autosize .table { width: 100% !important; margin: 0 auto; }

    .autosize .table td { display: block; clear: both; text-align: left !important; }
    .autosize .table tr:nth-child(2n+1) { background: #e5e5e5; border-bottom: solid 2px #808080; }
    .autosize .table thead { display: none; }
    .autosize .table td:before { content: attr(data-label); float: left; text-transform: uppercase; font-weight: bold; }

    .autosize div.dataTables_length { text-align: left; margin: 5px auto auto 5px; }
}
