@font-face {
  font-family: OpenSans;
  src: url('../fonts/OpenSans-Light.ttf');
}

.projekktor {
  position: relative;
  display: block;
  width: 400px; /**/
  padding: 0px;
  overflow: hidden;
  background-color: #000;
  font-family: 'OpenSans', Arial, Sans-Serif;
  font-size: 12px;
  font-weight: bold;
  /*text-transform: uppercase;*/
}

.pptestcard {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: url('../img/noise.gif');
  background-repeat: repeat;
  background-position: center center;
  font-size: 18px;
  color: #fff;  
}
.pptestcard p {
  position: relative;
  width: 60%;
  margin: auto;
  top: 35%;
  padding: 10px;
  background-color: #000;
  opacity: 0.8;
  /*border: 2px solid #fff;*/
  text-align: center;
  line-height: 25px;  
}

.ppdisplay {
  position: relative !important;
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  left: 0px;
  top: 0px;
  background-color: #000; 
}

.ppdisplay .inactive,
.ppstart.inactive,
.ppbuffering.inactive {
  display: none;
}



/* Control. big play button */
.ppstart {
  position: absolute;
  display: block;
  height: 84px;
  width: 84px;
  left: 50%;
  bottom: 50%;
  margin-left: -42px;
  margin-bottom: -38px;
  padding: 0px;
  background: url('../img/play.png') transparent;
  background-repeat: no-repeat;
  cursor: pointer;
  background-position: 0px 0px;
}
.ppstart:hover {
  background-position: 0px -84px;
}
.ppstart:active {
  background-position: 0px -168px;
}



/* Buffering overlay */
.ppbuffering {
  position: absolute;
  display: block;
  width: 84px;
  height: 84px;
  left: 50%;
  bottom: 50%;
  margin-left: -42px;
  margin-bottom: -38px;
  padding: 0px;
  background: url('../img/buffering.gif') #000;
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 15px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  z-index: 9010; 
}



/* Control bar */
.ppcontrols {
  position: absolute;
  display: block;
  width: 100%;
  height: 35px;
  margin: 0px;
  padding: 0px;
  bottom: 0px;
  right: 0px;
  background: #000;
}
.ppcontrols .active {
  display: block;
}
.ppcontrols .inactive {
  display: none;
}

.projekktor.notransitions .ppcontrols.active {
  display: block;
}
.projekktor.notransitions .ppcontrols.inactive {
  display: none;
}

.ppcontrols.active {
  opacity: 0.7;
  -moz-opacity: 1;
  -khtml-opacity: 1;
  filter: alpha(opacity=100);
  transition: opacity 0.1s linear;
  -o-transition: opacity 0.1s linear;
  -moz-transition: opacity 0.1s linear;
  -webkit-transition: opacity 0.1s linear;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0,0,0);
}
.ppcontrols.inactive {
  opacity: 0;
  -moz-opacity: 0;
  -khtml-opacity: 0;
  filter: alpha(opacity=0);
  transition: opacity 0.5s linear;
  -o-transition: opacity 0.5s linear;
  -moz-transition: opacity 0.5s linear;
  -webkit-transition: opacity 0.5s linear;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0,0,0);
}
.ppcontrols ul {
  list-style-type: none;
}
.ppcontrols ul.left,
.ppcontrols ul.right {
  position: relative;
  margin: 0px;
  padding: 0px;
  left: 0px;
  top: 5px;
  bottom: -5px;
}
.ppcontrols ul.left li {
  position: relative;
  float: left;
}
.ppcontrols ul.right li {
  position: relative;
  float: right;
}

.ppcontrols ul.bottom {
  position: relative;
  margin: 0;
  padding: 0;
  left: 0;
  top: 0;
}



/* Control. play/pause buttons */
.ppplay,
.pppause {
  width: 30px;
  height: 30px;
  background: url('../img/controls.png') transparent;
  background-repeat: no-repeat;
  cursor: pointer;
  border-right: 1px solid #141414;
}

.ppplay {
  background-position: -120px 0px;
}
.ppplay:hover {
  background-position: -120px -30px;
}
.ppplay:active {
  background-position: -120px -60px;
}

.pppause {
  background-position: -150px 0px;
}
.pppause:hover {
  background-position: -150px -30px;
}
.pppause:active {
  background-position: -150px -60px;
}



/* Control. prev/next buttons */
.ppprev,
.ppnext {
  width: 30px;
  height: 30px;
  background: url('../img/controls.png') transparent;
  background-repeat: no-repeat;
  cursor: pointer;
}

.ppprev {
  background-position: -180px 0px;
}
.ppprev:hover {
  background-position: -180px -30px;
}
.ppprev:active {
  background-position: -180px -60px;
}

.ppnext {
  background-position: -210px 0px;
}
.ppnext:hover {
  background-position: -210px -30px;
}
.ppnext:active {
  background-position: -210px -60px;
}



/* Control. sd/hd buttons */
.pploquality,
.pphiquality {
  width: 30px;
  height: 30px;
  background: url('../img/controls.png') transparent;
  background-repeat: no-repeat;
  cursor: pointer;
}

.pploquality {
  background-position: -240px 0px;
}
.pploquality:hover {
  background-position: -240px -30px;
}
.pploquality:active {
  background-position: -240px -60px;
}

.pphiquality {
  background-position: -270px 0px;
}
.pphiquality:hover {
  background-position: -270px -30px;
}
.pphiquality:active {
  background-position: -270px -60px;
}



/* Control. full screen enter/exit buttons */
.projekktor.audio .ppfsenter,
.projekktor.audio .ppfsexit {
  display: none;
}

.ppfsenter,
.ppfsexit {
  width: 30px;
  height: 30px;
  background: url('../img/controls.png') transparent;
  background-repeat: no-repeat;
  cursor: pointer;
  border-left: 1px solid #141414;
}

.ppfsenter {
  background-position: -60px 0px;
}
.ppfsenter:hover {
  background-position: -60px -30px;
}
.ppfsenter:active {
  background-position: -60px -60px;
}

.ppfsexit {
  background-position: -90px 0px;
}
.ppfsexit:hover {
  background-position: -90px -30px;
}
.ppfsexit:active {
  background-position: -90px -60px;
}



/* Volume. mute/unmute buttons */
.ppvmax,
.ppmute {
  width: 30px;
  height: 30px;
  background: url('../img/controls.png') transparent;
  background-repeat: no-repeat;
  cursor: pointer;
}

.ppvmax {
  background-position: 0px 0px;
}
.ppvmax:hover {
  background-position: 0px -30px;
}
.ppvmax:active {
  background-position: 0px -60px;
}

.ppmute {
  background-position: -30px 0px;
}
.ppmute:hover {
  background-position: -30px -30px;
}
.ppmute:active {
  background-position: -30px -60px;
}



/* Volume. slider */
.ppvslider,
.ppvmarker {
  width: 60px;
  height: 30px;
  background: url('../img/controls.png') transparent;
  background-repeat: no-repeat;
  cursor: pointer;
}

.ppvslider {
  background-position: -540px 0px;
}

.ppvmarker {
  background-position: -540px -30px;
}

.ppvknob {
  position: relative;
  width: 6px;
  height: 20px;
  top: -13px;
  background: transparent;
  cursor: pointer;
  z-index: 201;
}



/* Scrubber. */
.audio .ppscrubber {
  background: url('../img/load.png') transparent;
  background-repeat: repeat-x;
  background-position: left top;
}

.ppscrubber {
  position: absolute;
  width: 100%;
  height: 5px;
  background: url('../img/load.png') transparent;
  background-repeat: repeat-x;
  background-position: left top;
}

.ppscrubberdrag {
  position: absolute;
  width: 100%;
  height: 5px;
  left: 0px;
  top: 0px;
  background-color: transparent;
  z-index: 302;
  cursor: pointer;
}

.ppplayhead,
.pploaded {
  position: relative;
  display: block;
  width: 1px;
  height: 5px;
  left: 0px;
  bottom: 0px;
  background-color: #fff;
  cursor: pointer;
  z-index: 301;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translate3d(0,0,0);
  -webkit-transition: width 0.1s linear;
  -moz-transition: width 0.1s linear;
  -o-transition: width 0.1s linear;
  transition: width 0.1s linear;
}
.pploaded {
  position: relative;    
  z-index: 10;
  background: rgb(65, 62, 62) ;
  opacity: 0.8;
  filter: alpha(opacity = 80);
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}
.ppplayhead {
  margin-top: -5px;
}

.ppcuepoint {
  position: absolute;
  width: 5px;
  height: 5px;
  margin: 0px;
  padding: 0px;
  left: 0px;
  top: 0px;
  background-color: yellow;
  z-index: 302;
}
.ppcuepoint:hover {
  background-color: red;
  cursor: pointer;
}

.ppscrubbertip {
  position: absolute;
  padding: 3px;
  left: 25px;
  top: -30px;
  background: #2e2d2d;
  font-size: 11px;
  line-height: 15px;
  color: #fdfdfd;
  z-index: 10;
  display: none;
}
.ppscrubbertip:after {
  position: absolute;
  width: 0px;
  height: 0px;
  top: 100%;
  border: solid transparent;
  content: " ";
  pointer-events: none;
}
.ppscrubbertip:after {
  left: 50%;
  margin-left: -5px;
  border-color: rgba(2, 28, 79, 0);
  border-top-color: #333;
  border-width: 5px;
}

.ppscrubberknob {
  position: relative;
  width: 3px;
  height: 5px;
  cursor: pointer;
  top: -5px;
  background: transparent;
  z-index: 201;
}



/* Time.  elapsed/ left */
.pptimeleft {    
  width: 130px;
  height: 30px;
  overflow: hidden;
  font-size: 11px;
  font-weight: normal;
  text-align: center;
  line-height: 30px;
  color: #fff;  
}
.pptimeleftgrey {
  color: #ccc;
}



.pploop,
.pploop .on,
.pploop .off {
  display: block;
  width: 30px;
  height: 30px;
  border-left: 1px solid #413e3e;
  border-right: 1px solid #000;
  line-height: 30px;
  color: #fff;
  cursor: pointer;
}
.pploop.off {
  color: #ccc;
}



/* Context menu */
.ppcontextmenu.active {
  display: block;
}
.ppcontextmenu.inactive {
  display: none;
}
.ppcontextmenu  {
  position: absolute;
  margin: 0px;
  padding: 0px;
  left: 0px;
  top: 0px;
  background: none repeat scroll 0 0 #FFFFFF;
  list-style: none outside none;
  border: 1px solid #CCCCCC;
  border-radius: 2px 2px 2px 2px;
  outline: medium none;
  overflow: auto;
  z-index: 2147483647;
}
.ppcontextmenu li {
  display: block;
  margin: 0px;
  padding: 6px 20px;
  text-decoration: none;
  white-space: nowrap;
  word-wrap: normal;
  color: #333;
  cursor: pointer;
}
.ppcontextmenu li:hover {
  background-color: #333;
  color: #fff;
}










/*--------------------------------------------------*/
/*                      Plugins                     */
/*--------------------------------------------------*/



/* VAST advertisement plugin */
.ppad .left,
.ppad .right {
  display: none;
  border: none;
}
.ppad .ppcontrols {
  background: transparent;
  border: none;
}
.ppad .ppadtitle {
  position: absolute;
  left: 2%;
  bottom: 2%;
  border: none;
}
.ppadskip {
  position: absolute;
  width: 85%;
  height: 28px;
  padding-top: 2px;
  right: 0px;
  bottom: -10px;
  background-color: transparent;
  color: #fdfdfd;
}
.ppskip.locked {
  background-color: red;
}
.ppskip.unlocked {
  color: #00B0FF;
  cursor: pointer;
}
.pppostad .ppprev.active {
  display: none;
}
.ppadoverlay.inactive {
  display: none;
}





/* Subtitles plugin */
.pptracksbtn.inactive,
.pptracks.inactive {
  display: none;
}
.pptracksbtn.active,
.pptracks.active {
  display: block;
}
.pptracks span {
  position: relative;
}
.pptracksbtn.on,
.pptracksbtn.off {
  width: 30px;
  height: 30px;
  background: url('../img/controls.png') transparent;
  background-repeat: no-repeat;
  cursor: pointer;
}
.pptracksbtn.on {
  background-position: -270 0px;
}
.pptracksbtn:hover {
  background-position: -270 -30px;
}
.pptracksbtn.off {
  background-position: -270 -60px;
}
.pptracks {
  position: absolute;
  width: 100%;
  height: auto;
  padding: 5px 0px;
  bottom: 0px;
  overflow: hidden;
  color: #fdfdfd;
  background: rgb(0,0,0);
  background: transparent\9;
  background: rgba(0,0,0,0.6);
  text-align: center;
  z-index: 1000;
  zoom: 1;
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);
}
.pptracks.shifted {
  bottom: 38px;
}