html, body { height: 100%; -webkit-tap-highlight-color: rgba(0,0,0,0); }
body { overflow: hidden; padding:0; margin: 0; font: 12px normal Helvetica, Arial, Verdana; color: #F4F4F4; background-color: #090909; text-align: center; }
a { color: #DDDDDD; } a:hover { color: #F4F4F4; }
h1 { position: absolute; top: 32px; left: 12px; z-index: 2; margin: 0 1.5em 0 0; padding: 2px 12px 2px 12px; font-size: 28px; line-height: 36px; font-weight: normal; letter-spacing: -1px; border-radius: 2px; background-color: #F4F4F4; color: #090909; }
#footer { position: absolute; bottom: 0; right: 0; z-index: 0; width: 131px; height:48px; background: url(poster.png) 0 0 no-repeat; }
#player, .html5video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; outline: 0; border: 0; cursor: pointer; background-color: #090909; }
.html5video video { width: 100%; height: 100%; cursor: pointer; }
.videofailed h1 { background-color: #D80C1D; }
.videofailed h1:after { content:" \2716"; position: absolute; top: 0; right: -1.2em; color: #D80C1D; }
.videofailed .html5video { display: none; }
#jp_poster_0 { width: auto !important; height: auto !important; position: absolute; bottom: 0; right: 0; }
video,
video:focus,
video::-moz-focus-inner {
	outline: 0 !important;
	border: 0 !important;
}


div#html5overlay {
	position:absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	cursor: pointer;

	background: rgba(0,0,0,0);
	background-image: url("_default/ieblank.gif");

	outline: 0 !important;
	border: 0;

	z-index: 10000;
}
div#html5overlay.disabled {
	cursor: default;
}
div#html5overlay.disabled .playicon {
	display: none !important;
}
div#html5overlay,
div#html5overlay:focus,
div#html5overlay::-moz-focus-inner {
	outline: 0 !important;
}
div#html5overlay.pause .playicon,
div#html5overlay.hidden .playicon,
div#html5overlay.ended .playicon,
div#html5overlay.ended.pause .playicon {
	opacity: 0;
	visibility: hidden;
	-moz-transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s;
	-webkit-transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s;
	-ms-transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s;
	-o-transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s;
	transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s;
}
div#html5overlay .playicon,
.notouch div#html5overlay.pause:hover .playicon,
.notouch div#html5overlay.ended:hover .playicon,
.notouch div#html5overlay.ended.pause:hover .playicon {
	opacity: 1;
	visibility: visible;
	-moz-transition: opacity 0.1s ease-in-out, visibility 0s linear;
	-webkit-transition: opacity 0.1s ease-in-out, visibility 0s linear;
	-ms-transition: opacity 0.1s ease-in-out, visibility 0s linear;
	-o-transition: opacity 0.1s ease-in-out, visibility 0s linear;
	transition: opacity 0.1s ease-in-out, visibility 0s linear;
}
div#html5overlay.pause .playicon {
	visibility: visible;
	-moz-transition: opacity 0.2s ease-in-out .4s;
	-webkit-transition: opacity 0.2s ease-in-out .4s;
	-ms-transition: opacity 0.2s ease-in-out .4s;
	-o-transition: opacity 0.2s ease-in-out .4s;
	transition: opacity 0.2s ease-in-out .4s;
}
.notouch div#html5overlay.pause:hover .playicon,
.notouch div#html5overlay.ended:hover .playicon,
.notouch div#html5overlay.ended.pause:hover .playicon {
	opacity: 0.3;
	-moz-transition: opacity 0.2s ease-in-out;
	-webkit-transition: opacity 0.2s ease-in-out;
	-ms-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}
/*div#html5overlay.pause:active .playicon,*/
.notouch div#html5overlay.pause .playicon:hover,
.notouch div#html5overlay.ended .playicon:hover,
.notouch div#html5overlay.ended.pause .playicon:hover {
	opacity: 1;
	-moz-transition: opacity 0.2s ease-in-out;
	-webkit-transition: opacity 0.2s ease-in-out;
	-ms-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

.usetouch div#html5overlay .playicon {
	opacity: 0;
	visibility: visible;
	-moz-transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s;
	-webkit-transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s;
	-ms-transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s;
	-o-transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s;
	transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s;
}
.usetouch div#html5overlay.ended .playicon,
.usetouch div#html5overlay.pause .playicon {
	opacity: 1;
	visibility: visible;
	-moz-transition: opacity 0.2s ease-in-out, visibility 0s linear;
	-webkit-transition: opacity 0.2s ease-in-out, visibility 0s linear;
	-ms-transition: opacity 0.2s ease-in-out, visibility 0s linear;
	-o-transition: opacity 0.2s ease-in-out, visibility 0s linear;
	transition: opacity 0.2s ease-in-out, visibility 0s linear;
}

div#html5overlay .playicon {
	cursor: pointer;

	position: absolute;

	display: block;
	width: 50px;
	height: 50px;

	top: 50%;
	left: 50%;
	margin-left: -25px;
	margin-top: -25px;

	background: #090909 url("mediaplay.png") top left no-repeat;

	outline: 0 !important;

	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}


div#html5overlay.ended.played .playicon:before {
	content: "\21BB";
	position: absolute;
	background-image: none !important;

	bottom: 4px;
	right: 5px;
	font-size: 16px;
	line-height: 16px;
}
div#html5overlay.ended .playicon:before {
	color: #F4F4F4;
	font-weight: bold;
}
div#html5overlay.large.ended.played .playicon:before {
	content: "Replay";
	bottom: 10px;
	right: 10px;
	font-size: 11px;
	line-height: 11px;
}
div#html5overlay.ended:active .playicon:before,
div#html5overlay.ended .playicon:active:before {
	color: #090909;
}

div#html5overlay.large .playicon {
	background-position: top right;
	width: 100px;
	height: 100px;
	margin-left: -50px;
	margin-top: -50px;
}

div#html5overlay .playicon:hover {
	background-color: #484848;
}

div#html5overlay .playicon:active {
	background-color: #D4D4D4 !important;
	background-position: bottom left;
}
div#html5overlay.large .playicon:active {
	background-position: bottom right;
}



#controls {
	position: absolute; top: 0; right: 0; z-index: 3;
}
.control {
	position:relative;
	display: inline;
	float: left;
	height: 32px;
	min-width: 24px;
	padding: 0 10px 0 10px;
	margin: 0 0px 0 0;
	font-weight: bold;
	font-size: 11px;
	line-height: 32px;
	text-align: center;
	outline: 0;
	background: #090909;
	color: #999999;

	-webkit-user-select: none !important;
	-khtml-user-select: none !important;
	-moz-user-select: none !important;
	-ms-user-select: none !important;
	-o-user-select: none !important;
	user-select: none !important;
}
.control:first-child {
	-webkit-border-radius: 0 0 0 2px;
	-moz-border-radius: 0 0 0 2px;
	border-radius: 0 0 0 2px;
}
.control.hasicon {
	text-align: left;
	min-width: 44px;
	padding: 0;
}
a.control.hasicon {
	min-width: 38px;
	padding: 0 0 0 6px;
}

a.control div.icon,
.control.link div.icon,
.control#progress_bar div.icon {
	cursor: pointer;
	pointer-events: none;
}

a.control,
.control.link,
.control#progress_bar {
	cursor: pointer;
	text-decoration: none;

	color: #F4F4F4;
	background-color: #090909;
	background-position: 0px 0px;
	background-repeat: repeat-x;
}
a.control span {
	cursor: pointer;
	pointer-events: none;
}
a.control:focus,
.control.link:focus {
	background: #333333;
}
.notouch a.control:hover,
.notouch .control.link:hover {
	background: #484848;
	background-position: 0px -32px;
}
a.control:active,
.control.link:active,
a.control:focus:active,
.control.link:focus:active {
	color: #090909 !important;
	background: #D4D4D4 !important;
	background-position: 0px -64px;
}

a.control.disabled,
a.control.disabled:hover,
a.control.disabled:focus,
a.control.disabled:active {
	cursor: default !important;
	background: #090909 !important;
}
a.control.disabled .icon {
	cursor: default !important;
}

.control.timer { width: auto; }
.control.timer span { color: #FF1333; }

.control.progress { width: auto; }

.control .icon {
	display: inline;
	float: left;
	height: 28px;
	width: 32px;
	margin-top: 2px;
	margin-left: 0;
	background-image: url("player.png");
	background-repeat: no-repeat;
	pointer-events: none !important;
}
.control.playing .icon { background-position: 0px -28px; }
.control.paused .icon { background-position: 0px 0; }
.control.muted .icon { background-position: 0px -84px; }
.control.unmuted .icon { background-position: 0px -56px; }
.control.fullscreen .icon { background-position: 0px -112px; }
.control.playing:active .icon { background-position: -32px -28px; }
.control.paused:active .icon { background-position: -32px 0; }
.control.muted:active .icon { background-position: -32px -84px; }
.control.unmuted:active .icon { background-position: -32px -56px; }
.control.fullscreen:active .icon { background-position: -32px -112px; }

.control.playing.disabled .icon { background-position: 0px -28px; }
.control.paused.disabled .icon { background-position: 0px 0; }
.control.muted.disabled .icon { background-position: 0px -84px; }
.control.unmuted.disabled .icon { background-position: 0px -56px; }
.control.fullscreen.disabled .icon { background-position: 0px -112px; }

/*
 * jQuery UI Slider 1.8.16
 *
 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Slider#theming
 */
.ui-slider { position: relative; text-align: left; }
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; border-bottom: none; }
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }

.ui-slider-horizontal { height: .8em; }
.ui-slider-horizontal .ui-slider-handle { top: 0; margin-left: -.6px; }
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
.ui-slider-horizontal .ui-slider-range-max { right: 0; }

.ui-slider-vertical { width: .8em; height: 100px; }
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
.ui-slider-vertical .ui-slider-range-max { top: 0; }

.control#progress_bar {
	position: relative;
	height: 32px;
	padding: 0 0 0 0;
	cursor: default;
}
.control#progress_bar #loading_bar {
	padding: 0 8px 0 10px;
}
div#loading_bar #waiting {
	position: absolute;
	width: 140px;
	height: 32px;
	top: 0;
	left: 0;
	background-image: url("loading.gif");
	background-repeat: repeat-y;
	opacity: 0;
	visibility: hidden;
	-moz-transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s;
	-webkit-transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s;
	-ms-transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s;
	-o-transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s;
	transition: opacity 0.2s ease-in-out, visibility 0s linear 0.2s;
}
div#loading_bar.loading #waiting {
	opacity: 1;
	visibility: visible;
	-moz-transition: opacity 0s ease-in-out, visibility 0s linear;
	-webkit-transition: opacity 0s ease-in-out, visibility 0s linear;
	-ms-transition: opacity 0s ease-in-out, visibility 0s linear;
	-o-transition: opacity 0s ease-in-out, visibility 0s linear;
	transition: opacity 0s ease-in-out, visibility 0s linear;
}
.control #progress_timer {
	color: #999999;
	position: absolute;
	width: auto;
	text-align: right;
	font-size: 11px;
	line-height: 13px;
	right: 0px;
	bottom: 2px;
	-webkit-user-select: none !important;
	-khtml-user-select: none !important;
	-moz-user-select: none !important;
	-ms-user-select: none !important;
	-o-user-select: none !important;
	user-select: none !important;

	-moz-transition: bottom 0.2s ease-in-out;
	-webkit-transition: bottom 0.2s ease-in-out;
	-ms-transition: bottom 0.2s ease-in-out;
	-o-transition: bottom 0.2s ease-in-out;
	transition: bottom 0.2s ease-in-out;
}
.control .center #progress_timer {
	bottom: 10px;
}
.control#progress_bar  #current_progress {
	white-space: pre;
	color: #F4F4F4;
}
.control#progress_bar .notstarted  #current_progress {
	visibility: hidden;
}
.control#progress_bar .noseek  #current_progress {
	color: #999999;
	font-style: italic;
}
.control #progress_timer span {
	-webkit-user-select: none !important;
	-khtml-user-select: none !important;
	-moz-user-select: none !important;
	-ms-user-select: none !important;
	-o-user-select: none !important;
	user-select: none !important;
}

#seek_bar {
	position:relative;
	width: 122px;
	height: 32px;
	border-bottom: none;
	
	background-image: url("progress-seek.png");
	background-repeat: no-repeat;
	background-position: 0px 15px;
}
#seek_bar.noseek {
	background-image: none;
}

#progress_bar.loaderror {
	padding: 0;
}
#progress_bar.loaderror #seek_bar {
	background-image: none;
	width: 140px;
	text-align: center;
}
#progress_bar.loaderror #seek_bar #progress_timer {
	width: 100%;
	margin-right: 0;
	margin-top: 9px;
	text-align: center;
}

#seek_bar .ui-slider-handle {
	cursor: pointer;
	margin-left: -11px;
	width: 20px;
	height: 32px;
	top: 0px;

	border-bottom: none;
	
	background-image: url("progress-handle.png");
	background-repeat: no-repeat;
	background-position: 0px 0px;
}

#seek_bar .ui-slider-handle.ui-state-hover {
	cursor: pointer;
}
#seek_bar .ui-slider-handle.ui-state-active {
	cursor: pointer;
}
#seek_bar.ui-slider-disabled .ui-slider-handle {
	cursor: default;
}

#seek_bar .ui-slider-range {
	top: 15px;
	background: #e8e8e8;
	height: 2px;
	margin-left: -2px;
	padding-left: 2px;
}


	/* high dpi images */
@media (-webkit-min-device-pixel-ratio:1.5), (-moz-min-device-pixel-ratio:1.5), (-o-min-device-pixel-ratio:3/2), (min-device-pixel-ratio:1.5), (min-resolution:144dpi), (min-resolution:1.5dppx) {
	.control .icon {
		background-image: url("player@2x.png");
		background-size: 64px;
	}
	div#html5overlay .playicon {
		background-image: url("mediaplay@2x.png");
		background-size: 150px;
	}
}