/**
 * @license Videogular v0.7.0 http://videogular.com
 * Two Fucking Developers http://twofuckingdevelopers.com
 * License: MIT
 */
@font-face {
  font-family: 'icomoon';
  src: url('fonts/icomoon.eot');
  src: url('fonts/icomoon.eot?#iefix') format('embedded-opentype'),
  url('fonts/icomoon.woff') format('woff'),
  url('fonts/icomoon.ttf') format('truetype'),
  url('fonts/icomoon.svg#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

videogular {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: #000000;
  display: block;
  flex-direction: column;

  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: moz-none;
  -ms-user-select: none;
  user-select: none;
}

videogular button {
  cursor: pointer;
}

videogular.fullscreen {
  position: absolute;
  left: 0;
  top: 0;
}

videogular vg-video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;

  display: block;
}

videogular video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}

videogular .iconButton {
  color: #FFFFFF;
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;

  background: none;
  padding: 6px;
  border: none;
}

videogular .iconButton:focus {
  border: 1px solid white;
}

/*****************/
/* Poster plugin */
/*****************/
videogular vg-poster-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  display: block;
  z-index: 1;
  top: 0;
}

videogular vg-poster-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;

  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  position: absolute;
}

/**********************/
/* OverlayPlay plugin */
/**********************/
videogular vg-overlay-play {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  z-index: 2;
  top: 0;
}

videogular vg-overlay-play .play:before {
  content: "\e000";
}

videogular vg-overlay-play .overlayPlayContainer {
  font-size: 100px;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  display: table;
  cursor: pointer;

  zoom: 1;
  filter: alpha(opacity=60);
  opacity: 0.6;
}

videogular vg-overlay-play .overlayPlayContainer div {
  vertical-align: middle;
  text-align: center;
  display: table-cell;
}

/*********************/
/* Controlbar plugin */
/*********************/
videogular vg-controls {
  width: 100%;
  height: 50px;
  display: block;
  position: absolute;
  z-index: 3;
  top: calc(100% - 50px);
}

videogular vg-controls #controls-container {
  width: 100%;
  height: 50px;
  background-color: #000000;
  position: absolute;
  display: table;

  zoom: 1;
  filter: alpha(opacity=50);
  opacity: 0.5;
}

videogular vg-play-pause-button {
  display: table-cell;
  width: 50px;
  vertical-align: middle;
  text-align: center;
  cursor: pointer;
}

videogular vg-timedisplay {
  color: #FFFFFF;
  display: table-cell;
  font-family: Arial;
  font-size: 18px;
  width: 75px;
  vertical-align: middle;
  text-align: center;
  cursor: default;
}

videogular .vgTimeDisplay {
  display: table-cell;
  font-family: Arial;
  font-size: 18px;
  width: auto;
}

videogular vg-scrubbar {
  width: auto;
  display: table-cell;
  cursor: pointer;
}

videogular vg-scrubbar :focus vg-scrubBarCurrentTime {
  border-right: 6px black groove;
}

videogular vg-scrubBarCurrentTime {
  background-color: #FFFFFF;
  width: 100%;
  height: 50px;
  display: block;
  cursor: pointer;
}

videogular vg-volume {
  display: table-cell;
  width: 50px;
  vertical-align: middle;
  text-align: center;
  cursor: pointer;
}

videogular vg-volumebar {
  width: 50px;
  height: 100px;
  top: -100px;
  margin-left: -25px;
  vertical-align: middle;
  text-align: center;
  position: absolute;
  cursor: pointer;
}

/* IE10 hack */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  videogular vg-volumebar {
    zoom: 1;
    filter: alpha(opacity=50);
    opacity: 0.5;
  }
}

videogular vg-fullscreenButton {
  display: table-cell;
  width: 50px;
  vertical-align: middle;
  text-align: center;
  cursor: pointer;
}

videogular vg-volumebar .verticalVolumeBar {
  width: 50px;
  height: 100px;
  background-color: #000000;
  position: absolute;
}

videogular vg-volumebar .volumeBackground {
  width: 20px;
  height: 70px;
  left: 15px;
  top: 15px;
  background-color: #222222;
  position: absolute;
}

videogular vg-volumebar .volumeValue {
  width: 20px;
  height: 100%;
  background-color: #FFFFFF;
  position: absolute;
}

videogular vg-volumebar .volumeClickArea {
  width: 20px;
  height: 100%;
  position: absolute;
}

videogular vg-controls .hide-animation {
  animation: hideControlsAnimationFrames ease-out 0.5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards; /*when the spec is finished*/
  -webkit-animation: hideControlsAnimationFrames ease-out 0.5s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-fill-mode: forwards; /*Chrome 16+, Safari 4+*/
  -moz-animation: hideControlsAnimationFrames ease-out 0.5s;
  -moz-animation-iteration-count: 1;
  -moz-animation-fill-mode: forwards; /*FF 5+*/
  -o-animation: hideControlsAnimationFrames ease-out 0.5s;
  -o-animation-iteration-count: 1;
  -o-animation-fill-mode: forwards; /*Not implemented yet*/
  -ms-animation: hideControlsAnimationFrames ease-out 0.5s;
  -ms-animation-iteration-count: 1;
  -ms-animation-fill-mode: forwards; /*IE 10+*/
}

@keyframes hideControlsAnimationFrames {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}

@-moz-keyframes hideControlsAnimationFrames {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes hideControlsAnimationFrames {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}

@-o-keyframes hideControlsAnimationFrames {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}

@-ms-keyframes hideControlsAnimationFrames {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
  }
}

videogular vg-controls .show-animation {
  animation: showControlsAnimationFrames ease-out 0.5s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards; /*when the spec is finished*/
  -webkit-animation: showControlsAnimationFrames ease-out 0.5s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-fill-mode: forwards; /*Chrome 16+, Safari 4+*/
  -moz-animation: showControlsAnimationFrames ease-out 0.5s;
  -moz-animation-iteration-count: 1;
  -moz-animation-fill-mode: forwards; /*FF 5+*/
  -o-animation: showControlsAnimationFrames ease-out 0.5s;
  -o-animation-iteration-count: 1;
  -o-animation-fill-mode: forwards; /*Not implemented yet*/
  -ms-animation: showControlsAnimationFrames ease-out 0.5s;
  -ms-animation-iteration-count: 1;
  -ms-animation-fill-mode: forwards; /*IE 10+*/
}

@keyframes showControlsAnimationFrames {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.5;
  }
}

@-moz-keyframes showControlsAnimationFrames {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.5;
  }
}

@-webkit-keyframes showControlsAnimationFrames {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.5;
  }
}

@-o-keyframes showControlsAnimationFrames {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.5;
  }
}

@-ms-keyframes showControlsAnimationFrames {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.5;
  }
}

/* Controlbar icons */
videogular vg-play-pause-button .play:before {
  content: "\e000";
}

videogular vg-play-pause-button .pause:before {
  content: "\e001";
}

videogular vg-mutebutton {
  width: 50px;
  display: block;
}

videogular vg-mutebutton .level3:before {
  content: "\e002";
}

videogular vg-mutebutton .level2:before {
  content: "\e003";
}

videogular vg-mutebutton .level1:before {
  content: "\e004";
}

videogular vg-mutebutton .level0:before {
  content: "\e005";
}

videogular vg-mutebutton .mute:before {
  content: "\e006";
}

videogular vg-fullscreenButton .enter:before {
  content: "\e007";
}

videogular vg-fullscreenButton .exit:before {
  content: "\e008";
}

/********************/
/* Buffering plugin */
/********************/
videogular vg-buffering {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 4;
  top: 0;
}

videogular vg-buffering .bufferingContainer {
  width: 100%;
  position: absolute;
  cursor: pointer;
  top: 50%;
  margin-top: -50px;

  zoom: 1;
  filter: alpha(opacity=60);
  opacity: 0.6;
}

/* Loading Spinner
 * http://www.alessioatzeni.com/blog/css3-loading-animation-loop/
 */
videogular vg-buffering .loadingSpinner {
  background-color: rgba(0, 0, 0, 0);
  border: 5px solid rgba(255, 255, 255, 1);
  opacity: .9;
  border-top: 5px solid rgba(0, 0, 0, 0);
  border-left: 5px solid rgba(0, 0, 0, 0);
  border-radius: 50px;
  box-shadow: 0 0 35px #FFFFFF;
  width: 50px;
  height: 50px;
  margin: 0 auto;
  -moz-animation: spin .5s infinite linear;
  -webkit-animation: spin .5s infinite linear;
}

videogular vg-buffering .loadingSpinner .stop {
  -webkit-animation-play-state: paused;
  -moz-animation-play-state: paused;
}

@-moz-keyframes spin {
  0% {
    -moz-transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(360deg);
  }
}

@-moz-keyframes spinoff {
  0% {
    -moz-transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(-360deg);
  }
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@-webkit-keyframes spinoff {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(-360deg);
  }
}

/**********************/
/* IMA ads plugin */
/**********************/
videogular vg-ima-ads {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 5;
  top: 0;
  display: none;
}
