/* Item image */
.img-list-itm {
  padding: 0.25rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.4rem;
  width: 64px;
  height: 64px;
}

/* Book cover */
.img-list-book {
  padding: 0.25rem;
  background-color: #fff;
  border-radius: 0.4rem;
  width: 110px;
  height: 150px;
  opacity: 1;
  display: block;
  transition: .5s ease;
  backface-visibility: hidden;
}

/* barcode scan */
#interactive.viewport {
  position: relative;
  width: 100%; 
  height: auto;
  overflow: hidden;
  text-align: center;
}

#interactive.viewport > canvas, #interactive.viewport > video {
  max-width: 100%;width: 100%;
}

canvas.drawing, canvas.drawingBuffer {
  position: absolute; left: 0; top: 0;
}

/* img hover menu */
.cover-img {
  position: relative;
}

.cover-img-bottom {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.cover-img:hover .img-list-book {
  opacity: 0.3;
}

.cover-img:hover .cover-img-bottom {
  opacity: 1;
}

/* avatar with user initials */
.initials {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

/*autocomplete*/
.autocomplete {
  position: relative;
}
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4; 
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}
/*  seller dashboard */
.dashboard-tile-primary {
  display: -ms-flexbox;
  display: flex;
  width: 4.5rem;
  height: 4.5rem;
  text-align: center;
  color: #4E66F8;
  border-radius: 0.4rem;
  background: #eaedfe;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.dashboard-tile-secondary {
  display: -ms-flexbox;
  display: flex;
  width: 4.5rem;
  height: 4.5rem;
  text-align: center;
  color: #e83e8c;
  border-radius: 0.4rem;
  background: #fce8f1;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
}

/*
* ===================================================
*    Maps
* ===================================================
*/
.map-wrapper-150 {
  height: 150px;
}

/*  no hand cursor */
button:disabled {
  cursor: not-allowed;
  pointer-events: all !important;
}