/* define height and width of scrollable area. Add 16px to width for scrollbar          */
.tableContainer {
    clear: both;
    border: 1px solid #fcc1b8;
    overflow: auto;
    width:auto;
}

/* Reset overflow value to hidden for all non-IE browsers. */
.tableContainer {
    overflow: hidden;
}

.tableContainer table{
    border-spacing:0;
}

/* set table header to a fixed position. WinIE 6.x only                                       */
/* In WinIE 6.x, any element with a position property set to relative and is a child of       */
/* an element that has an overflow property set, the relative value translates into fixed.    */
/* Ex: parent element DIV with a class of tableContainer has an overflow property set to auto */
.tableContainer table thead tr {
    position: relative
}

/* set THEAD element to have block level attributes. All other non-IE browsers            */
/* this enables overflow to work on TBODY element. All other non-IE, non-Mozilla browsers */
.tableContainer table thead tr {
    display: block
}

/* make the TH elements pretty */
.tableContainer table thead th {
    background: #fcc1b8;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    border-top: 1px solid #fff;
    font-weight: normal;
    padding: 2px 4px 2px 4px;
    text-align: left;
    font-size:12px;
    color:#fff;
}

/* make the A elements pretty. makes for nice clickable headers                */
.tableContainer table thead a, .tableContainer table thead a:link, .tableContainer table thead a:visited {
    color: #FFF;
    display: block;
    text-decoration: none;
    
}

/* make the A elements pretty. makes for nice clickable headers                */
/* WARNING: swapping the background on hover may cause problems in WinIE 6.x   */
.tableContainer table thead a:hover {
    color: #FFF;
    display: block;
    text-decoration: underline;
    
}

/* define the table content to be scrollable                                              */
/* set TBODY element to have block level attributes. All other non-IE browsers            */
/* this enables overflow to work on TBODY element. All other non-IE, non-Mozilla browsers */
/* induced side effect is that child TDs no longer accept width: auto                     */
.tableContainer table tbody{
    display: block;
    overflow: auto;
    
}

/* make TD elements pretty. Provide alternating classes for striping the table */
/* http://www.alistapart.com/articles/zebratables/                             */
.tableContainer table tbody tr:nth-child(odd) td{
    background: #b8eafc;
    border-bottom: none;
    border-left: none;
    border-right: 1px solid #CCC;
    border-top: 1px solid #DDD;
    padding: 2px 4px 2px 4px;
    font-size:12px;
}

.tableContainer table tbody tr:nth-child(even) td{
    background: #dedcb2;
    border-bottom: none;
    border-left: none;
    border-right: 1px solid #CCC;
    border-top: 1px solid #DDD;
    padding: 2px 4px 2px 4px;
    font-size:12px;
}