/*
*  --------------------------------------------------------------------------------------
*   Copyright(c) 2023 Joseph Jones,  MIT License @  https://opensource.org/licenses/MIT
*   --------------------------------------------------------------------------------------
*/
:root {
    --header-height: 56px;

    --header-bg-color: #334a65;
    --main-bg-color: #e6edf5;
    --sidebar-bg-color: #f2f5f7;
    --border-color: #c8c8c8;
    --table-header-bg-color: #e5e2e2;

    --icon-grey: #646464;
    --text-darkgrey: rgb(16, 16, 16);
    --text-highlight: #fdffc4;

    --pass-bg-color: #018301;
    --fail-bg-color: #df3639;
    --skip-bg-color: #777777;
}

.body {
    padding-top: var(--header-height);
}

.top-header {
    height: var(--header-height);
    width: 100%;
    background-color: var(--header-bg-color);
    color: white;
    padding: 0px;
    position: fixed;
    top: 0px;
    left: 0px;
}

.dashboard-title {
    position: fixed;
    left: 100px;
    top: 8px;
    font-size: 24px;
    padding: 0px;
}
.test-suite-result {
    position: fixed;
    left: 100px;
    top: 15px;
    font-size: 18px;
    padding: 3px 20px 5px 20px;
}

.main-view {
    height: calc(100% - var(--header-height));
    width: calc(100% - 96px);
    min-width: 1200px;
    min-height: 400px;
    background-color: var(--main-bg-color);
    position: fixed;
    top: var(--header-height);
    left: 96px;
    border-style: none solid none none;
    border-width: 1px;
    border-color: var(--border-color);
    overflow: scroll;
    padding: 14px;
}

.sidebar {
    height: 100%;
    width: 96px;
    background-color: var(--sidebar-bg-color);
    position: fixed;
    top: var(--header-height);
    left: 0px;
    border-style: none solid none none;
    border-width: 1px;
    border-color: var(--border-color);
    padding-top: 0px;
}

.sidebar ul {
    list-style-type: none;
    display: block;
}

.sidebar ul li {
    margin-top: 40px;
    margin-bottom: 40px;
}

.btn,
.card-title,
.card-body,
.card-footer {
    font-size: 12px;
}

.card-body {
    padding: 0.5rem 1rem;
}

.card-title {
    font-weight: bold;
    margin-bottom: 20px;
}

.card-footer {
    min-height: 32px !important;
    background-color: white;
}

.number-col {
    width: 25px;
    text-align: center;
}

.status-col {
    width: 55px;
    text-align: center;
}

.badge-pass {
    color: white;
    background-color: var(--pass-bg-color);
    border-radius: 2px;
}

.badge-fail {
    color: white;
    background-color: var(--fail-bg-color);
    border-radius: 2px;
}

.badge-skip {
    color: white;
    background-color: var(--skip-bg-color);
    border-radius: 2px;
}

.table {
    width: 100% !important;
    margin-left: 0;
    margin-top: 25px;
}

.table {
    --bs-table-hover-bg: rgba(0, 0, 0, 0.04);
}

table tbody.big tr td {
    padding: 4px !important;
    padding-left: 5px !important;
}

.table>:not(caption)>*>* {
    padding: .25rem .25rem;
}

.table>tbody>tr.active>td {
    background: var(--text-highlight);
}

table th {
    background-color: var(--table-header-bg-color) !important;
}

.btn-outline-secondary {
    --bs-btn-color: var(--text-darkgrey);
    --bs-btn-border-color: var(--header-bg-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--text-darkgrey);
    --bs-btn-hover-border-color: var(--header-bg-color);
    --bs-btn-focus-shadow-rgb: 108, 117, 125;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--header-bg-color);
    --bs-btn-active-border-color: var(--header-bg-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--text-darkgrey);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--header-bg-color);
    --bs-gradient: none;
    min-width: 110px;
    border-left: 0px;
}

.btn-outline-secondary-left {
    --bs-btn-color: var(--text-darkgrey);
    --bs-btn-border-color: var(--header-bg-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--text-darkgrey);
    --bs-btn-hover-border-color: var(--header-bg-color);
    --bs-btn-focus-shadow-rgb: 108, 117, 125;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--header-bg-color);
    --bs-btn-active-border-color: var(--header-bg-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--text-darkgrey);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--header-bg-color);
    --bs-gradient: none;
    min-width: 110px;
}

.sort-list>thead {
    cursor: pointer;
    user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
}
