﻿/*
    Defines scroll bar behavior and common table layouts and styles

    Other classes used:
    vc3-sort, sort-trigger: order by column by clicking on it (modified sortable library)
    project-table-row, task-table-row: filtering by search box/filters on advanced tables
    table, thead-dark, striped-table, money-cell, text-center: colors and formatting
*/

/*Table Common*/

.vc3-common-table {
    display: flex;
    flex-flow: column;
    width: 100%;
    max-height: 500px;
}

.vc3-common-tbody {
    flex: 1 1 auto;
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
}

.vc3-common-tr {
    width: 100%;
    display: table;
    table-layout: fixed;
}

/*Advanced Tables (Filter Table / Filter Task Table)*/

.vc3-advanced-th {
    height: 85px;
    vertical-align: top !important;
    font-weight: normal !important;
    padding-top: 20px !important;
}

.vc3-advanced-tbody {
    max-height: 440px;
}

/*Basic Tables (Every other table)*/

.vc3-basic-th {
    vertical-align: top !important;
}

/*Center whole row*/

.vc3-xcenter-tr td, .vc3-xcenter-tr th {
    text-align: center !important;
}

.vc3-ycenter-tr td, .vc3-ycenter-tr th {
    vertical-align: middle !important;
}