.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: hidden;
}

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

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

.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > 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 > a > h4 > small {
    color: #999999;
    font-size: 10px;
    position: absolute;
    top: 0;
    right: 0;
}

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

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

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

.navbar-nav>.messages-menu>.dropdown-menu>li .menu>li>a, .navbar-nav>.notifications-menu>.dropdown-menu>li .menu>li>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";
}

/* 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";
    }
}

/* 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;
}

/* 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;
}

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

.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: #32CDD5;
    color: white;
    padding: 8px;
}

.collapse-content > table > thead > tr > th {
    white-space: nowrap;
    font-weight: normal;
    text-align: center;
    padding: 5px 8px;
}

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

.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: 70px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.image-preview-modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Add Animation Zoom in the Modal */
.image-preview-modal-content {
    animation-name: zoom;
    animation-duration: 0.6s;
}

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

/* The Close Button */
.image-preview-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.image-preview-close:hover,
.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%;
    }
}
/* View full size image for thumbnail image - END */

/* CRM Settings Page - START */
.tab-content-header {
    padding: 2px 10px;
}

.tab-content-header > h4 {
    vertical-align: bottom;
    font-size: 14px !important;
    font-weight: bold;
}

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

.chevron-div {
    position: relative;
    top: 0px;
    right: -1px;
}

.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;
}
/* CRM Settings Page - END */

/* CRM Opportunity - START */
#user_sales_crm_opportunity_view_quotation_table > thead > tr > th {
    white-space: nowrap;
    border: 1px solid #ddd;
}

#user_sales_crm_opportunity_view_quotation > tr > td {
    border: 1px solid #ddd;
}
/* CRM Opportunity - END */

/* Customer Service Form - START */
#customer_service_form {
    font-family: "Century Gothic", sans-serif, Arial;
}

#form_logo_div {
    display: flex;
    justify-content: space-between;
    padding: 8px;
}

#form_logo_div > div > img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 400px) {
    img.customer-service-form-company-logo {
        max-width: 200px !important;
    }

    img.customer-service-form-logo {
        max-width: 50px !important;
    }
}

@media only screen and (max-width: 991px) {
    #form_event_name_div {
        margin-top: 10px;
    }
}

#form_event_name {
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
}

#form_welcome_note {
    font-size: 18px;
    font-weight: bold;
    font-family: "Open Sans", sans-serif, Arial;
    margin-bottom: 0;
}

#form_welcome_note_detail {
    font-style: italic;
    font-family: "Open Sans", sans-serif, Arial;
}

.form-input {
    -webkit-border-radius:0; 
    border-radius:0;
    width: 100%;
    outline: 0;
    border-width: 0 0 2px;
    border-color: #ECF7FB;
}

.form-input:focus {
    border-color: #5B92C8;
    transition: 0.9s;
}

#form_solution_service_table > tr:nth-child(odd) {
    background-color: #ECF7FB;
}

#thank_you_div {
    position: absolute;
    left: 0;
    right: 0;
    top: 30%;
    bottom: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
    overflow: auto;
}

#thank_you_title {
    font-size: 28px;
    font-weight: bold;
    font-family: "Open Sans", sans-serif, Arial;
    text-align: center;
    margin-top: 20px;
}

#thank_you_note {
    font-size: 20px;
    font-family: "Open Sans", sans-serif, Arial;
    text-align: center;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7ac142;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards
}

.checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: auto;
    box-shadow: inset 0px 0px 0px #7ac142;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards
}

@keyframes stroke{100%{stroke-dashoffset: 0}}
@keyframes scale{0%, 100%{transform: none}50%{transform: scale3d(1.1, 1.1, 1)}}
@keyframes fill{100%{box-shadow: inset 0px 0px 0px 30px #7ac142}}
/* Customer Service Form - END */

/* Product Library - START */
.quick-edit-field {
    width: 100%;
    height: 25px;
    box-sizing: border-box;
    text-align: center;
    padding: 5px;
    display: none;
}
/* Product Library - END */

/* Quotation - START */
.sales-setting-table thead tr {
    background-color: #3c8dbc;
    color: white;
}

.sales-setting-table thead tr th {
    white-space: nowrap;
    padding: 5px 8px;
    text-align: center;
    font-weight: normal;
}

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

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

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

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

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

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

.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;
}

.quotation-row-header {
    background-color: #3c8dbc;
    color: white;
}

.quotation-row-header > th {
    font-weight: normal;
}

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

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

.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_sales_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_sales_quotation_print_table {
    width: 100%;
    border: 1px solid #ccc;
    font-family: Arial, Helvetica, sans-serif;
}

#user_sales_quotation_print_table > thead > tr > th,
#user_sales_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_sales_quotation_print_quotation_details_table {
    width: 100%;
    border-top: 1px solid #ccc;
}

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

#user_sales_quotation_print_quotation_details_table > thead > tr > th {
    background-color: #ccc !important;
    text-align: center;
}

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

#user_sales_quotation_print_main_info > tr > td {
    padding: 2px 8px;
}

#user_sales_quotation_print_term_condition {
    clear: both;
    page-break-after: always;
}

#quotation_form_logo_div {
    display: flex;
}

#quotation_form_logo_div > div > img {
    max-width: 100%;
    height: auto;
}

#user_sales_quotation_add_quotation_item_table > thead > tr > th {
    background: #3c8dbc;
    position: sticky;
    top: 0;
    z-index: 1;
}

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

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

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

.quotation-lose-button-clicked {
    width: 100px;
    padding: 6px 12px;
    border: 2px solid red;
    border-radius: 30px;
    background-color: red;
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}
/* Quotation - END */

/* Cost Sheet - START */
.cost-sheet-title {
    background: #EAFEFF;
    font-weight: bold;
    vertical-align: middle !important;
    width: 20%;
}

.cost-sheet-main-info-data {
    vertical-align: middle !important;
    width: 30%;
}

#cost_sheet_item_table thead tr th {
    font-weight: normal;
    text-align: center;
}

#cost_sheet_main_info_table tr td,
#cost_sheet_additional_cp_table tr td,
#cost_sheet_profit_info_table thead tr th,
#cost_sheet_profit_info_table tr td,
#cost_sheet_delivery_info_table tr td {
    border: 1px solid #d2d6de;
}

#cost_sheet_additional_cp_table tr td,
#cost_sheet_profit_info_table thead tr th,
#cost_sheet_profit_info_table tr td {
    text-align: center;
    vertical-align: middle;
}

#cost_sheet_profit_info_table thead tr th {
    width: 20%;
    background: #EAFEFF;
    white-space: nowrap;
}

.cost-sheet-total {
    font-weight: bold;
    font-size: 15px;
    text-align: right;
    padding-right: 20px !important;
}

.print-cost-sheet-title {
    font-weight: bold;
    vertical-align: top !important;
    width: 20%;
    white-space: nowrap;
}

.print-cost-sheet-main-info-data {
    vertical-align: top !important;
    width: 30%;
}

.print-cost-sheet-delivery-info-title {
    white-space: nowrap;
    width: 40% !important;
    vertical-align: top !important;
    font-weight: bold;
}

.print-cost-sheet-total {
    font-weight: bold;
    text-align: right;
}

#print_cost_sheet_main_info_table tr td {
    padding: 4px 8px;
}

#print_cost_sheet_item_table thead tr th,
#print_cost_sheet_item_table tr td {
    border-color: black;
}

#print_cost_sheet_item_table thead tr {
    border-top: 1px solid black;
}

#print_cost_sheet_item_table thead tr th {
    text-align: center;
}

#print_cost_sheet_additional_cp_table tr td,
#print_cost_sheet_delivery_info_table tr td {
    padding: 10px 8px;
}

#print_cost_sheet_profit_info_table thead tr th,
#print_cost_sheet_profit_info_table tbody tr td {
    border: 1px solid black;
    text-align: center;
    width: 20%;
}

#print_cost_sheet_signature_table tr td {
    width: 50px;
    padding: 8px;
}

.print-cost-sheet-checkbox {
    width:20px;
    height:20px;
    border: 1px solid #000;
}

.print-cost-sheet-checkbox.checked:after {
    content: '';
    display: block;
    width: 4px;
    height: 7px;
    
    /* "Center" the checkmark */
    position:relative;
    top:4px;
    left:7px;
    
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.sales-sort-field {
    border: 1px solid #d2d6de;
    border-radius: 10px;
    margin-right: 10px;
    padding: 5px;
    width: 160px;
    text-align: center;
    cursor: pointer;
}

.sales-sort-field-selected {
    color: white;
    background-color: #3c8dbc;
    border-color: #367fa9;
}

.sales-sort-down:after,
.sales-sort-up:after {
    content: ' ';
    position: relative;
    left: 10px;
    border: 7px solid transparent;
}

.sales-sort-down:after {
    top: 13px;
    border-top-color: white;
}

.sales-sort-up:after {
    bottom: 12px;
    border-bottom-color: white;
}
/* Cost Sheet - END */

/* 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;
}

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

/* Sales Projection - START */
#sales_projection_opportunity_list_table thead tr th,
#sales_projection_lead_list_table thead tr th,
#sales_projection_table thead tr th {
    text-align: center;
    white-space: nowrap;
    font-weight: normal;
    color: white;
    background: #3c8dbc;
    position: sticky;
    top: 0;
    z-index: 1;
}

#sales_projection_opportunity_list_table tbody tr td,
#sales_projection_lead_list_table tbody tr td {
    white-space: nowrap;
}

#sales_projection_opportunity_list_table tfoot tr td,
#sales_projection_lead_list_table tfoot tr td {
    padding-right: 8px !important;
}

.sales-projection-total {
    font-weight: bold;
    font-size: 15px;
    text-align: right;
    padding-right: 20px !important;
}
/* Sales Projection - END */

/* KPI - START */
/* 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;
}
/* KPI - END */

.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;
}

.common-tooltip:hover .common-tooltiptext {
    visibility: visible;
}

.sales-table thead tr th {
    white-space: nowrap;
    padding-right: 8px !important;
}

/* Function openPreview() - Display uploaded image/video in full-size after clicking thumbnail */
.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); 
}

.image-counter {
    position: fixed;
    bottom: 20px;
    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;
}

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

/* Function openPreview() - Display uploaded image/video in full-size after clicking thumbnail */

/* E-Appraisal - START */
.kpi-target-section-table th,
.grading-scheme-table th,
#yearly_appraisal_cycle_table th {
    font-weight: normal;
    text-align: center;
}

.appraisal-note-description {
    color: #7d7d7d;
    margin-bottom: 15px;
}

.appraisal-note-description .note-label {
    color: red;
    font-weight: bold;
}

.small-box .icon i {
    margin-top: 8px;
}

@media (max-width: 767px) {
    .small-box .icon {
        top: -22px !important
    }
}

#table_user_appraisal_list div.progress-wrapper,
#table_admin_appraisal_form_list div.progress-wrapper {
    position: relative;
    height: 15px;
    border-radius: 10px;
    background-color: #e0e0e0;
    overflow: hidden;
}

#table_user_appraisal_list div.progress-bar-custom,
#table_admin_appraisal_form_list div.progress-bar-custom {
    height: 100%;
    line-height: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-radius: 10px;
    white-space: nowrap;
    color: #ffffff;
    pointer-events: none;
}

#table_user_appraisal_list span.progress-label,
#table_admin_appraisal_form_list span.progress-label {
    position: absolute;
    top: 47%;
    transform: translateY(-50%);
    color: #000000;
    pointer-events: none;
}

#status_summary_section {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

#status_summary_section div.status-card-wrapper {
    flex: 1 1 calc(20% - 25px);
    min-width: 150px;
}

@media (max-width: 992px) {
    #status_summary_section div.status-card-wrapper {
        flex: 1 1 calc(25% - 25px);
    }
}

@media (max-width: 768px) {
    #status_summary_section div.status-card-wrapper {
        flex: 1 1 calc(50% - 25px);
    }
}

@media (max-width: 480px) {
    #status_summary_section div.status-card-wrapper {
        flex: 1 1 calc(100% - 25px);
    }
}

#status_summary_section div.status-card {
    padding: 15px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    min-height: 120px;
}

#status_summary_section div.status-card .count {
    font-size: 35px;
    font-weight: bold;
}

#status_summary_section div.status-card .title {
    font-size: 15px;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.appraisal-table-div {
    max-height: 100vh;
    overflow-x: auto;
}

.appraisal-table thead tr {
    background-color: #3c8dbc;
    color: white;
}

.appraisal-table thead tr th {
    white-space: nowrap;
    padding: 5px 8px;
    text-align: center;
    font-weight: normal;
    background: #3c8dbc;
    position: sticky;
    top: 0;
    z-index: 1;
}

.appraisal-table thead tr th div.common-tooltip {
    background: #000000;
    vertical-align: text-bottom;
}

.appraisal-table thead tr th span.common-tooltiptext {
    width: 250px;
    text-align: justify;
    white-space: pre-line;
    margin-left: -130px;
    top: 140%;
}

.appraisal-table-footer {
    background-color: #C7E8F3;
    border-top: 2px solid #BBC2C4;
    font-weight: bold;
    font-size: 16px;
}

.appraisal-listing-table thead tr th {
    white-space: nowrap;
    padding-right: 8px !important;
}

.appraisal-input-error {
    background-color: #FF9E9E !important;
}

.appraisal-input-error-message {
    color: #d30000;
    display: none;
}

/* KPI Target Setting Page - START */
.kpi-target-item-row {
    background-color: #f4f8fb !important;
}
    
.kpi-target-item-row:hover {
    background-color: #e8f0f5 !important;
}

.all-sub-criteria-required-radio-label {
    font-weight: normal;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Touch-friendly drag handle styles */
.appraisal-drag-handle {
    cursor: move;
    color: #666;
    font-size: 16px;
    display: inline-block;
    min-width: 20px;
    min-height: 20px;
    text-align: center;
    line-height: 20px;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: none;
}

/* Prevent text selection during drag on touch devices */
.ui-sortable-helper {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: none;
}

/* Prevent scrolling while dragging on touch devices */
.ui-sortable-helper,
.ui-sortable-placeholder {
    touch-action: none;
}
/* KPI Target Setting Page - END */

/* Employee Performance Appraisal Evaluation Page - START */
#user_appraisal_assessment_add_attention_div {
    background-color: #FFFFC7;
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 10px;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: none;
}

/* Appraisal Stages - START */
.all-appraisal-stage {
    display: flex;
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    display: none;
}

.appraisal-stage {
    flex: 1;
    position: relative;
    min-height: 56px;
    padding: 8px 25px 8px 35px;
    color: #fff;
    display: flex;
    align-items: center;
}

.stage-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.stage-line {
    line-height: 1.4;
    font-size: 13px;
}

/* Arrow tip */
.appraisal-stage::after {
    content: "";
    position: absolute;
    top: 0;
    right: -24px;
    width: 28px;
    height: 100%;
    background: inherit;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 2;
}

.appraisal-stage::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 100%;
    background: #f4f6f9;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 1;
}

.appraisal-stage:first-child::before {
    display: none;
}

.appraisal-stage:last-child::after {
    display: none;
}

.appraisal-stage.completed {
    background: #44c782;
}

.appraisal-stage.completed::after {
    background: #44c782;
}

.appraisal-stage.current {
    background: #5dafde;
    box-shadow: inset 0 -5px 0 rgba(255,255,255,0.3);
}
.appraisal-stage.current::after {
    background: #5dafde;
}

.appraisal-stage.pending {
    background: #d5e0e6;
    color: #2c3b41;
}

.appraisal-stage.pending::after {
    background: #d5e0e6;
}

@media (max-width: 768px) {
    .all-appraisal-stage {
        flex-direction: column;
        padding-right: 28px;
    }

    .appraisal-stage {
        width: 100%;
        margin-bottom: 3px;
    }

    .appraisal-stage::before {
        display: none;
    }
}
/* Appraisal Stages - END */

#user_appraisal_assessment_add_header_company_logo,
#admin_appraisal_assessment_add_header_company_logo {
    max-width: 250px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.user-appraisal-assessment-add-header-title,
.admin-appraisal-assessment-add-header-title {
    font-weight: bold;
    font-size: 20px;
    text-transform: uppercase;
    margin-top: 6px;
    display: block;
}

/* Employee General Info Section - START */
@media (max-width: 360px) {
    #user_appraisal_assessment_add_review_type_table tr,
    #admin_appraisal_assessment_add_review_type_table tr {
        display: block;
    }

    #user_appraisal_assessment_add_review_type_table td,
    #admin_appraisal_assessment_add_review_type_table td {
        display: block;
        width: 100%;
    }
}

#user_appraisal_assessment_add_review_type_table,
#admin_appraisal_assessment_add_review_type_table {
    width: 100%;
    margin-top: 30px;
}

#user_appraisal_assessment_add_review_year,
#admin_appraisal_assessment_add_review_year {
    width: 50%;
}

@media (max-width: 768px) {
    #user_appraisal_assessment_add_review_year,
    #admin_appraisal_assessment_add_review_year {
        width: 100%;
    }
}

#user_appraisal_assessment_add_employee_info_table,
#user_appraisal_assessment_add_employee_previous_info_table,
#admin_appraisal_assessment_add_employee_info_table {
    white-space: nowrap;
}

#user_appraisal_assessment_add_employee_info_table tbody tr td,
#user_appraisal_assessment_add_employee_previous_info_table tbody tr td,
#admin_appraisal_assessment_add_employee_info_table tbody tr td {
    border: 1px solid #ddd;
}

#user_appraisal_assessment_add_employee_info_table .appraisal-label,
#user_appraisal_assessment_add_employee_previous_info_table .appraisal-label,
#admin_appraisal_assessment_add_employee_info_table .appraisal-label {
    background-color: #EAFEFF;
    font-weight: bold;
    width: 20%;
    vertical-align: middle;
}

@media (max-width: 768px) {
    #user_appraisal_assessment_add_employee_info_table,
    #user_appraisal_assessment_add_employee_previous_info_table,
    #admin_appraisal_assessment_add_employee_info_table {
        white-space: normal;
    }
    
    #user_appraisal_assessment_add_employee_info_table tbody tr,
    #user_appraisal_assessment_add_employee_previous_info_table tbody tr,
    #admin_appraisal_assessment_add_employee_info_table tbody tr {
        display: grid;
        grid-template-columns: minmax(120px, 130px) minmax(0, 1fr);
        grid-template-rows: auto auto;
        gap: 0;
        border: 1px solid #ddd;
    }

    #user_appraisal_assessment_add_employee_info_table tbody tr,
    #admin_appraisal_assessment_add_employee_info_table tbody tr {
        border-bottom: none;
    }

    #user_appraisal_assessment_add_employee_info_table tbody tr:last-child,
    #admin_appraisal_assessment_add_employee_info_table tbody tr:last-child {
        border-top: none;
        border-bottom: 1px solid #ddd;
    }

    #user_appraisal_assessment_add_employee_info_table tbody tr:first-child td:nth-child(3),
    #user_appraisal_assessment_add_employee_info_table tbody tr:first-child td:nth-child(4),
    #admin_appraisal_assessment_add_employee_info_table tbody tr:first-child td:nth-child(3),
    #admin_appraisal_assessment_add_employee_info_table tbody tr:first-child td:nth-child(4) {
        border-bottom: 1px solid #ddd;
    }
    
    #user_appraisal_assessment_add_employee_info_table tbody tr td,
    #user_appraisal_assessment_add_employee_previous_info_table tbody tr td,
    #admin_appraisal_assessment_add_employee_info_table tbody tr td {
        border-right: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: flex;
        align-items: center;
        height: 100%;
    }

    #user_appraisal_assessment_add_employee_info_table tbody tr td input,
    #user_appraisal_assessment_add_employee_info_table tbody tr td span,
    #user_appraisal_assessment_add_employee_previous_info_table tbody tr td input,
    #user_appraisal_assessment_add_employee_previous_info_table tbody tr td span,
    #admin_appraisal_assessment_add_employee_info_table tbody tr td input,
    #admin_appraisal_assessment_add_employee_info_table tbody tr td span {
        width: 100%;
    }

    #user_appraisal_assessment_add_employee_info_table tbody tr td.appraisal-label,
    #user_appraisal_assessment_add_employee_previous_info_table tbody tr td.appraisal-label,
    #admin_appraisal_assessment_add_employee_info_table tbody tr td.appraisal-label {
        min-width: 120px;
        max-width: 130px;
        width: 100%;
    }
}
/* Employee General Info Section - END */

/* KPI Target Section - START */
.appraisal-assessment-nav-section {
    min-height: 80vh;
    padding: 30px;
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid #d2d6de;
    border-radius: 10px;
}

.appraisal-assessment-nav-section h4 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3c8dbc;
    color: #3c8dbc;
}

.appraisal-assessment-nav-container {
    position: relative;
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    min-height: 400px;
}

@media (max-width: 768px) {
    .appraisal-assessment-nav-container {
        display: block;
        margin-top: 0;
    }
}

.appraisal-assessment-nav-menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    padding: 6px 12px;
    background-color: #fff;
    color: #333;
    border: 1px solid #d2d6de;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    transition: all 0.2s ease, left 0.3s ease, top 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.appraisal-assessment-nav-menu-toggle:hover {
    background-color: #e6e6e6;
    border-color: #adadad;
    color: #333;
}

.appraisal-assessment-nav-menu-toggle:active,
.appraisal-assessment-nav-menu-toggle:focus {
    background-color: #e6e6e6;
    border-color: #adadad;
    outline: 0;
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}

.appraisal-assessment-nav-side-menu {
    width: 260px;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    flex-shrink: 0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 2px 20px;
    transition: transform 0.3s ease, left 0.3s ease, top 0.3s ease;
    overflow-y: auto;
    max-height: calc(100vh - 40px);
    margin-right: 20px;
    z-index: 100;
}

.appraisal-assessment-nav-side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.appraisal-assessment-nav-side-menu li {
    cursor: pointer;
    padding: 12px 8px;
    margin-bottom: 12px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.appraisal-assessment-nav-side-menu li:hover {
    background-color: #e9ecef;
}

.appraisal-assessment-nav-side-menu li.active {
    font-weight: bold;
    color: #007bff;
    background-color: #e7f3ff;
}

.appraisal-assessment-nav-progress-bar {
    background: #e0e0e0;
    height: 6px;
    border-radius: 3px;
    margin-top: 6px;
    overflow: hidden;
}

.appraisal-assessment-nav-progress-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: #28a745;
    transition: width 0.8s ease;
}

.appraisal-assessment-nav-progress-text {
    display: inline-block;
    font-size: 11px;
    color: #666;
    margin-top: 2px;
    margin-left: 2px;
}

.appraisal-assessment-nav-content {
    flex: 1;
    min-width: 0;
    margin-left: 280px; /* Account for fixed menu width (260px) + margin (20px) */
}

.appraisal-assessment-nav-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
}

.appraisal-assessment-nav-mobile-wrapper {
    position: relative;
    display: none;
}

.appraisal-assessment-nav-side-menu-mobile {
    display: none;
}

@media (max-width: 768px) {
    .appraisal-assessment-nav-container {
        display: block;
        position: relative;
    }

    .appraisal-assessment-nav-menu-toggle {
        display: inline-block;
        position: fixed;
        top: 20px;
        left: 20px;
        margin-bottom: 0;
        z-index: 1001;
    }

    .appraisal-assessment-nav-side-menu {
        display: none !important;
    }

    .appraisal-assessment-nav-mobile-wrapper {
        display: inline-block;
        margin-bottom: 10px;
    }

    .appraisal-assessment-nav-side-menu-mobile {
        display: block;
        position: fixed;
        top: 0;
        left: 20px;
        width: 100%;
        min-width: 200px;
        max-width: 300px;
        max-height: 400px;
        overflow-y: auto;
        z-index: 1002;
        margin-right: 0;
        margin-top: 0;
        padding: 15px 20px;
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
        transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease, left 0.2s ease;
        pointer-events: none;
        box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
        border-radius: 4px;
        background: #fff;
    }

    .appraisal-assessment-nav-side-menu-mobile.open {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .appraisal-assessment-nav-side-menu-mobile ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .appraisal-assessment-nav-side-menu-mobile li {
        cursor: pointer;
        padding: 12px 8px;
        margin-bottom: 12px;
        border-radius: 4px;
        transition: background-color 0.2s ease;
    }

    .appraisal-assessment-nav-side-menu-mobile li:hover {
        background-color: #e9ecef;
    }

    .appraisal-assessment-nav-side-menu-mobile li.active {
        font-weight: bold;
        color: #007bff;
        background-color: #e7f3ff;
    }

    .appraisal-assessment-nav-menu-overlay {
        display: none !important;
    }

    .appraisal-assessment-nav-content {
        margin-left: 0 !important;
        margin-top: 10px;
    }

    .appraisal-assessment-nav-section {
        padding: 20px;
        min-height: auto;
        margin-bottom: 20px;
    }
    
    .appraisal-assessment-nav-section h4 {
        font-size: 18px;
        margin-bottom: 15px;
        padding-bottom: 8px;
    }
}
/* KPI Target Section - END */

/* Overall Evaluation Section - START */
#user_appraisal_assessment_add_total_scores_table,
#user_appraisal_assessment_add_grading_scheme_table,
.appraisal-assessment-target-section-table {
    width: 100%;
    margin-top: 10px;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

#user_appraisal_assessment_add_total_scores_table thead tr th,
#user_appraisal_assessment_add_total_scores_table tbody tr td,
#user_appraisal_assessment_add_total_scores_table tfoot tr td,
#user_appraisal_assessment_add_grading_scheme_table thead tr th,
#user_appraisal_assessment_add_grading_scheme_table tbody tr td,
.appraisal-assessment-target-section-table thead tr th,
.appraisal-assessment-target-section-table tbody tr td,
.appraisal-assessment-target-section-table tfoot tr td {
    padding: 5px 8px;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.appraisal-assessment-target-section-table tbody tr td {
    vertical-align: top !important;
}

#user_appraisal_assessment_add_total_scores_table thead tr th,
#user_appraisal_assessment_add_grading_scheme_table thead tr th {
    text-align: center;
    border-bottom: 2px solid #ddd;
    background-color: #EAFEFF;
    white-space: nowrap;
}

.appraisal-assessment-target-section-table thead tr th {
    text-align: center;
    background-color: #3c8dbc;
    color: white;
    font-weight: normal;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 1;
}

#user_appraisal_assessment_add_total_scores_table tfoot tr td,
.appraisal-assessment-target-section-table tfoot tr td {
    border-top: 2px solid #ddd;
}

.appraisal-assessment-target-section-table tfoot tr {
    background-color: #C7E8F3;
}

.appraisal-assessment-target-section-table tfoot tr td {
    font-size: 16px;
    font-weight: bold;
    text-align: right;
}

@media (max-width: 768px) {
    .appraisal-assessment-nav-section {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    #user_appraisal_assessment_add_total_scores_table,
    #user_appraisal_assessment_add_grading_scheme_table {
        min-width: 600px;
        width: auto;
    }
    
    #user_appraisal_assessment_add_total_scores_table thead tr th,
    #user_appraisal_assessment_add_total_scores_table tbody tr td,
    #user_appraisal_assessment_add_total_scores_table tfoot tr td,
    #user_appraisal_assessment_add_grading_scheme_table thead tr th,
    #user_appraisal_assessment_add_grading_scheme_table tbody tr td {
        white-space: nowrap;
    }
}
/* Overall Evaluation Section - END */

/* Appraisal Declaration Message */
#user_appraisal_assessment_add_employee_declaration, 
#user_appraisal_assessment_add_reviewer_declaration {
    margin-top: 40px;
    font-size: 16px;
    display: none;
}

/* HOD Approval Remark Section */
#user_appraisal_assessment_add_all_approval_remark_section {
    border: 1px solid red;
    border-radius:10px;
    padding: 10px;
    display: none;
}

/* Employee Performance Appraisal Evaluation Page - END */
/* E-Appraisal - END */