
/* utilities */
.pull-left {
	float: left;
}
.sr-only {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	padding: 0 !important;
	border: 0 !important;
	height: 1px !important;
	width: 1px !important;
	overflow: hidden;
}
.px-video-controls{background:#fff;}
.hide {
    display: none;
}
.show-inline {
	display: inline-block;
}

/* containers */
.px-video-container{width:100% !important;}
.px-video-img-captions-container * {
	box-sizing: border-box;
}

.px-video-img-captions-container {
	position: relative; margin:0 auto;
}

/* progress indicator */
.px-video-progress {
	width: 100%;
	height: 10px;
}
.px-video-progress[value] {
	/* Reset the default appearance */
	-webkit-appearance: none;
	border: none;
}
.px-video-progress[value]::-webkit-progress-bar {
	background-color: #E6E6E6;
}
.px-video-progress[value]::-webkit-progress-value {
	background-color: #0a4e81;
}
progress {
    color: #0a4e81;
}
/* time */
.px-video-time {
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	float: right;
	margin-top: 2px;
	font-size: 14px;
}

/* caption area */
.px-video-captions {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: .5em;
	min-height: 2.5em;
	background-color: #000;
	color: #fff;
	font-size: 1.1em;
	text-align: center;
	opacity: 0.75;
}

/* buttons */
.px-video-controls button {
	float:left;
	border: 0px #fff solid;
	background: transparent;
	padding: 0;
	margin: 5px 5px 0;
	width: 25px;
	height: 20px;
	overflow: hidden;
	background: no-repeat url('px-video-sprite.png');
}
.px-video-controls button:focus {
	border: 1px #999 dotted;
	outline: none;
}
.px-video-controls button {
	cursor: pointer;
}

/* restart button */
.px-video-controls button.px-video-restart {
	background-position: -9px -333px;
}
.px-video-controls button.px-video-restart:hover,
.px-video-controls button.px-video-restart:focus {
	background-position: -9px -297px;
}

/* rewind button */
.px-video-controls button.px-video-rewind {
	background-position: -11px -189px;
}
.px-video-controls button.px-video-rewind:hover,
.px-video-controls button.px-video-rewind:focus {
	background-position: -11px -153px;
}

/* play button */
.px-video-controls button.px-video-play {
	background-position: -11px -45px;
}
.px-video-controls button.px-video-play:hover,
.px-video-controls button.px-video-play:focus {
	background-position: -11px -9px;
}

/* pause button */
.px-video-controls button.px-video-pause {
	background-position: -11px -117px;
}
.px-video-controls button.px-video-pause:hover,
.px-video-controls button.px-video-pause:focus {
	background-position: -11px -81px;
}

/* forward button */
.px-video-controls button.px-video-forward {
	background-position: -13px -261px;
}
.px-video-controls button.px-video-forward:hover,
.px-video-controls button.px-video-forward:focus {
	background-position: -13px -225px;
}

/* captions button */
.px-video-captions-btn-container label {
	display: inline-block;
	width: 25px;
	height: 20px;
	margin-left: 25px;
	margin-top:2px;
	background: no-repeat url('px-video-sprite.png');
	background-position: -6px -835px;
}
.px-video-captions-btn-container input[type="checkbox"]:focus+label {
	outline: 1px #999 dotted;
	background-position: -6px -799px;
}
.px-video-captions-btn-container input[type="checkbox"]:hover+label {
	background-position: -6px -799px;
	cursor: pointer;
}
.px-video-captions-btn-container input[type="checkbox"]:focus+label {
	outline: 1px #999 dotted;
	background-position: -6px -799px;
}
.px-video-captions-btn-container input[type="checkbox"]:checked+label {
	background-position: -6px -871px;
}

/* mute button */
.px-video-mute-btn-container label {
	display: inline-block;
	width: 25px;
	height: 20px;
	margin-left: 240px;
	margin-top: 4px;
	background: no-repeat url('px-video-sprite.png');
	background-position: -6px -476px;
}
.px-video-mute-btn-container input[type="checkbox"]:focus+label {
	outline: 1px #999 dotted;
	background-position: -6px -440px;
}
.px-video-mute-btn-container input[type="checkbox"]:hover+label {
	background-position: -6px -440px;
	cursor: pointer;
}
.px-video-mute-btn-container input[type="checkbox"]:focus+label {
	outline: 1px #999 dotted;
	background-position: -6px -440px;
}
/* checked state of mute button */
.px-video-mute-btn-container input[type="checkbox"]:checked+label {
	background-position: -6px -692px;
}
.px-video-mute-btn-container input[type="checkbox"]:checked:hover+label,
.px-video-mute-btn-container input[type="checkbox"]:checked:focus+label {
	background-position: -6px -656px;
}

/* volume range input */
.px-video-controls input[type='range'] {
	-webkit-appearance: none;
	height: 6px;
	width: 100px;
	margin-top: 11px;
	background-color: #E6E6E6;
	outline:none;
}
.px-video-controls input[type='range']:focus::-webkit-slider-thumb {
	outline: 1px #999 dotted;
}
.px-video-controls input[type='range']:focus::-ms-thumb {
	outline: 1px #999 dotted; background:#666;
}
.px-video-controls input[type='range']::-moz-range-track {
	-moz-appearance: none;
	height: 6px;
	background-color: #E6E6E6;
	border: none;
}
input[type="range"]::-ms-track {
    /* Range styles: width, height, border-radius, background */
    color: transparent;border: 0; background:#E6E6E6
}

.px-video-controls input[type='range']::-webkit-slider-thumb {
	-webkit-appearance: none !important;
	height: 10px;
	width: 6px;
	background-color: #666;
	border:none;
}
.px-video-controls input[type='range']::-ms-thumb{
	height: 10px;
	width: 6px;
	background-color: #666; border:none}
.px-video-controls input[type='range']::-moz-range-thumb {
	height: 12px;
	width: 8px;
}
input[type="range"]::-ms-fill-lower {
    /* Thumb progress styles: display, background */
    border-radius: /* same as range */;
    height: 100%;
	background:none;
}
figure.video .videoContainer{ position:relative}
.px-video-container.audio_description{ position:absolute; top:0; }
.switchButton{ width:50px; position:absolute; /*left:50%;*/ right:10%; bottom:28px; margin-left:90px;}
.switchButton input{ font-size:10px; padding:0 2px; width:27px; height:13px; background:url(ad_icon.png) no-repeat 0 0; border:none; margin:0; text-indent:-9999px;cursor:pointer;}
.switchButton input.disable{background:url(ad_icon_dis.png) no-repeat 0 0}


/* fixing display for IE10+ */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
	.px-video-controls input[type='range'] {
		position: relative;
		padding: 0;
		height: 8px;
		top: -3px;
	}
	.px-video-time {
		margin-top: 4px;
	}
	.px-video-captions {
		padding: 8px;
		min-height: 36px;
	}
}
