/**
* @author   André van Toly
* @since    May 2009
* @name     Stylesheet to style OIPlayer and its controls
* @version  '$Id: oiplayer.css 45086 2011-02-02 11:46:51Z andre $'
*/

div.oiplayer {
	position: relative;
	margin: 0;
	padding: 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* fullscreen */

div.oiplayer.fullscreen {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
	z-index: 1000;
	width: 100%;
	height: 100%;
	background-color: #000;
}

div.oiplayer.fullscreen > div.player {
	width: 100%;
	height: 100%;
	z-index: 1001;
}

div.oiplayer.fullscreen > div.player > video, div.oiplayer.fullscreen > div.player > object, div.oiplayer.fullscreen > div.player > embed { 
	z-index: 1002; 
}

div.oiplayer.fullscreen > div.oipcontrols {
	z-index: 1003;
	margin: 0 auto;
}

/* player */

div.oiplayer video, div.oiplayer object, div.oiplayer embed {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
}

div.oiplayer > div.player {
	margin: 0;
	padding: 0;
	z-index: 10;
}

/* controls */

div.oipcontrols {
	height: 30px;
	margin: 0;
	width:980px;
	color: #555;
	z-index: 19;
	background-color: transparent;
	background-image: url(images/transparent-50.png);
	position: absolute;
	bottom: 0;
	left: 0;
}

div.oipcontrols.ios {
	position: relative;
	margin: 0;
	padding: 0;
}

div.oiplayer div.oipcontrols.top {
	margin: 0px;
	width:980px;
}

div.oiplayer > .preview {
    position: absolute;
	top: 0;
	left: 0;
	z-index: 11;
	cursor: pointer;
}
div.oiplayer > div.preview.video { background: url(images/videoplayer/preview_video.png) left top repeat; }

div.oipcontrols > div {
	margin: 2px 0 0 0;
	padding: 0;
	height: 28px;
}

div.oipcontrols div { position: absolute; }
div.oipcontrols > div.play { left: 70px; width: 39px; border-left:solid 1px #898180; }
div.oipcontrols > div.time { width: 0px; left: 25px; text-align: right; display:none;  /* 83 */ }
div.oipcontrols > div.progress { left: 130px; right: 122px; }   /* 10px margin left and right */
div.oipcontrols > div.timeleft { width: 0px; right: 54px; text-align: left; display:none; /* 115 */ }
div.oipcontrols > div.screen { width: 21px; right: 10px; /* 54 */ }
div.oipcontrols > div.sound { width: 21px; right: 50px; border-left: solid 1px #898180; padding-left:20px; }

/* progress */

div.oipcontrols div.progress div.oiprogress  { 
    height: 25px;
    left: 0;
    right: 0;
    pointer-events: none;
}

div.oipcontrols div.bar {
    height: 25px;
    left: 6px;
    top: 0;
}
div.oipcontrols div.back {
    width: 100%;
    background: url(images/videoplayer/slider11-long.png) right 0 no-repeat;
    pointer-events: auto;
}

div.oipcontrols div.loaded {
    background: url(images/videoplayer/slider11-long.png) right -25px no-repeat;
    pointer-events: auto;
}
div.oipcontrols div.played {
	background: url(images/videoplayer/slider11-long.png) right -50px no-repeat;
	pointer-events: none;
}
div.oipcontrols div.oiprogress-container {
	left: 0;
	right: 6px;
}
div.oipcontrols div.progress div.oiprogress-push {
    width: 11px;
    height: 25px;
    pointer-events: auto;
}
div.oipcontrols div.pos {
    width: 11px;
    height: 25px;
}

/* buttons */

div.oipcontrols a {
	padding: 25px 0 0 0;
	overflow: hidden;
	height: 0 !important;
    height /**/: 25px;  /* for IE5/Win */
}
div.oipcontrols a:hover { background-position: 0 -25px; }
div.oipcontrols div.pos a:hover { background-position: 0 -100px; }
div.oipcontrols a { outline: none; }

div.oipcontrols div.play a, div.oipcontrols div.pause a {
	width: 21px;
	float: left;
	margin-left:23px;
}
div.oipcontrols div.play a { background-image: url(images/videoplayer/controls-play.png); }
div.oipcontrols div.pause a { background-image: url(images/videoplayer/controls-pause.png); }
div.oipcontrols div.pos a {
	background: url(images/videoplayer/slider11-pos.png) left -75px no-repeat;
	width: 13px;
	float: left;
}

div.oipcontrols div.sound a {
	float: right;
	background-image: url(images/videoplayer/controls-soundon.png);
	background-repeat: no-repeat;
	width: 23px;

}
div.oipcontrols div.sound.muted a { background-image: url(images/videoplayer/controls-soundoff.png); }

div.oipcontrols div.screen a {
	float: right;
	background-image: url(images/videoplayer/controls-fullscreen.png);
	width: 23px;
}

/* error handling */

div.oiplayer.video.inavailable { background: url(images/videoplayer/preview_video.png) left top repeat; }
div.oiplayer.inavailable div.player { display: none; }
div.oiplayer.inavailable p {
	width: 80%;
	text-align: center;
	font-size: 1.4em;
	margin: 0 auto;
	padding-top: 32%;
	font-weight: bold;
}

div.oiplayerinfo {
	font-size: xx-small;
	padding: 2px;
	background-color: #efefef;
	z-index: 99;
	border-top: 1px solid #bbb;
	font-family: Monaco, "Courier New", monospaced;
	overflow: auto;
	position: absolute;
	top: 0;
	left: 0;
}

div.oiplayerinfo.bottom {
	position: static;
	margin-top: 32px;
}

/* MSIE Java plugin detection, sigh :-( */
#clientcaps
{
	behavior: url(#default#clientCaps);
	display: none;
}
