#b2l-canvas-container,
.video-wrapper .video-container .fallback-video {
  display: none;
}

#b2l-canvas-container {
  display: block;
  width: 100%;
  height: 100%;
  margin: auto;
  background: #fff;
}

#b2l-canvas-container.active-hover {
  cursor: grab;
}

#b2l {
  --padding: 2vh;
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(0px - var(--top-margin));
  height: calc(var(--top-margin) - 2 * var(--padding));
  padding: var(--padding);
  box-sizing: content-box;
  justify-content: center;
  z-index: var(--high-z-index);
}

#b2l-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

#b2l-controls-container {
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#b2l-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.b2l-arrow,
#b2l-playpause-button {
  height: calc(var(--top-margin) - 2 * var(--padding));
  width: calc(var(--top-margin) - 2 * var(--padding));
  border-radius: 4px;
  flex-shrink: 0;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 0;
}

.b2l-arrow img,
#b2l-playpause-button img {
  width: 100%;
  height: 100%;
}

.b2l-frame-input-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
  border-radius: 4px;
  height: 100%;
  height: calc(var(--top-margin) - 2 * var(--padding));
  width: 150px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  margin: 10px;
  background: #fff;
}

.b2l-frame-input-container:hover {
  /* box-shadow: 0px 0px 6px #0000004b; */
  box-shadow: inset 0px 0px 6px #00000036;
}

.b2l-input-label {
  font-family: sans-serif;
  font-size: 1.25vh;
  color: #2b2c2e;
  opacity: 0.48;
  text-align: left;
  width: 100%;
  padding-left: 15px;
}

.b2l-input-elements-container {
  display: flex;
  width: 100%;
  vertical-align: middle;
  color: black;
}

#b2l-framesecond-second-input {
  width: 100%;
  height: 100%;
  text-align: right;
}

#b2l-framesecond-frame-input {
  width: 100%;
  height: 100%;
  text-align: left;
}

#b2l-frame-input {
  width: 100%;
  height: 100%;
  text-align: center;
}

#b2l-controls input {
  border: none;
  outline: none;
  font-size: 2.75vh;
  min-width: 0;
}

#b2l-controls input:focus {
  /* outline: none; */
  border-radius: 4px;
  border: 1px solid #aaa;
}

#b2l-playpause-button-loop.hide-btn,
#b2l-playpause-button-play.hide-btn,
#b2l-playpause-button-pause.hide-btn {
  width: 0px;
  height: 0px;
  overflow: hidden;
  position: fixed;
  top: -1000px;
}

#b2l-scene-selection-container {
  display: none;
}

#b2l-scene-selection {
  display: flex;
  justify-content: space-between;
  box-shadow: 0px 0px 6px #0000004b;
  width: 150px;
}

.b2l-selector {
  width: 50px;
  height: 30px;
  padding: 6px;
  text-align: center;
  line-height: 30px;
  vertical-align: middle;
  font-family: sans-serif;
}

.b2l-selector:hover {
  box-shadow: 0px 0px 6px #0000004b;
  cursor: pointer;
}

.b2l-arrow.inactive {
  pointer-events: none;
  opacity: 0.3;
}

.b2l-input-elements-container .dash {
  display: flex;
  font-size: 2vh;
  align-items: center;
}

@media (max-width: 160vh) {
}


@media (max-width: 140vh) {
}


@media (max-width: 80vh) {
  .b2l-frame-input-container {
    width: 20vw;
  }
}


@media (max-width: 60vh) {
  #b2l {
    --padding: 1.25vh;
    left: 50%;
    right: auto;
    width: 100vw;
    transform: translateX(-50%);
    box-sizing: border-box;
  }

  #b2l-controls {
    width: 100%;
    justify-content: center;
  }

  .b2l-arrow,
  #b2l-playpause-button {
    height: calc((var(--top-margin) - 2 * var(--padding)) * 0.75);
    width: calc((var(--top-margin) - 2 * var(--padding)) * 0.75);
  }

  .b2l-frame-input-container {
    width: 22vw;
    margin: 2px;
  }

  #b2l-controls input {
    font-size: 20px;
  }
}
