﻿.stickyTable {
    position: relative;
}

    .stickyTable th {
        position: sticky;
        background-color: white;
        top: 0; /* Don't forget this, required for the stickiness */
    }

.srno {
    background-color: lightskyblue;
    font-size: .8em;
    padding:0px 3px;
    border-radius:10%;
}

a {
    text-decoration: none;
}

.sname {
    display: flex;
    gap: 3px;
}

.amount {
    text-align: right;
}

.date
{
    white-space:nowrap;
}

.center
{
    text-align:center;
}

.feetype {
    background-color: #ffc107;
    font-size: .8em;
    padding: 0px 3px;
    border-radius: 10%;
}

.payhistory {
    display: grid;
    grid-template-columns:auto 1fr auto;
}

#divMain {
    margin: auto;
    padding-bottom: 50px;
}

.ForPrint {
    display: none;
}

.vertical {
    writing-mode: vertical-lr;
}

.dtable {
    margin: 0px !important;
    border: 0px !important;
}

    .dtable td, .dtable th {
        font-size: 11px !important;
        font-weight: bold !important;
        border: .7px solid #191717 !important;
        padding: 1px 2px;
    }

    .dtable th {
        font-size: 12px !important;
    }

.dtableNotBold {
    font-weight: initial !important;
}

.center {
    text-align: center;
}

@media print {

    body {
        padding: 0px 15px;
    }

    a {
        color: black;
    }

    #divMain {
        max-width: 100%;
        padding-bottom: 0px;
    }

    .srno {
        background-color: transparent;
        font-size: 1em;
    }

    .ForPrint {
        display: block;
    }

    .ForNotPrint {
        display: none !important;
    }

    .card {
        padding: 0px !important;
        border-radius: 0px !important;
        border: 0px !important;
    }

    .amount {
        text-align: center;
    }
}

.empty
{
    background:#ffc107!important;

}

.tableMarks td.edit:hover
{
    background-color:sandybrown;
    cursor:pointer;
}

.blue
{
    color:blue;
}

.P {
    background: #198754 !important;
    color: white !important;
}

.A {
    background: #dc3545 !important;
    color: white !important;
}

.L {
    background: #ffc107 !important;
}

.attendanceReport td:nth-child(n+3),
.attendanceReport th:nth-child(n+3)
{
    text-align:center;
}