/*!
 *   Custom CSS
 */
body {
    background-image: url('/admin/img/bg.jpg');
}

#particles-js {
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}

.textblur-black {
  /* color:rgba(0,0,0,0);
    text-shadow:0 0 8px rgba(0,0,0,1); */
  filter: blur(3px);
  -webkit-filter: blur(3px);
}

.alert-float {
  position: absolute;
  top: 0;
  z-index: 9999;
}

@media (min-width: 576px) {
  .modal-sm {
    max-width: 80%;
  }
}

@media (min-width: 992px) {

  .modal-lg,
  .modal-xl {
    max-width: 80%;
  }
}

@media (min-width: 1200px) {
  .modal-xl {
    max-width: 80%;
  }
}


.btn-purple {
  color: #ffffff;
  background-color: #6f42c1;
}

.badge-purple {
  color: #ffffff;
  background-color: #6f42c1;
}

a.badge-purple:hover,
a.badge-purple:focus {
  color: #ffffff;
  background-color: #492788;
}

a.badge-purple:focus,
a.badge-purple.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(145, 44, 185, 0.5);
}

.text-warp {
  word-break: break-all;
  word-wrap: break-word;
}

.double-del-line {
  text-decoration: line-through double;
}

.bg-light-yellow {
  background-color: #ffeaaa;
}

.custom-file-input:lang(en)~.custom-file-label::after {
  content: "Browse";
}

.custom-file-input~.custom-file-label[data-browse]::after {
  content: attr(data-browse);
}

.custom-file-label::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: block;
  height: 2.25rem;
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  color: #495057;
  content: "瀏覽";
  background-color: #e9ecef;
  border-left: inherit;
  border-radius: 0 0.25rem 0.25rem 0;
}

.img-thumbnail.fixed-height {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.img-order-badge {
  position: absolute;
  top: 5px;
  left: 5px;
}

.img-remove-button {
  position: absolute;
  top: 5px;
  right: 5px;
}

.fixed-height {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

#uploaded-images {
  min-height: 180px;
}

.img-placeholder {
  pointer-events: none;
}

.img-order-badge {
  font-size: 1.25rem;
  padding: 0.4rem 0.7rem;
  border-radius: 0.3rem;
}

.btn-left-top {
  top: 5px;
  left: 5px;
  z-index: 10;
}

.btn-right-top {
  top: 5px;
  right: 5px;
  z-index: 10;
}

.btn-left-bottom {
  bottom: 5px;
  left: 5px;
  z-index: 10;
}

.btn-right-bottom {
  bottom: 5px;
  right: 5px;
  z-index: 10;
}

.cursor-pointer { cursor: pointer; }

table td img {
    max-width: 50% !important;
    height: auto !important;
    width: auto !important;     /* 移除原本 width=xxx */
}