﻿.zg-editbox {
    height: 24px;
    border: 1px solid #dddddd;
    width: 100%;
}

.zg-export, .zg-chart {
    cursor: pointer;
    color: gray;
    margin-left: 2px;
}

.zg-export:hover, .zg-chart:hover {
    color: green;
}

.zg-main {
    display: inline-block;
    width: 100%;
}

.zg-main:after {
    content: '';
    display: block;
    clear: both;
}

.zg-container {
    position: relative;
    overflow-x: auto;
    overflow-y: auto;
}

.zg-onclickrow td {
    background-color: #f5f5f5;
    /*font-weight: bolder;*/
    /*color: orange;*/
}

.zg-onclickrow .selected {
    background-color: #eeeeee;
}

.zg-expand {
    cursor: pointer;
}

.zg-detailrow {
    display: none;
}

.img-sort {
    cursor: pointer;
    height: 12px;
}

.img-search {
    color: #67d685;
}

.table th > .fa {
    cursor: pointer;
    margin: 0 2px;
}

.paper_new {
    background-color: white;
    border: 1px solid #d4d4d4;
    -moz-box-shadow: 2px 2px 4px #e5e5e5; /*firefox*/
    -webkit-box-shadow: 2px 2px 4px #e5e5e5; /*safari或chrome*/
    -ms-box-shadow: 2px 2px 4px #e5e5e5;
    box-shadow: 2px 2px 4px #e5e5e5; /*opera或ie9*/
}

.popupcontent {
    position: absolute;
    visibility: hidden;
    /*overflow: hidden;*/
}

.container-main {
    /*考虑到标题栏文字，请自行设置padding-top为35像素*/
    /*padding-top: 35px;*/
    background: url('/Scripts/jquery.zl.datagrid/images/bg-container-main.png') repeat-x top left;
    background-color: white;
}

.container-main-title {
    line-height: 35px;
    font-weight: bold;
    padding: 0 8px 0 8px;
}

.container-main-title-close {
    float: right;
    color: black;
    font-size: 22px;
    text-decoration: none;
}

.zg-pageinfo {
    font-weight: normal;
    float: left;
    line-height: 29px;
    color: #b9b9b9;
}
.zg-pagejump{
    font-weight: normal;
    float: right;
    line-height: 29px;
    margin-left: 8px;
    color: #b9b9b9;
}

.zg-pager {
    padding: 4px;
}

.zg-footer {
    /*text-align: center;
    font-size: 18px !important;
    color: #cccccc;
    padding: 18px 0 !important;*/
}

.zg-footer-tip {
    text-align: center;
    font-size: 18px !important;
    color: #cccccc;
    padding: 18px 0 !important;
    display: none;
}

.zg-hidecol {
    display: none;
    /*width: 0 !important;*/
}

.table .fa-sort-down, .table .fa-sort-up {
    color: #67d685;
}

#quickSearchLayer {
    /*border-top: 1px solid #d3d3d3;*/
    /*border-bottom: 1px solid #d3d3d3;*/
    /*border-right: 1px solid #d3d3d3;*/
    float: right;
    /*font-size: 8px;*/
    background-color: white;
    padding: 6px 2px 0 0;
    height: 37px;
}

.table {
    color: rgba(0,0,0,0.75);
    table-layout: fixed;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin-bottom: 0px;
}

.table thead > tr {
    height: 36px;
}

.table thead > tr > th {
    font-weight: 600;
    padding-top: 10px;
    background-color: #FBFBFB;

}

.table tbody > tr > td {
    padding-top: 11px;
    height: 41px;
    font-weight:normal;
}

.table-hover > tbody > tr:hover,.table-hover > tbody > tr.hover {
    background-color: #DFFFE8;
}

.table-hover > tbody > tr.active {
    background-color: #DFFFCC;
}

.table > thead > tr > td.active,
.table > tbody > tr > td.active,
.table > tfoot > tr > td.active,
.table > thead > tr > th.active,
.table > tbody > tr > th.active,
.table > tfoot > tr > th.active,
.table > thead > tr.active > td,
.table > tbody > tr.active > td,
.table > tfoot > tr.active > td,
.table > thead > tr.active > th,
.table > tbody > tr.active > th,
.table > tfoot > tr.active > th {
    background-color: #DFFFDD;
}

.table-hover > tbody > tr > td.active:hover,
.table-hover > tbody > tr > th.active:hover,
.table-hover > tbody > tr.active:hover > td,
.table-hover > tbody > tr:hover > .active,
.table-hover > tbody > tr.active:hover > th {
    background-color: #DFFFDD;
}

.table-nowrap tbody > tr > td {
    overflow: hidden;
    /*注釋掉*/
    /*text-overflow: ellipsis;*/
    white-space: nowrap;
    height: 41px;
    /*word-wrap: break-word;*/
    /*word-break: break-all;*/
}

.table-nowrap th {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /*word-wrap: break-word;*/
    /*word-break: keep-all;*/
}

.table-bordered > thead > tr > th, .table-bordered > thead > tr > td {
    border-bottom-width: 1px;
}

.zg-searchrow {
    background: #e9f5fc;
}

.zg-cell-image {
    height: 21px;
}

.zg-cell-image-view {
    width: 360px;
    background-color: white;
    padding: 8px;
    position: absolute;
    display: none;
    -ms-border-radius: 2px;
    border-radius: 2px;
    border: 1px solid #cccccc;
}

.zg-cell-image-view div:before {
    position: absolute;
    top: -16px;
    left: 168px;
    display: inline-block;
    content: "";
    border: 8px solid transparent;
    border-bottom-color: #cccccc;
}

.zg-cell-image-view div:after {
    position: absolute;
    top: -14px;
    left: 169px;
    display: inline-block;
    content: "";
    border: 7px solid transparent;
    border-bottom-color: white;
}

.zg-cell-image-container {
    margin-right: 6px;
    position: relative;
    display: inline-block;
}

.zg-cell-image-layer {
    color: white;
    top: 0;
    display: none;
    line-height: 21px;
    font-size: 14px;
    height: 21px;
    text-align: center;
    position: absolute;
    width: 100%;
    background-color: #000000;
    background-color: rgba(0, 0, 0, 0.5);
}

.table > tbody > tr.edit > td {
    padding-top: 8px;
    padding-bottom: 8px;
    height: 41px;
}