#al-container {
  position: relative;
  font-family: sans-serif;
}

#al-container a-scene {
  display: block;
  width: 100%;
  height: 100%;
}

#al-container.mesh a-scene {
  background-color: var(--al-mesh-viewport-background-color);
}

#al-container.slices a-scene {
  background-color: var(--al-slices-viewport-background-color);
}

#al-container.volume a-scene {
  background-color: var(--al-volume-viewport-background-color);
}

/* @media only screen and (min-width: 500px) {
  #control-panel {
    max-width: 300px;
  }
} */

#al-container #lut-container {
  display: none;
}

#al-container .progress.container {
  position: absolute;
  top: auto !important;
  bottom: 0 !important;
}

#al-container .progress.container .load.progress {
  border: none !important;
  height: 4px !important;
  background-color: var(--load-progress-color, #ffffff) !important;
}

#al-container .progress.container .parse.progress {
  border: none !important;
  height: 4px !important;
  background-color: var(--load-progress-color, #ffffff) !important;
}

#al-container #spinner {
  position: absolute;
  left: 50%;
  top: calc(50% - 15px);
}

#al-container #spinner .square {
  /*-webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);*/
  margin: 0 0 0 -15px;
  width: 30px;
  height: 30px;
  -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
  -moz-animation: sk-rotateplane 1.2s infinite ease-in-out;
  animation: sk-rotateplane 1.2s infinite ease-in-out;
}

#al-container.mesh #spinner .square {
  background-color: var(--spinner-color, #fff);
}

#al-container.slices #spinner .square {
  background-color: var(--spinner-color, #fff);
}

#al-container.volume #spinner .square {
  background-color: var(--spinner-color, #fff);
}

@-webkit-keyframes sk-rotateplane {
  0% {
    -webkit-transform: perspective(120px);
  }
  50% {
    -webkit-transform: perspective(120px) rotateY(180deg);
  }
  100% {
    -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg);
  }
}

@keyframes sk-rotateplane {
  0% {
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  }
  100% {
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}
