/*! videojs-overlay - v0.0.0 - 2014-4-26
 * Copyright (c) 2014 Brightcove
 * Licensed under the Apache-2.0 license. */

/**
 * Some handy default styles for overlays.
 */
.vjs-overlay{
  position: absolute;
  width: 33%;
  background-color: #646464; /* IE8 fallback */
  background-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 10px;
  border-radius: 3px;
  top: 5px;
  left: 5px;
  text-align: center;
}

.vjs-overlay-top-left, .vjs-overlay-top, .vjs-overlay-top-right, .vjs-overlay-left, .vjs-overlay-right, .vjs-overlay-bottom, .vjs-overlay-bottom-right, .vjs-overlay-bottom-left   {
  position: absolute;
  width: 33%;
  color: #fff;
  padding: 10px;
  border-radius: 3px;
  top: 5px;
  left: 5px;
  text-align: center;
}

/* overlay alignment styles */
.vjs-overlay-top {
  margin-left: -16.5%;
  left: 50%;
}
.vjs-overlay-top-right {
  left: auto;
  right: 5px;
}
.vjs-overlay-left {
  top: 50%;
  margin-top: -15px;
}
.vjs-overlay-right {
  left: auto;
  right: 5px;
  top: 50%;
  margin-top: -15px;
}
.vjs-overlay-bottom {
  margin-left: -16.5%;
  left: 50%;
  top: auto;
  bottom: 4.5em;
}
.vjs-overlay-bottom-left {
  bottom: 4.5em;
  top: auto;
  left: 5px;
}
.vjs-overlay-bottom-right {
  bottom: 4.5em;
  top: auto;
  left: auto;
  right: 5px;
}