/*
 *  Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree.
 */
html {
  overflow-y: auto;
}

button {
  margin: 3px 3px 3px 0;
  padding-left: 5px;
  padding-right: 5px;
  width: auto;
  z-index: 2;
  opacity: 0.7;
}

button:active {
  opacity: 1;
}

button:last-of-type {
  margin: 0;
}

video {
  vertical-align: top;
  --width: 25vw;
  width: var(--width);
  height: calc(var(--width) * 0.5625);
}

div#label {
  display: inline-block;
  margin: 1px;
  padding: 3px;
  background: #000;
  color: #fff;
  opacity: 0.5;
}

div#button{
  margin: 1px;
}
div#container{
  position: absolute;
  padding: 5px;
  left: 0;
  bottom: 0;
  z-index: 2;
}

div#recordTimer{
  display: none;
  margin: 0;
  padding: 5px;
  background: #ed1a1a;
  color: #fff;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
}

video#recorded {
  display: none;
  position: absolute;
  margin: 5px;
  right: 0;
  bottom: 0;
  border: 1px solid #777;
  z-index: 1;
  width: 35%;
  height: 35%;
}

video#gum {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  -moz-transform: scale(-1, 1);
  -webkit-transform: scale(-1, 1);
  -o-transform: scale(-1, 1);
  transform: scale(-1, 1);
  filter: FlipH;
  margin: 0 20px 20px 0;
}
