body {
  min-width: 948px;
  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

body.stop-animations * {
  animation: none !important;
  transition: none !important;
}

iframe {
  border: none;
}

/* Password */

#passwordform {
  opacity: 0.8;
  border-radius: 0.5rem;
  width: 18rem;
}

#passwordform label {
  font-weight: 500;
}

select {
  max-width: 100%;
}

.s-invalid-feedback {
  color: red;
}

/* Moderator */

div.question {
  margin-top: 25px;
  background-color: rgba(216, 216, 216, 0.6);
  padding: 10px 8px;
}

div.question h4 {
  margin-top: 0;
  margin-bottom: 2px;
}

div.question p.datetime {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

div.question p.questionbody {
  margin-top: 0;
  margin-bottom: 0;
  white-space: pre-wrap;
}

table.table-mod-toggles td {
  padding-right: 1em;
}

/* Content */

main {
  width: 100%;
  padding: 14px;
}

a, a:hover, a:visited {
  color: inherit;
  text-decoration: none;
}

a.highlight {
  font-weight: bold;
}

.navbar {
  font-family: "Dosis", sans-serif;
}

.navbar.seamless {
  padding-top: 0;
  padding-bottom: 0;
}

.navbar.seamless .navbar-brand {
  font-size: 3rem;
  line-height: 3rem;
}

div.show-container {
  width: 100%;
  min-width: 768px;
  margin: 0 auto;
}

div.show-container .container-title {
  padding-left: 0;
  padding-right: 0;
}

div.show-container .stream-container {
  background-color: #000;
  width: 100%;
  height: 100%;
  max-width: 100%;
  position: relative;
}

div.show-container .stream-container .text {
  text-align: center;
  margin-top: 17px;
}

div.show-container .video-wrapper {
  max-width: 100%;
  min-width: 624px;
  width: calc((100vh - 199.2px) / 0.5625);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
}

.tpl-seamless div.show-container .video-wrapper {
  width: calc((100vh - 230px) / 0.5625);
}

.tpl-embed div.show-container .video-wrapper {
  width: calc((100vh - 28px) / 0.5625);
}

div.show-container .stream-container .video-player {
  position: relative;
  padding-bottom: 56.25%;
}

div.show-container .stream-container .video-player.video-player-blank {
  background-color: #ddd;
}

div.show-container .interaction-container {
  width: 340px;
  min-width: 340px;
  min-height: 360px;
  overflow: hidden;
  height: calc(100vh - 199.2px);
  transition-property: width, min-width;
  transition-duration: 0.5s;
}

div.show-container .interaction-container.hidden {
  width: 0;
  min-width: 0;
}

div.show-container .interaction-container .interaction-container-inner {
  width: 340px;
  padding-left: 20px;
}

.tpl-seamless div.show-container .interaction-container {
  height: calc(100vh - 230px);
}

.tpl-embed div.show-container .interaction-container {
  height: calc(100vh - 28px);
}

.interaction-container .question-panel {
  display: none;
  margin-top: 20px;
}

div.show-container .interaction-container iframe {
  overflow: hidden;
}

div.show-container .interaction-container-vimeo iframe {
  width: 125%;
  height: 125%;
  transform: scale(0.8);
  transform-origin: top left;
}

/* Footer */

.footer {
  background-color: rgba(192, 192, 192, 0.5);
  width: 100%;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

/* Mobile device overrides */

@media (max-width: 991.98px) {
  body {
    min-width: 0;
  }
  div.show-container {
    min-width: 0;
    max-width: unset;
  }
  div.show-container .video-wrapper {
    position: static;
    transform: none;
    min-width: unset;
    width: 100% !important;
  }
  div.show-container .stream-container .video-player {
    min-width: 0;
    min-height: 180px;
  }
  div.show-container .interaction-container {
    width: 100%;
    min-width: 0;
    height: 460px !important;
    overflow: hidden;
    margin-top: 20px;
  }
  div.show-container .interaction-container .interaction-container-inner {
    width: 100%;
    height: 460px !important;
    padding-left: 0;
  }
  div.show-container .interaction-container .interaction-container-inner h2,
  div.show-container .interaction-container .interaction-container-inner p {
    white-space: nowrap;
  }
  div.show-container .interaction-container iframe {
    width: 100%;
    height: 100%;
    transform: none;
  }
}

/* Streamuser import */

.admintools-import pre {
  background-color: #eee;
}
