﻿body {
}

table {
    border: 2px solid #4d4d4d;
    margin-bottom: 3px;
    margin-top: 1em;
    border-radius: .25em .25em .25em .25em;
}

    table caption {
        color: #808080;
        text-align: left;
        font-weight: bold;
    }

    table th, table th a {
        background-color: #4d4d4d;
        color: white;
        padding: 0 .2em .1em .2em;
    }

        table th a:hover {
            color: #aba;
        }

        table th.asc, table th.desc {
            padding-right: 16px;
            background-repeat: no-repeat;
            background-position: right center;
        }

        table th.asc {
            background-image: url('/resources/img/icon/asc.png');
        }

        table th.desc {
            background-image: url('/resources/img/icon/desc.png');
        }

    table tr td {
        border: 0px solid #808080;
        color: #808080;
        padding: 0 .3em;
    }

        table tr td a:hover {
            text-decoration: none;
        }

    table tr.impar {
        background-color: #f2f2f2;
    }

        table tr.impar td {
            border: 0px solid white;
            color: Black
        }

        table tr.impar input, table tr.impar select, table tr.impar textarea {
            background-color: #f2f2f2;
        }

            table tr.impar input[type=submit] {
                background-color: #ccc;
            }

    table table {
        border: 0;
    }

    table.tablaBordes {
        border: 0
    }

        table.tablaBordes thead tr th {
            border-right: 1px solid white;
        }

            table.tablaBordes thead tr th:last-of-type {
                border-right: 0px solid;
            }

        table.tablaBordes tr {
            border: 1px solid #4d4d4d;
        }

            table.tablaBordes tr td {
                border-right: 1px solid #ddd;
            }

            table.tablaBordes tr.impar td {
                border-right: 1px solid white;
            }

            table.tablaBordes tr td:last-of-type {
                border-right: 0px solid;
            }

        table.tablaBordes tfoot tr {
            font-weight: bold;
            border-width: 2px 1px;
            background-color: #ddd;
        }

            table.tablaBordes tfoot tr td {
                border-right: 1px solid white;
            }
