﻿/* Custom Stylesheet */
/**
 * Use this file to override Materialize files so you can update
 * the core Materialize files in the future
 *
 * Made By MaterializeCSS.com
 */

/*Custom DataTable Dialog*/
/* The container <div> - needed to position the dropdown content */
.ui-dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.ui-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: max-content;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.ui-dropdown-content a {
    color: black;
    padding: 12px 5px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.ui-dropdown-content a:hover {
    background-color: #ddd;
}

/* Change color of dropdown links on hover */
span .ui-dropdown-content a:hover {
    background-color: #ddd;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display: block;
}
/*Custom DataTable Dialog*/

.modal.modal-fixed-footer .modal-content { /*Add this to fix calc invalid input due to minification issue.*/
    position: fixed !important;
    height: calc(100% - 100px) !important; /* Ensure this calculation is preserved */
    max-height: 100% !important;
    width: 100% !important;
    overflow-y: auto !important;
}

@media print {
    #addRowButton {
        display:none;
    }
}

/*CM -MAY 25, 2023 - ADDED TO CHANGE THE DATETIME COLOR MATCH WITH THE WEBSITE COLOR THEME*/
.picker__date-display, .picker__weekday-display {
    background-color: #052a64;
}

div.picker__day.picker__day--infocus.picker__day--selected.picker__day--highlighted {
    background-color: #052a64;
}
/*END -  ADDED TO CHANGE THE DATETIME COLOR MATCH WITH THE WEBSITE COLOR THEME*/

.icon-block {
  padding: 0 15px;
}
.icon-block .material-icons {
	font-size: inherit;
}

.input-field input {
    margin:0px;
}


/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    /*font-weight: bold;*/
    font-size: .85em;
    /*margin-top:-50px;*/
    padding:0px;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
    font-size:.85em;
    padding:0px;
    margin:0px;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size:.85em;
}

.validation-summary-valid {
    display: none;
}
/* end of styles for validation helpers */



 /* info and errors */
.message-info {
    border: 1px solid;
    clear: both;
    padding: 10px 20px;
}

.message-error {
    clear: both;
    color: #e80c4d;
    font-size: .85em;
    font-weight: bold;
    margin: 10px;
}

.message-confirm {
    clear: both;
    color: #e80c4d;
    font-size: .85em;
    font-weight: bold;
    margin: 10px;
} 

.message-success {
    color: #7ac0da;
    font-size: .85em;
    font-weight: bold;
    margin: 10px;
}

.error {
    color: #e80c4d;
}

/*to avoid adding margin in the bottom of the input field to give way for the validation error message*/
input:not([type]),
input[type=text]:not(.browser-default),
input[type=password]:not(.browser-default),
input[type=email]:not(.browser-default),
input[type=url]:not(.browser-default),
input[type=time]:not(.browser-default),
input[type=date]:not(.browser-default),
input[type=datetime]:not(.browser-default),
input[type=datetime-local]:not(.browser-default),
input[type=tel]:not(.browser-default),
input[type=number]:not(.browser-default),
input[type=search]:not(.browser-default),
textarea.materialize-textarea {
  margin: 0 0 0 0 !important;
 }



/* label color */
   .input-field label {
     color: #555;
   }
   /* label focus color */
   /*.input-field input[type=text]:focus + label {
     color: #000;
   }*/
   /* label underline focus color */
   /*.input-field input[type=text]:focus {
     border-bottom: 1px solid #000;
     box-shadow: 0 1px 0 0 #000;
   }*/
   /* valid color */
   /*.input-field input[type=text].valid {
     border-bottom: 1px solid #000;
     box-shadow: 0 1px 0 0 #000;
   }*/
   /* invalid color */
   /*.input-field input[type=text].invalid {
     border-bottom: 1px solid #000;
     box-shadow: 0 1px 0 0 #000;
   }*/
   /* icon prefix focus color */
   /*.input-field .prefix.active {
     color: #000;
   }*/


   
table.gridtable {
	font-family: Arial,Verdana,sans-serif;
	font-size:12px;
	color:#333333;
	border-color: #666666;
    border-collapse:separate;
    border-spacing:0px;
    border-collapse:collapse;
}

table.gridtable th {
 	border-color: #666666;
	background-color: #dedede;
    border: 1px solid #666666;
    page-break-inside:inherit;
    font-weight:bold; 
}

table.gridtable td {
    padding:4px;
    border: 1px solid #666666;
}

table.gridtable tr {
    border: 1px solid #666666;
}

table.gridtable th.assetBg {
 	border-color: #666666;
	background-color: #7ac0da;
    border: 1px solid #666666;
    page-break-inside:inherit;
    font-weight:bold; 
}

.bond-paper-short {
    width:850px;
    height:1100px;
    padding:10px
}

.align-left {
    text-align:left !important;
}
.align-right {
    text-align:right !important;
}
.bold {
    font-weight:bold;
}
/**star purchase request*/

.purchase-request-remark {
    height:-webkit-fill-available;
    width:830px;
    text-align:left;
    font-size:12px;
    white-space: pre-wrap;
}

.purchase-request-requested-by {
    text-align:left;
    font-size:11px;
    font-weight:bold;
    float:left;
    height:120px;
    width:400px;
      white-space: pre-wrap;
    
}

.purchase-request-approved-by {
    text-align:left;
    font-size:11px;
    font-weight:bold;
    float:left;
    height:120px;
    width:400px;
      white-space: pre-wrap;
    
}

.purchase-request-noted-by {
    text-align:left;
    font-size:11px;
    font-weight:bold;
    float:left;
    height:120px;
    width:400px;
      white-space: pre-wrap;
    
}

.purchase-request-received-by {
    text-align:left;
    font-size:11px;
    font-weight:bold;
    float:left;
    height:120px;
    width:400px;
      white-space: pre-wrap;
    
}

/**end purchase request**/

/**start purchase order*********************************************************/
.purchase-order-no {
    height:80px;
    width:830px;
    text-align:right;
    padding-right:50px;
    padding-top:30px;
    font-size:16px;
    font-weight:bold;
}

.purchase-order-date {
    height:30px;
    width:830px;
    text-align:left;
    font-size:11px;
    font-weight:bold;
}

.purchase-order-receiver {
    height:60px;
    width:830px;
    text-align:left;
    font-size:11px;
    font-weight:bold;
    white-space: pre-wrap;
}
.purchase-order-confirm {
    height:15px;
    width:830px;
    text-align:left;
    font-size:11px;
    font-weight:bold;
      white-space: pre-wrap;
}
.purchase-order-term-condition {
    height:auto;
    width:830px;
    text-align:left;
    font-size:11px;
    padding-top:10px;
    padding-bottom:10px;
    white-space: pre-wrap;
}

.purchase-order-note {

    text-align:left;
    font-size:11px;
    font-weight:bold;
    float:left;
    height:120px;
    width:auto;
    white-space: pre-wrap;
}

.purchase-order-validity {
   height:auto;
   width:830px;
   text-align:justify;
   font-size:11px;
   padding-top:140px;
   padding-bottom:10px;
   white-space: pre-wrap;
}

.purchase-order-payment-agreement {
    height:auto;
    width:830px;
    text-align:left;
    font-size:11px;
      white-space: pre-wrap;
}

.purchase-order-prepared-by {
    text-align:left;
    font-size:11px;
    font-weight:bold;
    float:left;
    height:120px;
    width:400px;
      white-space: pre-wrap;
    
    /*background-color:#6624c6;*/
}

.purchase-order-approved-by {
    text-align:left;
    font-size:11px;
    font-weight:bold;
    float:right;
    height:120px;
    width:430px;
    white-space: pre-wrap;
    
    /*background-color:#ffd800;*/
}

.purchase-order-conforme {
    text-align:left;
    font-size:11px;
    font-weight:bold;
    height:120px;
    width:830px;
      white-space: pre-wrap;
    /*background-color:#e80c4d;*/

}

.purchase-order-approval-container {
    height:120px;
    width:830px;
    padding-top:20px;
    padding-bottom:20px;
    /*background-color:#7ac0da;*/

}

/**end purchase order*********************************************************/


/**start of check voucher**/

.check-voucher-no {
    height:80px;
    width:816px;
    text-align:right;
    padding-right:50px;
    padding-top:82px;
    font-size:21px;
    font-weight:bold;
}

.payee-date-container {
    height:120px;
    width:830px;
    padding-top:45px;
    padding-bottom:20px;
    /*background-color:#7ac0da;*/

}

.check-voucher-payee {
    text-align: right;
    font-size: 16px;
    font-weight: bold;
    float: left;
    height: 120px;
    width: 300px;
    white-space: pre-wrap;
    
    /*background-color:#6624c6;*/
}

.check-voucher-debit-or-credit {
    position: relative;
    top: 155px;
}

.check-voucher-date-issued {
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    float: right;
    height: 119px;
    width: 158px;
    white-space: pre-wrap;
    
    /*background-color:#ffd800;*/

}

.check-voucher-detail-table {
    height:255px;
    vertical-align:text-top;
    width:810px;
}

table.plain-table.check-voucher-account-table {
    height: 320px;
    vertical-align: text-top;
    width: 400px;
}


.check-voucher-detail-table td {
    vertical-align:text-top;
}

/**end of check voucher**/
.plain-table {
    white-space:pre-wrap;
    font-size:16px;
}

.check-voucher-check-detail {
    position: relative;
    top: 98px;
}

.check-voucher-authorized-person {
    width: 820px;
    vertical-align: text-top;
    
}

.check-voucher-preparedby {
    /*position: relative;
    top: 356px;
    width: 805px;*/
    padding-bottom: 36px;
    padding-top: 13px;
}

.check-voucher-checkedby {
  /*position: relative;
  top: 387px;
  width: 807px;*/
  padding-top: 14px;
    padding-bottom: 30px;
}


.check-voucher-approvedby {
    padding-top: 9px;
   
}

.check-voucher-amountinwords {
   font-size: 15px;
    font-weight: bold;
    height: 74px;
    width: 805px;
    padding-top: 61px;
}

.purchase-POD-prepared-by {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    float: left;
    /* height: 120px; */
    width: 350px;
    white-space: pre-wrap;
    
}
    
.purchase-POD-received-by {
   text-align: right;
   font-size: 12px;
   font-weight: bold;
    /* float: left; */
    /* height: 120px; */
   width: 680px;
}
.purchase-POD-date-received {
    text-align: right;
    font-size: 12px;
    font-weight: bold;
    /* float: left; */
    /* height: 120px; */
    width: 643px;
    /* white-space: pre-wrap; */
}

.purchase-POD-issued-by {
   text-align: right;
   font-size: 12px;
   font-weight: bold;
    /* float: left; */
    /* height: 120px; */
   width: 700px;
}

.purchase-POD-department {
   text-align: right;
   font-size: 12px;
   font-weight: bold;
    /* float: left; */
    /* height: 120px; */
   width: 700px;
}

.purchase-POD-date-issued {
   text-align: right;
   font-size: 12px;
   font-weight: bold;
    /* float: left; */
    /* height: 120px; */
   width: 700px;
}

.check-issuance-date-issued {
    padding-right: 97px;
    font-size: 14px;
    text-align: right;
}

.check-issuance-payee {
   padding-left: 100px;
    font-size: 14px;
}

.check-issuance-amount-in-numbers {
    font-size: 14px;
    text-align: right;
    padding-right: 117px;
}

.check-issuance-amount-in-words {
    padding-left: 100px;
    line-height: 30px;
    font-size: 14px;
}

.print-asset-room-header {
    border-color: #666666;
    background-color: #f5bf7b; 
    page-break-inside: inherit; 
    font-weight: bold; 
    font-style: italic; 
    text-align: center;
}

.dnts-troubleticket-header {
    border-color: #666666;
    background-color: #12315f;
    page-break-inside: inherit;
    font-weight: bold;
    text-align: center;
    color: white;
}

table.dnts-troubleticket-gridtable th {
    border-color: #666666;
    background-color: #ffa600;
    border: 1px solid #666666;
    page-break-inside: inherit;
    font-weight: bold;
}


table.dnts-troubleticket-gridtable td {
    padding: 4px;
    border: 1px solid #666666;
}

table.dnts-troubleticket-gridtable tr {
    border: 1px solid #666666;
}

table.dnts-troubleticket-gridtable th.assetBg {
    border-color: #666666;
    background-color: #7ac0da;
    border: 1px solid #666666;
    page-break-inside: inherit;
    font-weight: bold;
}

table.dnts-troubleticket-gridtable {
    font-family: Arial,Verdana,sans-serif;
    font-size: 12px;
    color: #333333;
    border-color: #666666;
    border-collapse: separate;
    border-spacing: 0px;
    border-collapse: collapse;
}

    table.dnts-troubleticket-gridtable td {
        padding: 4px;
        border: 1px solid #666666;
    }

    table.dnts-troubleticket-gridtable tr {
        border: 1px solid #666666;
    }

    table.dnts-troubleticket-gridtable th.assetBg {
        border-color: #666666;
        background-color: #7ac0da;
        border: 1px solid #666666;
        page-break-inside: inherit;
        font-weight: bold;
    }


table.asset-gridtable th {
    border-color: #666666;
    background-color: #b1e88e;
    border: 1px solid #666666;
    page-break-inside: inherit;
    font-weight: bold;
}


table.asset-gridtable td {
    padding:4px;
    border: 1px solid #666666;
}

table.asset-gridtable tr {
    border: 1px solid #666666;
}

table.asset-gridtable th.assetBg {
 	border-color: #666666;
	background-color: #7ac0da;
    border: 1px solid #666666;
    page-break-inside:inherit;
    font-weight:bold; 
}

table.asset-gridtable {
	font-family: Arial,Verdana,sans-serif;
	font-size:12px;
	color:#333333;
	border-color: #666666;
    border-collapse:separate;
    border-spacing:0px;
    border-collapse:collapse;
}

table.asset-gridtable td {
    padding:4px;
    border: 1px solid #666666;
}

table.asset-gridtable tr {
    border: 1px solid #666666;
}

table.asset-gridtable th.assetBg {
 	border-color: #666666;
	background-color: #7ac0da;
    border: 1px solid #666666;
    page-break-inside:inherit;
    font-weight:bold; 
}

.scrollbar {
    overflow: auto;
    overflow-y: hidden !important scroll;
    max-height: 400px;
    min-height: 10px;
    width: 100%;
}


/*MARGIN/PADDING SIZING*/
.ui-m-0 {
    margin: 0px !important;
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.ui-m-1 {
    margin: 0.375rem !important;
}

.ui-m-2 {
    margin: 0.75rem !important;
}

.ui-m-3 {
    margin: 1.5rem !important;
}

.ui-m-4 {
    margin: 1.875rem !important;
}

.ui-m-5 {
    margin: 4.5rem !important;
}

/* Margin Top */
.ui-mt-0 {
    margin-top: 0px !important;
}

.ui-mt-1 {
    margin-top: 0.375rem !important;
}

.ui-mt-2 {
    margin-top: 0.75rem !important;
}

.ui-mt-3 {
    margin-top: 1.5rem !important;
}

.ui-mt-4 {
    margin-top: 1.875rem !important;
}

.ui-mt-5 {
    margin-top: 4.5rem !important;
}

/* Margin Bottom */
.ui-mb-0 {
    margin-bottom: 0px !important;
}

.ui-mb-1 {
    margin-bottom: 0.375rem !important;
}

.ui-mb-2 {
    margin-bottom: 0.75rem !important;
}

.ui-mb-3 {
    margin-bottom: 1.5rem !important;
}

.ui-mb-4 {
    margin-bottom: 1.875rem !important;
}

.ui-mb-5 {
    margin-bottom: 4.5rem !important;
}

.ui-p-0 {
    padding: 0px !important;
}

.ui-p-1 {
    padding: 0.375rem !important;
}

.ui-p-2 {
    padding: 0.75rem !important;
}

.ui-p-3 {
    padding: 1.5rem !important;
}

.ui-p-4 {
    padding: 1.875rem !important;
}

.ui-p-5 {
    padding: 4.5rem !important;
}

.borderless {
    border: none !important;    
}

.text-align-left{
    text-align: left !important;
}

.text-align-center {
    text-align: center !important;
}

.text-align-right {
    text-align: right !important;
}

.borderless-left {
    border-left: none !important;
}

.borderless-right {
    border-right: none !important;
}

.borderless-bottom {
    border-bottom: none !important;
}

.borderless-top {
    border-top: none !important;
}


.ui-full-width {
    width: 100% !important;
}

.ui-card:hover {
    box-shadow: 0px 5px 10px 0px rgba(9, 43, 96, 0.95) !important;
}

.dt-center{
    text-align: center;
}

.highlight-row > td {
    background-color: #07568F !important;
    color: #dedede !important;
}

#attendanceTable {
    text-align: left;
    position: relative;
    border-collapse: collapse;
    max-height: 50vh;
}


#attendanceTable tr td {
    border: 1px solid #555;
}

#attendanceTable thead tr th{
    position: sticky;
    top: 0;
    border: 1px solid black;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
    z-index: 100;
}

.center-all {
    display: flex;
    justify-content: center;
    align-items: center;
}

.scrollbar-md {
    overflow: scroll;
    max-height: 600px;
    width: 100%;
}

#cv-table tr td {
    border: solid 1px black;
    text-align: center;
}

.sub-table tr td {
    border: none !important;
    text-align: center !important;
}

.cm-align-left {
    text-align: start !important;
}

.ui-display-block{
    display: block;
}

.img-header{
    width: 100% !important;
}

@media print {
    .scrollbar-md {
        overflow:visible;
        max-height: auto;
        width: 100%;
    }

    #attendanceTable th, #attendanceTable td {
        font-size: 8px; /* Smaller font size for printing */
    }
}

.cm-bordered-table {
    border-collapse: collapse;
    width: 100%;
}

.cm-bordered-table th,
.cm-bordered-table td {
    border: 1px solid #ccc;
    padding: 2px 4px;
    line-height: 1;
}


.cm-bordered-table thead th {
    font-weight: bold;
    text-align: center;
}
