html,
body {
  height: 100%;
  font-family: sans-serif;
  text-rendering: optimizeLegibility;
}

.about-icon {
  vertical-align: middle;
  height: 2rem;
}

.sourcecode {
  padding-top: 0.5em;
  font-size: 0.8em;
}

.stage {
  display: inline-block;
  height: 60px;
  width: 60px;
  line-height: 60px;
  -moz-border-radius: 30px;
  /* or 50% */
  border-radius: 30px;
  /* or 50% */
  background-color: #57c4d0;
  color: white;
  text-align: center;
  font-size: 2em;
  margin: 10px;
}

.drag-and-drop {
  border: 2px solid #57c4d0;
  padding: 2em;
}

.compute-modal {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.compute-modal-inner {
  line-height: 1.5em;
  position: fixed;
  background-color: #7f7f7f;
  color: black;
  top: 10px;
  padding: 10px;
  left: 5%;
  width: 90%;
  box-shadow: 10px 5px 5px black;
  text-align: center;
}

.display-none {
  display: none;
}

h1 {
  border-bottom: 8px solid #57c4d0;
  text-align: center;
}

.spa-container {
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

#hnb-app-canvas-div {
  flex-grow: 1;
}

#hnb-app-canvas-container {
  display: flex;
  flex-flow: row wrap;
}

.im-span {
  padding: 5px;
}

.im-canvas {
  display: inline-block;
  max-width: 100%;
}

.im-btn {
  margin: 2px auto;
  display: block;
}

.custom-file-upload {
  margin: 1em;
}

.btn {
  background-color: #57c4d0;
  color: white;
  border: none;
  font-family: inherit;
  font-size: 1em;
  padding: 0.1em 1em;
  cursor: pointer;
  -moz-border-radius: 1em;
  border-radius: 1em;
  background-color: #57c4d0;
  color: white;
  text-align: center;
}

input[type=file] {
  display: none;
}

/* ------------------------ */
/* From https://loading.io/css/ */
.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 64px;
  height: 64px;
}

.lds-ellipsis div {
  position: absolute;
  top: 27px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: white;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 6px;
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 6px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 26px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 45px;
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(19px, 0);
  }
}
