@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

:root {
    --font-orbiton: 'Orbitron', sans-serif;
    --font-ubuntu: 'Ubuntu', sans-serif;
}

html,
body {
    height: 100%;
    width: 100%;
    max-height: 100%;
    overflow: auto;
}

* {
    font-family: var(--font-ubuntu);
    letter-spacing: 1px;
}

body:not(.printable-receipt) {
    background-color: #cfd9df;
    background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
}

div.page-title,
div.page-title * {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #5e5e5e;
    font-family: var(--font-orbiton);
}

.flashdata {
    padding: 5px 10px;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-left: 8px solid var(--bs-gray-400);
}

.flashdata.flashdata-success {
    border-left-color: var(--bs-success);
}

.flashdata.flashdata-danger {
    border-left-color: var(--bs-danger);
}

.flashdata .flashdata-close {
    text-decoration: none;
    color: #777;
}

.flashdata .flashdata-close:hover {
    color: #4f4f4f;
}

div#pre-loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d3d3d378;
}

#attendance-rpt-tbl th:first-child,
#attendance-rpt-tbl td:first-child {
    position: sticky;
    left: 0px;
}

#attendance-rpt-tbl thead th:first-child,
thead #attendance-rpt-tbl td:first-child {
    background: #fff;
}

#attendance-rpt-tbl tbody th:first-child,
tbody #attendance-rpt-tbl td:first-child {
    background: #fff;
}

#attendance-rpt-tbl {
    --cell-width: 37px;
}

#attendance-rpt-tbl th:nth-last-child(1),
#attendance-rpt-tbl th:nth-last-child(2),
#attendance-rpt-tbl th:nth-last-child(3),
#attendance-rpt-tbl th:nth-last-child(4),
#attendance-rpt-tbl td:nth-last-child(1),
#attendance-rpt-tbl td:nth-last-child(2),
#attendance-rpt-tbl td:nth-last-child(3),
#attendance-rpt-tbl td:nth-last-child(4) {
    position: sticky;
    right: 0;
}

#attendance-rpt-tbl th:nth-last-child(1):before,
#attendance-rpt-tbl th:nth-last-child(2):before,
#attendance-rpt-tbl th:nth-last-child(3):before,
#attendance-rpt-tbl th:nth-last-child(4):before,
#attendance-rpt-tbl td:nth-last-child(1):before,
#attendance-rpt-tbl td:nth-last-child(2):before,
#attendance-rpt-tbl td:nth-last-child(3):before,
#attendance-rpt-tbl td:nth-last-child(4):before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 0.5px solid;
    top: 0;
    left: 0;
}

#attendance-rpt-tbl th:nth-last-child(2),
#attendance-rpt-tbl td:nth-last-child(2) {
    right: calc(1 * var(--cell-width));
}

#attendance-rpt-tbl th:nth-last-child(3),
#attendance-rpt-tbl td:nth-last-child(3) {
    right: calc(2 * var(--cell-width));
}

#attendance-rpt-tbl th:nth-last-child(4),
#attendance-rpt-tbl td:nth-last-child(4) {
    right: calc(3 * var(--cell-width));
}