
@media (max-width: 992px) {
  .navbar {
    background: #fff !important;
    box-shadow: none !important;
    display: flex;
  }
  .logo-box {
    /* text-align: center; */
    /* padding-left: 0px;
    margin-right: auto; */
    align-items: center;
    position: fixed !important;
  }
  .m-navbar {
    display: flex;
  }
  .d-navbar {
    display: none;
  }
  .tab {
    overflow-x: scroll;
    white-space: nowrap;
  }
  .m-layout {
    margin-top: 0px;
  }
}
@media (max-width: 768px) {
  body, th, td{
    font-size: 14px !important;
  }
  .login-box {
    left: 0px !important;
    top: 0px !important;
  }
  .tcenter {
    text-align: center !important;
  }
  .h-xs {
    height: 5px !important;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
  }
  .text-filter{
    background-color: white !important;
  }
  /* .btn-sm {
    min-height: 36px;
    max-height: 36px;
  } */
  .tab {
    max-height: 65px;
    max-width: 100%;
  }
  .mfit {   
    padding-right: 18px !important;
    padding-left: 18px !important;
  }
  .card {
    border-radius: 0px !important;
  }
  label.tab-stockinfo span {
    padding: 4px 15px;
  }
  .modal.fade .modal-dialog {
    transform: translate3d(0, 0vh, 0);
  }
  .modal.in .modal-dialog {
      transform: translate3d(0, 0, 0);
  }
  .modal-dialog {
    margin: 0px auto;
    padding: 0px auto;
    height: 100%;
  }
  .m-modal {
    border-radius: 20px 20px 0px 0px !important;
    position: absolute !important;
    bottom: 0px !important;
  }
  .text-center-sm {
    text-align: center !important;
  }
  .modal-content {
    max-height: 100%;
  }
  .data-table {
      margin-top: 0px !important;
      margin-bottom: 0px !important;
  }
  .form-control {
    font-size: 12px;
    min-height: 36px;
    max-height: 36px;
  }
  .m-none {
    display: none;
  }
  .fixed-button {
    background-color: white; 
    box-shadow: 0px -3px 10px rgba(0, 0, 0, 0.1); 
    position: fixed; 
    bottom: 0;
  }
  .filter-box {
    background: #FFFFFF;
    border: 1px solid #DADADA;
    box-sizing: border-box;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    /* border-radius: 0px; */
    z-index: 1;
    overflow-x: hidden;
  }
  .fly-btn {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 15px;
    background: white;
    box-shadow: 0px -3px 10px rgba(0, 0, 0, 0.1);
  }
  .fly-filter {
    position: fixed;
    bottom: 25px;
    z-index: 1;
  }
  .m-transparent {
    background: transparent;
  }
}
/* append for mobile device */
@media (max-width: 640px) {
  #sidebar-wrapper{
    top:0 !important;
  }
  .navbar.bg-white{
    background-color: white !important;
  }
  .navbar.shadow{
    box-shadow: -5px 0rem 1rem rgb(0 0 0 / 15%) !important;
  }
  /* .logo-box { */
    /* text-align: center; */
    /* padding-left: 0px;
    margin-right: auto; */
    /* align-items: center;
    position: fixed !important;
  } */
  /* .m-navbar {
    display: flex;
  }
  .d-navbar {
    display: none;
  }
  .tab {
    overflow-x: scroll;
    white-space: nowrap;
  } */
  .m-layout {
    margin-top: 40px !important;
  }
}