/*
    Ghost Elements
*/
@keyframes dt-anim-ghost-element {
  0% {
    transform: scale3d(0.94, 0.94, 1);
    opacity: 0.6;
    border-radius: 1rem;
    box-shadow: 0 0.3rem 0.8rem 0 rgba(0, 0, 0, 0);
  }
  50% {
    transform: scale3d(1.02, 1.02, 1);
    opacity: 1;
    border-radius: 0.6rem;
    box-shadow: 0 0.3rem 0.8rem 0 rgba(0, 0, 0, 0.2);
  }
  100% {
    transform: scale3d(0.94, 0.94, 1);
    opacity: 0.6;
    border-radius: 1rem;
    box-shadow: 0 0.3rem 0.8rem 0 rgba(0, 0, 0, 0);
  }
}
@keyframes dt-anim-ghost-element {
  0% {
    transform: scale3d(0.94, 0.94, 1);
    opacity: 0.6;
    border-radius: 10px;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0);
  }
  50% {
    transform: scale3d(1.02, 1.02, 1);
    opacity: 1;
    border-radius: 6px;
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2);
  }
  100% {
    transform: scale3d(0.94, 0.94, 1);
    opacity: 0.6;
    border-radius: 10px;
    box-shadow: 0 3rem 8px 0 rgba(0, 0, 0, 0);
  }
}

.dt-ghost-element {
  position: relative;
}
.dt-ghost-element::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 0.6rem;
  animation-timing-function: cubic-bezier(0.68, -0.1, 0.33, 1.1);
  animation-delay: 0s;
  animation-duration: 1.2s;
  animation-iteration-count: infinite;
  animation-name: dt-anim-ghost-element;
}
body.pixel .dt-ghost-element::after {
  border-radius: 6px;
}

.dt-table-ghost-element thead tr th::before, .dt-table-ghost-element thead tr th::after {
  content: "";
  position: absolute;
  height: calc(100% - 0.6rem);
  left: 0.8rem;
  right: 0.8rem;
  display: block;
  border-radius: 0.4rem;
  transform-origin: left;
  opacity: 0;
  animation-timing-function: cubic-bezier(0.68, -0.1, 0.33, 1.1);
  animation-delay: 0s;
  animation-duration: 1.4s;
  animation-iteration-count: infinite;
  animation-name: dt-anim-ghost-element;
}
.dt-table-ghost-element thead tr th::before {
  background-color: rgba(255, 255, 255, 0.05);
  top: calc(100% + 0.7rem);
}
.dt-table-ghost-element thead tr th::after {
  background-color: rgba(255, 255, 255, 0.02);
  top: calc(200% + 1.6rem);
}
body.pixel .dt-table-ghost-element thead tr th::before, body.pixel .dt-table-ghost-element thead tr th::after {
  height: calc(100% - 6px);
  left: 8px;
  right: 8px;
  border-radius: 4px;
}
body.pixel .dt-table-ghost-element thead tr th::before {
  top: calc(100% + 7px);
}
body.pixel .dt-table-ghost-element thead tr th::after {
  top: calc(200% + 16px);
}

/*
    Loading Bar
*/
@keyframes dt-anim-loading-bar-container {
  0% {
    transform: translate3d(-10%, 0, 0) scale3d(0, 1, 1);
    opacity: 0;
  }
  4% {
    transform: translate3d(-10%, 0, 0) scale3d(0, 1, 1);
    opacity: 0;
  }
  5% {
    transform: translate3d(0%, 0, 0) scale3d(0.2, 1, 1);
  }
  9% {
    opacity: 0.6;
  }
  25% {
    opacity: 1;
  }
  35% {
    transform: translate3d(99%, 0, 0) scale3d(1, 1, 1);
    opacity: 1;
  }
  36% {
    transform: translate3d(100%, 0, 0) scale3d(0, 1, 1);
    opacity: 0;
  }
  40% {
    transform: translate3d(-30%, 0, 0) scale3d(0, 1, 1);
    opacity: 0;
  }
  41% {
    transform: translate3d(0%, 0, 0) scale3d(0.3, 1, 1);
  }
  45% {
    opacity: 0.6;
  }
  75% {
    opacity: 1;
  }
  90% {
    transform: translate3d(99%, 0, 0) scale3d(0.5, 1, 1);
  }
  91% {
    transform: translate3d(100%, 0, 0) scale3d(0, 1, 1);
    opacity: 1;
  }
  100% {
    transform: translate3d(-10%, 0, 0) scale3d(0, 1, 1);
    opacity: 0;
  }
}
.dt-loading-container.dt-loading-container--loading {
  overflow: hidden;
}
.dt-loading-container.dt-loading-container--loading::after {
  display: block;
  animation-name: dt-anim-loading-bar-container;
}
.dt-loading-container::after {
  overflow: hidden;
  display: none;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 0.3rem;
  border-radius: 0.2rem;
  transform-origin: left;
  background-color: #7285b5;
  z-index: 99;
  animation-timing-function: ease;
  animation-delay: 0s;
  animation-duration: 3.4s;
  animation-iteration-count: infinite;
}
body.pixel .dt-loading-container::after {
  height: 3px;
  border-radius: 2px;
}

/*
    Page Loading
*/
@keyframes dt-anim-page-loading-bar {
  0% {
    transform: translate3d(-10%, 0, 0) scale3d(0, 1, 1);
    opacity: 0;
  }
  10% {
    transform: translate3d(-10%, 0, 0) scale3d(0, 1, 1);
    opacity: 0;
  }
  11% {
    transform: translate3d(0%, 0, 0) scale3d(0.2, 1, 1);
    opacity: 0.6;
  }
  45% {
    transform: translate3d(99%, 0, 0) scale3d(1, 1, 1);
    opacity: 1;
  }
  46% {
    transform: translate3d(100%, 0, 0) scale3d(0, 1, 1);
    opacity: 0;
  }
  50% {
    transform: translate3d(-10%, 0, 0) scale3d(0.4, 1, 1);
    opacity: 0;
  }
  51% {
    transform: translate3d(0%, 0, 0) scale3d(0.4, 1, 1);
    opacity: 0.6;
  }
  70% {
    transform: translate3d(99%, 0, 0) scale3d(0.6, 1, 1);
    opacity: 1;
  }
  71% {
    transform: translate3d(100%, 0, 0) scale3d(0, 1, 1);
    opacity: 1;
  }
  100% {
    transform: translate3d(-10%, 0, 0) scale3d(0, 1, 1);
    opacity: 0;
  }
}
@keyframes dt-anim-page-loading-text {
  0% {
    opacity: 0.34;
  }
  30% {
    opacity: 0.82;
  }
  60% {
    opacity: 0.82;
  }
  100% {
    opacity: 0.34;
  }
}
.dt-anim-page-loading {
  background: #080a0d;
  z-index: 9999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.3s ease-in-out;
}
.dt-anim-page-loading.dt-anim-page-loading--done {
  opacity: 0;
}
.dt-anim-page-loading .dt-anim-page-loading__title {
  line-height: 2rem;
  font-size: 2rem;
  letter-spacing: 0.15rem;
  opacity: 0.6;
  font-weight: 400;
  color: white;
  margin-bottom: 1rem;
}
.dt-anim-page-loading .dt-anim-page-loading__loading-bar {
  position: relative;
  margin: 0;
  height: 0.3rem;
  border-radius: 0.2rem;
  background-color: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.dt-anim-page-loading .dt-anim-page-loading__loading-bar::after {
  content: "";
  position: absolute;
  background-color: white;
  background-color: transparent;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  transform-origin: left;
  background-color: #7285b5;
  animation-timing-function: ease;
  animation-delay: 0s;
  animation-duration: 2.6s;
  animation-iteration-count: infinite;
  animation-name: dt-anim-page-loading-bar;
}
.dt-anim-page-loading .dt-anim-page-loading__text {
  line-height: 1.2rem;
  max-height: 1.2rem;
  font-size: 1.2rem;
  letter-spacing: 0.15rem;
  opacity: 0.34;
  font-weight: 300;
  color: white;
  margin-top: 2rem;
  animation-timing-function: ease-in-out;
  animation-delay: 0s;
  animation-duration: 2.4s;
  animation-iteration-count: infinite;
  animation-name: dt-anim-page-loading-text;
  transition: max-height 0.3s ease-in-out, margin 0.3s ease-in-out, opacity 0.2s ease-in-out;
}
.dt-anim-page-loading .dt-anim-page-loading__text.dt-anim-page-loading__text--hide {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  animation-iteration-count: 0;
}
body.accessible .dt-anim-page-loading .dt-anim-page-loading__text {
  animation-name: none;
  opacity: 0.8;
}

body.pixel .dt-anim-page-loading .dt-anim-page-loading__title {
  line-height: 20px;
  font-size: 20px;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
body.pixel .dt-anim-page-loading .dt-anim-page-loading__loading-bar {
  margin: 0;
  height: 3px;
  border-radius: 2px;
}
body.pixel .dt-anim-page-loading .dt-anim-page-loading__text {
  line-height: 12px;
  max-height: 12px;
  font-size: 12px;
  letter-spacing: 1.5px;
  margin-top: 20px;
}
body.pixel .dt-anim-page-loading .dt-anim-page-loading__text.dt-anim-page-loading__text--hide {
  max-height: 0;
  margin-top: 0;
}
