.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.large {
    width: 80% !important;
    max-width: unset;
  }
  .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%);
  }

/* isco-round4: AdminLTE paints every link inside an alert white, which made light buttons unreadable */
.alert a.btn { text-decoration: none; }
.alert a.btn-light, .alert a.btn-default, .alert a.btn-warning { color: #212529; }
.alert a.btn-outline-light { color: #fff; }
.alert a.btn-light:hover, .alert a.btn-default:hover, .alert a.btn-warning:hover { color: #212529; }
.alert-danger a.btn-light { color: #a71d2a; font-weight: 600; }
/* the footer is part of the page now (it used to be fixed and hid the buttons at the end of a page) */
.main-footer { padding-top: .6rem; padding-bottom: .6rem; }
@media print { .main-header, .main-sidebar, .main-footer, .content-header, .no-print { display: none !important; } .content-wrapper { margin: 0 !important; } }

/* isco-acc: one collapsible block per asset on the review page */
.asset-acc-item > .card-header > a.acc-toggle { cursor: pointer; text-decoration: none; }
.asset-acc-item > .card-header > a.acc-toggle:hover { background: rgba(0,0,0,.03); }
.acc-chevron { transition: transform .2s; }
.acc-toggle.collapsed .acc-chevron { transform: rotate(-90deg); }
.asset-acc-item.card-danger > .card-header { background: #fff5f5; }
@media print { .asset-acc-item > .collapse { display: block !important; } .acc-chevron, [data-acc-filter], [data-acc-all] { display: none !important; } }
/* long system name in the top bar no longer spills out of the bar on a phone */
@media (max-width: 575.98px) { .main-header .navbar-nav .nav-link strong { display: inline-block; max-width: 46vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; } }
