﻿:root {
    --gradient: linear-gradient(to bottom, #b6e4ff, #fffec0);
    --bgcolor: #fafaff;
  --dt-row-selected: 255, 0, 0;
}

html {

}

body {
    height: 100vh;
    background-color: #f4f6f9 !important;
}

#PDF_body {
    height: 100vh;
    background-color: white !important;
}

@media print {
    .page-break {
        page-break-before: always;
    }

    .borderless-table {
        border-collapse: collapse;
        border: none !important; /* Remove borders */
    }

}

.center-div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.rota-container {
    width: 100%;
}

.rota-column {
    width: 50%; /* Each column occupies half of the container width */
    float: left; /* Float the columns to display them side by side */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    padding: 10px; /* Add padding for spacing between columns */
}

.rota-white-table-border {
    border-color: white !important;
}

.rota-green {
    background-color: #c6e0b3;
}

.rota-black-border, .rota-black-border td {
    border: black !important;
}

.borderless-table {
    border-collapse: collapse !important;
    border: none !important; /* Remove borders */
}
.custom-width-10 {
    width: 10%;
}
.custom-width-20 {
    width: 20%;
}
.custom-width-30 {
    width: 30%;
}
.custom-width-40 {
    width: 40%;
}
.custom-width-50 {
    width: 50%;
}
.custom-width-60 {
    width: 60%;
}
.custom-width-70 {
    width: 70%;
}


::selection {
    color: white;
    background: #3399FF;
}

/* Set padding to keep content from hitting the edges */
.body-content {
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 100%;
}

.container {
    margin: 0 0;
    padding: 0 0;
}

/* 
    LOGIN CSS

*/

/* Default styles for larger screens */
.login-Container {
    height: 100vh;
    margin: 0;
    width: 100vw;
    overflow-x: hidden; /* Prevent horizontal overflow */
}

/* For mobile devices */
@media (max-width: 576px) {
    .login-Container {
        width: 100%; /* Set width to 100% to avoid horizontal overflow */
        overflow-x: hidden; /* Ensures no horizontal scroll on small screens */
    }
}
.login-Cover {
    max-height: 100%;
    background-image: url("Images/dvpro_login_bg.png");
    background-repeat: no-repeat;
    background-color: var(--gradient);
    padding: 0 4%;
    text-align: center;
}

.login-Module {
    background-color: rgb(255 255 255 / 80%);
}

#login-company-logo {
    padding: 5% 0;
}

#login-company-logo-l1 {
    padding: 5% 0;
    max-width: 70%;
}

#login-company-logo-l2 {
    padding: 5% 0;
    width: 500px;
    height: 500px;
}

#login-company-logo-l3 {
    padding: 5% 0;
    width: 520px;
    height: 250px;
}


#login-company-logo-l4 {
    padding: 5% 0;
    width: 350px;
    height: 350px;
}

#login-company-logo-l5 {
    padding: 5% 0;
    width: 550px;
    height: auto;
}

.login-logo-sm {
    max-width: 50%; /* Adjust the percentage as needed */
    height: auto; /* Ensures the aspect ratio is maintained */
    display: block; /* Centers the image with justify-content-center */
}

.login-logo-2{
    width: 75%;
}

.login-logo-1{
    max-width:70%;
}

.login-content {
    width: 100%;
    padding: 0% 18%;
}

    .login-content > h2 {
        font-size: 3em;
        padding: 10% 0% 10% 0%;
        text-align: center;
    }

    .login-content > form-horizontal > form-group {
        padding: 5% 0;
    }

#loginSubmitBtn {
    padding: 2rem 0rem !important;
}

.loginCopyright {
    margin-top: 78px;
    text-align: center;
}

    .loginCopyright img {
        max-height: 26px;
    }
/* For mobile devices */
@media (max-width: 768px) {
    .loginCopyright {
        margin-top: 0px;
        text-align: center;
    }

        .loginCopyright img {
            max-height: 26px;
        }
}

.loginForm .form-horizontal .form-group {
    margin-top: 5%;
}

#edit_company_logo-preview {
    width: 100%;
    height: 100%;
}

/*
    REGISTER CSS
*/

.reg-body {
    background-color: ghostwhite; /*Default bg, similar to the background's base color*/
}



#reg-form {
    border: 1px solid lightgrey;
    margin: 0 2em;
    height: auto;
    background-color: white;
    position: relative;
    z-index: 1 !important;
}


#reg-company-logo {
    max-height: 100%;
    float: right;
    max-width: 100%;
    text-align: center;
}

#reg-header {
    max-height: 12%;
    margin: 2em;
}

#reg-body {
    margin: 0em;
    height: auto;
}

    #reg-body > div.col-lg-7.reg-right > div:nth-child(11) > div:nth-child(1) > div:nth-child(3) > label {
        font-size: x-small;
    }

select.form-control {
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
    -ms-appearance: menulist !important;
    -o-appearance: menulist !important;
    appearance: menulist !important;
}

.form-control-readonly {
    background-color: #fafaff !important;
    border: 1px solid #ced4da; /* Optional: Adjust border color if needed */
    color: #495057 !important; /* Optional: Adjust text color if needed */
}

.reg-input {
    margin-bottom: 1.5em;
}

.reg-left {
    border-width: 1px !important;
    border-color: lightgray !important;
    border-right: solid;
    padding-right: 5rem;
}

.reg-right {
    padding-left: 1.5em;
}

.reg-required, .add-emp__required, .edit-emp__required {
    color: red;
}

@media (min-width: 1200px) {
    #reg-form {
        height: 100%;
    }
}

@media (max-width: 990px) {
    .reg-left {
        border-right: none;
        padding-right: 0rem;
    }

    .reg-body::before {
        content: "";
        background-image: url("");
        background-size: 50%;
        background-repeat: no-repeat;
        position: fixed;
        top: 0px;
        right: 0px;
        bottom: 0px;
        left: 0px;
        opacity: 0.1;
        background-position: 150% 100%;
    }
}

#reg-body > div.col-lg-7.reg-right > div.row > div:nth-child(1) > table:nth-child(1) > tbody > tr > td {
    display: block;
    padding-left: 1.5em;
}
/* NAVBAR HEADER STYLE */
#profileNav {
    width: 100vw;
}

/* SIDEBAR STYLE */
.sidebar {
    margin-bottom: 9em;
}

[class*="sidebar-light-"] .nav-treeview > .nav-item > .nav-link {
    color: #444444;
}

#sidebar-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

#sidebar-footer-logo {
    width: 40%;
    height: 124px;
}

body.sidebar-collapse #sidebar-footer-logo {
    display: none;
}

[class*="sidebar-light-"] .nav-treeview > .nav-item > .nav-link:hover, [class*="sidebar-light-"] .nav-sidebar > .nav-item.menu-open > .nav-link, [class*="sidebar-light-"] .nav-sidebar > .nav-item:hover > .nav-link {
    background-color: #4CAF50 !important;
    color: #fff !important;
}

/*
    BASE STLYLES
*/
.content-wrapper {
    background-color: #fafaff;
}

.content-header {
    padding: 15px 1rem;
}

/*HOME STYLES*/

/*Home button styles*/
.small-box > .inner {
    padding: 15px;
}

#recentHistory{
    /*height: 350px*/
}

#renderBody_container {
    background-color:#f4f6f9 
}

/*Home page recent filings*/
#LvIndex, #OBIndex, #FTSIndex, #OTIndex{
    table-layout: auto;
}

    #timeNow {
    }

.home__announcement_date{
    font-size: .8em;
}

.home-button {
    width: 10em;
    font-size: 1.1rem !important;
    color: white;
}

.home-button_cws {
    width: 8em;
    font-size: 1rem !important;
}

#LeaveBtn {
/*    background-color: var(--bs-warning);
    border-color: var(--bs-warning);*/
}

#OvertimeBtn {
/*    background-color: var(--bs-purple);
    border-color: var(--bs-purple);*/
}

#OBBtn {
/*    background-color: var(--bs-pink);
    border-color: var(--bs-pink);*/
    padding: 8px 8px;
}

#CWSBtn {
/*    background-color: #999999;
    border-color: #999999;
    padding: 8px 8px;*/
}

#FtsBtn > span, #CWSBtn > span {
    color: white !important;
}

#FtsBtn {
/*    background-color: #683751;
    border-color: #683751;
    padding: 8px 8px;*/
}

#RSTBtn {
/*    background-color: #52bf90;
    border-color: #52bf90;
    padding: 8px 8px;*/
}



#UndertimeBtn {
/*    background-color: var(--bs-teal);
    border-color: var(--bs-teal);*/
}

#PaySBtn {
/*    background-color: var(--bs-green);
    border-color: var(--bs-green);*/
}
/*#LeaveBBtn {
    background-color: var(--bs-orange);
    border-color: var(--bs-orange);
}*/
#LoansBtn {
/*    background-color: var(--bs-green);
    border-color: var(--bs-green);*/
}
#HistBtn {
/*    background-color: var(--bs-blue);
    border-color: var(--bs-blue);*/
}
/* FORGOT PASSWORD */
#forgotPW-body {
    background: var(--gradient)
}

/* LOADER */

#loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #a9d4ff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    z-index: 100;
}


@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hide {
    display: none;
}

/* TABLE STLYES
*/
.main-table {
    background-color: white;
    margin: 0% 0%;
    padding: 1em;
    border: solid;
    border-width: 0.2px;
    border-color: lightgray;
    border-radius: 3px;
}

.custom-table-body {
    margin: 0em 3.5em;
}

.tableTitle {
    max-width: 100%;
}

table > thead > tr > th {
    font-weight: 500 !important;
}

label {
    color: rgb(60, 60, 62);
    font-weight: 600 !important;
}

.small-font{
    font-size:small;
}

.med-font{
    font-size:medium
}

#reason_textArea{
    min-height:100px;
}
/*DATE FILED TEXT*/
.filed-on {
    font-size: 0.9em;
    color: var(--bs-gray-600);
}

/* Selected row color */

table.dataTable > tbody > tr.selected > * {
    box-shadow: inset 0 0 0 9999px #acbad4 !important;
    color: black !important;
    background-color: black !important;
}
/* Width of first column for approver index checkbox */
table.dataTable tbody td:first-child {
    min-width: 30px !important;
}
/*Checkbox design on click*/
table.dataTable > tbody > tr.selected > td.select-checkbox::after, table.dataTable > tbody > tr.selected > th.select-checkbox::after {
    content: "✓";
    font-size: 11px !important;
    margin-top: -12px !important;
    margin-left: -6px;
    text-align: center;
}

/*Datatable info*/
/*div.dataTables_wrapper div.dataTables_info, div.dataTables_wrapper div.dataTables_info {
    padding-top: 0.1em !important;
    padding-left: 2em;
}*/
/* colvis dropdown width*/
#activeTable_wrapper > div:nth-child(1) > div:nth-child(1) > div > div > div.dropdown-menu.dt-button-collection.two-column > div {
    width: 200%;
}

#activeTable_wrapper > div:nth-child(1) > div:nth-child(1) > div > div > div.dropdown-menu.dt-button-collection.two-column {
}

/*
    EDIT (MAINTENANCE) STYLES
*/
.maintEdit {
    margin-top: 1em;
}

.editMaintTitle {
    margin-top: 2em;
}

/*
    EMPLOYEE STYLES
*/
.add-emp__table {
    background-color: white;
    margin: 1em 1em;
    padding: 1em;
    border: solid;
    border-width: 0.2px;
    border-color: lightgray;
    border-radius: 15px;
}

#emp-profile__profile-image {
    border-width: 0.2px;
    border-color: lightgray;
    border-radius: 50%; /* Ensure the image is circular */
    width: 7.5em; /* Set the width */
    height: 7.5em; /* Set the height to the same as the width */
    object-fit: cover; /* Ensure the image scales correctly */
    margin: 2em;
}

#home__profile-image {
    border-width: 0.2px;
    border-color: lightgray;
    border-radius: 50%; /* Ensure the image is circular */
    width: 5.5em; /* Set the width */
    height: 5.5em; /* Set the height to the same as the width */
    object-fit: cover; /* Ensure the image scales correctly */
    margin: 0em;
}

#sidebar__profile-image {
    border-width: 0.2px;
    border-color: lightgray;
    border-radius: 50%; /* Ensure the image is circular */
    width: 2.5em; /* Set the width */
    height: 2.5em; /* Set the height to the same as the width */
    object-fit: cover; /* Ensure the image scales correctly */
    margin: 0em;
}

.vl {
    border-left: 0.5px solid var(--bs-gray-500);
    height: 8em;
}

/* FULLCALENDAR STYLES */
.fc-col-header-cell.fc-day a, .fc .fc-daygrid-day-number {
    color: black;
    text-decoration: none !important;
}

.fc-day-today {
    background-color: rgba(246, 255, 99, 0.22) !important;
}

/* FORMS STYLES */
.ui-datepicker {
    z-index: 9999 !important;
}


#print_header {
}

.center-header {
    margin-top: 3em;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Arial';
    color: black;
    text-align: center;
    border-collapse: unset !important;
    border: 1px solid white;
}

.coe-header {
    margin-left: auto;
    margin-right: auto;
    font-family: 'Arial';
    color: black;
    border-collapse: unset !important;
    border: 1px solid white;
}

.line {
    border-top: 3px solid #3c3c3c;
}

.paragraph-text, .middle-text {
    text-align: justify;
    font-size: 11pt;
    font-family: Calibri;
    color: black;
}

.bottomright {
    position: absolute;
    bottom: 0;
    right: 1px;
    font-size: 6pt;
    text-align: right;
    font-family: Tahoma;
    color: black;
    margin-right: 5%
}

.small-pad-top {
    padding-top: 1%
}

.bold {
    font-weight: bold
}

.signature {
    margin-top: 10%;
    font-size: 12pt;
    font-family: Calibri;
    color: black;
}

.td-content {
    border: 1px solid white;
    width: 300px;
    margin-left: 10%;
    border-bottom: 1px solid black;
    margin-top: -5%;
    height: 1.5em;
}

.tbl-content {
    border: 1px solid white;
    font-family: Calibri;
    font-size: 11pt;
    margin-left: 5%;
    width: 50%;
    color: black;
    border-spacing: 15px 1.5em;
    border-collapse: unset !important;
}

.print_table_signatories {
    border: 1px solid white;
    font-family: Calibri;
    font-size: 11pt;
    margin-left: 5%;
    width: 50%;
    color: black;
    border-spacing: 15px 1.5em;
    border-collapse: unset !important;
}

.tbl-content tr {
    height: 2.5em;
}

.print_table_header {
    border: 1px solid white;
    border-collapse: collapse;
}

#print_company_photo {
    margin-top: -1%;
    max-width: 20% !important;
    max-height: 20% !important;
}

.company_logo_print {
    max-width: 150px !important;
    max-height: 150px !important;
    padding-top: 10px;
}

.company_logo_print_so {
    max-width: 250px !important;
    max-height: 300px !important;
    padding-top: 10px;
}

.company_logo_print_ff {
    max-width: 160px !important;
    max-height: 160px !important;
    padding-top: 10px;
}

.company_logo_print_pw {
    max-width: 250px !important;
    max-height: 200px !important;
}

.company_logo_print_4 {
    max-width: 300px !important;
    max-height: 250px !important;
}

.hr-dark {
    border-color: #000
}

.lvform, .lvform td {
    border: 0.5px solid #000000 !important;
}

.caform {
    border: 0.5px solid #000000 !important;
}

#print_title {
    text-align: center;
    font-family: Calibri;
    font-size: 18pt;
}

#print_company_id {
    font-size: 22px;
    margin-bottom: 0.5%;
    margin-top: 2%;
    padding-left: 1%;
    color: black;
}

.td-content__margin_top {
    border: 1px solid black;
    border-collapse: collapse;
    width: 300px;
    margin-left: 10%;
    border-bottom: 1px solid black;
    margin-top: 0%;
}

.print_table__total {
    height: 3em;
    border-top: 1px solid black;
    border-bottom: 0px solid black;
}

.print_table__total-top {
    text-align: end;
    width: 50%;
    margin: 0px;
    border-bottom: 0px solid black;
    border-top: 1px solid black;
}

.print_basic_monthly {
    width: 400px;
}

.print_table__content {
    text-align: end;
    width: 50%;
    margin: 0px;
}

    .print_table__content p {
        margin: 0px;
    }

.print_table__title {
    width: 400px;
}

.print_table__clearance-td {
    width: 400px;
    padding-left: 5%;
}

.print_table__clearance_date, .print_table__clearance_name {
    width: 550px
}

.print_clearance__form-end {
    margin-left: 100px
}

.print_clearance__table {
    border: 1px solid white;
    font-family: Calibri;
    font-size: 11pt;
    width: 50%;
    color: black;
    border-spacing: 7em 1.5em;
    border-collapse: unset !important;
}

.print-layout_BG {
    background: white;
}

.print_clearance__table-end {
    padding-right: 50px !important;
}

/* Breadcrumb styles */
.breadcrumb-item {
    font-size: 11px;
}


.chart-container {
    position: relative;
    height: 40vh;
}

.chart-container-half {
    position: relative;
    height: 30vh;
}

.chart-container-pie {
    position: relative;
    height: 39.5vh;
}

/*@media (max-width: 990px) {
    .chart-container {
        position: relative;
        margin: auto;
        width: 50%
    }

}*/

/*Warning div for heavy loads*/
.overload-info {
    background-color: var(--bs-info-bg-subtle);
    color: var(--bs-info-text-emphasis);
}

.overload-warning {
    background-color: var(--bs-warning-bg-subtle);
    color: var(--bs-warning-text-emphasis);
}


canvas {
}

.pwexpire-info {
    background-color: var(--bs-info-bg-subtle);
    color: var(--bs-info-text-emphasis);
}

.pw-expire-link {
    color: blue !important;
    text-decoration: underline; /* Optional for better visibility */
}

    .pw-expire-link:hover {
        color: darkblue; /* Optional for hover effect */
    }

.pdf-frame {
    border: 1px solid #ccc;
    width: 100%;
    height: 830px;
}