
@media (max-width: 992px) {
  .navbar {
    background: none !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;
  }

  .bg-bg-transparent{
    background: transparent !important;
  }

  .modal-dialog{
    /* margin: 0px !important; */
    padding: 0px !important;
  }
  .modal-full-100 {
    height: 100vh !important;
    width: 100vw !important;
  }
}
@media (max-width: 768px) {
  body, th, td{
    font-size: 12px !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: 0px !important;
    padding-left: 0px !important;
  }
  .card {
    border-radius: 15px !important;
    -webkit-border-radius: 15px !important;
    -moz-border-radius: 15px !important;
    -ms-border-radius: 15px !important;
    -o-border-radius: 15px !important;

    flex: 0 0 auto;
}
  label.tab-stockinfo span {
    font-size: 14px;
    padding: 4px 15px;
    color: #9E9E9E;
  }
  .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%; */
  }
  .modal-full {
    height: 100%;
    width: 100% !important;
  }
  .modal-full-100 {
    height: 100vh !important;
    width: 100vw !important;
  }
  .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;
  }
  /* .w-70{
    height: 75%;
  } */
}
/* append for mobile device */
@media (max-width: 640px) {
  #sidebar-wrapper{
    top:0 !important;
  }
  .navbar.bg-def{
    background-color: #EC2C2C !important;
  }

  .navbar.bg-white{
    background-color: #edf2f4 !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: 10px !important;
  }

  .bg-sm-white{
    background: white;
  }

  .pt-xs-0{
    padding-top: 0px !important;
  }
  .p-xs-0{
    padding: 0px !important;
  }
}

@media (max-height:900px) {
    .h-70{
        height: 75% !important;
        overflow: auto;
        padding-bottom: 16px;
    }
}
@media (max-height:750px) {
    .h-70{
        height: 72% !important;
        overflow: auto;
        padding-bottom: 16px;
    }
}
@media (max-height:650px) {
    .h-70{
        height: 65% !important;
        overflow: auto;
        padding-bottom: 16px;
    }
}

