.table {
    position: relative;
    border: 1px solid black;
    width: 100%;    
}

.table .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
    z-index: 2;
    display: none;
    
}

.table .row, .table .headerrow {
    border-bottom: 1px solid #A0A0A0;
    height: 20px;
    white-space: nowrap;
}

.table .row {
    cursor: pointer;
}

.table .row .hover {
    background: url('ztimgs/back1.gif');
    color: #f0e0c0;
}


.table .headerrow { 
  height: 22px; 
  border-bottom: 1px solid black;
}

.table .ascending, .table .descending {
    width: 16px;
    height: 16px;
    top: 2px;
    position: absolute;
    right: 2px;
}

.table .ascending  {
    background: url(ztimgs/order-asc.gif);
}

.table .descending  {
    background: url(ztimgs/order-desc.gif);
}

.table .cell {
    font-size: 14px;
    border-right: 1px solid #A0A0A0;

    background-color: #f0f0f0;
    height: 18px;
    float: left;
    padding: 1px 4px;
    color: #000000;
    overflow: hidden;
}

.table .tmp .cell { background-color:orange; }

.table .header {
    background: url(ztimgs/back-strip.gif);
    border-right: 1px solid black;
    line-height: 20px;
    float:left;
    padding: 1px 4px;
    background-color: #405060;
    color: #ffffa0;
    text-align: center;
    font-weight: bold;
    overflow: hidden;
    cursor: pointer;
    position: relative;    
}

.table .header:hover {
    background: url(ztimgs/back-strip-hover.gif);
    color:  white;
}

.table .resize {
    cursor: col-resize;
    width: 8px;
    height: 22px;
    position: absolute;
    z-index: 3;
}

.table .scroll {
    z-index: 1;
    background-color: #A0A0A0;
    background: url(ztimgs/back-scrollbar.gif);
    border-left: 1px solid #404040;
    position: absolute;
    right: 0px;
    width: 20px;
    height: 100%;
    display: none;    
}

.table .scroll .drag_container {
    position:relative;
}


.table .scroll .drag {
    position: absolute;
    width: 18px;
    height: 22px;
    border: 1px solid #808080;
    background: url(ztimgs/back-scroll.gif);
    background-repeat: no-repeat;
    background-position: center;
    background-color: #b0b0b0;
}

.table .scroll .buttonup, .table .scroll .buttondn {
    width: 20px;
    height: 22px;
    background-color: #CCCCCC;
}

.table .scroll .buttonup { 
  border-bottom: 1px solid #606060; 
  background: url(ztimgs/scroll-up.gif) no-repeat -1px 0px;
}

.table .scroll .buttondn {
    position: absolute;
    border-top: 1px solid #606060;
    bottom: 0px;
    background: url(ztimgs/scroll-down.gif) no-repeat -1px 0px;
}

.table .tip {
    position: absolute;
    color: black;
    border: 1px solid black;
    background-color: #FFFFC0;
    z-index: 3;
    padding: 1px 4px;
    font-size: 12px;
    display: none;
}

.table .field {
    position: absolute;
    z-index: 3;
    display: none;
    height: 21px;
}

.table .field input {
    font-family: Arial;
    font-size: 14px;
}

.table .field input {
    border: 1px solid black;
    padding: 1px 0px 1px 4px;
    background: url(ztimgs/input.gif);
}

.table .status {
    height: 14px;
    background-color: #707070;
    color: #e0e0e0;
    font-size: 12px;
    padding-left: 8px;
    cursor: row-resize;
}


.table .status #message {
    float: left;
}

.table .status #loading {
    float: right;
    margin-right: 20px;
    padding: 0px 8px;
    background-color: #a08870;
    color: #400000;
    font-weight: bold;
    line-height: 14px;
    border-left: 1px solid #404040;
    border-right: 1px solid #404040;
    display: none;
}

#data {
    position: absolute;
    z-index: 10;
    top: 51px;
    left: 0px;
    width: 100%;
    height: 450px;
    visibility: hidden;
    background-color: white;
}

#header {
    border-bottom: 1px solid black;
    height: 50px;
    z-index: 99;
    background-color: #F0F0F0;
}
