.avatar-circle {
    float: left;
    border-radius: 50%;
    margin-right: 10px;
    margin-top: -2px;
    margin-bottom: -3px;
    color: #fff;
    text-align: center;
    background: #000;
}

.avatar-circle-25 {
    width: 25px;
    height: 25px;
    font-size: 22px;
    line-height: 24px;
}

.avatar-circle-40 {
    width: 40px;
    height: 40px;
    font-size: 36px;
    line-height: 40px;
}

.avatar-circle-70 {
    width: 70px;
    height: 70px;
    font-size: 70px;
    line-height: 66px;
    float: none !important;
    margin: 0 auto !important;
}

.avatar-circle-90 {
    width: 90px;
    height: 90px;
    font-size: 90px;
    line-height: 84px;
    float: none !important;
    margin: 0 auto !important;
}

.small-box h3 {
    font-size: 38px;
    font-weight: inherit;
    margin: 0 0 10px 0;
    white-space: normal;
    padding: 0;
}

.form-horizontal-box-footer-button {
    padding-left: 5px;
}

@media (max-width: 767px) {
    .avatar-circle {
        /*float: none;*/
        /*margin-right: 0;*/
    }

    .small-box .icon {
        display: inherit;
    }

    .small-box {
        text-align: left;
    }

    .form-horizontal-box-footer-button {
        padding-left: 0;
    }
}

@media (max-width: 991px) {
    .navbar-custom-menu > .navbar-nav > li > .dropdown-menu {
        right: 1px;
    }
}

.row-title-box {
    background: #d2d6de;
    /*margin-top: 30px;*/
    margin-bottom: 18px;
    padding: 7px 5px 7px 10px;
    border-radius: 2px;
}

.row-title-menu-category {
    /*background: #cceef7;*/
    background: rgba(255, 255, 255, 0.5);
    color: #367fa9;
    font-size: 12px;
    margin-bottom: 12px;
    padding: 5px 5px 5px 10px;
    border-radius: 2px;
}

.wrapper {
    overflow-y: auto;
}

/* navbar */
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > .notification-div > .notification-content > a {
    margin: 0;
    padding: 10px 10px;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > .notification-div:hover,
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > .notification-div > .notification-content > a:hover,
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > .notification-div > .notification-delete > a:hover {
    background: #f4f4f4 !important;
    text-decoration: none;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li.unread > .notification-div > .notification-delete > a,
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li.read > .notification-div > .notification-delete > a {
    color: #adcce3 !important;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > .notification-div > .notification-delete > a:active {
    background: #999999 !important;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > .notification-div > .notification-content > a > div > img {
    margin: auto 10px auto auto;
    width: 40px;
    height: 40px;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > .notification-div > .notification-content > a > h4 {
    padding: 0;
    margin: 0 0 0 0;
    color: #444444;
    font-size: 15px;
    position: relative;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > .notification-div > .notification-content > a > h4 > small {
    color: #999999;
    font-size: 10px;
    position: absolute;
    top: 0;
    right: 0;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > .notification-div > .notification-content > a > p {
    margin: 0 0 0 0;
    font-size: 12px;
    color: #888888;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > .notification-div > .notification-content > a:before,
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > .notification-div > .notification-content > a:after {
    content: " ";
    display: table;
}

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > .notification-div > .notification-content > a:after {
    clear: both;
}

.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a, .navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > .notification-div > .notification-content > a, .navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a {
    white-space: normal;
    text-align: justify;
}

/* sidebar */
.sidebar {
    padding-bottom: 0;
}

.sidebar-menu .menu-open > a > .fa-folder:before {
    content: "\f07c";
}

.hlabel {
    color: #4b646f;
    /*background: #1a2226;*/
    padding: 10px 25px 10px 15px;
    font-size: 12px;
}

.skin-blue .sidebar-menu > li.hlabel > a {
    color: #4b646f;
}

.skin-blue .sidebar-menu > li.hlabel:hover > a {
    color: #ddd;
}

/* Left Sidebar Menu - START */
/* To fix the left sidebar menu position when the page is scrolled */
/* To show vertical scrollbar when the left sidebar menu is hovered */
#left_sidebar_menu.at-top {
    padding-top: 50px;
}

#left_sidebar_menu.mobile-at-top {
    padding-top: 100px;
}

#left_sidebar_menu {
    position: fixed;
    height: 100vh;
    z-index: 1000;
    padding-top: 0;
    overflow-y: auto;
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: #888 #222d32;
}

/* #left_sidebar_menu:hover {
    overflow-y: auto;
} */

/* For Chrome, Edge, Safari */
#left_sidebar_menu::-webkit-scrollbar {
    width: 8px;
    background: transparent;
}

#left_sidebar_menu:hover::-webkit-scrollbar {
    background: #222d32;
}

#left_sidebar_menu::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

#left_sidebar_menu.expanded {
    overflow-y: auto;
}

#left_sidebar_menu.collapsed {
    overflow: visible !important;   /* To ensure sub menu is still visible when collapsed and hovered */
}
/* Left Sidebar Menu - END */

/* cropper */
.cropper-container {
    position: static;
}

.cropper-canvas {
    display: none;
}

.cropper-overlay {
    z-index: 50;
    background: rgba(255, 255, 255, .7);
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cropper-overlay .fa {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    color: #000;
    font-size: 30px;
}

/* xweb.pagination */
.table-pagination {
    float: right;
    margin-right: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.table-pagination > a {
    margin-right: 5px;
    background: #eee;
    padding: 3px 8px;
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.table-pagination > a.disabled {
    color: #999;
}

.table-pagination > a.disabled:hover {
    background: #eee;
    cursor: default;
}

.table-pagination > a:hover {
    background: #ddd;
}

.table-pagination > span > a {
    padding: 3px 8px;
    margin-right: 5px;
    background: #eee;
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.table-pagination > span > a.active {
    background: #368ee0;
    color: #fff;
}

/* bootstrap-typeahead */
.typeahead {
    max-height: 200px;
    overflow-y: auto;
}

/* bootstrap-timepicker */
/* https://github.com/jdewit/bootstrap-timepicker/issues/170 */
/* https://stackoverflow.com/questions/24901731/how-do-i-change-a-glyphicon-upon-clicking-it-in-bootstrap-3-2 */
.bootstrap-timepicker-widget.dropdown-menu {
    max-width: 180px;
}

/* jquery-locationpicker */
.pac-container {
    z-index: 10000 !important;
}

/* form-builder */
.form-wrap.form-builder .btn-danger {
    /*background-color: #f4f4f4;*/
    color: #fff;
}

.form-wrap.form-builder .btn-danger:hover {
    /*background-color: #e7e7e7;*/
    color: #fff;
}

.form-wrap.form-builder .btn-primary {
    /*background-color: #f4f4f4;*/
    color: #fff;
}

.form-wrap.form-builder .btn-primary:hover {
    /*background-color: #e7e7e7;*/
    color: #fff;
}

.form-wrap.form-builder .frmb-control li .control-icon .frmb-custom-control {
    margin-right: 10px;
    font-size: 16px
}

@media (max-width: 481px) {
    /* https://stackoverflow.com/questions/20782368/use-font-awesome-icon-as-css-content */
    li.input-control[data-type="Images"]::before {
        font-style: normal;
        font-weight: 400;
        display: inline-block;
        text-decoration: inherit;
        width: 1em;
        margin-right: .2em;
        text-align: center;
        font-variant: normal;
        text-transform: none;
        line-height: 1em;
        margin-left: .2em;
        font-family: FontAwesome;
        content: "\f1c5";
    }
}

.custom-file-container__image-multi-preview {
    height: 150px;
}

@media (max-width: 767px) {
    .custom-file-container__image-multi-preview {
        height: 90px;
    }
}

/* file-upload */
/* https://github.com/promosis/file-upload-with-preview */
.custom-file-container__custom-file {
    font-weight: initial;
    margin-bottom: 0;
    margin-top: 0;
}

.custom-file-container__custom-file__custom-file-control {
    height: auto;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #999;
    border: 1px solid #d2d6de;
    border-radius: 0;
}

.custom-file-container__custom-file__custom-file-control__button {
    height: auto;
    padding: 6px;
    line-height: 1.42857143;
}

.custom-file-container__image-preview {
    margin-top: 15px;
    margin-bottom: 0;
}

.custom-file-container__xhandler-button {
    height: 100%;
    /*border-left: 1px solid #c0c0af;*/
    border-left: 1px solid #d2d6de;
    /*background-color: #edede8;*/
    background-color: #f4f4f4;
}

.custom-file-container__image-multi-preview__single-image-clear__icon,
.custom-file-container__image-multi-preview > div[data-upload-name] > p {
    /* https://stackoverflow.com/questions/3779534/how-do-i-disable-text-selection-with-css-or-javascript */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* nav-tabs */
.nav-tabs-custom > .nav-tabs.nav-primary > li.active {
    border-top-color: #3c8dbc;
}

.nav-tabs-custom > .nav-tabs.nav-info > li.active {
    border-top-color: #00c0ef;
}

.nav-tabs-custom > .nav-tabs.nav-default > li.active {
    border-top-color: #d2d6de;
}

/* formbuilder-tab */
.formbuilder-tab-input-text {
    padding-left: 5px;
    padding-right: 5px;
}

.formbuilder-tab-input-text::-webkit-input-placeholder {
    color: #ccc;
}

/* print */
.only-print {
    display: none;
}

@media print {
    .no-print, .no-print * {
        display: none !important;
    }

    .only-print {
        display: block;
    }

    .pagebreak {
        clear: both;
        page-break-after: always;
    }
}

/* general */
.wordwrap {
    /* https://stackoverflow.com/questions/1638223/is-there-a-way-to-word-wrap-long-words-in-a-div */
    /* http://snipplr.com/view/10979/css-cross-browser-word-wrap */
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

body {
    /* https://github.com/almasaeed2010/AdminLTE/issues/416 */
    -ms-overflow-style: scrollbar;
}

.modal.bootstrap-dialog {
    /* https://stackoverflow.com/questions/32862394/bootstrap-modals-keep-adding-padding-right-to-body-after-closed */
    padding-right: 0 !important;
}

.only-print {
    display: none;
}

@media print {
    .no-print, .no-print * {
        display: none !important;
    }

    .only-print {
        display: block;
    }

    .pagebreak {
        clear: both;
        page-break-after: always;
    }
}

/* @media (min-width: 1200px) {
    .modal-lg {
        width: 92%;
    }
} */

/*.modal-open {
    overflow: hidden;
    overflow-y: scroll;
    padding-right: 0 !important;
}*/

.inner {
    overflow-wrap: break-word;
}

.box-tools {
    position: relative !important;
    top: 0px !important;
    right: -1px !important;
}

#hidebutton {
    padding: 0;
    float: right;
}

#showbutton {
    padding: 0;
    float: right;
}

a[aria-expanded=true] .fa-chevron-right {
   display: none;
}
a[aria-expanded=false] .fa-chevron-down {
   display: none;
}

.collapse-row td {
  padding: 0 !important;
}

.collapse-content {
	 padding: 0.5em;
}

.collapse-content > table {
	 border: 1px solid #ccc;
	 font-size: 11px;
}

.collapse-content > table > thead > tr {
	 background-color: #9d9d9d;
	 color: white;
	 padding: 8px;
}

.collapse-content > table > thead > tr > th {
	 white-space: nowrap;
}

.collapse-content > table > tbody > tr > td {
	 padding: 8px !important;
	 white-space: nowrap;
}

.pending-task {
	position : relative;
	margin-bottom : 3px;
}

.pending-task span {
	position : absolute;
	padding: 5px 6px;
}

.pending-task-highlight {
    background-color: #ffffba !important;
}

.div-table {
    display: table;
    width: 100%;
}

.div-table-row {
    display: table-row;
    width: auto;
}

.div-table-title-col {
    width: 40%;
    padding: 8px 10px 8px 0px;
    float: left;
    display: table-column;
    font-weight: bold;
}

.div-table-col {
    width: 30%;
    padding: 8px 5px;
    float: left;
    display: table-column;
}

.general-settings-note {
    font-weight: normal;
    font-size: small;
}

.common-tooltip {
    position: relative;
    display: inline-block;
    background: #bcbcbc;
    color: white;
    border-radius: 100%;
    padding: 1px 6px;
    margin-left: 5px;
}

.project-tooltip {
    font-weight: normal;
    font-size: x-small;
    vertical-align: middle;
}

.project-tooltiptext {
    font-size: small;
}

.common-tooltip .common-tooltiptext {
    visibility: hidden;
    width: 500px;
    top: 100%;
    left: 50%;
    margin-left: -120px;
    /*top: -5px;
    right: 105%;*/
    padding: 10px;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    border-radius: 6px;
    word-break: break-word;
    text-align: left;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.margin-quotation-item-tooltip .margin-quotation-item-tooltiptext {
    visibility: hidden;
    width: fit-content;
    height: fit-content;
    top: 20px;
    left: -10px;
    padding: 10px;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    border-radius: 6px;
    text-align: left;
    white-space: nowrap;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.common-tooltip:hover .common-tooltiptext,
.margin-quotation-item-tooltip:hover .margin-quotation-item-tooltiptext {
    visibility: visible;
}

.admin_claim_category_subdetail_field_title,
.admin_claim_projectbudget_field_title,
.admin_project_setting_general_field_title {
    padding: 5px 5px 5px 0px;
    width: 30%;
    font-weight: bold;
}

.admin_claim_category_subdetail_field_radio_button,
.admin_claim_projectbudget_field_radio_button,
.admin_project_setting_general_field_radio_button {
    padding: 5px;
    width: 35%;
}

.file-upload-value {
    height: 34px;
    position: absolute;
    padding: 6px 12px;
    float: left;
}

.file-upload-button {
    height: 33px;
    background-color: #3c8dbc;
    color: white;
    padding: 6px 12px;
    text-align: center;
    float: right;
}

.file-download-button {
    height: 33px;
    background-color: #666;
    color: white;
    padding: 6px 12px;
    text-align: center;
    float: right;
    display: none;
}

.file-preview-add,
.file-preview-view {
    width: 100%;
    height: 250px;
    background-color: rgb(237, 237, 232);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 4px;
    overflow: hidden;
    display: none;
}

.pdf-preview-add,
.pdf-preview-view,
.img-preview-add,
.img-preview-view {
    width: 100%;
    background-color: rgb(237, 237, 232);
    border-radius: 4px;
    display: none;
}

.canvas-add,
.canvas-view {
    margin-left: auto; 
    margin-right: auto; 
    display: block;
}

/* View full size image for thumbnail image - START */
/* The Modal (background) */
.image-preview-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    padding-top: 50px; /* Location of the box */
    padding-bottom: 20px; 
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    align-items: center;
    justify-content: center;
    align-content: center;
    justify-items: center;
}

/* Modal Content (Image) */
.image-preview-modal-content {
    padding: 25px;
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation-name: zoom;
    animation-duration: 0.6s;
    touch-action: manipulation;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.image-preview-close,
.supplier-product-image-preview-close {
    position: fixed;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 10000;
}

.image-preview-close:hover,
.image-preview-close:focus,
.supplier-product-image-preview-close:hover,
.supplier-product-image-preview-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .image-preview-modal-content {
        width: 100%;
    }
}

.nav-button {
    position: fixed;
    top: 50%;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 0 10px;
    background: rgba(0, 0, 0, 0);
    border-radius: 5px;
}

.nav-button.arrow-left {
    left: 12px;
    width: 0; 
    height: 0; 
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent; 
    border-right:12px solid rgb(100, 100, 100); 
}

.nav-button.arrow-right {
    right: 12px;
    width: 0; 
    height: 0; 
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent; 
    border-left:12px solid rgb(100, 100, 100); 
}

.nav-button.arrow-left:hover {
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent; 
    border-right:12px solid rgba(210, 210, 210, 0.7); 
}

.nav-button.arrow-right:hover {
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent; 
    border-left:12px solid rgba(210, 210, 210, 0.7); 
}

.thumbnails {
    width: 100%;
    position: fixed;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0);
    padding: 3px 10px;
    border-radius: 3px;
    text-align: center;
}

.image-counter {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 3px 10px;
    border-radius: 3px;
}

.zoom-controls {
    position: fixed;
    z-index: 10000;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
}

.zoom-button {
    font-family: "Farfetch Basis","Helvetica Neue",Arial,sans-serif;
    font-size: 18px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 50px;
    padding: 5px 0;
    touch-action: manipulation;
}

.reset-button {
    font-family: "Farfetch Basis","Helvetica Neue",Arial,sans-serif;
    font-size: 14px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 50px;
    padding: 5px 0;
    touch-action: manipulation;
}

.zoom-button:hover {
    background-color: rgba(220, 220, 220, 0.7);
    color: black;
}

.reset-button:hover {
    background-color: rgba(220, 220, 220, 0.7);
    color: black;
}
/* View full size image for thumbnail image - END */

.modal {
    overflow-y: auto !important;
}

.dashed {
    text-decoration: line-through;
}

/* Gantt Chart */
.gantt_task_progress {
	text-align: left !important;
	padding-left: 10px !important;
    box-sizing: border-box !important;
	color: white !important;
	font-weight: bold !important;
}

.gantt_cal_light {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%,-50%) !important;
    box-sizing: border-box !important;
    width: 600px !important;
    max-width: calc(100% - 20px);
}

.gantt_task_line.milestone {
    background-color: #6BA8E3;
    border: 1px solid #587DA9;
}

.milestone .gantt_task_progress {
    background: #587DA9;
}

.gantt_task_progress {
    background-color: rgba(54, 54, 54, 0.2) !important;
    opacity: 1 !important;
}

/* Asset Depreciation Report */
#depreciation_table th, #depreciation_table td {
    border: 1px solid grey;
    padding: 5px;
}

/* Asset Approval page */
.boldCss {
    font-weight: bold;
    background-color: #ffffba;
}

/* KPI Stage */
#dataTable_sales th, #dataTable_sales td {
    border: 1px solid grey;
    padding: 5px;
}

/* Staff KPI Result */
#dataTable_kpi th, #dataTable_kpi td {
    border: 1px solid grey;
    padding: 5px;
}

/* KPI Target Specific Report
   Monthly Sales Report by Staff
   Monthly Report for Others by Staff
   Department Performance Report */
#kpi_target_specific_report_summary,
#monthly_sales_report_by_staff_summary,
#monthly_report_for_others_by_staff_summary,
#kpi_department_performance_report_summary {
    border: 1px solid #f4f4f4;
}

#kpi_target_specific_report_summary tr th, #kpi_target_specific_report_summary tr td,
#monthly_sales_report_by_staff_summary tr th, #monthly_sales_report_by_staff_summary tr td,
#monthly_report_for_others_by_staff_summary tr th, #monthly_report_for_others_by_staff_summary tr td,
#kpi_department_performance_report_summary tr th, #kpi_department_performance_report_summary tr td {
    padding: 10px;
    border: 1px solid #f4f4f4;
}

/* Monthly Sales Report */
#dataTable_market_sales th, #dataTable_market_sales td,
#dataTable_market th, #dataTable_market td {
    border: 1px solid grey;
    padding: 5px;
}

/* Main Dashboard */
.dashboard-module {
    height: 130px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
}

.dashboard-module:hover {
    outline: solid 2px #BCBCBC;
}

.dashboard-module:active {
    transform: translateY(3px);
}

.dashboard-module-icon {
    height: 60px;
    margin-bottom: 10px;
}

#project_timeline_div {
    height: 70px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.dashboard-timeline {
    list-style-type: none;
    display: flex;
    align-items: center;
    padding-left: 0px;
    margin-top: 10px;
}

.dashboard-li {
    transition: all 200ms ease-in;
}

.dashboard-status {
    padding: 0px 20px;
    display: flex;
    justify-content: center;
    border-top: 2px solid #D6DCE0;
    position: relative;
    transition: all 200ms ease-in;
    width: 150px;
    height: 50px;
}

.dashboard-status h4 {
    font-weight: 400;
    font-size: 12px;
    text-align: center;
    margin-top: 15px;
}

.dashboard-status:before {
    content: "";
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 25px;
    border: 1px solid #ddd;
    position: absolute;
    top: -11px;
    left: 42%;
    transition: all 200ms ease-in;
}

.dashboard-status:active:before {
    outline: solid 2px #BCBCBC;
}

.dashboard-li.complete .dashboard-status {
    border-top: 2px solid #3c8dbc;
}

.dashboard-li.complete .dashboard-status:before {
    background-color: #3c8dbc;
    border: double white;
    transition: all 200ms ease-in;
}

.dashboard-li.complete.current-stage .dashboard-status:before {
    background-color: #0E5390;
}

.dashboard-li.complete .dashboard-status h4 {
    color: #3c8dbc;
}

.dashboard-li.complete.current-stage .dashboard-status h4 {
    color: #0E5390;
    font-weight: bold;
}

#project_timeline_button_div {
    display: flex;
    justify-content: center;
    margin-bottom: 5px;
}

.timeline-button-arrow {
    border: solid #9e9e9e;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.timeline-button-left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.timeline-button-right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

#left_button, #right_button {
    width: 25px;
    height: 25px;
    border-radius: 25px;
    background-color: white;
    border: none;
}

#left_button {
    padding: 0px 0px 0px 3px;
}

#right_button {
    padding: 0px 3px 0px 0px;
}

#left_button:active, #right_button:active {
    transform: translateY(2px);
    border: solid 1px #9e9e9e;
}

/* Module Index Page */
.index-section-div {
    margin-bottom: 20px;
}

#form_user_asset_transaction_asset_approval .form-group {
    margin: 0;
    border: 1px solid #ddd;
    background: #f6f6f6;
}

#form_user_asset_transaction_asset_approval .form-group [class*="col-"].control-label {
    background: none;
    border-left: 0;
}

#form_user_asset_transaction_asset_approval .form-group [class*="col-"] {
    padding: 10px;
    background: #fff;
    border-left: 1px solid #ddd;
}

.index-item-div {
    height: 100px;
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    cursor: pointer;
}

.project-index-header-div {
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    cursor: pointer;
}

.index-item-div:hover,
.project-index-header-div:hover {
    outline: solid 2px #BCBCBC;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
}

.index-item-div:active,
.project-index-header-div:active {
    transform: translateY(3px);
}

.index-item-img-div {
    width: 40%;
    margin: auto;
    text-align: center;
}

.index-item-img {
    height: 55px;
}

.index-item-title-div {
    width: 60%;
    float: left;
    margin: auto;
    font-weight: bold;
    font-size: 16px;
    word-wrap: break-word;
}

.row-header {
    background-color: #9d9d9d;
    color: white;
}

/* Project Dashboard */
#user_project_projectdetail_tab,
#user_project_projectdetail_quotation_tab,
#user_project_projectdetail_profit_margin_tab {
    background-color: transparent;
}

#user_project_projectdetail_tab .nav-tabs > li,
#user_project_projectdetail_quotation_tab .nav-tabs > li,
#user_project_projectdetail_profit_margin_tab .nav-tabs > li {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    background-color: #bcbcbc;
    margin-right: 2px;
}

#user_project_projectdetail_quotation_tab .nav-tabs > li,
#user_project_projectdetail_profit_margin_tab .nav-tabs > li {
    background-color: #6EE1E7 !important;
}

#user_project_projectdetail_tab .nav-tabs > li > a,
#user_project_projectdetail_quotation_tab .nav-tabs > li > a,
#user_project_projectdetail_profit_margin_tab .nav-tabs > li > a {
    color: white;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

#user_project_projectdetail_tab .nav-tabs > li.active,
#user_project_projectdetail_quotation_tab .nav-tabs > li.active,
#user_project_projectdetail_profit_margin_tab .nav-tabs > li.active {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    border-top-color: #7e7e7e;
}

#user_project_projectdetail_quotation_tab .nav-tabs > li.active,
#user_project_projectdetail_profit_margin_tab .nav-tabs > li.active {
    border-top-color: #3c8dbc !important;
}

#user_project_projectdetail_tab .nav-tabs > li.active > a,
#user_project_projectdetail_quotation_tab .nav-tabs > li.active > a,
#user_project_projectdetail_profit_margin_tab .nav-tabs > li.active > a {
    color: black;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

#user_project_projectdetail_tab .nav-tabs > li:hover {
    background-color: #7e7e7e;
}

#user_project_projectdetail_quotation_tab .nav-tabs > li:hover,
#user_project_projectdetail_profit_margin_tab .nav-tabs > li:hover {
    background-color: #3c8dbc !important;
}

#user_project_projectdetail_tab .nav-tabs > li > a:hover,
#user_project_projectdetail_quotation_tab .nav-tabs > li > a:hover,
#user_project_projectdetail_profit_margin_tab .nav-tabs > li > a:hover {
    color: white;
    background-color: #7e7e7e;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

#user_project_projectdetail_quotation_tab .nav-tabs > li > a:hover,
#user_project_projectdetail_profit_margin_tab .nav-tabs > li > a:hover {
    background-color: #3c8dbc !important;
}

#user_project_projectdetail_tab .nav-tabs > li.active > a:hover,
#user_project_projectdetail_quotation_tab .nav-tabs > li.active > a:hover,
#user_project_projectdetail_profit_margin_tab .nav-tabs > li.active > a:hover {
    color: black;
    background-color: white !important;
}

#user_project_projectdetail_tab .nav > li > a,
#user_project_projectdetail_quotation_tab .nav > li > a,
#user_project_projectdetail_profit_margin_tab .nav > li > a {
    padding: 3px 15px;
}

.tab-content-header {
    padding: 6px 10px;
}

.tab-content-header > h4 {
    vertical-align: middle;
    font-size: 16px !important;
}

.up {
    transform: rotate(-90deg);
}

.project-detail-table > thead > tr > th {
    text-align: center;
    white-space: nowrap;
    padding-right: 8px !important;
}

.profit-margin-table > thead > tr > th {
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 1325px) {
    #user_project_projectdetail_tab > .nav-tabs {
        background-color: white;
    }

    #user_project_projectdetail_tab > .nav-tabs > li {
        width: 33.33%;
        margin-right: 0;
        border-top-color: white;
    }

    #user_project_projectdetail_tab > .nav-tabs > li {
        border-left: solid white;
    }

    #user_project_projectdetail_tab > .nav-tabs > li.active {
        border-left: none;
    }

    .dashboard-module {
        height: 120px;
    }
}

@media (max-width: 45em) {
    #user_project_projectdetail_tab > .nav-tabs > li {
        width: 50%;
        margin-right: 0;
        border-top-color: white;
    }

    #user_project_projectdetail_tab > .nav-tabs > li {
        border-left: solid white;
    }

    #user_project_projectdetail_tab > .nav-tabs > li.active {
        border-left: none;
    }

    .dashboard-module {
        height: 120px;
    }
}

/* Profit Margin */
.profit-margin-under-margin {
    background-color: #FF9E9E !important;
}

.profit-margin-over-margin {
    background-color: #9bf086 !important;
}

.profit-margin-total-highlight {
    background-color: #fffedd;
}

.non-wetwork-margin-table-div {
    max-height: 100vh;
    overflow: auto;
}

.non-wetwork-margin-table {
    width: 100%;
    border: 1px solid #ccc;
}

.non-wetwork-margin-table > tbody > tr > td {
    border-right: 1px solid #F4F4F4;
}

#non_wetwork_margin_summary_thead > tr > th,
.non-wetwork-margin-summary-thead > tr > th,
#non_wetwork_margin_select_margin_item_thead > tr > th,
.non-wetwork-margin-quotation-thead > tr > th {
    font-weight: normal;
    text-align: center;
    vertical-align: bottom !important;
    min-width: 120px;
    background: #9d9d9d;
    position: sticky;
    top: 0;
    z-index: 1;
}

.non-wetwork-margin-summary-category-supplier-margin-header-row {
    background-color: #E3FFD4;
    font-size: 15px;
    font-weight: bold;
}

.non-wetwork-margin-summary-category-supplier-margin-header-row > td {
    border-top: 3px solid #ccc !important;
}

.non-wetwork-margin-summary-quotation-header-row {
    background-color: #EAEAEA;
    font-weight: bold;
}

.non-wetwork-margin-summary-quotation-row {
    background-color: #d2d6de;
    font-weight: bold;
}

#result_table_non_wetwork_profit_margin_by_category_footer,
.non-wetwork-margin-summary-footer,
.non-wetwork-margin-summary-grand-footer {
    background-color: #AFF8FE;
    text-align: right;
    font-weight: bold;
}

.non-wetwork-margin-summary-footer > td {
    border-top: 3px solid #ccc !important;
    border-left: 1px solid #ccc !important;
    border-right: 1px solid #ccc !important;
}

.non-wetwork-margin-summary-grand-footer > td {
    border-top: 3px solid black !important;
    border-bottom: 3px solid black !important;
    border-left: 1px solid #ccc !important;
    border-right: 1px solid #ccc !important;
}

.margin-note-div {
    background: #d2d6de;
    border: 1px solid #d2d6de;
    border-radius: 5px;
    color: #444;
    padding: 5px 10px;
    white-space: pre-wrap;
}

.margin-summary-column-text {
    width: 80%;
    float: left;
}

.margin-hide-summary-column {
    width: 20%;
    float: right;
    cursor: pointer;
}

.margin-hidden-summary-column-btn {
    background: none;
    border: none;
    padding: 5px;
    color: #069;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

/* Non-wet work price enquiry form */
.non-wet-work-enquiry-table-title {
    width: 30%;
    font-weight: bold;
    background: #d2d6de;
    white-space: nowrap;
}

.non-wet-work-enquiry-table-data {
    min-width: 500px;
}

.non-wet-work-enquiry-timestamp {
    font-style: italic;
    font-weight: bold;
    color: #B5200E;
}

/* Wet work price enquiry form */
.wetwork-price-enquiry-field {
    border: 1px solid #d2d6de;
    padding: 3px 5px;
    width: 150px;
}

.wetwork-price-enquiry-field[disabled] {
    background-color: #F4F4F4;
}

#user_project_price_enquiry_non_wetwork_add_enquiry_detail tr:nth-child(odd),
#user_project_price_enquiry_non_wetwork_view_enquiry_detail tr:nth-child(odd),
#admin_project_price_enquiry_non_wetwork_view_enquiry_detail tr:nth-child(odd) {
    background-color: #EEFEFF;
}

#user_project_price_enquiry_non_wetwork_view_enquiry_detail table tbody tr:nth-child(odd),
#admin_project_price_enquiry_non_wetwork_view_enquiry_detail table tr:nth-child(odd) {
    background-color: white;
}

/* Quotation */
.quotation-main-group-missing-info {
    background-color: #AFF8FE;
    border: 1px solid #ccc;
    padding: 5px;
    margin-right: 30px;
}

.quotation-group-missing-info {
    background-color: #9DDD8F;
    border: 1px solid #ccc;
    padding: 5px;
    margin-left: 10px;
    margin-right: 20px;
}

.quotation-item-missing-info {
    background-color: #FFFDEB;
    border: 1px solid #ccc;
    padding: 5px;
    margin-left: 20px;
    margin-right: 10px;
}

.quotation-combine-item-missing-info {
    background-color: #FFE3B9;
    border: 1px solid #ccc;
    padding: 5px;
    margin-left: 20px;
    margin-right: 10px;
}

.quotation-sub-item-missing-info {
    border: 1px solid #ccc;
    padding: 5px;
    margin-left: 30px;
}

#user_project_quotation_add_carpentry_table > thead > tr > th,
#user_project_quotation_add_submission_table > thead > tr > th {
    background: #9d9d9d;
    position: sticky;
    top: 0;
    z-index: 1;
}

.quotation-field-title {
    width: 25%;
    font-weight: bold;
}

.quotation-section-radio-button,
.quotation-section-checkbox {
    width: 25%;
}

.quotation-section-title {
    width: 40%;
    font-weight: bold;
}

.quotation-section {
    border: 1px solid #ccc;
    margin-bottom: 15px;
    overflow-x: auto;
    display: none;
}

.quotation-section-table {
    border: none;
}

.quotation-section-table > tbody > tr > td {
    border: none !important;
}

.quotation-section-header {
    white-space: nowrap;
    background-color: #ccc;
}

.quotation-vocn-header {
    padding: 5px;
    background: #fffdeb;
    text-align: center;
    font-weight: bold;
    display: none;
}

.quotation-amount-title {
    font-weight: bold;
    text-align: right;
}

.quotation-amount-field {
    width: 100%;
    text-align: right;
    border: 1px solid #d2d6de;
    padding: 3px 5px;
}

.quotation-table,
.quotation-approval-table,
.quotation-approval-remark-table {
    border: 1px solid #ccc;
    width: 100%;
}

.quotation-table > thead > tr > th {
    text-align: center;
    font-weight: normal;
    padding: 5px;
}

.quotation-table > tbody > tr > td,
.quotation-approval-table > tbody > tr > td {
    border: 1px solid #ccc;
    padding: 5px;
    vertical-align: top;
}

.quotation-table > tfoot > tr > td {
    padding: 5px;
}

.quotation-input-field {
    border: 1px solid #d2d6de;
    padding: 3px 5px;
    width: 100%;
}

.quotation-grand-total-table > tbody > tr > td,
.quotation-approval-remark-table > tbody > tr > td {
    padding: 5px;
}

.quotation-grand-total-table > tbody > tr > td > input {
    width: 100%;
    text-align: right;
}

#user_project_quotation_add_footer .radio {
    display: inline-block;
    padding-right: 10px;
}

.quotation-approval-div,
.quotation-approval-remark-div {
    overflow-x: auto;
    margin-top: 15px;
    display: none;
}

.quotation-approval-field-title,
.quotation-approval-remark-field-title {
    width: 30%;
    font-weight: bold;
    vertical-align: top;
}

.quotation-approval-field {
    width: 35%;
}

.quotation-approval-remark-field {
    width: 60%;
    border: 1px solid #d2d6de;
    white-space: pre-wrap;
}

#user_project_quotation_print_table {
    width: 100%;
    border: 1px solid #ccc;
    font-family: Arial, Helvetica, sans-serif;
}

#user_project_quotation_print_table > thead > tr > th,
#user_project_quotation_print_table > tbody > tr > td {
    padding: 5px;
}

.print-quotation-header {
    background-color: #FF6600;
    color: white;
    width: 33.33%;
    font-weight: bold;
}

.print-quotation-amount-title {
    font-weight: bold;
    text-align: right;
    border: none !important;
}

.print-quotation-amount-field {
    text-align: right;
    border: none !important;
}

.print-quotation-signature {
    font-size: 14px;
    font-weight: bold;
    vertical-align: top;
}

#user_project_quotation_print_quotation_details_customer_table,
#user_project_quotation_print_quotation_details_management_table {
    width: 100%;
    border-top: 1px solid #ccc;
}

#user_project_quotation_print_quotation_details_customer_table > thead > tr > th,
#user_project_quotation_print_quotation_details_customer_table > tbody > tr > td,
#user_project_quotation_print_quotation_details_management_table > thead > tr > th,
#user_project_quotation_print_quotation_details_management_table > tbody > tr > td {
    padding: 5px;
}

#user_project_quotation_print_quotation_details_customer_table > thead > tr > th,
#user_project_quotation_print_quotation_details_management_table > thead > tr > th {
    background-color: #FF6600 !important;
    color: white;
    text-align: center;
}

#user_project_quotation_print_quotation_details_customer_table > tbody > tr > td,
#user_project_quotation_print_quotation_details_management_table > tbody > tr > td {
    border: 1px solid #ccc;
    vertical-align: top;
}

#user_project_quotation_print_attribute_price {
    font-size: 12px !important;
}

.quotation-add-item-dot,
.profit-margin-foc-attribute-dot {
    height: 10px;
    width: 10px;
    background-color: #F79B16;
    border-radius: 50%;
    display: inline-block;
}

.quotation-omitted-item-dot,
.profit-margin-buffer-attribute-dot {
    height: 10px;
    width: 10px;
    background-color: #6FC449;
    border-radius: 50%;
    display: inline-block;
}

.quotation-optional-item-dot,
.profit-margin-defect-attribute-dot {
    height: 10px;
    width: 10px;
    background-color: red;
    border-radius: 50%;
    display: inline-block;
}

.quotation-show-attr-to-customer-dot,
.profit-margin-cn-attribute-dot {
    height: 10px;
    width: 10px;
    background-color: #BC7CFC;
    border-radius: 50%;
    display: inline-block;
}

.profit-margin-vo-attribute-dot {
    height: 10px;
    width: 10px;
    background-color: #86DAF0;
    border-radius: 50%;
    display: inline-block;
}

.main-group-collapse,
.group-collapse,
.sub-item-collapse {
    display: none;
}

.approved-by-client-button {
    width: 200px;
    padding: 6px 12px;
    border: 2px solid #16CB0E;
    border-radius: 30px;
    background-color: transparent;
    color: #16CB0E;
    font-size: 18px;
    font-weight: bold;
}

.rejected-by-client-button {
    width: 200px;
    padding: 6px 12px;
    border: 2px solid red;
    border-radius: 30px;
    background-color: transparent;
    color: red;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.approved-by-client-button-clicked {
    width: 200px;
    padding: 6px 12px;
    border: 2px solid #16CB0E;
    border-radius: 30px;
    background-color: #16CB0E;
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.rejected-by-client-button-clicked {
    width: 200px;
    padding: 6px 12px;
    border: 2px solid red;
    border-radius: 30px;
    background-color: red;
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.carpentry-total-row td {
    border: none !important;
    background-color: #F5F5F5;
}

.quotation-item-highlight {
    background-color: yellow;
}

/* For removing arrows/spinners from input type number */
.no-spin::-webkit-inner-spin-button, .no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.no-spin {
    -moz-appearance:textfield !important;
}

/* Product Price List */
.product-table > thead > tr > th,
.product-table > tbody > tr > td {
    white-space: nowrap;
    padding-right: 8px !important;
}

.product-detail-table {
    border: 1px solid #F4F4F4 !important;
    font-size: 14px !important;
}

.product-detail-table > thead > tr > th {
    padding-right: 8px !important;
}

.product-detail-table > thead > tr > th,
.product-detail-table > thead > tr > td,
.product-detail-table > tbody > tr > td {
    border: 1px solid #F4F4F4 !important;
    white-space: nowrap;
}

.product-detail-table-title {
    font-weight: normal;
    text-align: center;
    padding: 6px !important;
}

.product-detail-table-header {
    background-color: white !important;
    color: black !important;
}

.quick-edit-field {
    width: 100%;
    height: 25px;
    box-sizing: border-box;
    padding: 5px;
    display: none;
}

#user_project_product_list_result_table > thead > tr > th {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 1;
}

/* To-Do List Print */
#user_task_to_do_print_detail_table > thead > tr > th {
    text-align: center;
}

/* Quotation auto save loader - START */
.loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #3498db;
    width: 20px;
    height: 20px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}
  
/* Safari */
/* @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} */
/* Quotation auto save loader - END */

/* Quotation Sort - START */
.sort-main-group-list {
    background: #AFF8FE;
    font-weight: bold;
    font-size: 16px;
    border: 1px solid #ccc;
    cursor: grab;
}

.sort-group-list {
    background: #9DDD8F;
    font-weight: bold;
    font-size: 15px;
    border: 1px solid #ccc;
    cursor: grab;
}

.sort-item-list {
    background: #FFFDEB;
    font-weight: bold;
    font-size: 14px;
    padding: 5px;
    border-top: 1px solid #ccc;
    cursor: grab;
}

.sort-combined {
    background: #FFE3B9 !important;
}

.sort-sub-item-list {
    background: white;
    font-weight: normal;
    font-size: 14px;
    padding: 5px;
    border: 1px solid #ccc;
    display: list-item;
    list-style-type: disc;
    list-style-position: inside;
    cursor: grab;
}

.sort-ul {
    list-style-type: none;
    padding: 0;
    margin-top: 3px;
}

.sort-ghost-item {
    background: #D2D6DE;
}

.sort-dragged-item {
    background: #D2D6DE;
    border: 1px solid #7B7B7B;
}
/* Quotation Sort - END */

/* Quotation Search Product - START */
.number-circle {
    border-radius: 50%;
    width: 15px;
    height: 15px;
    background: red;
    color: white;
    text-align: center;
    font-size: 11px;
    margin: auto;
    display: none;
}
/* Quotation Search Product - END */

/* Non-Wet Work Price Enquiry Form - START */
.default-message {
    display: flex;
    justify-content: center;
    align-items: center;
}

.direct-chat-danger .right>.direct-chat-text {
    background: #3076F1;
    border-color: #2761C7;
}

.direct-chat-danger .right>.direct-chat-text:before,
.direct-chat-danger .right>.direct-chat-text:after {
    border-left-color: #2761C7;
}

.direct-chat-infos {
    margin-top: 15px;
    margin-bottom: 10px;
}

.chat-button-with-badge,
.profit-margin-chat-button-with-badge {
    position: relative;
}

.chat-button-with-badge:before,
.profit-margin-chat-button-with-badge:before {
    content: attr(data-count);
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    display: block;
    border-radius: 50%;
    background: red;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
    color: #FFF;
    position: absolute;
    top: -7px;
    left: -7px;
}

.profit-margin-chat-button-with-badge:before {
    top: -8px;
    left: -12px;
}

.chat-button-with-badge-top-right:before {
    left: auto;
    right: -12px;
}

.non-wet-work-enquiry-history-table-title {
    width: 30%;
    color: white;
    background: #9d9d9d;
    white-space: nowrap;
}

.copied-tooltip {
    display: none;
    padding: 5px 12px;
    background-color: #9d9d9d;
    opacity: 0.8;
    border-radius: 20px;
    color: #fff;
    -webkit-animation: fadeinout 2s linear forwards;
    animation: fadeinout 2s linear forwards;
}

@-webkit-keyframes fadeinout {
    0%,100% { opacity: 0; }
    50% { opacity: 1; }
}
  
@keyframes fadeinout {
    0%,100% { opacity: 0; }
    50% { opacity: 1; }
}

.blink-text {
    color: red;
    font-weight: bold;
    font-style: italic;
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
      opacity: 0;
    }
}

.priority-text {
    font-weight: bold;
    cursor: pointer;
}
/* Non-Wet Work Price Enquiry Form - END */

/* Select Quotation - START */
.select-quotation-div {
    overflow: auto;
}

.select-quotation-table > thead > tr > th,
.select-margin-table > thead > tr > th {
    text-align: center;
    white-space: nowrap;
    padding-right: 8px !important;
}

.select-quotation-table > tbody > tr > td:nth-child(1) {
    width: 50px;
}

.select-quotation-table > tbody > tr > td:nth-child(3) {
    width: 200px;
}

.select-quotation-table > tbody > tr > td:nth-child(4) {
    width: 100px;
}

.select-quotation-table > tbody > tr > td:nth-child(5) {
    width: 140px;
}

.select-quotation-table > tbody > tr > td:nth-child(6) {
    width: 120px;
}
/* Select Quotation - END */

/* Wet Work Quotation - START */
#wetwork_quotation_template_table,
#wetwork_quotation_item_table {
    padding-left: 5px;
    padding-right: 5px;
}

#wetwork_quotation_template_table > thead > tr > th,
#wetwork_quotation_item_table > thead > tr > th {
    background-color: #9d9d9d;
    color: white;
    font-weight: normal;
    text-align: center;
    padding-right: 8px;
    position: sticky;
    top: 0;
    z-index: 1;
}

#wetwork_quotation_template_table tr td:first-child,
#wetwork_quotation_item_table tr td:first-child {
    border-left-width: 1px;
}

.wetwork-quotation-level-type-dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: inline-block;
}

.wetwork-quotation-level-type-indicator {
    font-weight: bold;
    margin-left: 3px;
    margin-right: 20px;
}

.wetwork-quotation-main-title-row > td,
.main-title-level {
    background-color: #FFD479;
}

.wetwork-quotation-sub-title-row > td,
.sub-title-level {
    background-color: #AAF999;
}

.wetwork-quotation-item-row > td,
.item-level {
    background-color: #8EFDFF;
}

.wetwork-quotation-sub-item-row > td,
.sub-item-level {
    background-color: #E1C2FF;
}

.wetwork-quotation-area-row > td,
.area-level {
    background-color: #FFC2FB;
}

.brought-fwd-sub-total-row > td {
    background-color: #DDDDDD;
    font-weight: bold;
    font-family: sans-serif;
}

.wetwork-quotation-summary-row {
    font-family: sans-serif;
}

.wetwork-quotation-summary-row > td {
    border: none !important;
}

.summary-item > td {
    padding: 5px 8px !important;
}

.wetwork-quotation-summary-footer > td {
    background-color: #DDDDDD;
    font-weight: bold;
}

.wetwork-quotation-selected-row,
.non-wetwork-selected-cell {
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { outline:3px solid red; }
}

.blink-new-row {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
      opacity: 0;
    }
}

#wetwork_quotation_template_footer .radio,
#wetwork_quotation_item_footer .radio {
    display: inline-block;
    padding-right: 10px;
}

#wetwork_quotation_template_table label,
#wetwork_quotation_item_table label {
    vertical-align: text-top;
    font-size: 12px;
    font-weight: normal;
    margin-bottom: 0px;
}

.wetwork-template-error,
.wetwork-quotation-error,
.non-wetwork-quotation-error,
.non-wetwork-margin-error {
    background-color: #FF9E9E !important;
}
/* Wet Work Quotation - END */

/* Wet Work Quotation Sort - START */
.sort-main-title-level {
    background: #FFD479;
    font-weight: bold;
    font-size: 16px;
    color: black;
    border: 1px solid #ccc;
    padding: 0px 5px 5px 10px;
}

.sort-sub-title-level {
    background: #AAF999;
    font-weight: bold;
    font-size: 14px;
    color: black;
    border: 1px solid #ccc;
    padding: 5px 5px 5px 10px;
}

.sort-item-level {
    background: #8EFDFF;
    font-weight: bold;
    font-size: 14px;
    color: black;
    border: 1px solid #ccc;
    padding: 5px 5px 5px 10px;
}

.sort-sub-item-level {
    background: #E1C2FF;
    font-weight: bold;
    font-size: 14px;
    color: black;
    border: 1px solid #ccc;
    padding: 5px 5px 5px 10px;
}

.sort-area-level {
    background: #FFC2FB;
    font-weight: bold;
    font-size: 14px;
    color: red;
    border: 1px solid #ccc;
    padding: 5px 5px 5px 10px;
}

.sort-1-list {
    border: 1px solid #8E8E8E;
}
/* Wet Work Quotation Sort - END */

/* Wet Work Quotation Print - START */
#user_project_quotation_wetwork_print_table {
    width: 100%;
    border: 1px solid #ccc;
    font-family: Arial, Helvetica, sans-serif;
}

#user_project_quotation_wetwork_print_table > thead > tr > th,
#user_project_quotation_wetwork_print_table > tbody > tr > td {
    padding: 5px;
}

#user_project_quotation_wetwork_print_quotation_details_customer_table,
#user_project_quotation_wetwork_print_quotation_details_management_table {
    width: 100%;
    border-top: 1px solid #ccc;
}

#user_project_quotation_wetwork_print_quotation_details_customer_table > tbody,
#user_project_quotation_wetwork_print_quotation_details_management_table > tbody {
    border-bottom: 1px solid #ccc;
}

#user_project_quotation_wetwork_print_quotation_details_customer_table > thead > tr > th,
#user_project_quotation_wetwork_print_quotation_details_customer_table > tbody > tr > td,
#user_project_quotation_wetwork_print_quotation_details_customer_table > tfoot > tr > td,
#user_project_quotation_wetwork_print_quotation_details_management_table > thead > tr > th,
#user_project_quotation_wetwork_print_quotation_details_management_table > tbody > tr > td,
#user_project_quotation_wetwork_print_quotation_details_management_table > tfoot > tr > td {
    padding: 5px;
}

#user_project_quotation_wetwork_print_quotation_details_customer_table > thead > tr > th,
#user_project_quotation_wetwork_print_quotation_details_management_table > thead > tr > th {
    background-color: #FF6600 !important;
    color: white;
    text-align: center;
}

#user_project_quotation_wetwork_print_quotation_details_customer_table > tbody > tr > td,
#user_project_quotation_wetwork_print_quotation_details_management_table > tbody > tr > td {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    vertical-align: top;
}

#user_project_quotation_wetwork_print_wetwork_footer .wetwork-quotation-summary-row > td {
    border-left: 1px solid #ccc !important;
    border-right: 1px solid #ccc !important;
}

#user_project_quotation_wetwork_print_quotation_details_customer_table > tbody > tr > td:first-child,
#user_project_quotation_wetwork_print_quotation_details_management_table > tbody > tr > td:first-child,
#user_project_quotation_wetwork_print_wetwork_footer .wetwork-quotation-summary-row > td:first-child {
    border-left: none !important;
}

#user_project_quotation_wetwork_print_quotation_details_customer_table > tbody > tr > td:last-child,
#user_project_quotation_wetwork_print_quotation_details_management_table > tbody > tr > td:last-child,
#user_project_quotation_wetwork_print_wetwork_footer .wetwork-quotation-summary-row > td:last-child {
    border-right: none !important;
}

.user_project_quotation_wetwork_print_section {
    font-weight: bold;
    border: none;
}

.wetwork-quotation-main-title-row-print > td {
    border-top: 1px solid #ccc;
}

.wetwork-quotation-area-row-print > td {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
/* Wet Work Quotation Print - END */

/* Monthly Punch In/Out Report - START */
.table-monthly-punch-in-out-report-sticky thead tr:nth-child(1) th,
.table-monthly-punch-in-out-report-sticky thead tr:nth-child(2) th {
    position: sticky;
    top: -0.5px;
    z-index: 0;
    background: #ffffff;
}

.table-monthly-punch-in-out-report-sticky thead tr:nth-child(2) th {
    top: 35px;
    z-index: 1;
}
/* Monthly Punch In/Out Report - END */

/* Login Page - START */
.login-page {
    background-image: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.35) 100%), url('/apps/trinity/common/image/login_background.jpg') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
}

.login-box-body {
    border-radius: 10px !important;
    background-color: rgba(255, 255, 255, 0.8) !important;
}

@media (max-width: 768px) {
    .login-box {
        margin-top: 50%;
    }
}
/* Login Page - END */