/* 
	Able Player core styles
*/
.able { 
    margin: 1em 0;
    width: 100%; /* will be changed dynamically as player is contructed */
    box-shadow: 0px 0px 16px #262626;
}

.able-column-left {
    float: left;
}

.able-column-right {
    float: left;
}

.able .able-vidcap-container {
  background-color: black;
  height: 360px;
  left: 0;
  margin: 0;
  position: relative;
  top: 0;
}
.able-player { 
	font-family: Arial, Helvetica, sans-serif;
	background-color: #262626; /* background color of player (appears on top & bottom) */
}
.able-offscreen { 
	position:absolute;
	left:-10000px;
	top:auto;
	width:1px;
	height:1px;
	overflow:hidden;
}
.able-video { 
/*	margin-top: -0.75em;*/
}
.able-video .able-now-playing { 
	display: none; /* not currently used for video */
}
.able-controller { 
	position: relative;
	border-top: 2px solid #4c4c4c; 
	border-bottom: 2px solid #4c4c4c; 
	background-color: #464646; /* background color of controller bar */
	min-height: 38px; /* height of button (20px) + 4px border + 4px padding */
	padding: 0; 
}

/* Controller Buttons & Controls */
.able-big-play-button {
    position: absolute;
    font-size: 8em;
    opacity: 0.5;
    filter:alpha(opacity=50); /* for IE */
    color: #fdfdfd;
    background-color: transparent;
    border: none;
    outline: none;
    z-index: 2000;
    left: 0;
    top: 0;
    padding: 0;
}

.able-big-play-button:hover {
    opacity: 100;
    filter:alpha(opacity=100); /* for IE */
}
.able-left-controls, .able-right-controls { 
    overflow: visible;
}
.able-left-controls button, .able-right-controls button {
    vertical-align: middle;
}
.able-left-controls { 
  float: left;
}
.able-right-controls { 
  float: right;
}
.able-left-controls span,
.able-right-controls span {
  color: #fdfdfd;
}
.able-controller button {
  background: none;
  position: relative;
  display: inline-block;
  border-style: none;
  margin: 0;
  padding: 0;
  color: #fdfdfd;
  min-width: 20px;
}
.able-controller button > span { 
  /* icomoon font icon */
  font-size: 20px; 
  width: 24px;
  margin: 0 5px;
  padding: 0;
}
.able-controller button > img { 
  /* image icon */
  margin: 0 2px;
  padding: 0;
}
.able-controller .buttonOff { 
	opacity: 0.5;
	filter:alpha(opacity=50); /* for IE */
}
.able-controller .able-seekbar {
  margin: 0 5px
}
.able-controller button:hover, 
.able-controller button:focus { 
  outline-style: solid;
  outline-width: medium;
}  
.able-controller button:hover {  
	outline-color: #8AB839 !important; /* green */
}
.able-controller button:focus { 
	outline-color: #ffbb37 !important; /* yellow */
}

/* 
  Status Bar 
*/

.able-status-bar { 
	height: 1.5em;
	min-height: 1.5em;
	color: #FFFFFF;
	font-size: 1.0em;
	background-color: transparent;
	padding: 0.5em 0.5em 0.25em;
}	
.able-status-bar span.able-timer { 
	/* contains both span.elapsedTime and span.duration */	
	color: #ffffff;
	text-align: left;
	float: left;
	width: 32%;
}
.able-status-bar span.able-speed { 
  float: left;
  width: 32%;
  text-align: center;
}
.able-status { 
	font-style: italic;
	float: right;
	width: 32%;
	text-align :right;
}

/* 
  Captions and Descriptions 
*/

div.able-captions {
  background-color: black;
  font-size: 1.1em;
  bottom: 0;
  color: white;
  margin: 0;
  opacity: 0.7;
  padding: 0 0 0.5em;
  position: absolute;
  text-align: center;
  display: none;
  z-index: 1000;
  line-height: 1.15em;
}
div.able-descriptions { 
    position: relative;
    color: #FF0; /* yellow, to differentiate it from captions */
    background-color: #262626;
    min-height: 3em; 
    border-top: 1px solid white;
    margin-top: -10px;
    padding: 1em 0;
    text-align: center;
}

/* 
  Now Playing 
*/

div.able-now-playing {
	text-align: center;
	font-weight: bold;
	font-size: 1.1em;
	color: #FFFFFF;
	background-color: transparent; 
	padding: 0.5em 0.5em 1em;
}
div.able-now-playing span { 
	font-size: 0.9em;
}
div.able-now-playing span span { 
	display: block;
}

/* 
  Modal Dialogs 
*/ 

div.modalDialog { 
  position: absolute;
  z-index: 6000;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  left: 0px;
  right: 0px;
  outline: 0px none;
  display: none;
}
div.modalOverlay { 
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 5000;
  background-color: #000;
  opacity: 0.5;
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;
  display: none;
}
button.modalCloseButton { 
  position: absolute;
  top: 5px;
  right: 5px;
}
button.modal-button { 
  margin-right: 5px;
}
div.modalDialog input:hover, 
div.modalDialog input:focus,   
div.modalDialog button:hover,
div.modalDialog button:focus {  
  outline-style: solid;
  outline-width: 2px;
}
div.modalDialog input:hover, 
div.modalDialog button:hover { 
	outline-color: #8AB839; /* green */
}
div.modalDialog input:focus, 
div.modalDialog button:focus { 
	outline-color: #ffbb37; /* yellow */
}

/* 
  Preferences Form 
*/ 

.able-prefs-form, .able-help-div, .able-alert-div { 
	background-color: #F5F5F5; 
	border: medium solid #ccc;
	padding: 0.5em 1em;
	margin: 0 0 0 1em; 
	width: 25em;
	display: none;
}
.able-prefs-form fieldset { 
	border: none;
}
.able-prefs-form legend { 
	color: black;
	font-weight: bold;	
}
.able-prefs-form input { 
	padding-right: 1em;
}

/* 
  Help Dialog 
*/ 

.able-help-div { 
	background-color: #F5F5F5; 
	border: medium solid #ccc;
	width: 25em;
}
.able-help-div ul { 
	list-style-type: none;
}
.able-help-modifiers { 
  font-weight: bold;
}

/* 
  icomoon.io font styling 
*/

@font-face {
	font-family: 'able';
	src:url('../fonts/able.eot?sn5rkg');
	src:url('../fonts/able.eot?#iefixsn5rkg') format('embedded-opentype'),
		url('../fonts/able.woff?sn5rkg') format('woff'),
		url('../fonts/able.ttf?sn5rkg') format('truetype'),
		url('../fonts/able.svg?sn5rkg#able') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
	font-family: 'able';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-play:before {
	content: "\f04b";
}
.icon-pause:before {
	content: "\f04c";
}
.icon-stop:before {
	content: "\f04d";
}
.icon-fullscreen-expand:before {
	content: "\f065";
}
.icon-fullscreen-collapse:before {
	content: "\f066";
}
.icon-pipe:before {
	content: "\e600";
}
.icon-captions:before {
	content: "\e601";
}
.icon-descriptions:before {
	content: "\e602";
}
.icon-transcript:before {
	content: "\f15c";
}
.icon-slower:before {
	content: "\f0dd";
}
.icon-faster:before {
	content: "\f0de";
}
.icon-help:before {
	content: "\f128";
}
.icon-close:before {
	content: "\f00d";
}
.icon-rewind:before {
	content: "\e603";
}
.icon-forward:before {
	content: "\e604";
}
.icon-volume-loud:before {
	content: "\e60b";
}
.icon-volume-medium:before {
	content: "\e605";
}
.icon-volume-soft:before {
	content: "\e60c";
}
.icon-volume-mute:before {
	content: "\e606";
}
.icon-volume-up:before {
	content: "\e607";
}
.icon-volume-down:before {
	content: "\e608";
}
.icon-chapters:before {
	content: "\e609";
}
.icon-preferences:before {
	content: "\e60d";
}
.icon-sign:before {
	content: "\e60a";
}

/* 
  Fullscreen settings 
*/

:-webkit-full-screen {
    position: fixed;
    width: 100%;
    top: 0;
    background: none;
}

/* 
  Tooltips 
*/
.able-tooltip {
    position: absolute;
    padding: 10px;
    border-color: black;
    border-width: 1px;
    background-color: #CCCCCC;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    display: none;
    z-index: 3000;
}

/* 
 * Fallback (JW Player) Tweaks
 */
 
div[id$="_fallback_wrapper"] {
  height: 0px;
} 

/* 
  Misc 
*/

.able-clipped { 
	/* hide from sighted users, but not screen reader users */
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);	
}
.able-error { 
	display: block;
	background: #ffc;
	border: 2px solid #000;
	color: #FF0000;
	margin: 0.75em;
	padding: 0.5em;
}
.able-fallback { 
  display: table;
  text-align: center;
  vertical-align: middle;
  border: 2px solid #333355;
  background-color: #FFFFCC;
  color: #000000;
  font-weight: bold;
  font-size: 1.1em;
  padding: 1em;  
  margin-bottom: 1em;
}
