/*
 * table.datalist
 */
table.datalist {
    border: 1px solid #999;
    margin: 0 0 1em 0;
    border-collapse: collapse;
    width: 100%;
}

table.datalist td.label {
    background-color: #333;
}

table.datalist td.numeric {
    text-align: right;
    white-space: nowrap;
}

/*
 * table.datalist thead
 */
table.datalist thead th {
    background-color: #eee;
    padding: 0.2em 0.5em;
    border-bottom: 1px solid #999;
    border-right: 1px solid #999;
    font-weight: 700;
    text-align: center;
}

table.datalist thead td {
    padding: 0.2em 0.5em;
}

table.datalist thead td.header {
    text-align: right;
    font-weight: 700;
    background-color: #ccc;
    border-bottom: 1px solid #999;
}

table.datalist thead td.toolbar {
    text-align: right;
    background-color: #e4e5fb;
    border-bottom: 1px solid #999;
}

/*
 * table.datalist tfoot
 */

table.datalist tfoot td {
    font-weight: 700;
    border: 1px solid #999;
    padding: 0.05em 0.3em;
}

table.datalist tfoot td.footer {
    text-align: center;
    font-style: italic;
    font-weight: 400;
}


/*
 * table.datalist tbody
 */
table.datalist tbody tr td {
    padding: 0.05em 0.3em;
    border-left: 1px solid #999;
    border-bottom: 1px solid #999;
}

table.datalist tbody tr.disabled td {
    text-decoration: line-through;
}

table.datalist tbody td.iconcell {
    text-align: center;
}

table.datalist tbody tr.zebra:nth-child(2n) td {
    background-color: #fff;
}

table.datalist tbody tr.zebra:nth-child(2n+1) td {
    background-color: #f9f9f9;
}

table.datalist tbody tr.zebra:hover td {
    background-color: #ff9;
}

table.datalist tbody tr.zebra th {
    background-color: #eee;
}


/*
 * toolbar
 */
table.datalist thead td.toolbar .tool {
    margin-left: 5px;
    padding-left: 10px;
    border-left: 1px solid #999;
    white-space: nowrap;
}
table.datalist thead td.toolbar .tool img {
    vertical-align: middle;
}

table.datalist thead td.toolbar .tool a {
    color: #c40000;
}

table.datalist thead td.toolbar .tool a:hover {
    color: #f40000;
    text-decoration: none;
}
table.datalist thead td.toolbar .tool span.pagertext {
    font-weight: 700;
}

table.datalist thead td.toolbar .tool input.pagertextbox {
    border: none;
    text-align: center;
    vertical-align: middle;
    font-size: 90%;
}

table.datalist thead td.toolbar .tool form {
    display: inline-block;
}

