.navbar-nav>.notifications-menu>.dropdown-menu>li .menu {
  max-height: 350px;
}
.bg-aqua-lite {
  background-color: #7FFFD4;
}
.navbar-nav>.notifications-menu>.dropdown-menu>li .menu>li>a {
  white-space: normal;
}
.spacer {
  margin-top: 20px;
}
#product_list_body {
  max-height: 480px;
  overflow-y: scroll;
  overflow-x: hidden;
}
.div-overlay {
    cursor: not-allowed;
    background: #e9e9e9; 
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.5;
}

.d-inline-table {
  display: inline-table;
}

.label-round{
  font-size: 8px;
  border-radius: 44%;
}
.table>tbody+tbody{
  border-top: 0;
}
.table-pl-12 td, .table-pl-12 th{
  padding-left: 12px !important;
}
table tbody td.pl-20-td{
  padding-left: 20px !important;
}
table.table-border-center > tbody > tr > td:first-child, 
table.table-border-center > thead > tr > th:first-child,
table.table-border-center > tfoot > tr > td:first-child
{
  border-right: 1px solid darkgray;
}
table.table-border-center-col > tbody > tr > td:nth-child(2), 
table.table-border-center-col > thead > tr > th:nth-child(2),
table.table-border-center-col > tfoot > tr > td:nth-child(2)
{
  border-right: 1px solid darkgray;
  border-left: 1px solid darkgray;
}
.bg-transparent{
  background-color: transparent !important;
}
.mb-0{
  margin-bottom: 0;
}

.nav-tabs>li>a{
  font-size: 18px;
  font-weight: 600;
}
.table-transparent, .table-transparent th {
    background-color: transparent !important;
    color: #000 !important;
}
.td-full-width {
  white-space:nowrap;
}
.font-17{
    font-size: 17px !important;
}
table.dataTable tbody>tr.selected{
    background-color: #B0BED9;
}
tr.footer-total > td {
    vertical-align: middle !important;
}
.error{
  color: red !important;
}
/*  pos tab */
div.pos-tab-container{
  z-index: 10;
  background-color: #ffffff;
  padding: 0 !important;
  border-radius: 4px;
  -moz-border-radius: 4px;
  border:1px solid #ddd;
    margin-bottom: 28px;
  -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
  box-shadow: 0 6px 12px rgba(0,0,0,.175);
  -moz-box-shadow: 0 6px 12px rgba(0,0,0,.175);
  background-clip: padding-box;
}
div.pos-tab-menu{
  padding-right: 0;
  padding-left: 0;
  padding-bottom: 0;
}
div.pos-tab-menu div.list-group{
  margin-bottom: 0;
}
div.pos-tab-menu div.list-group>a{
  margin-bottom: 0;
}
div.pos-tab-menu div.list-group>a .glyphicon,
div.pos-tab-menu div.list-group>a .fa {
  color: #5A55A3;
}
div.pos-tab-menu div.list-group>a:first-child{
  border-top-right-radius: 0;
  -moz-border-top-right-radius: 0;
}
div.pos-tab-menu div.list-group>a:last-child{
  border-bottom-right-radius: 0;
  -moz-border-bottom-right-radius: 0;
}
div.pos-tab-menu div.list-group>a.active,
div.pos-tab-menu div.list-group>a.active .glyphicon,
div.pos-tab-menu div.list-group>a.active .fa{
  background-color: #3c8dbc;
  color: #ffffff;
    border-color: #3c8dbc;
}
div.pos-tab-menu div.list-group>a.active:after{
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  margin-top: -13px;
  border-left: 0;
  border-bottom: 13px solid transparent;
  border-top: 13px solid transparent;
  border-left: 10px solid #3c8dbc;
}

div.pos-tab-content{
  background-color: #ffffff;
  /* border: 1px solid #eeeeee; */
  padding-left: 20px;
  padding-top: 20px;
}

div.pos-tab div.pos-tab-content:not(.active){
  display: none;
}

.add-product-price-table th{
  background-color: #5cb85c;
    color: white;
}
.blue-header th {
  background-color: #3c8dbc;
    color: white;
}
.table-th-green th{
  background-color: #5cb85c;
    color: white;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0; 
}
.active-cell {
    border: 2px dotted #3c8dbc !important;
}
.cursor-pointer{
    cursor: pointer !important;
}
.pos_product_div{
    min-height: 50vh;
    max-height: 50vh;
    overflow-y: auto;
    margin-bottom: 20px;
}
.bg-lightgray{
    background-color: #F0EDED !important;
}
.balance_due_box >li{
    padding: 11px 5px 0px 5px;
}
.option-div {
    padding: 15px;
    background-color: #d2d6de;
    color: #333;
    border:1px solid #d2d6de;
    cursor: pointer;
}
.option-div input[type="radio"]{
    display: none;
}
.option-div-group .icon {
    color: #d33724;
    display: none;
}
.option-div-group .option-div:hover{
    border:1px solid gray;
}
.option-div-group .active .icon{
    display: block;
}
.margin-left-10 {
    margin-left: 10px;
}
.margin-bottom-12{
    margin-bottom: 12px;
}
.bg-info{
    background-color: #00c0ef !important;
}
.bg-info > a{
    color: #FFFFFF !important;
}
.bg-info>a:hover{
    background-color: #337ab7 !important;
}
ul.dt-button-collection{
    background-color: #00c0ef;
}

/*Css related to printing of barcode*/
.label-border-outer{
    border: 0.1px solid grey !important;
}
.label-border-internal{
    /*border: 0.1px dotted grey !important;*/
}
.sticker-border{
    border: 0.1px dotted grey !important;
    overflow: hidden;
    box-sizing: border-box;
}
#preview_box{
    padding-left: 30px !important;
}
@media print{
    .content-wrapper{
      border-left: none !important; /*fix border issue on invoice*/
    }
    .label-border-outer{
        border: none !important;
    }
    .label-border-internal{
        border: none !important;
    }
    .sticker-border{
        border: none !important;
    }
    #preview_box{
        padding-left: 0px !important;
    }
    #toast-container{
        display: none !important;
    }
    .tooltip{
        display: none !important;
    }
}
td.details-control {
    background: url('/img/details_open.png') no-repeat center center;
    cursor: pointer;
}
tr.details td.details-control {
    background: url('/img/details_close.png') no-repeat center center;
}
.icheckbox_square-blue, .iradio_square-blue{
    margin-right: 10px;
}
.header-right-div{
    right: 10px;
    float: right;
    position: absolute;
    top: 15px;
}
.header-left-div{
    margin-top: 15px;
    display: inline-flex;
}
.m-8 {
    margin: 8px;
}
.mt-10{
    margin-top: 10px;
}
.mt-15{
    margin-top: 15px;
}
.m-5 {
    margin: 5px;
}
.icon-link{
  text-align:center;
  display:block;
  margin-bottom: 18px;
}
.icon-link > a {
    display:grid;
}
.icon-link > .badge{
    position: absolute;
    top: 20px;
    right: 67px;
}
.link-des {
    display: inline-block;
    text-align: left;
}

.navbar-nav>.user-menu>.dropdown-menu>li.user-header>img {
    border: none;
    height: auto;
    width: auto;
    max-height: 120px;
}
.navbar-nav>.user-menu>.dropdown-menu>li.user-header p
{
  color:#000000;
}
.bg-light-green{
    background-color: #98D973 !important;
    color: #fff !important
}
.hover-q {
    font-size: 16px;
    margin-left: 3px;
    cursor: help;
}
.input-group-addon .hover-q{
    margin-left: 0px;
}
.text-bold{
    font-weight: bold;
}
.tour .popover-content{
    padding: 18px 14px;
}
.table-slim>tbody>tr>td, .table-slim>tbody>tr>th, .table-slim>tfoot>tr>td, .table-slim>tfoot>tr>th, .table-slim>thead>tr>td, .table-slim>thead>tr>th{
    padding: 1px;
}

/* Custom scroll bar start*/

/* width */
::-webkit-scrollbar {
    width: 7px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

/* Custom scroll bar end*/

.product_cell{
    height: 100px;
    padding: 1%;
}
.product_cell_div{
    height: 100% !important;
    width: 100% !important;
    text-align: center;
    vertical-align: middle;
    padding-top: 5px;
    cursor: pointer;
    overflow: hidden;
}

/*CSS to print receipts*/
.print_section{
    display: none;
}
buttons.btn-group {
    display: none !important;
}
@media print{
    .print_section{
        display: inline !important;
    }
    .modal-xl{
        width: 100% !important;
    }
    ::-webkit-scrollbar{
        display: none !important;
    }
}

.input-number .btn-default{
    background-color: white;
    padding: 6px 9px;
}

.width-50{
    width: 50% !important;
}
.width-40{
    width: 40% !important;
}
.width-60{
    width: 60% !important;
}
.width-100{
    width: 100% !important;
}

.font-30{
    font-size: 30px !important;
}

.font-23{
    font-size: 23px !important;
}
.padding-5{
    padding: 5px !important;
}
.padding-10{
    padding: 10px !important;
}
.padding-side-15{
    /*padding-left: 15px !important;
    padding-right: 15px !important;*/
}
.text-muted-imp{
    color: #A3A3A3 !important;
}

.table-no-top-cell-border td{
    border-top: 0px !important;
    border-bottom: 0px !important;
}
.table-no-top-cell-border th{
    border-top: 0px !important;
    border-bottom: 0px !important;
}

.table-no-side-cell-border td{
    border-left: 0px !important;
    border-right: 0px !important;
}
.table-no-side-cell-border th{
    border-left: 0px !important;
    border-right: 0px !important;
}

.color-555 {
    color: #555555 !important;
}
.color-555 *{
    color: #555555 !important;
}
.color-white {
    color: white !important;
}
.col-no-padding{
    padding-left: 0px;
    padding-right: 0px;
}
.col-2px-padding{
    padding: 2px;
}

.pos-express-btn{
    font-size: 23px !important;
    overflow: hidden !important;
    height: 73px !important;
    white-space: normal;
}
.word-wrap{
    word-wrap: break-word !important;
}

.modal-xl{
    width: 90%; /* respsonsive width */
    margin-left: auto !important;
    margin-right: auto !important;
}
table.ajax_view tbody tr{
    cursor: pointer;
}
.bg-white{
    background-color: #fff;
}

.product-thumbnail-small{
    height: 50px;
    width: 50px;
}

table.table-text-center td, table.table-text-center th{
    vertical-align: middle !important;
}
.product_list{
    padding-left: 8px;
    padding-right: 8px;
}
.product_box{
  width: 100%;
  padding-top: 5px;
  padding-bottom: 2px;
  margin-bottom: 10px;
  text-align: center;
  cursor: pointer;
  border: 1px solid darkgray;
  font-weight: 600;
}
.product_box .image-container{
  background-color: #fff;
  width: 95%;
  height: 55px;
  margin: auto;
  padding: 5px;
  border-radius: 8px;
}
.product_box .image-container img{
    height: 45px;
    /*width: 45px*/
}
.eq-height-row{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:flex;
    flex-wrap: wrap;
}
.eq-height-col{
    display: flex;
}
.product_box .text{
    width: 100%;
    overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 1; /* number of lines to show */
   line-height: 14px;        /* fallback */
   max-height: 14px;       /* fallback */
}
.small-box.bg-gray:hover{
    color: #000;
    text-decoration: none;
}

#calendar table tbody td {
    cursor: pointer;
}

.min-height-90hv{
    min-height: 90vh !important;
}

/* Grow Shadow */
.hvr-grow-shadow {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: box-shadow, transform;
  transition-property: box-shadow, transform;
}
.hvr-grow-shadow:hover, .hvr-grow-shadow:focus, .hvr-grow-shadow:active {
  box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.text-link{
    cursor: pointer;
}

.text-link:hover{
    text-decoration: underline;
}

.v-center{
    vertical-align: middle !important;
}

.bg-woocommerce{
  background-color: #9E458B !important;
}
.login-page, .register-page
{
  /*background-image: url(../img/log-bg.jpg);
  height: 100%;
  background-size: cover;*/

  background-repeat: no-repeat;

  background-image: url(../img/login-image.png);
  background-position: 10% center;
  background-size: 100%;
}
.login-page .page-header, .register-page .page-header
{
  margin-bottom: 0px;
}
.login-page .container, .register-page .container
{
  height: 100%;  
}
.login-page .container .row, .register-page .container .row
{
  height: 100%;  
}
.loginpage
{
  width: 350px;
  height: 100%;
  margin: 0 auto;
}
.loginpage .col-md-12
{
    vertical-align: middle;
    background: none;
    display: table;
    height: 100%;
    margin: auto;
}
.loginpage .col-md-12 .panel.panel-default
{
    border: 0px;
    height: 300px;
    background: none;
    display: table-cell;
    vertical-align: middle;
}
.loginpage .panel-heading, .loginpage .panel-body
{
    background: #16a635;
}
.loginpage .form-horizontal label
{
    text-align:left;
}
.loginpage .panel-default .panel-heading
{
  font-size: 25px;
  text-align: center;
}

/* Prevent body from scrolling */
body {
    overflow: hidden; /* Disable body scroll */
    height: 100vh; /* Make sure body takes up full viewport height */
    margin: 0; /* Remove default body margin */
}

/* Ensure the wrapper doesn't scroll */
.wrapper {
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Disable scrolling in wrapper */
}

/* Sidebar with independent scroll */
.sidebar {
    margin-top: 50px;
    position: fixed; /* Keep the sidebar fixed to the left */
    top: 0;
    left: 0;
    bottom: 0;
    width: 230px; /* Adjust to your sidebar width */
    overflow-y: auto; /* Enables vertical scrolling */
    z-index: 1; /* Ensure it stays on top of other content */
    padding-bottom: 60px;
}

/* Content area to the right of the sidebar */
.content-wrapper {
    margin-left: 230px; /* Offset by sidebar width */
    height: 100vh; /* Full viewport height */
    overflow-y: auto; /* Enables vertical scrolling for content */
    position: relative; /* Make sure content is positioned relative */
    padding-bottom: 500px;
    /* background-color: #fff; */
    background-color: #a9d3af;
}

footer {
    position: fixed !important;
    bottom: 0;
    z-index: 0;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);  /* Optional: add shadow for visibility */
    /* margin-left: 230px !important; */
    padding: 10px;
}
.main-footer {
    margin-left: 0px !important;
    background-color: #16a635;
    color: #fff;
    padding: 5px;
    /* margin: 5px; */
    border-top: none;
    margin-bottom: 5px; 
}
@media (min-width: 768px) {
    .sidebar-mini.sidebar-collapse .content-wrapper,.sidebar-mini.sidebar-collapse .right-side,.sidebar-mini.sidebar-collapse .main-footer {
        z-index: 0;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar {
        z-index: 0;
    }
}
.modal-backdrop {
    z-index: 0 !important;
    display: none; /* No backdrop displayed at all */
    opacity: 0; /* No opacity effect */
    transition: none; /* No transition effect */
}

.modal-dialog {
    padding-top: 70px;
}

.btn-info, .bg-light-green {
    background-color: #006436 !important;
}

.info-box-icon.bg-aqua, .info-box-icon.bg-yellow {
    background-color: #2f2484 !important;
}

.info-box {
    color: #2f2484 !important;
}

body, html {
    /*font-family: "Rubik", sans-serif !important;*/
    font-family: "humanist_522" !important;
    /* color: #2f2484 !important; */
}

/* Full-screen overlay */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);  /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;  /* Make sure it covers the content */
    visibility: visible;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Spinner */
.spinner {
    border: 8px solid rgba(255, 255, 255, 0.3); /* Light gray background */
    border-top: 8px solid #000; /* Dark color for the top part of the spinner */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

/* Spin Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hidden state for loading screen */
#loading-screen.hidden {
    visibility: hidden;
    opacity: 0;
}

.header-text {
    float: left;
    padding-top: 16px;
    font-size: 14px;
    color: honeydew;
    font-weight: bold;
}
.header-text a {
    padding: 10px 20px;
    /* font-size: 14px; */
}

.sidebar-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.sidebar-menu li {
    /* padding: 5px; */
}

.sidebar-form-div {
    width: 230px;
}

#search-results {
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    margin-top: 5px; /* Space below the search bar */
    border-radius: 4px;
    display: none; /* Initially hidden */
    background-color: #82ca8d !important;
}
#search-results div {
    padding: 8px 10px;
    cursor: pointer;
}
#search-results div:hover {
    background-color: #006436;
}
#search-results a {
    text-decoration: none;
    /* color: #007bff; */
}
#search-results a:hover {
    text-decoration: underline;
}

.search-tab {
    margin: 5px;
    background-color: #a9d3af;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    font-weight: bold;
    transition: background-color 0.3s;
    color: #2f2484;
}
.search-tab:hover {
    background-color: #006436;
}
.search-tab.active {
    background-color: #006436; /* Active tab style */
    color: white;
}

.main-header {
    position: sticky !important;
    top: 0;  /* Stick to the top */
    z-index: 1000;  /* Ensure header stays above other content */
    width: 100%;  /* Ensure full width */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);  /* Optional: add shadow for visibility */
}
.navbar-static-top, .navbar-custom-menu {
    max-height: 50px;
}
#navbar-search-input {
    width: 270px;
}

#search-icon-btn, #dropdown-icon-btn {
    padding: 0px !important;
}
#search-icon-btn > .fa-search {
    font-size: larger;
}
#dropdown-icon-btn > .fa-arrow-down {
    font-size: xx-small;
}
#static-dropdown {
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    margin-top: 5px; /* Space below the search bar */
    border-radius: 4px;
    display: none; /* Initially hidden */
    background-color: #82ca8d !important;
}
.search-tab-btn {
    color: #2f2484;
    width: 95%;
    margin: 5px;
    background-color: #a9d3af;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    font-weight: bold;
    transition: background-color 0.3s;
    overflow-x: hidden;
}
.highlighted {
    background-color: #006436;    /* Change to your preferred highlight color */
    color: white;                 /* Change text color */
}

/* Green & blue colour code added here, 05-03-2025 */
.skin-blue .main-header .navbar {
    background-color: #16a635;
}
.skin-blue .wrapper, .skin-blue .main-sidebar, .skin-blue .left-side {
    background-color: #a9d3af;
}
.skin-blue .sidebar-menu>li>.treeview-menu {
    background-color: #82ca8d;
}
.skin-blue .sidebar-menu>li:hover>a, .skin-blue .sidebar-menu>li.active>a {
    background-color: #16a635;
    color: #2f2484;
}
.skin-blue .sidebar a, .skin-blue .treeview-menu>li>a {
    color: #2f2484;
}
.skin-blue .main-header .logo, .skin-blue .main-header .logo:hover {
    background-color: #2f2484;
}
.main-header .logo {
    line-height: 0px !important;
}

@font-face {
    font-family: 'optima_medium';  /* The name you want to use for the font */
    src: url('../fonts/Optima_Medium.ttf') format('truetype');  /* Path to the font file */
    font-weight: normal;  /* Optional: specify the weight */
    font-style: normal;   /* Optional: specify the style */
}
@font-face {
    font-family: 'humanist_521_bt';  /* The name you want to use for the font */
    src: url('../fonts/Humanist521BT.ttf') format('truetype');  /* Path to the font file */
    font-weight: normal;  /* Optional: specify the weight */
    font-style: normal;   /* Optional: specify the style */
}
@font-face {
    font-family: 'humanist_522';  /* The name you want to use for the font */
    src: url('../fonts/Humanist522.ttf') format('truetype');  /* Path to the font file */
    font-weight: normal;  /* Optional: specify the weight */
    font-style: normal;   /* Optional: specify the style */
}