html {
  height: 100%;
  background-color: #1d292c;
}
html.ios.iphone.mobile {
  height: 130vh;
}
body {
  margin: 0;
  max-height: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #1d292c;
  font-family: Helvetica, arial, sans-serif;
  position: relative;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}

html.ios.iphone.mobile body {
  max-height: none;
  overflow: auto;
}

#application-canvas {
  display: block;
  position: absolute;
  /* top: 0; */
  left: 0;
  right: 0;
  bottom: 0;
}
#application-canvas.fill-mode-NONE {
  margin: auto;
}
#application-canvas.fill-mode-KEEP_ASPECT {
  width: 100%;
  height: auto;
  margin: 0;
}
#application-canvas.fill-mode-FILL_WINDOW {
  width: 100%;
  height: 100%;
  margin: 0;
}

/* maybe get rid of this one to avoid that bug */
html.ios.iphone.mobile #application-canvas.fill-mode-FILL_WINDOW {
  height: 100vh;
}

canvas:focus {
  outline: none;
}

.orientation-warning {
  display: none;
}

html.mobile .orientation-warning {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: black;
  z-index: 222222;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  text-align: center;
  opacity: 1;
  pointer-events: initial;
  text-align: center;

  transition: opacity 0.4s;
}

html.mobile .orientation-warning.hidden {
  opacity: 0;
  pointer-events: none;
  display: block;
}

html.mobile .orientation-warning img {
  width: 8rem;
  height: 8rem;
  margin-bottom: 1rem;
  display: block;
}

#scroll-helper,
#scroll-info {
  display: none;
}

html.ios.iphone.mobile #scroll-helper {
  height: 130vh;
  width: 100vw;
  position: absolute;
  top: 0;
  background: black;
  color: white;
  display: block;
  /* opacity: 0.4; */
}

html.ios.iphone.mobile #scroll-helper.hidden {
  display: none;
}

html.ios.iphone.mobile #scroll-info {
  position: fixed;
  z-index: 111111;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

html.ios.iphone.mobile #scroll-info.hidden {
  display: none;
}

html.ios.iphone.mobile #scroll-helper h2 {
  color: white;
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 100;
  font-family: Arial, Helvetica, sans-serif;
  display: block;
}

#vendor-warning {
  display: none;
}

#vendor-warning h2, #vendor-warning h3 {
  font-weight: 400;
}

#vendor-warning .share-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-row span {
  margin: 0 1rem;
  font-size: 1.4rem;
  font-style: italic;
  color: #ccc;
}

.share-row svg {
  width: 2rem;
  height: 2rem;
}

html.mobile #vendor-warning.show {
  height: calc(100vh - 10%);
  width: calc(100vw - 10%);
  position: fixed;
  z-index: 333333;
  top: 0;
  left: 0;
  padding: 5%;
  background-color: black;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

#application-splash-wrapper {
  background-color: #000 !important;
}
#progress-bar-container {
  background-color: #444 !important;
}
#progress-bar {
  background-color: #fff !important;
}

.errorWrap {
  background-color: #000;
  color: #fff;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.errorWrap img {
  height: 5rem;
  width: 5rem;
  text-align: center;
}

.errorWrap a {
  color: white;
}

.italicHidden {
  display: none;
  text-align: center;
  font-weight: 400;
}

#italicHidden i {
  text-align: center;
  font-weight: 400;
}

#italicHidden b {
  font-weight: 800;
}
