/**
 * @license
 * Copyright 2018 Google Inc. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700);
body {
  font-family: "Droid Serif", serif;
  color: #444;
  background: #fff;
  line-height: 150%;
  padding-bottom: 3em;
  margin: 0px;
}

h1, h2, h3 {
  color: #000;
}

h1 {
  font-weight: 400;
  width: 720px;
  height: 58px;
  margin: auto;
  margin-left: -110px;
  margin-bottom: 10px;
  padding-left: 110px;
  padding-top: 7px;
  padding-bottom: 5px;
  line-height: 100%;
  background: url("logo.png") no-repeat;
}

header {
  width: 100%;
  background-color: #f1f1f1;
  border-bottom: 1px solid #e8e8e8;
  margin: auto;
  padding-top: 5px;
}

header div {
  width: 720px;
  margin: auto;
}

header a {
  color: inherit;
}

div.linkbar {
  margin-top: 5px;
  margin-bottom: 30px;
}

li {
  margin-top: 0.1em;
  margin-left: -20px;
}


h2 {
  font-size: 120%;
}

h3 {
  font-size: 95%;
  text-transform: uppercase;
  letter-spacing: 2px;
}

div.content {
  background-color: white;
  width: 720px;
  margin: auto;
}

textarea#console {
  width: 100%;
}

video {
  border: solid black 1px;
  width: 100%;
}

form {
  display: inline-block;
  margin: 0 1em;
  background-color: #ddd;
}

p.attention {
  font-size: 120%;
  font-weight: 700;
  color: #080;
}

p > code {
  display: inline-block;
  background-color: #ddd;
  margin: 0 0.5em;
}

div.progressbox {
  position: relative;
  width: 100%;
  height: 32px;
  background-color: gray;
  margin: 0.2em;
}

div.progressbox > div.bufblock {
  display: inline-block;
  margin: -1px;
  padding: 0;
  position: absolute;
  height: 20px;
  background-color: green;
  border: 1px solid black;
}

div.progressbox > div.vidbuf {
  background-color: yellow;
}

div.progressbox > div.sizelbl {
  position: absolute;
  z-index: 2;
  color: black;
}

div.progressbox > div.posbar {
  background-color: red;
  width: 2px;
  z-index: 1;
}

div#fakecontrols, div#dashcontrols {
  margin: 0.3em;
  background-color: #eee;
}

footer {
  margin-top: 2em;
  color: #999;
}

a:focus {
  border-width: 1px;
  border-style: solid;
}
