html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
}

#view {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

#menuDiv {
  position: absolute;
  top: 0px;
  margin-left: 0px;
}

@media (max-width: 600px) {
  #menuDiv {
    display: none;
  }
}

.help {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  color: #eee;
  font:
    11px 'Lucida Grande',
    sans-serif;
  line-height: normal;
  text-shadow: 0 -1px 0 #111;
  padding: 0 1rem;
  background: #1a1a1a;
  border: 1px solid #2c2c2c;
  opacity: 0.8;
}

.help > p {
  margin: 0.5rem 0;
}

.help > ul {
  padding: 0 1rem;
}

pre {
  margin-bottom: 0;
  margin-top: 0;
}

@media (max-width: 600px) {
  .help {
    display: none;
  }
}

.gui-init {
  display: block;
}

/* Hide the GUI by default on mobile. It can be toggled on by the button. */
@media (max-width: 600px) {
  .gui-init {
    display: none;
  }
}

#btnFullscreen {
  display: flex;
}

/* Hide the full-screen button on mobile. This is due to this feature not being 100% supported on all mobile platforms (i.e iOS). */
@media (max-width: 600px) {
  #btnFullscreen {
    display: none;
  }
}

.divScaleWidget {
  border: 2px solid black;
  border-top: none;
  text-align: center;
  display: block;
  background-image: linear-gradient(rgba(200, 200, 200, 0.3), rgba(200, 200, 200, 0.3));
  margin-bottom: 20px;
  margin-right: 20px;
  position: absolute;
  width: 200px;
  height: 18px;
  color: black;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  right: 0;
  bottom: 0;
}

.status-bar {
  font-size: 0.8rem;
  height: 1.3rem;
  display: flex;
}

/* Hide the status bar on mobile. */
@media (max-width: 600px) {
  .status-bar {
    display: none !important;
  }
}

/* this right pane takes the whole height except the status bar. */
.side-pane-with-status-bar {
  margin: 0.5rem;
  position: absolute;
  top: 0px;
  right: 0px;
  pointer-events: none;
  overflow-y: auto;
  bottom: 1.5rem; /* 1.3rem for status bar + 0.5 for bottom margin */
  max-width: calc(100% - 4rem); /* To avoid masking the button area */
}

.side-pane-with-status-bar > .card {
  max-height: 100%;
}

.side-pane-with-status-bar > .card .card-body {
  overflow-y: auto;
}

.side-pane-with-status-bar > * {
  pointer-events: auto;
}

.status-progress-bar {
  width: 8rem;
}

.status-progress-value {
  width: 2rem;
}

.memory-usage {
  width: 15rem;
}

.status-attribution {
  margin-left: 1rem;
}

.pulse-once {
  animation: pulseanim 0.3s ease 1;
}
@keyframes pulseanim {
  0% {
    transform: scale(1);
  }
  80% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}
