﻿@import url("https://fonts.googleapis.com/css2?family=Open+Sans");

.table-container {
    border: 1px solid #F0F2F3;
    box-sizing: border-box;
    border-radius: 6px;
    margin-bottom: .5rem;
    /* max-height: calc(100vh - 170px); */
    max-height: calc(100% - 70px);
    overflow-y: auto;
    padding: 0px;
}

.table-responsive thead tr th:first-child {
    border-top-left-radius: 6px;
}

.table-responsive thead tr th:last-child {
    border-top-right-radius: 6px;
}

.table > :not(caption) > * > * {
    /*padding-top: 15px !important;
    padding-bottom:15px !important;*/
    background-color: var(--bs-table-bg);
    border-bottom-width: unset !important;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

table > thead {
    font-family: Open Sans !important;
    font-style: normal !important;
    font-weight: 600 !important;
    font-size: 0.825em !important;
    color: #000000 !important;
    vertical-align: middle !important;
}

    table > thead > tr, table > tbody > tr {
        border-bottom: 1px solid #F0F2F3 !important;
    }

        /* table > tbody > tr:last-child {
            border-bottom: none !important;
        } */

        table > thead > tr > th > div {
            display: flex;
            justify-content: space-evenly;
            align-items: center;
        }

        table > thead > tr > th {
            position: -webkit-sticky; /* for Safari */
            position: sticky;
            top: 0;
            z-index: 1;
            background-color: var(--primary-color-btn) !important;
            color: var(--text-color-white);
            font-variation-settings: 'wght' 600;
        }

.clickable {
    cursor: pointer !important;
}

.data-row {
    font-style: normal;
    font-weight: normal;
    font-size: 0.875em;
    line-height: 16px;
    color: #000000;
    vertical-align: middle;
}

    .data-row > td:first-child {
        text-align: center;
    }

    .data-row.selected-row {
        background: var(--background-color-light-grey);
    }

    .data-row.group-header {
        color: black;
        background-color: #f7f7f9;
        padding: .825em .825rem;
        cursor: pointer;
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
        max-height: 3.5em;
    }

        .data-row.group-header > td > .group-header-content {
            font-family: Open Sans !important;
            font-style: normal !important;
            font-weight: 600 !important;
            font-size: 1em !important;
            max-height: 3.5em;
            /*display: flex;
            align-items: center;
            justify-content: space-between;*/
        }

.table-action-buttons {
    font-size: 1.3em;
}

    .table-action-buttons > i {
        cursor: pointer;
    }

        .table-action-buttons > i:hover {
            text-shadow: 0 0 7px rgb(53 104 141)
        }

    .table-action-buttons > .table-action-button {
        cursor: pointer;
    }

        .table-action-buttons > .table-action-button:hover {
            text-shadow: 0 0 7px rgb(53 104 141)
        }
