#sidebar {
    overflow: hidden;
    z-index: 3;
}
#sidebar .list-group {
    max-width: 400px;
    background-color: #E2A9F3;
    min-height: 100vh;
}
#sidebar i {
    margin-right: 6px;
}

#sidebar .list-group-item {
    border-radius: 0;
    background-color: #E2A9F3;
    color: #fff;
    border-left: 0;
    border-right: 0;
    border-color: #DA81F5;
    white-space: nowrap;
}

/* highlight active menu */
#sidebar .list-group-item:not(.collapsed) {
    background-color: #DA81F5;
    border-color: #E2A9F3;
}

#sidebar .list-group-item:last-child {
   border-bottom: 0;
}

/* closed state */
#sidebar .list-group .list-group-item[aria-expanded="false"]::after {
  content: " \f0d7";
  font-family: FontAwesome;
  display: inline;
  text-align: right;
  padding-left: 5px;
}

/* open state */
#sidebar .list-group .list-group-item[aria-expanded="true"] {
  background-color: #DA81F5;
  border-color: #E2A9F3;
}
#sidebar .list-group .list-group-item[aria-expanded="true"]:last-child {
   border-bottom: 0;
}

#sidebar .list-group .list-group-item[aria-expanded="true"]::after {
  content: " \f0da";
  font-family: FontAwesome;
  display: inline;
  text-align: right;
  padding-left: 5px;
}

/* level 1*/
#sidebar .list-group .collapse .list-group-item,
#sidebar .list-group .collapsing .list-group-item  {
  padding-left: 20px;
}

/* level 2*/
#sidebar .list-group .collapse > .collapse .list-group-item,
#sidebar .list-group .collapse > .collapsing .list-group-item {
  padding-left: 30px;
}

/* level 3*/
#sidebar .list-group .collapse > .collapse > .collapse .list-group-item {
  padding-left: 40px;
}

@media (max-width:768px) {
    #sidebar {
        min-width: 35px;
        max-width: 40px;
        overflow-y: auto;
        overflow-x: visible;
        transition: all 0.25s ease;
        transform: translateX(-45px);
        position: fixed;
    }
    
    #sidebar.show {
        transform: translateX(0);
    }

    #sidebar::-webkit-scrollbar{ width: 0px; }
    
    #sidebar, #sidebar .list-group {
        min-width: 35px;
        overflow: visible;
    }
    /* overlay sub levels on small screens */
    #sidebar .list-group .collapse.show, #sidebar .list-group .collapsing {
        position: relative;
        z-index: 1;
        width: 190px;
        top: 0;
    }
    #sidebar .list-group > .list-group-item {
        text-align: center;
        padding: .75rem .5rem;
    }
    /* hide caret icons of top level when collapsed */
    #sidebar .list-group > .list-group-item[aria-expanded="true"]::after,
    #sidebar .list-group > .list-group-item[aria-expanded="false"]::after {
        display:none;
    }
}

.collapse.show {
  visibility: visible;
}
.collapsing {
  visibility: visible;
  height: 0;
  -webkit-transition-property: height, visibility;
  transition-property: height, visibility;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.collapsing.width {
  -webkit-transition-property: width, visibility;
  transition-property: width, visibility;
  width: 0;
  height: 100%;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.nav-header {
    background-color: #E2A9F3;
}

/*    change color error message validate    */
.has-error .help-block {
  color: red;
}

input.form-control {
  border-radius: 0;
}
.modal-lg {
    max-width: 70%;
}

#edit_product_form .form-label {
  font-weight: bold;
}

#add_product_form .form-label {
  font-weight: bold;
}

#view_product_form .form-label {
  font-weight: bold;
}

#select_product_form .form-label {
  font-weight: bold;
}

#add_product_item_form .form-label {
  font-weight: bold;
}

.hidden{
  display: none;
}

#product_table, #customer_table, #product_balance_table tbody tr{
  cursor: pointer;
}

#view_product_label {
  font-weight: bold;
}

#edit_product_label {
  font-weight: bold;
}

#add_product_label {
  font-weight: bold;
}

#select_product_label {
  font-weight: bold;
}

#view_product_item_table tbody tr {
  font-weight: normal;
}
.modal-md {
    max-width: 50%;
}

.form-check-label {
  font-weight: normal;
}

.div-scoll{
  max-height:300px;
  overflow-y: scroll;
}

.div-scoll-view-data{
  max-height:400px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.un-data-edit-body{
  font-weight: normal;
}

.red-color {
  color: #FF0000;
  font-weight: bold;
}

.pull-right {
  float: right !important;
}

#edit_product_item_table {
  font-weight: normal !important;
}

select, textarea {
  border-radius: 0 !important;
}

#loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20000;
    width: 100vw;
    height: 100vh;
    background-color: rgba(192, 192, 192, 0.5);
    background-image: url("../image/loading_screen/loader.gif");
    background-repeat: no-repeat;
    background-position: center;
}

.bill-header {
   font-weight: bold;
}

.red-color {
  color: red;
}

#add_customer_form .col-form-label{
  font-weight: bold;
}

#view_bill_model_body label {
  font-weight: bold;
}

#view_bill_in_model_body label {
  font-weight: bold;
}
