@import url('https://fonts.googleapis.com/css?family=Roboto+Mono:300');

html {
  height: 100%;
}

body {
  height: 100%;
}

[data-toggle="collapse"].collapsed .if-not-collapsed {
  display: none;
}

[data-toggle="collapse"]:not(.collapsed) .if-collapsed {
  display: none;
}

.card {
  border: none;
  max-height: min-content;
}

.align {
  align-content: flex-start;
}

div.container-fluid {
  height: 100%;
}

div.row {
  height: 100%;
}

div.row.thin-gutters {
  margin: 0 2px 0 2px;
}

div#remote-media video {
  max-width: 100% !important;
  max-height: 80% !important;
  background-color: #272726;
  background-repeat: no-repeat;
}

div.row.thin-gutters > .col,
div.row.thin-gutters > [class*="col-"] {
  padding: 8px 8px;
}

div.col-sm-6, div.col-sm-6 {
  height: fit-content;
}

pre.language-javascript {
  font-family: 'Roboto Mono', monospace;
  font-size: 13px;
}

pre.language-javascript a {
  color: aquamarine;
  text-decoration: underline;
}

pre.language-javascript a:hover {
  text-decoration: none;
}

div.input-group > select {
  width: 100%;
}

span.input-group-btn > button.btn.btn-primary.btn-sm {
  margin-left: 5px;
  border-radius: 0;
}

div#audioinputwaveform {
  position: absolute;
  left: 20px;
  top: 58px;
  width: 30%;
  height: 25%;
  background-color: darkgrey !important;
  background-image: url('https://www.twilio.com/docs/static/img/wordmark.06c5f14fff7c.svg');
  background-position: 50%;
  background-size: 50%;
  background-repeat: no-repeat;
}

div#audioinputwaveform > canvas {
  background-color: #aaa;
}

video#videoinputpreview {
  max-width: 100% !important;
  max-height: 80% !important;
  background-color: lightgrey !important;
  background-image: url('https://static0.twilio.com/marketing/bundles/archetype/img/logo-wordmark.svg');
  background-position: 50%;
  background-repeat: no-repeat;
}

@media (max-width: 900px) {
  div.col-sm-8, div.col-sm-4 {
    max-width: 100%;
    flex: 100%;
  }

  div.col-sm-8 {
    height: 40%;
  }

  div.col-sm-4 {
    height: 60%;
  }

  pre.language-javascript {
    font-size: 12px;
  }
}
