﻿table
{
    margin: 0;
    padding: 0;
    /*font-family: Arial;*/
    font-size: 12px;
    text-align: left;
    width: 100%;
    border: none;
}

th
{
    border: none;
}

    th.nobg
    {
        border-top: 0;
        border-left: 0;
        /*border-right: 1px solid #C1DAD7;*/
        background: none;
    }


    th.spec
    {
        border-left: 1px solid #C1DAD7;
        border-top: 0;
        background: #fff no-repeat;
    }

    th.specalt
    {
        border-left: 1px solid #C1DAD7;
        border-top: 0;
        background: #f5fafa;
        color: #797268;
    }

td
{
    border: none;
}


/* -- PARAGENS -- */

.listTableTdRightBorder td:not(:last-child)
{
    border-right: 1px solid black;
}

.listTableRightBorder td:not(:last-child), .listTableRightBorder th:not(:last-child)
{
    border-right: 1px solid black;
}

.listTable
{
    text-align: left;
}

    .listTable tr
    {
        height: 10px;
        color: #333333;
        background: #cccccc;
        white-space: nowrap;
    }

        .listTable tr.par
        {
            color: #333333;
            background-color: white;
        }

            .listTable tr:hover, .listTable tr.par:hover
            {
                color: white;
                background: darkorange;
            }

    .listTable a
    {
        color: #808080;
    }

        .listTable a:hover
        {
            color: white;
        }


    .listTable td
    {
        white-space: nowrap;
        overflow: hidden;
        padding: 5px;
    }

    .listTable th
    {
        overflow: hidden;
        white-space: nowrap;
        color: #FFF;
        background: #666;
        padding: 5px;
        text-align: left;
    }

.tdTipo
{
    width: 50px;
}

.tableStopsPager td
{
    background: #666666;
}

    .tableStopsPager td table
    {
        /*not working in chrome 
            width: 0;*/
        width: 1px;
    }

.emptyTable thead tr td
{
    padding: 5px;
}

.emptyTable td
{
    width: 100%;
    background: #ffffff;
    padding: 5px;
}

.emptyTable thead tr, .emptyTable thead:hover tr
{
    background: #666666;
    color: white;
}

.emptyTable tbody td, .emptyTable tbody:hover
{
    background: #fff;
    color: #000;
}

.emptyTable th
{
    padding: 5px;
}

/* -- FIM PARAGENS -- */


/* -- VIATURAS -- */
.seleccaoTable
{
    background-color: #FFFFFF;
    color: #000000;
    border: 1px solid darkorange;
}

    .seleccaoTable table, .seleccaoTable td, .seleccaoTable th
    {
        padding: 5px;
    }

/* -- FIM VIATURAS -- */

.gvContainer
{
    overflow: auto;
    margin: 0px;
}

    .gvContainer table td
    {
        border: none;
    }

.formTable td
{
    padding-top: 5px;
}


/* Tabelas de largura fixa*/
.listTableFixedWidth
{
    table-layout: fixed;
}

    .listTableFixedWidth tr
    {
        cursor: pointer;
    }

        .listTableFixedWidth tr td,
        .listTableFixedWidth tr th
        {
            width: 20%;
        }

    .listTableFixedWidth td
    {
        overflow: hidden;
    }

    /*coluna mais larga*/
    .listTableFixedWidth tr td.large,
    .listTableFixedWidth tr th.large
    {
        width: 40%;
    }

    /*coluna mais larga*/
    .listTableFixedWidth tr td.medium,
    .listTableFixedWidth tr th.medium
    {
        width: 30%;
    }
