.mchj-name {
  color: #fff;
  font-size: 1.3rem;
}

.feather {
  width: 20px;
  height: 23px;
  padding-bottom: 1px;
}

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; 
  padding: 48px 0 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
  .sidebar {
    top: 5rem;
  }
}

.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto;
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}

.sidebar .nav-link {
  font-weight: 500;
  color: #999;
}

.sidebar .nav-link .feather {
  margin-right: 2px;
  color: #999;
}

.sidebar .nav-link.active, .sidebar .nav-link.active .feather {
  color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link:hover {
  color: #333;
}


.sidebar-heading {
  text-transform: uppercase;
}


.navbar-brand {
  font-size: 1.2rem;
  font-weight: bold;
  background-color: rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
  top: .25rem;
  right: 1rem;
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}




/************************************* custom style *********************************/
a.mchj-exit, a.mch-exit:hover {
  color: #fff;
  text-decoration: none;
}

.mchj-color-5 {
  color: #555;
}

.mchj-product {
  font-weight: bold;
  font-size: 20px;
}

.dropdown-content {
  background-color: #f6f6f6;
  border: 1px solid #ddd;
  max-height: 442px;
  overflow: auto;
}

.dropdown-content a {
  color: #222;
  padding: 5px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #eee;
  transition: all 0.3s;
}

.mchj-input, .mchj-input-add {
  background: url('../img/search.svg') 8px 7px / 23px 23px no-repeat white;
  padding: 6px 10px 6px 40px;
  width: 100%;
  border: 1px solid #ddd;
}

.mchj-select {
  background: none;
  padding: 6px 6px 7px 6px;
  color: #555;
}

.client-input {
  width: 85.8%;
}

.btn-plus {
  margin-top: -4px;
  padding: 5px 10px;
}

.mchj-date {
  background: url('../img/calendar.svg') 8px 6px / 23px 23px no-repeat white;
  display: block;
  color: #555;
}

.delete-icon {
  width: 25px;
  height: 25px;
}

.mchj-input-add {
  border-bottom: 1px solid #ddd;
  width: 75%;

}

.mchj-btn-add {
  padding: 4px 5px 5px 5px;
  margin-left: 5px;
  width: 25%;
  border-radius: 0;
  font-size: 18px;
}

.mchj-input-add-container {
  display: flex;
  align-items: center;
}

.mchj-input:focus, .mchj-input-add:focus {
  outline: 0 none;
  box-shadow:0 0 0 .2rem rgba(0,123,255,.25);
  border-color:#80bdff;
  border-radius: 3px;
}

.table > thead > tr > th {
  border-bottom: none;
}

.table th {
  padding: 5px 10px;
  text-align: center;
}

.table td {
  vertical-align: middle;
  padding: 2px 8px;
}

.table tfoot tr, .table thead tr {
  background-color: #f6f6f6;
}

.flexdatalist-results li.item{
  display: flex;
}

.flexdatalist-results li .item-product_name,
.flexdatalist-results li .item-client_name,
.flexdatalist-results li .item-provider_name,
.flexdatalist-results li .item-provider {
  flex-grow: 1;
}

.flexdatalist-results li .item-product_name::after, 
.flexdatalist-results li .item-product_count::after,
.flexdatalist-results li .item-provider_name::after,
.flexdatalist-results li .item-client_name::after {
  content: '';
  position: absolute;
  right: 120px;
  height: 20px;
  width: 1px;
  background-color: rgb(221, 221, 221);
}

.flexdatalist-results li .item-product_count::after {
  right: 85px;
}

.flexdatalist-results li .item-product_summ {
  margin-left: 15px;
  width: 62px;
  text-align: right;
}

.flexdatalist-results li .item-product_count {
  font-weight: bold;
}

.flexdatalist-results li .item-client_tel,
  .flexdatalist-results li .item-provider_tel {
  font-style: italic;
}

.flexdatalist-results li .item-client_name::after,
  .flexdatalist-results li .item-provider_name::after {
  right: 135px;
}

.flexdatalist-results .count-0 {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.modal-danger-back {
  color: #721c24;
  text-align: center;
  font-size: 18px;
}

#modal-none-label {
  color: #721c24;
  font-weight: 900;
  width: 100%;
}

td.empty-row {
  vertical-align: middle;
  height: 200px;
}

.empty-row:hover {
  background-color: #fff;
}

.mchj-input-quantity {
  width: 50%;
  background: none;
  height: 30px;
  padding: 6px;
}

.modal-product-title {
  width: 100%;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #007bff;
}

.red-border {
  border: 2px solid tomato;
}

.error-message {
  color: tomato;
  margin-left: 92px;
  display: none;
  font-size: 14px;
}

#deleted-product-name {
  font-size: 20px;
  font-weight: 700;
  color: tomato;
}

#mchj-bnt {
  background-color: tomato;
}

.error-client-add {
  color: tomato;
  margin-left: 62px;
  display: none;
  font-size: 14px;
}

.mchj-filter-date {
  border: 1px solid #ddd;
  padding: 5px 8px;
  outline: none;
}

.sidebar  .nav-item > a.active:hover, .sidebar  .nav-item > a.active:hover .feather{
  color: #007bff;
  cursor: default;
}

.btn-filtr {
  width: 100%;
  padding: 5px;
  background-color: #007bff;
  border-radius: 0;
}

.mchj-filter-date {
  width: 100%;
}

.post-input {
  width: 84.91%; 
}


.login {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}

.login-wrap {
  width: 100%;
  height: 100vh;
  background-color: #f7f7f7;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
}

.alert-error-login {
  width: 50%;
  position: absolute;
  left: 25%;
  top:80px;
}

.loader-container {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2000;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .6);
  display: none; 
}

.loader {
  border: 12px solid #f3f3f3; /* Light grey */
  border-top: 12px solid #3498db; /* Blue */
  border-radius: 50%;
  margin: 21% auto;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.print-header {
  font-size: 20px;
  font-weight: bold;
  color: #000;
}

button.add-new-product {
  font-weight: bold;
  border: none;
  border-radius: 0;
}

table#print-table {
  color: #000;
  font-weight: 500;
  font-size: 20px;
}

table#print-table td, table#print-table th {
  border-color: #050505;
}

@media print {
  table#print-table td, table#print-table th {
    border-color: #050505 !important;
  } 
}

input.invalid-date {
  border: 2px solid tomato;
}