/********************* some customization *********************/
/*#info.settings,*/ #playPause{
	display: none;
}

.player_shadow{
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
	-webkit-transform: translateZ(0);
	background: black;
	opacity: 0.8;
}

/********************** spinner & shadow ***********************/
.video-container .player_shadow #progress_indicator{
    position:absolute;
    width:100%;
    top:50%;
    color:white;
    font-size:18px;
    margin-top:-13px;
}

.spinner{
	display:none;

	z-index: 7;
	position:fixed;
	width: 200px;
	height: 200px;
	top: 50%;
	left:50%;
	margin-left: -100px;
	margin-top: -100px;
	-webkit-transform: translateZ(0);

  -webkit-animation-name: rotateThis;
  -webkit-animation-duration:0.5s;
  -webkit-animation-iteration-count:infinite;
  -webkit-animation-timing-function:steps(8, start);
  -moz-animation-name: rotateThis;
  -moz-animation-duration:0.5s;
  -moz-animation-iteration-count:infinite;
  -moz-animation-timing-function:steps(8, start);	
  animation-name: rotateThis;
  animation-duration:0.5s;
  animation-iteration-count:infinite;
  animation-timing-function:steps(8, start);
}	

.spinner div{
  width:10px;
  height:30px;
  position:absolute;
  top:85px;
  left:95px;
}

@-webkit-keyframes rotateThis {
  from {-webkit-transform:scale(0.5) rotate(0deg);}
  to {-webkit-transform:scale(0.5) rotate(360deg);}
}

@-moz-keyframes rotateThis {
  from {-moz-transform:scale(0.5) rotate(0deg);}
  to {-moz-transform:scale(0.5) rotate(360deg);}
}

@keyframes rotateThis {
  from {transform:scale(0.5) rotate(0deg);}
  to {transform:scale(0.5) rotate(360deg);}
}

/* position the bars and balls correctly (rotate them and translate them outward)*/
.video-container .bar1 {
  -moz-transform:rotate(0deg) translate(0, -80px);
  -webkit-transform:rotate(0deg) translate(0, -80px);/*opacity:0.12;*/
  background: #202020;
}
.video-container .bar2 {
  -moz-transform:rotate(45deg) translate(0, -80px);
  -webkit-transform:rotate(45deg) translate(0, -80px);/*opacity:0.25;*/
  background: #404040;
}
.video-container .bar3 {
  -moz-transform:rotate(90deg) translate(0, -80px);
  -webkit-transform:rotate(90deg) translate(0, -80px);/*opacity:0.37;*/
  background: #606060;
}
.video-container .bar4 {
  -moz-transform:rotate(135deg) translate(0, -80px);
  -webkit-transform:rotate(135deg) translate(0, -80px);/*opacity:0.50;*/
  background: #808080;
}
.video-container .bar5 {
  -moz-transform:rotate(180deg) translate(0, -80px);
  -webkit-transform:rotate(180deg) translate(0, -80px);/*opacity:0.62;*/
  background: #a0a0a0;
}
.video-container .bar6 {
  -moz-transform:rotate(225deg) translate(0, -80px);
  -webkit-transform:rotate(225deg) translate(0, -80px);/*opacity:0.75;*/
  background: #c0c0c0;
}
.video-container .bar7 {
  -moz-transform:rotate(270deg) translate(0, -80px);
  -webkit-transform:rotate(270deg) translate(0, -80px);/*opacity:0.87;*/
  background: #e0e0e0;
}
.video-container .bar8 {
  -moz-transform:rotate(315deg) translate(0, -80px);
  -webkit-transform:rotate(315deg) translate(0, -80px);/*opacity:1;*/
  background: #ffffff;
}

/********************* video container *********************/

.video-container{
	text-align: center;
	
	position: fixed;
	margin-left: -430px;
	margin-top: -300px;
	top: 50%;
	left: 50%;
	-webkit-transform: translateZ(0);	
	
	width: 860px;
	height: 600px;

	box-shadow: 0 0 5px 5px rgba(0,0,0,0.5);
}

.video-container:-webkit-full-screen {
	position: static !important;
	margin-left: 0px;
	margin-top: 0px;
	-webkit-transform: none;
}

.video-js{
	display: inline-block;
	margin:0;
}

/********************* panel *********************/

.panel-container{
	opacity: 1.0;
	background:rgba(34,121,120,100);
	height: 150px;
}

.panel-container *{
	background: inherit;/* for site tour highlihgts */
}
/********************* subtitles *********************/

.subtitles{
	font-family: monospace;
	font-size: 16px;
	height: 90px;
	margin: 0 5px;
}

.inner-subtitles-container{
	text-align: left;
	height: 23px;
}

.inner-subtitles-container>input{
	display: inline-block;
}

.inner-subtitles-container input[type="checkbox"]{
	width: 10px;
}

.inner-subtitles-container>div{
	display: inline-block;
	margin-left: 5px;
	white-space:pre;
}

.left-subs{
	float:left;
	text-align: left;
}
.left-subs>div{
	margin:5px 0 0 0;
	-webkit-transition: all 1s ease;
	   -moz-transition: all 1s ease;
	    -ms-transition: all 1s ease;
	     -o-transition: all 1s ease;
	        transition: all 1s ease;
}
.right-subs{
	float:right;
	position: relative;
	top:50px;
}

.crypt,
.org,
.trans{
	text-align:left;
}
.trans{
	color:#fffd4c;
	font-style: italic;
}

.trans2{
	display: inline-block;
	text-align:right;
	color: white;
	float: right;
	font-style: italic;
}
.org{
	color: white;
}
.crypt{
	color: #0fe2ff;
}

/********************* timeline *********************/

.time-timeline{
	background: #00bcd5;
	position: relative;
	width: 860px;
	height: 14px;
}

.timeline{
	float: right;
	display:inline-block;
	background-color:  #009d96;
	height:4px;	
	top: 3px;
	cursor:pointer;
	position:relative;
	width: 740px;
	margin-right: 18px
}
.in-timeline{
	height:6px;
	width:2px;
	background-color:#ccc;
	position:relative;
	display:block;
	top:-1px;
}

.volume-wrapper>img{
	height: 11px;
}

.volume{
	margin:0!important;
	background-color:white;
	height:4px;
	cursor:pointer;
	width:50px;
	display: inline-block;
	top: -2px;
}

.volumeIn{
	margin: 0px !important;
	height:10px;
	width:4px;
	background-color:#ccc;
	position:relative;
	display:block !important;
	top:-3px;
}

#time{
	padding-right: 10px;
	display:inline-block;
	float:left;
	margin-top: -13px;
	padding-left: 7px;
	background: transparent;
}

#time>div{
	display: inline-block;
	font-size: 10px;
	color: white;
	position: relative;
	top: 7px;
}

/********************* buttons *********************/

.panel{
	background-color:rgba(0,0,0,0.0);
	width: 860px;
	position: relative;
	height: 30px;
	margin-top: 8px;
	line-height: 0;	
}

.control-pane{
	margin:6px 0 0 0;
	position: relative;
	height: 100%;
	width: 100%;
}

.control-pane div{
	display: inline-block;
	position: relative;
	margin:0 25px;
	color:#eee;
	cursor:pointer;

	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}

.control-pane .settings{
	float: left;
	margin: 0px 0px;
	padding: 5px 5px;
}

.control-pane .settings.selected{
	background-color: rgba(0, 0, 0, 0.6);	
}

.control-pane .settings img, .control-pane #settingsList img{
	width: 20px;
	height: 20px;
}

.control-pane #settingsButton{
	margin-left: 8px;
/*	z-index: 1;*/
}

#settingsList{
	visibility: hidden;
	position:absolute;
	margin: 0px;
        width: 30px;
	height: 120px;
        left: 8px;
        top: -90px;
        background: rgba(0,0,0,0.8);
	text-align: left;
	white-space: nowrap;
	outline:none;
}
#settingsList div{
	margin: 0px;
	padding: 5px;
	width: 250px;
}
#settingsList img{
	margin-right: 10px;
}
#settingsList span{
	background: rgba(0,0,0,0);
}
#settingsList ul{
	padding: 0px;
}
#settingsList div.selected{
	color: #8080ff;
}

.control-button{
	height: 30px;
	margin: 0px;
}
.control-button>img{
	position: relative;
	height: inherit;
	width: inherit;
}

/*.control-button#playPause{
	height: 25px;
	width: 22px;
}*/

/********************* autext *********************/

#autext{
	text-align: left;
	width: 100%;
	font-size: 13px;
	position: relative;
}

#autext div{
		height: 19px;
}

#autext span{
	padding-left: 5px;
}

#autext .au-left{	
	width: 50%;
	float: left;
}

#autext .au-right{
	width: 50%;
	float: left;
}

/******************* pop-up ***********************/
.popover{
	color:#333;
}
.popover a, .popover a:visited{
	color: #428BCA;
	text-shadow: none;
}
