/*!
Video.js custom skin
*/
/* SKIN
================================================================================
The main class name for all skin-specific styles. To make your own skin,
replace all occurances of 'vjs-custom-skin' with a new name. Then add your new
skin name to your video tag instead of the default skin.
e.g. <video class="video-js my-skin-name">
*/
.vjs-custom-skin {
  color: #cccccc;
}

/* Base UI Component Classes
--------------------------------------------------------------------------------
*/
/* Slider - used for Volume bar and Seek bar */
.vjs-custom-skin .vjs-slider {
  /* Replace browser focus hightlight with handle highlight */
  outline: 0;
  position: relative;
  cursor: pointer;
  padding: 0;
  /* background-color-with-alpha */
  background-color: #cccccc;
  background-color: rgba(204, 204, 204, 0.9);
}

.vjs-custom-skin .vjs-slider:focus {
  -webkit-box-shadow: 0 0 2em white;
  box-shadow: 0 0 2em white;
}

.vjs-custom-skin .vjs-slider-handle {
  position: absolute;
  /* Needed for IE6 */
  left: 0;
  top: -5px;
}

.vjs-custom-skin .vjs-slider-handle:before {
  content: "\e009";
  font-family: VideoJS;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  text-shadow: 0em 0em 12px white;
  position: absolute;
  top: 0;
  left: 0;
  /* Rotate the square icon to make a diamond */
  /* transform */
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* Control Bar
--------------------------------------------------------------------------------
The default control bar that is a container for most of the controls.
*/
.vjs-custom-skin .vjs-control-bar {
  /* Start hidden */
  display: none;
  position: absolute;
  /* Place control bar at the bottom of the player box/video.
     If you want more margin below the control bar, add more height. */
  bottom: 0;
  /* Use left/right to stretch to 100% width of player div */
  left: 0;
  right: 0;
  /* Height includes any margin you want above or below control items */
  height: 80px;
  padding: 12px;
  /* background-color-with-alpha */
  background-color: #f7f7f7;
  background-color: rgba(247, 247, 247, 0.9);
}

/* Show the control bar only once the video has started playing */
.vjs-custom-skin.vjs-has-started .vjs-control-bar {
  display: block;
  /* Visibility needed to make sure things hide in older browsers too. */
  visibility: visible;
  opacity: 1;
  -webkit-transition: visibility 0.1s, opacity 0.1s;
  transition: visibility 0.1s, opacity 0.1s;
}

/* Hide the control bar when the video is playing and the user is inactive  */
.vjs-custom-skin.vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar {
  display: block;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: visibility 1s, opacity 1s;
  transition: visibility 1s, opacity 1s;
}

.vjs-custom-skin.vjs-controls-disabled .vjs-control-bar {
  display: none;
}

.vjs-custom-skin.vjs-using-native-controls .vjs-control-bar {
  display: none;
}

/* IE8 is flakey with fonts, and you have to change the actual content to force
fonts to show/hide properly.
  - "\9" IE8 hack didn't work for this
  - Found in XP IE8 from http://modern.ie. Does not show up in "IE8 mode" in IE9
*/
@media screen {
  .vjs-custom-skin.vjs-user-inactive.vjs-playing .vjs-control-bar :before {
    content: "";
  }
}

/* General styles for individual controls. */
.vjs-custom-skin .vjs-control {
  outline: none;
  position: relative;
  float: left;
  text-align: center;
  margin: 0;
  padding: 0;
  height: 56px;
  width: 4em;
}

/* FontAwsome button icons */
.vjs-custom-skin .vjs-control:before {
  font-family: VideoJS;
  font-size: 1.5em;
  line-height: 56px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
}

/* Replacement for focus outline */
.vjs-custom-skin .vjs-control:focus {
  /*  outline: 0; */
  /* keyboard-only users cannot see the focus on several of the UI elements when
  this is set to 0 */
}

/* Hide control text visually, but have it available for screenreaders */
.vjs-custom-skin .vjs-control-text {
  /* hide-visually */
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* Play/Pause
--------------------------------------------------------------------------------
*/
.vjs-custom-skin .vjs-play-control {
  width: 5em;
  cursor: pointer;
  width: 56px;
  height: 56px;
  color: #fe4e50;
  background-color: #fff;
  border-radius: 50%;
}
.vjs-custom-skin .vjs-play-control:before {
  font-size: 20px;
  line-height: 56px;
}

.vjs-custom-skin .vjs-play-control:before {
  content: "\e001";
}

.vjs-custom-skin.vjs-playing .vjs-play-control:before {
  content: "\e002";
}

/* Volume/Mute
-------------------------------------------------------------------------------- */
.vjs-custom-skin .vjs-mute-control,
.vjs-custom-skin .vjs-volume-menu-button {
  cursor: pointer;
  float: right;
}

.vjs-custom-skin .vjs-mute-control:before,
.vjs-custom-skin .vjs-volume-menu-button:before {
  content: "\e006";
}

.vjs-custom-skin .vjs-mute-control.vjs-vol-0:before,
.vjs-custom-skin .vjs-volume-menu-button.vjs-vol-0:before {
  content: "\e003";
}

.vjs-custom-skin .vjs-mute-control.vjs-vol-1:before,
.vjs-custom-skin .vjs-volume-menu-button.vjs-vol-1:before {
  content: "\e004";
}

.vjs-custom-skin .vjs-mute-control.vjs-vol-2:before,
.vjs-custom-skin .vjs-volume-menu-button.vjs-vol-2:before {
  content: "\e005";
}

.vjs-custom-skin .vjs-volume-control {
  width: 70px;
  float: right;
}

.vjs-custom-skin .vjs-volume-bar {
  width: 100%;
  height: 0.6em;
  margin: 24px auto 0;
}

.vjs-custom-skin .vjs-volume-menu-button .vjs-menu-content {
  height: 2.9em;
}

.vjs-custom-skin .vjs-volume-level {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #fe4e50;
}

.vjs-custom-skin .vjs-volume-bar .vjs-volume-handle {
  width: 12px;
  height: 12px;
}

.vjs-custom-skin .vjs-volume-handle:before {
  padding-top: 0;
  content: " ";
  width: 13px;
  height: 13px;
  display: block;
  position: absolute;
  top: 50%;
  margin-top: -5px;
  left: -50%;
  margin-left: 6px;
  background: #fff;
  border: 1px solid #fe4e50;
  border-radius: 50%;
  text-shadow: none;
  /* transform */
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
  -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.vjs-custom-skin .vjs-volume-menu-button .vjs-menu .vjs-menu-content {
  width: 6em;
  left: -4em;
}

/* Progress
--------------------------------------------------------------------------------
*/
.vjs-custom-skin .vjs-progress-control {
  position: absolute;
  width: auto;
  /* Shrink the bar slower than it grows. */
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  height: 56px;
  border: 1px solid #ebebeb;
  background-color: #fff;
  left: 80px;
  top: 12px;
  right: 160px;
  padding: 26px 62px 26px 26px;
  font-size: 12px;
}

/* On hover, make the progress bar grow to something that's more clickable.
    This simply changes the overall font for the progress bar, and this
    updates both the em-based widths and heights, as wells as the icon font */
.vjs-custom-skin:hover .vjs-progress-control {
  /* Even though we're not changing the top/height, we need to include them in
      the transition so they're handled correctly. */
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

/* Box containing play and load progresses. Also acts as seek scrubber. */
.vjs-custom-skin .vjs-progress-holder {
  height: 2px;
  background: #dbdbdb;
}

/* Progress Bars */
.vjs-custom-skin .vjs-progress-holder .vjs-play-progress,
.vjs-custom-skin .vjs-progress-holder .vjs-load-progress {
  position: absolute;
  display: block;
  height: 100%;
  margin: 0;
  padding: 0;
  /* Needed for IE6 */
  left: 0;
  top: 0;
}

.vjs-custom-skin .vjs-play-progress {
  /*
    Using a data URI to create the white diagonal lines with a transparent
      background. Surprisingly works in IE8.
      Created using http://www.patternify.com
    Changing the first color value will change the bar color.
    Also using a paralax effect to make the lines move backwards.
      The -50% left position makes that happen.
  */
  background: #fe4e50;
}

.vjs-custom-skin .vjs-load-progress {
  background: rgba(254, 78, 80, 0.2);
}

.vjs-custom-skin .vjs-seek-handle {
  width: 12px;
  height: 12px;
}
.vjs-custom-skin .vjs-seek-handle .vjs-control-text {
  width: 70px;
  height: auto;
  text-align: center;
  color: #fe4e50;
  border: 0;
  clip: auto;
  margin: 0;
  overflow: visible;
  position: absolute;
  left: 50%;
  margin-left: -35px;
  bottom: 100%;
  margin-bottom: 9px;
}

.vjs-custom-skin .vjs-seek-handle:before {
  padding-top: 0;
  content: " ";
  width: 12px;
  height: 12px;
  display: block;
  background: #fe4e50;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -6px;
  text-shadow: none;
  /* transform */
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
}

/* Time Display
--------------------------------------------------------------------------------
*/
.vjs-custom-skin .vjs-time-controls {
  font-size: 12px;
  /* Align vertically by making the line height the same as the control bar */
  line-height: 56px;
}

.vjs-custom-skin .vjs-current-time {
  display: none;
}

.vjs-custom-skin .vjs-current-time,
.vjs-custom-skin .vjs-duration {
  text-align: center;
  z-index: 10;
  position: absolute;
  left: 80px;
  top: 12px;
  width: 70px;
}

.vjs-custom-skin .vjs-duration {
  left: auto;
  right: 167px;
}

/* Remaining time is in the HTML, but not included in default design */
.vjs-custom-skin .vjs-remaining-time {
  display: none;
  float: left;
}

.vjs-time-divider {
  display: none;
}

/* Fullscreen
--------------------------------------------------------------------------------
*/
.vjs-custom-skin .vjs-fullscreen-control {
  width: 3.8em;
  cursor: pointer;
  float: right;
}

.vjs-custom-skin .vjs-fullscreen-control:before {
  content: "\e000";
}

/* Switch to the exit icon when the player is in fullscreen */
.vjs-custom-skin.vjs-fullscreen .vjs-fullscreen-control:before {
  content: "\e00b";
}

/* Big Play Button (play button at start)
--------------------------------------------------------------------------------
Positioning of the play button in the center or other corners can be done more
easily in the skin designer. http://designer.videojs.com/
*/
.vjs-custom-skin .vjs-big-play-button {
  left: 0.5em;
  top: 0.5em;
  font-size: 3em;
  display: block;
  z-index: 2;
  position: absolute;
  width: 120px;
  height: 120px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  opacity: 1;
  /* Need a slightly gray bg so it can be seen on black backgrounds */
  /* background-color-with-alpha */
  background-color: black;
  background-color: rgba(0, 0, 0, 0.4);
  border: 0 solid transparent;
  /* border-radius */
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -webkit-box-shadow: 0px 0px 1em rgba(255, 255, 255, 0.25);
  box-shadow: 0px 0px 1em rgba(255, 255, 255, 0.25);
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

/* Optionally center */
.vjs-custom-skin.vjs-big-play-centered .vjs-big-play-button {
  /* Center it horizontally */
  left: 50%;
  margin-left: -60px;
  /* Center it vertically */
  top: 50%;
  margin-top: -60px;
}

/* Hide if controls are disabled */
.vjs-custom-skin.vjs-controls-disabled .vjs-big-play-button {
  display: none;
}

/* Hide when video starts playing */
.vjs-custom-skin.vjs-has-started .vjs-big-play-button {
  display: none;
}

/* Hide on mobile devices. Remove when we stop using native controls
    by default on mobile  */
.vjs-custom-skin.vjs-using-native-controls .vjs-big-play-button {
  display: none;
}

.vjs-custom-skin:hover .vjs-big-play-button,
.vjs-custom-skin .vjs-big-play-button:focus {
  outline: 0;
  border-color: #fff;
  /* IE8 needs a non-glow hover state */
  background-color: #505050;
  background-color: rgba(50, 50, 50, 0.75);
  -webkit-box-shadow: 0 0 3em white;
  box-shadow: 0 0 3em white;
  -webkit-transition: all 0s;
  transition: all 0s;
}

.vjs-custom-skin .vjs-big-play-button:before {
  content: "\e001";
  font-family: VideoJS;
  /* In order to center the play icon vertically we need to set the line height
     to the same as the button height */
  line-height: 120px;
  text-shadow: 0.05em 0.05em 0.1em #000;
  text-align: center;
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Loading Spinner
--------------------------------------------------------------------------------
*/
.vjs-custom-skin .vjs-loading-spinner:before {
  content: "\e01e";
  font-family: VideoJS;
  position: absolute;
  top: 0;
  left: 0;
  width: 1em;
  height: 1em;
  text-align: center;
  text-shadow: 0em 0em 0.1em #000;
}

/* Menu Buttons (Captions/Subtitles/etc.)
--------------------------------------------------------------------------------
*/
.vjs-custom-skin .vjs-menu-button {
  float: right;
  cursor: pointer;
}

.vjs-custom-skin .vjs-menu {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0em;
  /* (Width of vjs-menu - width of button) / 2 */
  width: 0em;
  height: 0em;
  margin-bottom: 3em;
  border-left: 2em solid transparent;
  border-right: 2em solid transparent;
  border-top: 1.55em solid black;
  /* Same width top as ul bottom */
  border-top-color: rgba(7, 40, 50, 0.5);
  /* Same as ul background */
}

/* Button Pop-up Menu */
.vjs-custom-skin .vjs-menu-button .vjs-menu .vjs-menu-content {
  display: block;
  padding: 0;
  margin: 0;
  position: absolute;
  width: 10em;
  bottom: 1.5em;
  /* Same bottom as vjs-menu border-top */
  max-height: 15em;
  overflow: auto;
  left: -5em;
  /* Width of menu - width of button / 2 */
  /* background-color-with-alpha */
  background-color: #f7f7f7;
  background-color: rgba(247, 247, 247, 0.9);
  -webkit-box-shadow: -0.2em -0.2em 0.3em rgba(255, 255, 255, 0.2);
  box-shadow: -0.2em -0.2em 0.3em rgba(255, 255, 255, 0.2);
}

.vjs-custom-skin .vjs-menu-button:hover .vjs-menu {
  display: block;
}

.vjs-custom-skin .vjs-menu-button ul li {
  list-style: none;
  margin: 0;
  padding: 0.3em 0 0.3em 0;
  line-height: 1.4em;
  font-size: 1.2em;
  text-align: center;
  text-transform: lowercase;
}

.vjs-custom-skin .vjs-menu-button ul li.vjs-selected {
  background-color: #000;
}

.vjs-custom-skin .vjs-menu-button ul li:focus,
.vjs-custom-skin .vjs-menu-button ul li:hover,
.vjs-custom-skin .vjs-menu-button ul li.vjs-selected:focus,
.vjs-custom-skin .vjs-menu-button ul li.vjs-selected:hover {
  outline: 0;
  color: #111;
  /* background-color-with-alpha */
  background-color: white;
  background-color: rgba(255, 255, 255, 0.75);
  -webkit-box-shadow: 0 0 1em white;
  box-shadow: 0 0 1em white;
}

.vjs-custom-skin .vjs-menu-button ul li.vjs-menu-title {
  text-align: center;
  text-transform: uppercase;
  font-size: 1em;
  line-height: 2em;
  padding: 0;
  margin: 0 0 0.3em 0;
  font-weight: bold;
  cursor: default;
}

/* Subtitles Button */
.vjs-custom-skin .vjs-subtitles-button:before {
  content: "\e00c";
}

/* Captions Button */
.vjs-custom-skin .vjs-captions-button:before {
  content: "\e008";
}

/* Replacement for focus outline */
.vjs-custom-skin .vjs-captions-button:focus .vjs-control-content:before,
.vjs-custom-skin .vjs-captions-button:hover .vjs-control-content:before {
  -webkit-box-shadow: 0 0 1em white;
  box-shadow: 0 0 1em white;
}

/* Hide disabled or unsupported controls */
.vjs-custom-skin .vjs-hidden {
  display: none;
}

/* -----------------------------------------------------------------------------
The original source of this file lives at
https://github.com/videojs/video.js/blob/master/src/css/video-js.less */
@media (max-width: 767px) {
  .vjs-control-bar {
    display: none !important;
  }
}
