.company_device_table
{
    width: 100%;

    border-collapse: collapse;

    table-layout: auto;
}

.company_device_table th
{
    text-align: left;

    padding: 8px 10px;

    background: #c8d0d8;

    border-bottom: 2px solid #707070;

    font-weight: bold;

    white-space: nowrap;
}

.company_device_table td
{
    text-align: left;

    padding: 8px 10px;

    border-bottom: 1px solid #b0b0b0;

    vertical-align: middle;
}

.company_device_table tbody tr:hover
{
    filter: brightness(0.94);
}


/*--------------------------------------------------------------------*/
/* Device status colors.                                               */
/*--------------------------------------------------------------------*/

.device_online
{
    background: #b9e5b9;
}

.device_offline
{
    background: #efb2b2;
}

.device_no_data
{
    background: #f4d88a;
}


/*--------------------------------------------------------------------*/
/* Values and timestamps are also left aligned.                        */
/*--------------------------------------------------------------------*/

.numeric
{
    text-align: left;
}

.timestamp
{
    text-align: left;

    white-space: nowrap;
}


.company_device_table th:nth-child(1)
{
    width: 25%;
}

.company_device_table th:nth-child(2)
{
    width: 10%;
}

.company_device_table th:nth-child(3)
{
    width: 12%;
}

.company_device_table th:nth-child(4)
{
    width: 8%;
}

.company_device_table th:nth-child(5)
{
    width: 14%;
}

.company_device_table th:nth-child(6)
{
    width: 7%;
}

.company_device_table th:nth-child(7)
{
    width: 6%;
}

.company_device_table th:nth-child(8)
{
    width: 12%;
}

.company_device_table th:nth-child(9)
{
    width: 6%;
}

.company_device_table th:nth-child(10)
{
    width: 12%;
}

.company_device_table th:nth-child(2)
{
    width: 120px;
}

.company_device_table th:nth-child(4)
{
    width: 100px;
}

.company_device_table th:nth-child(5)
{
    width: 170px;
}

.company_device_table th:nth-child(6)
{
    width: 80px;
}

.company_device_table th:nth-child(7)
{
    width: 70px;
}

.company_device_table th:nth-child(8)
{
    width: 170px;
}

.company_device_table th:nth-child(9)
{
    width: 70px;
}

.company_device_table th:nth-child(10)
{
    width: 170px;
}

