﻿.table-container {
    width: 100%;
    height: auto;
    overflow-x: auto;
    position: relative;
    box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.2);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 5px;
    background-color: white;
}

.table-wrapper {
    width: 100%;
    position: relative;
}

table {
    border-collapse: collapse;
    height: 100%;
    width: 100%;
    background-color: white;
    box-sizing: border-box;
    table-layout: fixed;
}

    table thead {
        display: table-header-group;
        background-color: black;
    }

        table thead th {
            position: sticky;
            top: 0;
            height: 40px;
            padding: 0 12px;
            box-sizing: border-box;
            background: black;
            color: white;
            z-index: 3;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            padding: 0px;
            margin: 0px;
        }

    table tbody tr {
        height: 45px;
        padding: 0px;
        margin: 0px;
    }

        table tbody tr:hover {
            cursor: pointer;
            background-color: rgba(51, 51, 51, 0.1);
        }

        table tbody tr td {
            color: rgba(51, 51, 51, 0.75);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        table tbody tr:nth-child(odd) {
            background-color: #f9fafb;
        }

            table tbody tr:nth-child(odd):hover {
                background-color: rgba(51, 51, 51, 0.1);
            }

        table tbody tr:nth-child(even) {
            background-color: white;
        }

            table tbody tr:nth-child(even):hover {
                background-color: rgba(51, 51, 51, 0.1);
            }

.row-default.tabela-principal-head {
    background-color: black !important;
    height: 40px;
}

.row-default.tabela-principal-head-th {
}

    .row-default.tabela-principal-head-th h2 {
        font-size:14px;
        margin: 0px;
        color: white !important;
    }

        .row-default.tabela-principal-head-th h2:hover {
            cursor: pointer;
        }

.row-default.tabela-principal-body-td h2 {
    margin: 0px;
    color: rgba(51, 51, 51, 0.7);
}

.row-default.tabela-principal-body-td:hover h2 {
    margin: 0px;
    color: rgba(51, 51, 51, 1);
}


.ImgAcaoOn {
    display: none;
    height: 18px;
    width: auto;
}

.ImgAcaoOff {
    display: flex;
    height: 18px;
    width: auto;
}


table tbody tr:hover .ImgAcaoOn {
    display: flex;
}

table tbody tr:hover .ImgAcaoOff {
    display: none;
}

.tabela-img-order {
    height: 17px;
    width: auto;
}

select.rodape {
    height: 25px;
    max-width: 60px;
    text-align: center;
    -webkit-appearance: none;
    -moz-appearance: none;
}



table tbody tr:nth-child(odd) .btn-icone.tabela {
    background-color: #f9fafb;
}

.btn-icone.tabela  {
    position:inherit;
}

    .btn-icone.tabela img {
        height: 13px !important;
        width: auto !important;
        transition: height 0.3s ease, width 0.3s ease;
    }

    .btn-icone.tabela:hover img {
        height: 16px !important;
        width: auto !important;
    }