﻿.table-container-2 {
    width: 100%;
    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-2 {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: auto;
}

.table-2 {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    height: 100%;
    width: 100%;
    background-color: white;
    box-sizing: border-box;
    table-layout: fixed;
}

    .table-2 thead {
        display: table-header-group;
        background-color: black;
    }

        .table-2 thead th {
            position: sticky;
            top: 0;
            height: 40px;
            padding: 0 12px;
            box-sizing: border-box;
            background: #f8f9fe;
            color: white;
            z-index: 3;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            padding: 0px;
            margin: 0px;
        }

    .table-2 tbody tr {
        height: 45px;
        padding: 0px;
        margin: 0px;
    }

        .table-2 tbody tr:hover {
            cursor: pointer;
            background-color: rgba(51, 51, 51, 0.1);
        }

        .table-2 tbody tr td {
            color: rgba(51, 51, 51, 0.75);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }


        .table-2 tbody tr:nth-child(odd) {
            background-color: #f9fafb;
        }

            .table-2 tbody tr:nth-child(odd):hover {
                background-color: rgba(51, 51, 51, 0.1);
            }

        .table-2 tbody tr:nth-child(even) {
            background-color: white;
        }

            .table-2 tbody tr:nth-child(even):hover {
                background-color: rgba(51, 51, 51, 0.1);
            }

.row-default.tabela-principal-head {
    background-color: rgba(51, 51, 51, 0.9) !important;
    height: 40px;
}

.row-default.tabela-principal-head-th {
}

    .row-default.tabela-principal-head-th h2 {
        margin: 0px;
        color: rgba(51, 51, 51, 0.9) !important;
        font-weight:bold;
    }

        .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);
}



.ImgAcaoOn {
    display: none;
    height: 18px;
    width: auto;
}

.ImgAcaoOff {
    display: flex;
    height: 18px;
    width: auto;
}


.table-2 tbody tr:hover .ImgAcaoOn {
    display: flex;
}

.table-2 tbody tr:hover .ImgAcaoOff {
    display: none;
}