.jg {
  position: relative;
  border: 1px solid #ccc;
  padding-top: 37px;
  border-radius: 5px;
  background: #fff;
}
.jg.positioned {
  position: absolute;
  top:100px;
  left:100px;
  width:800px;
  box-shadow: 0 0 15px #333;
}
.jgd {
  overflow-y: auto;
//  height: 400px;
}
.jg table {
  border-spacing: 0;
  width:100%;
}
.jg td {
  border-left:1px solid #eee;
}
.jg td,.jg th {
  border-bottom:1px solid #eee;
//  background: #ddd;
  color: #000;
  padding: 10px 25px;
}
.jg th {
  height: 0;
  line-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  color: transparent;
  border: none;
  white-space: nowrap;
  background:#eee;
}
.jg th div{
  position: absolute;
  color: #000;
  padding: 9px 25px;
  top: 0;
  margin-left: -25px;
  line-height: normal;
//  border-left: 1px solid #800;
}
.jg th:first-child div{
  border: none;
}


.jg tr:hover
{
    background: #eeeeee;
    cursor: pointer;
}

.jg tr:hover td{
    color: #000000;
}

.trselected
{
    background: #666666 ;
}

.trselected td
{
    color: #ffffff;
}

.jgbg
{
    width:100%;
    height:37px;
    background: #dddddd;
    position: absolute;
    top :0;    
}