.form-control.error:focus{
    border-color: #e75752!important
}

  /* switch start */
  .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }

  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }

  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }

  input:checked + .slider {
    background-color: #186ADE;
  }

  input:focus + .slider {
    box-shadow: 0 0 1px #186ADE;
  }

  .switch .yes, .switch .no {
    display: none;
  }

  .switch input:checked + .slider + .yes {
    display: block;
  }

  .switch input:not(:checked) + .slider + .label + .no {
    display: block;
  }

  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }

  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }

  .slider.round:before {
    border-radius: 50%;
  }
  .switch .label{
    position: absolute;
    right: -30px;
    top: 5px;
  }

  .switch.sm{
    width: 42px;
    height: 25px;
  }
  .switch.sm .slider:before{
    height: 20px;
    width: 20px;
    left: 1px;
    bottom: 3px;
  }

  .switch.sm input:checked + .slider:before{
    transform: translateX(20px);
  }
  /* switch end */

.card-statistics .card-body {
    border-radius: 5px;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
    height: 200px;
}




.dataTable {
  width: 100% !important;
  overflow: auto;
  display: block;
}
/* .dataTable thead, .dataTable tbody {
  width: 100%;
  display: table;
} */
.dataTable th, .dataTable td{
  width:20%;
}
div.dataTables_wrapper .bottom{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

div.dataTables_wrapper .bottom .left, div.dataTables_wrapper .bottom .right{
  width: 50%;
}

div.dataTables_wrapper .btn.btn-primary {
  display: inline-block;
  font-weight: 400;
  color: #fff;
  background-image: none;
  background-color: #186ADE;
  border-color: #186ADE;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  line-height: 1;
  border-radius: 0.1875rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.login-logo{
  width: 50%;
  margin: 0 0 20px 0;
}

.bg-input-success input {
  border: 1px solid #19d895 !important;
}

.bg-input-warning input {
  border: 1px solid #ffaf00 !important;
}

.font-xxl{
  font-size: 32px;
}
.font-xl{
  font-size: 26px;
}
.font-l{
  font-size: 20px;
}
.font-m{
  font-size: 16px;
}
.font-s{
  font-size: 12px;
}
.font-xs{
  font-size: 10px;
}

.gst-percent{
  height: 39px;
  border-radius: 5px;
}

td.order-table.action {
  align-items: center;
  text-align: right;
  padding-right: 50px;
}

td.order-table.action a {
  color: #2e2e2e;
}

.dataTables_wrapper .top{
  display: flex;
  justify-content: space-between;
}

.dataTables_wrapper .top .dt-buttons{
  float: none;
}

div.dt-buttons>.dt-button:hover:not(.disabled), div.dt-buttons>div.dt-button-split .dt-button:hover:not(.disabled) {
  color: #fff;
  background-color: #0c83e2;
  border-color: #0c7cd5;
}
table.table-without-header thead {
  display: none;
}
a.rm-underline:hover {
  text-decoration: none;
}
input.form-control::file-selector-button {
  height: 100%;
  margin-top: 0;
}

/*loader*/
.spanner{
  position:absolute;
  top: 50%;
  left: 0;
  background: #2a2a2a55;
  width: 100%;
  display:block;
  text-align:center;
  height: 300px;
  color: #FFF;
  transform: translateY(-50%);
  z-index: 1000;
  visibility: hidden;
}

.overlay{
  position: fixed;
	width: 100%;
	height: 100%;
  background: rgba(0,0,0,0.5);
  visibility: hidden;

    align-items: center;
    vertical-align: middle;
    display: flex;
}

.loading,
.loading:before,
.loading:after {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation: load7 1.8s infinite ease-in-out;
  animation: load7 1.8s infinite ease-in-out;
}
.loading {
  color: #ffffff;
  font-size: 10px;
  margin: 80px auto;
  position: relative;
  text-indent: -9999em;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.loading:before,
.loading:after {
  content: '';
  position: absolute;
  top: 0;
}
.loading:before {
  left: -3.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loading:after {
  left: 3.5em;
}
.remark-input {
  width: 250px; /* Set the desired width */
}

#nav{list-style:none;margin: 0px;padding: 0px;}
#nav li {
float: left;
margin-right: 20px;
font-family: Arial;
font-size: 14px;
font-weight:bold;
}
#nav li a{color:#333333;text-decoration:none}
#nav li a:hover{color:#006699;text-decoration:none}


#notification_li
{
position:relative
}
.notification-dropdown {
  width: 500px; 
}
/* CSS for custom popup */
.custom-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 50px; /* Increase padding for larger popup */
  width: 500px; /* Adjust width as needed */
  max-width: 80%; /* Set maximum width to prevent it from becoming too wide */
  font-family: Arial, sans-serif;
  z-index: 9999; /* Ensure the popup appears above other content */
}

.popup-content {
  text-align: center;
  max-height: 300px;
  overflow-y: auto;
}

.popup-content button {
  margin-top: 20px; /* Increase margin-top to move the button down */
  padding: 8px 16px; /* Reduce padding for smaller button */
  font-size: 14px; /* Adjust font size as needed */
  background-color: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
.popup-content span {
  display: block;
  word-wrap: break-word; /* Enable word wrapping for long messages */
  max-width: 100%; /* Ensure the message doesn't exceed the width of the container */
}

.popup-content button:hover {
  background-color: #0056b3;
}



.scrollable-container {
  max-height: 100px;
  overflow-y: auto;
}
.red-style-popup .modal-content {
    border-top: solid 6px #fb3a3a;
}

.red-style-popup .modal-dialog {
    width: 100%;
    max-width: 430px !important;
}


.red-style-popup .modal-footer {
    padding-bottom: 20px;
}


.red-style-popup .modal-footer button.btn.btn-secondary {
    font-weight: initial !important;
    padding: 8px 26px !important;
    font-size: 15px !important;
    border: solid 1px #212529 !important;
    text-transform: none !important;
    background: transparent;
    color: #212529;
}
.project-action .row.button-group {
  align-items: center;
}
.project-action .row.button-group .col-4 {
  padding: 0;
}
.red-style-popup .modal-footer button.btn.btn-primary {
  border: solid 1px #212529 !important;
    color: #212529;
    font-weight: initial !important;
    padding: 8px 26px !important;
    font-size: 15px !important;
    text-transform: none !important;
    background: transparent;
}
.aligned-textarea {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
}



@-webkit-keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    box-shadow: 0 2.5em 0 0;
  }
}
@keyframes load7 {
  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }
  40% {
    box-shadow: 0 2.5em 0 0;
  }
}

.show{
  visibility: visible;
}

.spanner, .overlay{
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.spanner.show, .overlay.show {
  z-index: 999999;
	opacity: 1;
}


 .card-header.d-flex .button-group .btn {
    margin: 2px;
 }

.card-header.d-flex {
    flex-wrap: wrap;
}
/* 18-oct-strat */
.jconfirm-box-container {
    width: 100%;
    max-width: 500px;
    flex: unset !important;
    margin: 0 auto !important;
}
/* 18-oct-end */

.hide{
  display: none;
}

ul.side-nav.side-nav-tabs {
  list-style: none;
  padding: 0;
}
.tab-item a.nav-link{
  color: black;
}
.tab-item a.nav-link:hover, .tab-item.active a.nav-link {
  color: var(--primary);
}

/* tab scroller*/
.tab-wrapper {
  position:relative;
  margin:0 auto;
  overflow:hidden;
padding:5px;
  height:50px;
}

.tab-list {
  position:absolute;
  left:0px;
  top:0px;
  min-width:3000px;
  margin-left:12px;
  margin-top:0px;
}

.tab-list li{
display:table-cell;
  position:relative;
  text-align:center;
  cursor:grab;
  cursor:-webkit-grab;
  color:#efefef;
  vertical-align:middle;
}

.scroller {
text-align:center;
cursor:pointer;
display:none;
padding:7px;
padding-top:11px;
white-space:no-wrap;
vertical-align:middle;
background-color:#fff;
}

.scroller-right{
float:right;
}

.scroller-left {
float:left;
}
.warehouse-tabs .nav-link {
  padding: 0 0.5rem;
  color: #000;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.warehouse-tabs .nav-item {
  display: flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
}

.warehouse-tabs .nav-item.active {
  background-color: #F3F3F3;
  font-weight: 500;
}

.warehouse-tabs .nav-item.active .item-delete{
  display: block !important;
}

.inline-container {
    display: inline-block;
}

.no-border {
    border: none;
}

.project-doc {
  margin-bottom:20px
}

.project-receipt {
  margin-top: 20px; margin-bottom:20px;
}


.disable-link {
    pointer-events: none;
}
/*
-----------------
chat design
------------------
*/
.chat-message {
  font-weight: bold;
  margin-bottom: 10px; 
}
.chat-container {
  position: relative;
  border-radius: 20px; 
  overflow: hidden;
  padding: 10px;
  background-color: #f2f2f2; 
}

.chat-message {
  background-color: #D9D9D9;
  color: black;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 15px; 
}

.input-group {
  border-top: 2px solid #ccc;
  padding-top: 10px;
}

.send-button {
  border-radius: 50%;
  padding: 10px;
}

/* Add these styles to your CSS */
.chat-container {
  height: 300px; 
  overflow-y: auto;
}

.message-container {
  padding: 10px;
}


.read-notification {
  opacity: 0.7; 
}

.break-text{
  white-space: pre-line;
}
/* 12-feb */
.layout__container{
  margin-top: 12px;
  margin-bottom: 8px;
}
.layout__container .card {
  box-shadow: none;
  background: transparent;
  padding:  0 !important;
}

.layout__container .card-body {
  background: transparent;
  border-radius: 0;
  border: 1px solid #d3d3d3;
}

.layout__container .balance_remaining_div {
  padding: 24px 12px 12px 12px;
}

span#remain_balance {
  display: block;
  color: #6F6F6F;
  width: 100%;
  border: 1px solid;
  text-align: end;
  padding: 6px 12px;
  border-radius: 8px;
}


.balance_remaining_div label {
  text-align: end;
  width: 100%;
  display: block;
}

.layout__container input#message-input {
  background: #D9D9D9;
}

.layout__container input#message-input::placeholder {
  color: #000;
}

.layout__container button#pageSubmitButton2 {
  padding: 6px 12px;
  border-radius: 0 4px 4px 0;
  font-size: 16px;
}

.layout__container i {
  margin: 0;
}
.project-success-message {
  color: blue;
  background: white;
  padding: 12px;
}
.sidebar .nav.sub-menu {
  margin-bottom: 0;
  padding: 0 0 0 30px;
}

.sidebar .nav.sub-menu a span {
  font-size: 16px !important;
}
/* 12-feb-end */
.project-action {
  margin-top: 30px;
  margin-bottom: 20px;
}

.img_70px {
  width: 70px;
  height: 50px;
}
.table td .btn{
  padding: 4px;
}
.col-05 {
  flex: 0 0 4.16%;
  max-width: 4.16%;
}
.col-15 {
  flex: 0 0 12.5%;
  max-width: 12.5%;
}
.scrollable-table-container {
  height: auto;
  overflow-y: auto;
  max-height: 250px;
}
div#payment-receipt .table th{
  font-size: 0.875rem;
  line-height: 1;
  padding: 12px 15px;
}
.table-white{
  background-color: #fff;
}
/*
-----------------
media screens
------------------
*/

@media (min-width:1400px){
  .col-xxl-2 {
      flex: 0 0 auto;
      width: 16.6666666667%;
  }
  .col-xxl-5 {
    flex: 0 0 auto;
    width: 41.6666666667%;
}
    .col-xxl-7 {
    flex: 0 0 auto;
    width: 58.3333333333%;
}
}
@media (min-width:1100px){
  div#notificationContainer {
    min-width: 600px;
}
}
@media  (max-width:1570px) and (min-width:1400px){
  .project-edit-form label, .create_quotation_form label , .add_invoice_form label {
      min-height: 48px;
  }
  }

@media (max-width:1732px) and (min-width:1171px){
    #machine-module .form-group label {
      min-height: 48px;
    }
}
/*
 18-10-23
 */
 @media (max-width:1550px) and (min-width:1104px){
    .form_label_rspnsv .form-group label {
        min-height: 48px;
    }

    .form_label_rspnsv .form-check label {
        min-height: unset !important;
    }
    }
    @media (max-width:1480px) and (min-width:1363px){
        div#no-credit-table_filter {
            margin-top: 36px;
        }
        }
 @media (max-width:1471px) and (min-width:1025px){
    div#pending-orders-table_filter {
        min-height: 80px;
    }
    }
@media (max-width:1421px) and (min-width:1025px){
    div#pending-orders-table_filter {
        min-height: 80px;
    }
    }

    @media (max-width:1362px) and (min-width:1025px){
        div#no-credit-table_filter {
            margin-top: 69px;
        }
        }
    @media (max-width:1103px) and (min-width:1025px){
        .form_label_rspnsv .form-group label {
            min-height: 72px;
        }

        .form_label_rspnsv .form-check label {
            min-height: unset !important;
        }
        }
    @media (max-width:1024px) and (min-width:768px){
    div#pending-orders-table_filter {
        min-height: 96px;
    }
    .form_label_rspnsv .form-group label {
        min-height: 36px;
    }
    .form_label_rspnsv .form-check label {
        min-height: unset !important;
    }
}
    @media (max-width:1024px) and (min-width:992px){
    div#no-credit-table_filter {
        margin-top: 35px;
    }
    }

    @media (max-width:991px) and (min-width:768px){
    div#no-credit-table_filter {
        margin-top: 33px;
    }
    }



/* end */

@media (max-width:1170px) and (min-width:1025px){
  #machine-module .form-group label {

  min-height: 72px;

  }
}



@media (max-width:1024px) and (min-width:768px){
  #machine-module .form-group label {

  min-height: 36px;

  }
}
@media (max-width:1399px) {
  .details__row .col {width: 100%;max-width: 100%;flex: unset;}
      .details__row .project-action {
      margin: 0;
  }
}

@media (max-width: 1149px){
  .overflow-control .form-row ,.overflow-control  #product-items {
      width: 100%;
      min-width: 991px;
  }
  .overflow-control{
      overflow:auto;
  }
  }


@media screen and (max-width: 1024px) {
  body {
    font-size: 10px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 16px;
  }

  h4 {
    font-size: 20px;
  }

  h5 {
    font-size: 18px;
  }

  h6 {
    font-size: 16px;
  }

  body p, body a, body button, body label, body input, body span{
    font-size: 12px !important;
  }

  body tbody td, body table th{
    font-size: 10px !important;
    padding: 0px 4px !important;
  }
  body table th{
    padding: 8px 16px !important;
  }

  button.btn {
    padding: 5px 8px;
  }
  span.mdi.mdi-menu {
    font-size: 18px !important;
  }
  div.dataTables_wrapper div.dataTables_filter input{
    display: block;
    width: 100%;
  }
  .details__row td {
    padding: 8px 16px !important;
  }
}

@media screen and (max-width: 991px) {

  .dataTable thead, .dataTable tbody {
    display: contents;
  }

  /* .table-responsive{
    display: table;
  } */
}

@media screen and (max-width: 767px) {
  .table-striped td {
    padding: 5px !important;
  }
  div.dataTables_wrapper div.dataTables_filter label {
      display: flex;
      align-items: center;
      margin-right: 5px;
  }

  .card-statistics .card-body {
    height: 200px;
  }

  div.dataTables_wrapper .dataTables_filter{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .dataTables_wrapper .top{
    display: flex;
    justify-content: flex-end;
  }
  .card-header .card-top-left ,.card-header .card-top-left {
    width:100% !important;
}

span#credit-note-amount {
font-size: 16px !important;
}
#credit-notes .d-flex {
flex-wrap: wrap;
margin-bottom: 4px;
}
div.dataTables_wrapper div.dataTables_length select {
    font-size: 11px !important;
}
div.dataTables_wrapper div.dataTables_paginate ul.pagination li a {
    font-size: 11px !important;
    padding: 5px 10px !important;
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0 !important;
}
/* 18-oct */
div.dataTables_wrapper .bottom .left, div.dataTables_wrapper .bottom .right {
    width: 100%;
}
div.dataTables_wrapper .bottom{
    flex-wrap:wrap;
}
/* 18-oct end */
}
/* 18-oct */
@media (max-width:575px){
    input#item_mileage {
        min-width: 30px;
    }
    }
/* 18-oct-end */

