/* IDI SKIN
================================================================================ */
video.video-js {
    background: none;
}
.video-js { border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; }
img.vjs-poster { border-radius: 10px; -moz-border-radius: 10px; }

/* Controls Layout
   Using a Holy Grail type method to allow the progress bar holder to expand into all available space,
   but using abosolute positioning for individual controls. http://www.alistapart.com/articles/holygrail */
.vjs-controls {
  list-style: none; position: absolute; margin: 0 !important; border: none; opacity: 0.8; color: #000; background: rgba(0,0,0,0);
  display: none; /* Start hidden */
  left: 20px; right: 20px; /* 100% width of video-js-box */
  height: 50px; /* Including any margin you want above or below control items */
  padding-left: 25px !important; /* Width of play button + margin */
  padding-right: 35px !important; /* Width of all the controls to the right of the progress control + margins */
}

/* Controls styles when below the video */
.video-js-box.vjs-controls-below .vjs-controls { background-color: #000; }

.vjs-controls > li { /* Direct li children of control bar */
  position: absolute; list-style: none; float: left; padding: 0; text-align: center;
  height: 25px; /* Default height of individual controls */
  margin: 5px 0 0 0; /* Top margin to put space between video and controls when controls are below */

  /* CSS Background Gradients */
  /* Default */ background-color: #fff;
  /* Webkit  */ background: #fff -webkit-gradient(linear, left top, left bottom, from(#fff), to(#fff)) left 12px;
  /* Firefox */ background: #fff -moz-linear-gradient(top,  #fff,  #fff) left 12px;

  /* CSS Curved Corners */
  border-radius: 0; -webkit-border-radius: 0; -moz-border-radius: 0;

  /* CSS Shadows */
  box-shadow: 0; -webkit-box-shadow: 0; -moz-box-shadow: 0;
  
  
  border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px;
  box-shadow: 1px 1px 2px #000; -webkit-box-shadow: 1px 1px 2px #000; -moz-box-shadow: 1px 1px 2px #000;
}
/* Placement of Control Items */
.vjs-controls > li.vjs-play-control       { width: 25px; left: 0px; }
.vjs-controls > li.vjs-progress-control   { width: 100%; position: relative; }
.vjs-controls > li.vjs-time-control       { width: 0; display: none; }
.vjs-controls > li.vjs-volume-control     { width: 35px; right: 0px; }
.vjs-controls > li.vjs-fullscreen-control { width: 0; display: none; }

/* Removing curves on progress control and time control to join them. */
.vjs-controls > li.vjs-progress-control {
  border-top-right-radius: 0; -webkit-border-top-right-radius: 0; -moz-border-radius-topright: 0;
  border-bottom-right-radius: 0; -webkit-border-bottom-right-radius: 0; -moz-border-radius-bottomright: 0;
  border-top-left-radius: 0; -webkit-border-top-left-radius: 0; -moz-border-radius-topleft: 0;
  border-bottom-left-radius: 0; -webkit-border-bottom-left-radius: 0; -moz-border-radius-bottomleft: 0;
}
.vjs-controls > li.vjs-volume-control { 
  border-top-left-radius: 0; -webkit-border-top-left-radius: 0; -moz-border-radius-topleft: 0;
  border-bottom-left-radius: 0; -webkit-border-bottom-left-radius: 0; -moz-border-radius-bottomleft: 0;
}

/* Play/Pause
-------------------------------------------------------------------------------- */
li.vjs-play-control { cursor: pointer !important;
	border-top-right-radius: 0; -webkit-border-top-right-radius: 0; -moz-border-radius-topright: 0;
  	border-bottom-right-radius: 0; -webkit-border-bottom-right-radius: 0; -moz-border-radius-bottomright: 0;
  	}
.vjs-play-control span { display: block; font-size: 0; line-height: 0; }
.vjs-play-control.vjs-play span {
  width: 0; height: 0; margin: 10px 0 0 10px;
  /* Drawing the play triangle with borders - http://www.infimum.dk/HTML/slantinfo.html */
  border-left: 6px solid #E44E35; /* Width & Color of play icon */
  /* Height of play icon is total top & bottom border widths. Color is transparent. */
  border-top: 3px solid rgba(0,0,0,0); border-bottom: 3px solid rgba(0,0,0,0);
}
.vjs-play-control.vjs-pause span {
  width: 2px; height: 6px; margin: 10px auto 0;
  /* Drawing the pause bars with borders */
  border-top: 0px; border-left: 2px solid #E44E35; border-bottom: 0px; border-right: 2px solid #E44E35;
}

/* Progress
-------------------------------------------------------------------------------- */
.vjs-progress-holder { /* Box containing play and load progresses */
  position: relative; list-style: none; padding: 0 !important; overflow:hidden; cursor: pointer !important;
  height: 3px; border: 0px solid #777;
  margin: 11px 5px 5px 5px !important; /* Placement within the progress control item */
  border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px;
}
.vjs-progress-holder li { /* Progress Bars */
  position: absolute; display: block; width: 0; height: 3px; 
  border-radius: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px;
}
.vjs-play-progress {
  /* Default */ background: #E44E35;
  /* Webkit  */ background: -webkit-gradient(linear, left top, left bottom, from(#E44E35), to(#E44E35));
  /* Firefox */ background: -moz-linear-gradient(top,  #E44E35,  #E44E35);
}
.vjs-load-progress {
  opacity: 0.25;
  /* Default */ background-color: #E44E35;
  /* Webkit  */ background: -webkit-gradient(linear, left top, left bottom, from(#E44E35), to(#E44E35));
  /* Firefox */ background: -moz-linear-gradient(top,  #E44E35,  #E44E35);
}

/* Time Display
-------------------------------------------------------------------------------- */
.vjs-controls .vjs-time-control { font-size: 10px; line-height: 1; font-weight: normal; font-family: Helvetica, Arial, sans-serif; }
.vjs-controls .vjs-time-control span { line-height: 25px; /* Centering vertically */ }

/* Volume
-------------------------------------------------------------------------------- */
.vjs-volume-control { cursor: pointer !important; }
.vjs-volume-control ul { list-style: none; display: block; margin: 0 5px 0 5px !important; padding: 4px 0 0 0 !important; }
/* Drawing the volume icon using 6 li elements */
.vjs-volume-control ul li { /* Individual volume bars */
  list-style: none; float: left; padding: 0;
  margin: 0 2px 0 0; /* Space between */
  width: 2px; height: 5px; /* Total height is height + bottom border */
  border-bottom: 8px solid #E44E35; /* Default (off) color and height of visible portion */
  opacity: 0.25;
}
.vjs-volume-control ul li.vjs-volume-level-on { border-color: #E44E35; opacity: 1.0; /* Volume on bar color */ }
/* Creating differnt bar heights through height (transparent) and bottom border (visible). */
.vjs-volume-control ul li:nth-child(1) { border-bottom-width: 8px; height: 5px; }
.vjs-volume-control ul li:nth-child(2) { border-bottom-width: 8px; height: 5px; }
.vjs-volume-control ul li:nth-child(3) { border-bottom-width: 8px; height: 5px; }
.vjs-volume-control ul li:nth-child(4) { border-bottom-width: 8px; height: 5px; }
.vjs-volume-control ul li:nth-child(5) { border-bottom-width: 8px; height: 5px; }
.vjs-volume-control ul li:nth-child(6) { margin-right: 0; }

/* Fullscreen
-------------------------------------------------------------------------------- */
.vjs-fullscreen-control { cursor: pointer !important; }
.vjs-fullscreen-control ul {
  list-style: none; padding: 0; text-align: left; vertical-align: top; cursor: pointer !important; 
  margin: 5px 0 0 5px; /* Placement within the fullscreen control item */
  width: 20px; height: 20px;
}
/* Drawing the fullscreen icon using 4 li elements */
.vjs-fullscreen-control ul li { list-style: none; float: left; margin: 0; padding: 0; font-size: 0; line-height: 0; width: 0; text-align: left; vertical-align: top; }
.vjs-fullscreen-control ul li:nth-child(1) { /* Top-left triangle */
  margin-right: 3px; /* Space between top-left and top-right */
  margin-bottom: 3px; /* Space between top-left and bottom-left */
  border-top: 6px solid #fff; /* Height and color */
  border-right: 6px solid rgba(0,0,0,0);  /* Width */
}
.vjs-fullscreen-control ul li:nth-child(2) { border-top: 6px solid #fff; border-left: 6px solid rgba(0,0,0,0); }
.vjs-fullscreen-control ul li:nth-child(3) { clear: both; margin: 0 3px 0 0; border-bottom: 6px solid #fff; border-right: 6px solid rgba(0,0,0,0); }
.vjs-fullscreen-control ul li:nth-child(4) { border-bottom: 6px solid #fff; border-left: 6px solid rgba(0,0,0,0); }
/* Icon when video is in fullscreen mode */
.vjs-fullscreen .vjs-fullscreen-control ul li:nth-child(1) { border: none; border-bottom: 6px solid #fff; border-left: 6px solid rgba(0,0,0,0); }
.vjs-fullscreen .vjs-fullscreen-control ul li:nth-child(2) { border: none; border-bottom: 6px solid #fff; border-right: 6px solid rgba(0,0,0,0); }
.vjs-fullscreen .vjs-fullscreen-control ul li:nth-child(3) { border: none; border-top: 6px solid #fff; border-left: 6px solid rgba(0,0,0,0); }
.vjs-fullscreen .vjs-fullscreen-control ul li:nth-child(4) { border: none; border-top: 6px solid #fff; border-right: 6px solid rgba(0,0,0,0); }

/* Download Links - Used for browsers that don't support any video.
-------------------------------------------------------------------------------- */
.vjs-no-video { font-size: small; }



div#articles div.videoplayer { float: left; width: auto; }
div.videoplayer { width: auto; }
