.drop { background-color: #fff; }

.drop:after { border: dashed 0.3rem rgba(0, 0, 0, 0.0875); }

.drop .drop-label { color: rgba(0, 0, 0, 0.0875); }

.drop:hover:after { border-color: rgba(0, 0, 0, 0.125); }

.drop:hover .drop-label { color: rgba(0, 0, 0, 0.125); }

.drop {
  width: 100%;
  height: 20rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin: 0;
}

.drop:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

.drop.file-focus { border: 0; }

.drop:hover { cursor: pointer; }

.drop .drop-label {
  font-size: 2rem;
  font-weight: 300;
  line-height: 4rem;
  padding: 2px;
  width: 100%;
  text-align: center;
  position: absolute;
  top: 45%;
  margin-top: -1.5rem;
  left: 0;
}

.drop input[type=file] {
  line-height: 50rem;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  z-index: 10;
  cursor: pointer;
}

#image-preview, .image-preview {
  height: 20rem
}

#image-preview, .image-preview {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  background-color: #ededed
}

#image-preview:empty, .image-preview:empty { display: none; }

#image-preview img, .image-preview img {
  display: block;
  margin: 0 auto;
  max-height: 100%;
}

#image-preview:after, .image-preview:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  border: solid 0.1rem rgba(0, 0, 0, 0.08);
}

label.error {
  font-size: 15px;
  font-weight: lighter;
  padding: 10px 0;
  color: #ff3636;
}


/* FOR MOBILE KURIR */
.mobile-tabs {
  position: fixed;
  bottom: -4px;
  z-index: 2;
  background: #fff;
  outline: 0;
  height: auto;
  width: 100%;
  white-space: nowrap;
  display: block;
  align-items: center;
  border-top: 1px solid #dee2e6;
  box-shadow: 1px 1px 8px 0px #00000029;
  padding-bottom: 5px;
}

.mobile-tabs .dropdown-item-populate {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
}

.mobile-kurir .content-wrapper .content-header:empty {
  padding: 0 !important;
  display: none;
}

.mobile-tabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  color: #ffffff;
  background-color: #3c8dbc;
  border-radius: 10px;
}

.mobile-tabs .nav.nav-tabs {
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: none !important;
  padding: 5px 0;
}

.mobile-tabs a.nav-link {
  color:#4e4e4e;
  font-size: 12px;
  padding: .5rem .6rem;
}

.mobile-tabs a.nav-link i.nav-icon {
  font-size: 20px;
}

.mobile-tabs .dropdown-menu {
  position: relative;
  margin: 0 15px 195px;
  transform: translate3d(0px, 0px, 0px) !important;
  float: none;
  top: -195px;
  box-shadow: 0px 0px 4px 1px #00000038
}

.mobile-tabs .dropdown-item {
  font-size: 13px;
}

body.mobile-kurir,
body.mobile-kurir .main-sidebar,
body.mobile-kurir .mobile-hidden {
  display: none;
}

body.mobile-kurir .content-wrapper {
  position: relative;
  /*z-index: 1;*/
}

body.mobile-kurir .main-header {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
}

body.mobile-kurir .main-header,
body.mobile-kurir .content-wrapper {
  margin-left: 0 !important;
}

body.mobile-kurir .main-header .breadcrumb_mobile {
  font-size: 18px;
}

@media (max-width:1024px) {
  body.mobile-kurir {
    display: flex;
  }

  body.mobile-kurir .wrapper {
    width: 100%;
    margin-bottom: 74px;
  }

  body.mobile-kurir.login-page {
    background: linear-gradient(45deg, #1f2d3d, #420c27);
  }

  body.mobile-kurir .login-logo {
    margin-bottom: 1em;
  }

  body.mobile-kurir .login-logo img {
    margin-bottom: 0.5em;
  }
}

@media (max-width: 576px) {
  body.mobile-kurir .login-box,
  body.mobile-kurir .register-box {
    width: 80%;
  }
}

body.mobile-kurir .card-title,
body.mobile-kurir .card-tools {
  float: none;
  display: block;
}

body.mobile-kurir .card-header>.card-tools .input-group, .card-header>.card-tools .nav, .card-header>.card-tools .pagination {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-around;
  flex-wrap: nowrap;
  font-size: 13px;
}

body.mobile-kurir .widget-user-2 .widget-user-username,
body.mobile-kurir .widget-user-2 .widget-user-desc, .widget-user-2 .widget-user-username {
  margin-left: 0;
  margin-right: 3em;
}

body.mobile-kurir .widget-user-2 .widget-user-username,
body.mobile-kurir .widget-user-2 .widget-user-desc {
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100%;
  white-space: nowrap;
}

body.mobile-kurir .widget-user-2 {
  max-width: 450px;
  margin: 0 auto;
}

body.mobile-kurir .widget-user-2 .widget-user-username {
  font-size: 20px;
}

body.mobile-kurir .widget-user-2 .widget-user-desc {
  font-size: 15px;
}

body.mobile-kurir .widget-user-2 .nav-link{
  text-align: justify;
  font-size: 13px;
}

body.mobile-kurir .navbar .nav-item .nav-link {
  max-width: 180px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.mobile-kurir .widget-user-2 .nav-link .fas {
  margin-right: .5em;
}

body.mobile-kurir .widget-user-2 .cta {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

body.mobile-kurir .widget-user-2 .cta .btn-wrapper {
  width: 33.33333%;
}

body.mobile-kurir .widget-user-2 .cta .btn-wrapper .btn{
  border-radius: 0;
  border: 1px solid #f7f7f7;
}

body.mobile-kurir .card-title-sticky {
  position: sticky;
  position: -webkit-sticky;
  top: 53px;
  z-index: 2;
  margin: -30px -15px;
}

body.mobile-kurir .search-mobile {
  height: calc(1.8rem + 2px);
    border-bottom-left-radius: .25rem;
  border-top-left-radius: .25rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  padding: .1rem .75rem .1rem .5rem;
}

.barcode-group {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.quick-access-mobile {
  position: absolute;
  right: 0;
  margin-left: 10px;
}

.quick-access-mobile .dropdown-menu.show{
  transform: translate3d(-118px, 37px, 0px) !important;
}

.no-border-radius {
  border-radius: 0 !important;
}

body.mobile-kurir .scanner-show {
  width: 100%; 
  height: 170px;
  border: 1px solid #00000030;
  object-fit: cover;
  overflow: hidden;
}

body.mobile-kurir .table,
body.mobile-kurir .dataTables_filter {
  font-size: 12px;
}

body.mobile-kurir .dataTables_filter {
  text-align: right !important;
}

body.mobile-kurir .scanner-wrapper{
  position: relative;
}

.play-pause-btn-mobile {
  position: absolute;
  right: 0;
  top:0;
}

body.mobile-kurir div.dataTables_wrapper div.dataTables_paginate {
  position: relative;
  z-index: 1;
}

body.mobile-kurir .table input {
  width: 100%; 
  box-sizing: border-box;
  -webkit-box-sizing:border-box;
  -moz-box-sizing: border-box;
}

body.mobile-kurir .table td, .table th {
  padding: 0.4rem !important;
}

body.mobile-kurir .btn-floating-wrapper {
  position:absolute;
  top: -4.7em;
  right: 15px;
  width: calc(100% - 30px);
  font-size: 15px;
  text-align: center;
  z-index: -1;
}

body.mobile-kurir .btn-floating {
  width:50px;
  height:50px;
  color:#FFF;
  border-radius:50px;
  text-align:center;
  box-shadow: 2px 3px 5px #6c6c6ca6;
  outline: none !important;
  border: none !important;
  opacity: 1;
  transition: all .2s ease-in-out;
}

.scale-down{
  animation: scale .2s;
}

.scale-up{
  animation: scale_up .2s;
}

.update-position-wrapper{
  display: none;
  overflow: hidden;
}

@keyframes scale {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes scale_up {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

.small-box>.small-box-footer {
  z-index: 1 !important;
}

.table tbody td{
  font-weight: lighter !important;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  justify-content: start !important;
  overflow: scroll !important;
  padding-bottom: 15px !important;
}