﻿.toast {
    opacity: 0.9 !important;
}

    .toast:hover {
        opacity: 1 !important;
    }

#toast-container.toast-top-right,
#toast-container.toast-top-center,
#toast-container.toast-top-left {
    top: 98px !important;
}

/* Photo image */
.ePhoto {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    /*    margin: 10px 0 10px 50px;*/
    border: 3px solid #ccc;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
/*    object-fit: cover;*/
    margin-bottom: 20px;
    border: 2px solid #ccc;
}
/* Modal Bg */
.modalbackground {
    background-color: black;
    opacity: 0.5;
}

/*Panel Box Message*/
.body-content .msgpanel {
    /*margin-top: 5vh;*/
    width: 450px;
}

    .body-content .msgpanel .msgpanel-header {
        /*background-color: #0038a8;*/
        background-color: #0d6efd;
        color: white;
        padding: 10px;
        font-family: 'Segoe UI';
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }

    .body-content .msgpanel .msgpanel-body {
        background: #f4f4f4;
        height: 90px;
        display: flex;
        align-items: center;
        border-left: 2px solid #ddd;
        border-right: 2px solid #ddd;
    }

        .body-content .msgpanel .msgpanel-body .msgpanel-content {
            display: flex;
            padding: 30px 25px;
            font-size: 16px;
            font-weight: bold;
        }

    .body-content .msgpanel .msgpanel-footer {
        display: flex;
        justify-content: center;
        background-color: #f4f4f4;
        color: white;
        padding: 10px;
        border-top: 2px solid #ddd;
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }

.gvbutton input {
    text-align: center;
    padding: 0;
    margin: 0;
    align-items: center;
    align-self: center;
    align-content: center;
}

.searchlabel {
    font-size: 14px;
    font-style: italic;
    color: darkorange;
}

/* PAGINATION GRIDVIEW*/
.pagination-ys {
    /*display: inline-block;*/
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .pagination-ys table > tbody > tr > td {
        display: inline;
    }

        .pagination-ys table > tbody > tr > td > a,
        .pagination-ys table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            color: #0d6efd;
            background-color: #ffffff;
            border: 1px solid #dddddd;
            margin-left: -1px;
        }

        .pagination-ys table > tbody > tr > td > span {
            position: relative;
            float: left;
            padding: 8px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            margin-left: -1px;
            z-index: 2;
            color: #aea79f;
            background-color: #f5f5f5;
            border-color: #dddddd;
            cursor: default;
        }

        .pagination-ys table > tbody > tr > td:first-child > a,
        .pagination-ys table > tbody > tr > td:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .pagination-ys table > tbody > tr > td:last-child > a,
        .pagination-ys table > tbody > tr > td:last-child > span {
            border-bottom-right-radius: 4px;
            border-top-right-radius: 4px;
        }

        .pagination-ys table > tbody > tr > td > a:hover,
        .pagination-ys table > tbody > tr > td > span:hover,
        .pagination-ys table > tbody > tr > td > a:focus,
        .pagination-ys table > tbody > tr > td > span:focus {
            color: #0d6efd;
            background-color: #eeeeee;
            border-color: #dddddd;
            font-weight: bold;
        }


/* REPORT DESIGN*/

.header-rpt h1, h2, h3, p {
    margin: 0;
}

.header-rpt h1 {
    letter-spacing: 1px;
}

.header-rpt {
    margin-top: 10px;
}

.header-rpt-date-right {
    float: right;
}

.header-rpt-date-left {
    float: left;
}



.summaryDate {
    margin-bottom: 5px;
}

.grid-container {
    display: grid;
    grid-template-columns: 44% 12% 44%;
    text-align: center;
    font-weight: bold;
}

    .grid-container #dtStart {
        text-align: right;
    }

    .grid-container #dtEnd {
        text-align: left;
    }


#GridViewRpt th {
    text-align: left;
    padding: 2px;
    font-size: 13px;
}

#GridViewRpt td {
    font-size: 12px;
    text-align: left;
    padding: 3px;
}

.footer-report {
    margin-top: 15px;
}

    .footer-report .footer-row {
        margin-top: 5px;
        display: grid;
        grid-template-columns: 28% 15% 25% 15%;
    }

    .footer-report .footer-row-default {
        margin-top: 5px;
        display: grid;
        grid-template-columns: 28% 15%;
    }

/* PAYSLIP PER EMPLOYEE */
.payrollPayslip {
    font-family: 'Eras ITC';
    font-size: 11px;
}

.header-slip {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 3px;
}

.PayrollPeriod {
    text-align: center;
    margin-bottom: 2px;
}

.grid-container {
    display: grid;
    grid-template-columns: 8% 44% 12% 44%;
    text-align: center;
}

    .grid-container #dtStart {
        text-align: right;
    }

    .grid-container #dtEnd {
        text-align: left;
    }

.info-detail {
    display: grid;
    grid-template-columns: 10% 2% 48% 10% 2% 28%;
    margin-bottom: 5px;
}

.header-payroll-info {
    display: grid;
    grid-template-columns: 18% 80%;
}

.payroll-content {
    display: grid;
    grid-template-columns: 18% 2% 80%;
    margin-bottom: 10px;
}

    .payroll-content .content-deduction .content-deduction-detail {
        display: grid;
        grid-template-columns: 50% 8% auto;
        margin-bottom: 10px;
    }

.lineusingborder {
    margin-inline-start: auto;
    margin-inline-end: auto;
    unicode-bidi: isolate;
    overflow: hidden;
    border-style: inset;
    border-width: 1px;
}

.footer-payroll-info {
    display: grid;
    grid-template-columns: 13% 2% auto 10% 2% 8%;
    margin-bottom: 10px;
}

/* TABLE DESIGN PAYROLL */

.table-payroll {
    border-collapse: collapse;
    width: 100%;
    height: 100%;
}

.header-payroll {
    margin: 5px 0 0 0;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #555;
}

.rowperiod td {
    padding-bottom: 6px;
    border-bottom: 1px solid;
}

.rowid td {
    padding-bottom: 6px;
}

.rowded {
    padding: 8px 1px;
    border-top: 1px solid;
    border-bottom: 1px solid;
}


.tblrow {
    border-top: 1px solid;
    border-bottom: 1px dotted;
}

    .tblrow td {
        padding: 8px 1px;
    }

.td-header {
    width: 450px;
}

.netpay {
    font-size: 12px;
}
/* CASH INCENTIVE RPT*/
.IncentiveRpt{
    margin-top: 25px;
}
.GridviewTower .row {
    display: flex;
    margin: 5px;
}


/* VIOLATION LIST */
.section-tally {
    margin-top: 10px;
    position: absolute;
    left: 72%;
    width: 400px; /* Adjust width as needed */
    height: 400px; /* Adjust height as needed */
    transform: translateX(-50%); /* Center the div */
}
.section1{
    margin-bottom: 10px;
}