@media screen {
  .print-logo {
    display: none;
  }
}

@media print {
  .print-logo {
    text-align: center;
    display: block;
    margin-bottom: 20px;
  }

  .print-logo img {
    width: 200px;
    height: auto;
  }

  td,
  th {
    padding: 4px;
  }
}

.toast {
  display: none;
  min-width: 20vw
}

.toast.show {
  display: block;
  opacity: 1;
  position: fixed;
  z-index: 99999999;
  margin: 20px;
  right: 0;
  top: 3.5rem;
}

.swal2-container {
  z-index: 99999999;
}

#preloader2 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #ffffff82;
}

#preloader2:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #1977cc;
  border-top-color: #d1e6f9;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-size: smaller;
  color: #000000cf;
  font-style: italic;
}

.modal-dialog.mid-large {
  width: 50% !important;
  max-width: unset;
}

#viewer_modal .btn-close {
  position: absolute;
  z-index: 999999;
  /*right: -4.5em;*/
  background: unset;
  color: white;
  border: unset;
  font-size: 27px;
  top: 0;
}

#viewer_modal .modal-dialog {
  width: 80%;
  max-width: unset;
  height: calc(90%);
  max-height: unset;
}

#viewer_modal .modal-content {
  background: black;
  border: unset;
  height: calc(100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

#viewer_modal img,
#viewer_modal video {
  max-height: calc(100%);
  max-width: calc(100%);
}

#parcel_history .iitem:not(:first-child) .bg-blue {
  background-color: #adb5bd !important;
}

#parcel_history .iitem:first-child .timeline-body {
  color: #000000 !important;
  font-weight: 500;
}

#parcel_history .iitem:first-child .bg-blue {
  animation: pulse-animation 2s infinite;
  box-shadow: 0px 0px 1px 1px #0000001a;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
  }

  100% {
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }
}

@media (max-width: 600px) {
  .btn.scan {margin-top:5px;}
  .main-header .navbar-nav .nav-item .nav-link.menu i {font-size: 1.4em}
  .login-page {height: auto;}
  .navbar {
    justify-content: center;
    align-items: center;
    vertical-align: center;
    padding: 0.2rem 0.2rem;
  }

  h1,
  h2,
  h3,
  h4,
  h5 {
    font-size: 1.2rem
  }

  .modal-dialog.large {
    width: 96% !important;
    max-width: unset;
  }

  .main-header .nav-item.full {
    display: none;
  }

  .navbar-expand .navbar-nav .nav-link {
    padding-top: 0.2em;
    padding-left: 0.2em;
    padding-right: 0.4em;
    padding-bottom: 0.2em
  }

  .main-header .nav-link {
    height: 2.2rem;
  }

  .badge-pill {
    padding-right: 0.2em;
    padding-left: 0.2em;
  }

  .badge-info {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  .mr-2,
  .mx-2 {
    margin-right: 0px !important;
  }

  .ml-2 {
    margin-right: 10px !important;
  }

  .card-body.tracking {
    padding-left: 0;
    padding-right: 0;
  }

  #parcel_history .time {
    text-align: right;
    padding-bottom: 0;
    float: none;
    display: block;
  }

  .mfooter {
    text-align: center;
    font-size: 11px
  }

  #home-icons .item-icon img {
    width: 48px;
  }

  .small-box p {
    padding: 0 !important;
    margin: 0 !important;
  }

  .small-box>.inner {
    padding-top: 5px !important;
  }
}

@media (min-width: 601px) {
  .btn.scan {margin-left:5px;}
  .modal-dialog.large {
    width: 80% !important;
    max-width: unset;
  }

  .mfooter {
    padding-right: 30px;
    text-align: right;
    font-size: 12px
  }

  #home-icons .inner {
    padding: 15px 15px 0 15px;
  }

  #home-icons .item-icon img {
    width: 64px;
  }

  .small-box p {
    font-size: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .pitems {
    width: 70%
  }
}

.navbar-primary {
  background-color: #233752;
}

[class*=sidebar-dark-] {
  background-color: #282b34;
}
#home-icons a {color:#ffffff;}
#home-icons .small-box.containers {
  background: rgb(46, 84, 134);
  background: linear-gradient(180deg, rgba(46, 84, 134, 1) 0%, rgba(35, 55, 82, 1) 100%);
}
#home-icons .small-box.containers:hover {
  background: rgb(38, 68, 109);
  background: linear-gradient(180deg, rgb(33, 62, 100) 0%, rgb(25, 41, 61) 100%);
}

#home-icons .small-box.parcels {
  background: rgb(242, 162, 43);
  background: linear-gradient(180deg, rgba(242, 162, 43, 1) 0%, rgba(199, 129, 25, 1) 100%);

}
#home-icons .small-box.parcels:hover {
  background: rgb(218, 144, 34);
  background: linear-gradient(180deg, rgb(206, 136, 32) 0%, rgb(156, 99, 13) 100%);

}

#home-icons .small-box.status {
  background: rgb(46, 148, 209);
  background: linear-gradient(180deg, rgba(46, 148, 209, 1) 0%, rgba(20, 101, 150, 1) 100%);
}
#home-icons .small-box.status:hover {
  background: rgb(31, 111, 156);
  background: linear-gradient(180deg, rgb(33, 119, 168) 0%, rgb(13, 69, 104) 100%);
}
#home-icons .small-box.staff {
  background: rgb(168, 73, 187);
  background: linear-gradient(180deg, rgba(168, 73, 187, 1) 0%, rgba(115, 42, 130, 1) 100%);
}
#home-icons .small-box.staff:hover {
  background: rgb(168, 73, 187);
  background: linear-gradient(180deg, rgb(124, 48, 139) 0%, rgb(69, 23, 78) 100%);
}

#home-icons .small-box {
  border-radius: 20px;
  color: #ffffff !important;
}

#home-icons .item-icon {
  position: absolute;
  right: 15px;
  top: 15px;
}

#home-icons .item-icon img {
  transition: transform .3s linear;
}

.sidebar .nav-item a img {
  margin-right: 5px;
  width: 32px;
}

.sidebar .nav-item {
  border-bottom: 1px solid #6b7187
}

.sidebar .nav-item ul li a img {
  width: 24px;
}

.sidebar .nav-treeview a {
  padding-left: 15px;
}

.nav-treeview>.nav-item>.nav-link.active img {
  -webkit-filter: invert(100%);
  filter: invert(100%);
}

.nav-sidebar .menu-is-opening>.nav-link i.right,
.nav-sidebar .menu-open>.nav-link i.right {
  transform: rotate(-180deg);
}

.badge-info.accepted {
  background-color: #989898;
}

.badge-info.collected {
  background-color: #2d319f;
}

.badge-info.transit {
  background-color: #3a78fd;
}

.badge-info.arrived {
  background-color: #9218ad;
}

.badge-info.finished {
  background-color: #59879e;
}

.badge-info.delivered {
  background-color: #519813;
}

.badge-info.unsuccess {
  background-color: #f53638;
}

.card-header .card-tools {
  float: none;
  padding-top: 4px;
}

.language-buttons {
  text-align: center;
  margin-top: 10px;
}

.language-buttons a {
  padding: 4px;
  border: 1px solid #d6d6d6;
  border-radius: 4px;
}

.btn-export-customs {
  font-size: 13px;
  background: #eab515;
  color: #000000;
  display: inline-block;
  padding: 5px;
}

.btn-export-customs img,
.btn-export-courier img {
  fill: #fff;
  width: 24px;
  height: 24px;
}

.btn-export-courier {
  margin-left: 4px;
  font-size: 13px;
  background: #2652b0;
  color: #fff;
  display: inline-block;
  padding: 5px;
}

.btn-export-customs:hover {
  color: #000000;
  background: #bb9111;
}

.btn-export-courier:hover {
  color: #ffffff;
  background: #293f87;
}

.current-language {
  background-color: #337ab7;
  color: #fff;
}

.btn-status {
  display: inline-block;
  cursor: pointer;
  text-align: center;
  vertical-align: middle;
  color: #fff;
  padding: 3px 5px;
  border: 1px solid transparent;
  background: #c9c9c9;
}

.btn-status img {
  width: 30px;
  height: 30px;
}

.top-buttons .col-6 .btn {
  width: auto;
}

.top-buttons .col-6:first-child .btn {
  float: left
}

.top-buttons .col-6:last-child .btn {
  float: right
}

.select-pstatus {
  padding: 20px;
  display: block;
  width: 100%;
  align-items: center;
}

.select-pstatus .btn {
  margin-left: 10px;
  display: inline;
  padding: 3px 8px;
}

.select-pstatus select {
  display: inline;
  max-width: 350px;
}

.top-buttons-product input {
  display: inline;
  max-width: 350px;
}

.top-buttons-product .btn {
  margin-left: 10px;
  display: inline;
  padding: 3px 8px;
}

.check-dublicate option:disabled {
  background-color: lightgray;color:#999999;
}
.form-control {color: #000000;}
.already-selected, .already-selected:hover{
  display: none;
}

select[readonly]
{
    pointer-events: none!important;
}
.btn.scan {padding:2px 10px;font-weight:500;font-size:16px;}
.btn.scan img {margin-right:8px;}
#report-list th {font-size:14px;}
#report-list td {font-size:13px;}
#report-list {width: 100%;}

