html {
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
  background: #000000 url(/loading.gif) center center no-repeat;
  color: #ffffff;
  font-family: sans-serif;
  font-size: 13px;
  line-height: 20px;
  height: 100%;
}

a {
  color: #aaa;
  text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#blog-posts-container,
#blog-posts-toggle {
  width: 25%;
}

#blog-posts-container {
  position: absolute;
  height: 100%;
  left: 0;
  bottom: 40px;

  background: -moz-linear-gradient(left, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,0,0,1)), color-stop(50%,rgba(0,0,0,1)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left, rgba(0,0,0,1) 0%,rgba(0,0,0,1) 50%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, rgba(0,0,0,1) 0%,rgba(0,0,0,1) 50%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(left, rgba(0,0,0,1) 0%,rgba(0,0,0,1) 50%,rgba(0,0,0,0) 100%); /* IE10+ */
  background: linear-gradient(to right, rgba(0,0,0,1) 0%,rgba(0,0,0,1) 50%,rgba(0,0,0,0) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00000000',GradientType=1 ); /* IE6-9 */
}

#blog-posts {
  position: absolute;
  bottom: 0;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
}

#blog-posts .blog-post {
  height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#twingly-logo {
  position: absolute;
  top: 0;
  right: 0;
  margin: 10px;
}

#description {
  position: absolute;
  top: 0;
  left: 0;
  margin: 5px 15px;
  display: none;
}

#description h1 {
  font-size: 14px;
}

#button-container {
  position: fixed;
  width: 100%;
  bottom: 0;
}

#button-container .button {
  display: inline-block;

  margin-right: 2px;
  padding: 13px 0;

  color: #fff;
  background-color: #a4b239;
  border-width: 0;

  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: normal;
  font-style: normal;

  cursor: pointer;

  -webkit-transition: opacity .1s linear;
  -moz-transition: opacity .1s linear;
  -ms-transition: opacity .1s ease-in;
  -o-transition: opacity .1s linear;
  transition: opacity .1s linear;
  opacity: .6;
}

#button-container .button:hover {
  opacity: 1;
}

#pause-toggle.button {
  width: 60px;
  background-color: #aaaaaa;
}

#fullscreen-toggle.button {
  padding-left: 15px;
  padding-right: 15px;
  font-weight: bold;
  background-color: #aaaaaa;
}

#pause-toggle.button.paused {
  background-color: #a4b239;

  -webkit-animation: pause-button-background-blinking 4s linear infinite;
  -moz-animation:    pause-button-background-blinking 4s linear infinite;
  -o-animation:      pause-button-background-blinking 4s linear infinite;
  animation:         pause-button-background-blinking 4s linear infinite;
}

@-webkit-keyframes pause-button-background-blinking {
  0%   { opacity: 1.0; }
  50%  { opacity: 0.5; }
  100% { opacity: 1.0; }
}
@-moz-keyframes pause-button-background-blinking {
  0%   { opacity: 1.0; }
  50%  { opacity: 0.5; }
  100% { opacity: 1.0; }
}
@-o-keyframes pause-button-background-blinking {
  0%   { opacity: 1.0; }
  50%  { opacity: 0.5; }
  100% { opacity: 1.0; }
}
@keyframes pause-button-background-blinking {
  0%   { opacity: 1.0; }
  50%  { opacity: 0.5; }
  100% { opacity: 1.0; }
}
