.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%);
  }

  /* main header */
  .layout-navbar-fixed .wrapper .main-header {
    background-color: #ff5508;
  }
  
  /* header hr */
  .border-primary {
    border-color: #ff5508 !important;
  }

  hr {
      margin-top: 1rem;
      margin-bottom: 1rem;
      border: 0;
      border-top: 1px solid rgba(0, 0, 0, .1);
  }
  
  /* page item link */
  .page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
  }

  .page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
  }

  /* sidebar */
  .sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #ff5508;
    color: #fff;
  }

  /* hyperlink */
  a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
  }

  /* card outline */
  .card-primary.card-outline {
    border-top: 3px solid #ff5508;
  }

  .card-success.card-outline {
    border-top: 3px solid #ff5508;
  }

  /** buttons **/

  /* Login button */
  .btn.btn-primary.btn-block {
    color: #fff;
    background-color: #ff5508;
    border-color: #ff5508;
    box-shadow: none;
  }

  .btn.btn-primary.btn-block:hover {
    color: #fff;
    background-color: #ff3d08;
    border-color: #ff3d08;
  }

  /* Edit function button */
  .btn.btn-primary.btn-flat {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    box-shadow: none;
  }

  .btn.btn-primary.btn-flat:hover {
    color: #fff;
    background-color: #0062cc;
    border-color: #0062cc;
  }

  /* primary buttons */
  .btn.btn-flat.bg-gradient-primary.mx-2 {
    background: #ff5508 linear-gradient(180deg, #ff3d08, #ff5508) repeat-x !important;
    color: #fff;
  }

  .btn.btn-flat.bg-gradient-primary.mx-2:hover {
    /* background: #007bff linear-gradient(180deg, #267fde, #0069d9) repeat-x !important; */
    background: #ff3d08 !important;
    border-color: #ff3d08;
    color: #ececec;
  }

  #view_report.btn.btn-sm.btn-primary.mx-1.bg-gradient-primary {
    background: #ff5508 linear-gradient(180deg, #ff3d08, #ff5508) repeat-x !important;
    color: #fff;
  }

  #view_report.btn.btn-sm.btn-primary.mx-1.bg-gradient-primary:hover {
    background: #ff3d08 !important;
    border-color: #ff3d08;
    color: #ececec;
  }

  .btn.btn-primary.mr-2 {
    color: #fff;
    background-color: #ff5508;
    border-color: #ff5508;
    box-shadow: none;
  }

  .btn.btn-primary.mr-2:hover {
    color: #fff;
    background-color: #ff3d08;
    border-color: #ff3d08;
  }

