@charset "utf-8";

/*
	電子透かしコンテンツ ver 1.0.0 / 2012.04.01R

*/


/*=== 1. 基本 */

video,audio {
	display: block;
	width: 300px;
	height: 200px;
}

/*--- for audio --*/

audio {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
/*	visibility: hidden; */
	background-color: rgba(0,0,0,0);
}

.oldie audio {
	background-color: rgb(0,0,0);
	opacity: 0;
}

.media-playing-background {
	font-size: 0;
	line-height: 0;
	width: 300px;
	height: 200px;
/*	border: 1px solid #c0c0c0; */
}

.media-playing-background img{
	width: 300px;
	height: 200px;
}

.media-player {
	position: relative;
	width: 300px;
	margin: 25px auto 50px;
}

/*
 * escaped for development mode

.media-controls {
	display: none;
}
.js .media-controls {
	display: block;
}

 */
.media-controls {
/*	height: 2em; */
	height: 2em;
	zoom: 1;
	position: relative;
	margin: 0;
	padding: 0 210px 0 85px;
	z-index: 9; /* IE opacity: bug */
}
.media-controls a.ui-state-default {
	position: absolute;
/*	top: .32em; */
	top: .32em;
	padding: 2px;
	overflow: hidden;
}
.media-controls a:focus {
	outline: 1px dotted #666;
}
a.ui-state-default .button-text {
	position: absolute;
	display: block;
	left: -9999px;
	width: 3px;
}
.media-controls a.play-pause {
	left: 5px;
}
.timeline-slider {
/*	top: .5em; */
	top: .5em;
}
.media-controls a.ui-slider-handle {
	padding: 0;
	top: -0.26em;
}
.media-controls a.mute-unmute {
	right: 125px;
}
.player-display {
	overflow: hidden;
	position: absolute;
/*	top: 9px; */
	top: 9px;
	width: 35px;
	font-size: 12px;
	text-align: center;
}
.duration {
	right: 155px;
}
.current-time {
	left: 35px;
}
div.volume-slider {
	position: absolute;
/*	top: .5em; */
	top: .5em;
	right: 16px;
	width: 90px;
}
.media-controls .ui-progressbar {
	height: 0.8em;
}

.handle-label,
span.media-label,
.js .player-errors {
	display: none;
}
.media-role {
	position: absolute;
	left: -9999px;
	display: block;
	width: 1px;
}
.video-box {
	position: relative;
	width: 100%;
}
.media-state {
	position: absolute;
	/* don't let overlay video for flash unblock */
	display: none;
	top: 0;
	left: 0;
	z-index: 4;
	width: 100%;
	height: 100%;
	cursor: pointer;
	background: url(./images/loader.gif) -9000px -9000px no-repeat;
}
.idle .media-state {
	display: block;
	background: url(./images/play-icon-lite.png) center no-repeat;
}

/** for audio */
.playing .media-state {
	background: url(./images/stop-icon-lite.png) center no-repeat;
}

.delay .media-state {
	display: none !important;
}

.waiting .media-state {
	display: block;
	background: url(./images/loader.gif) center no-repeat;
}

/* on totalerror, flashblocker or showFallback: true */
.totalerror .media-controls {
	display: none !important;
}

.flashblocker .media-element-box {
	min-width: 40px;
	min-height: 40px;
} 
.fallback {
	position: relative;
	zoom: 1;
}

div.media-player.audio .fallback {
	position: absolute;
	zoom: 1;
	top: 0;
}

.oldie audio .fallback {
	position: absolute;
	zoom: 1;
	top: 0;
}

.fallback img{
	width: 126px;
	position: absolute;
	top: 0;
	left: 0;
}

.fallback-text {
	position: absolute;
	padding: 10px;
	/*
	bottom: 0;
	*/
	top: 0;
	left: 136px;
	background: #000;
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
}

div.media-player.audio .fallback-text {
	position: absolute;
	padding: 10px;
	/*
	bottom: 0;
	*/
	top: 10px;
	left: 10px;
	background: #000;
	color: #fff;
	border: 1px solid #fff;
}

.oldie audio .fallback-text {
	position: absolute;
	padding: 10px;
	/*
	bottom: 0;
	*/
	top: 10px;
	left: 10px;
	background: #000;
	color: #fff;
	border: 1px solid #fff;
}

.fallback-text p {
	margin: 0 0 10px;
}
.fallback-text li {
	list-style: none;
}
.fallback-text a {
	color: #fff;
}

/*
 * fullscreen plugin
 */

.wraps-fullscreen .media-state {
	z-index: 99999;
}
.wraps-fullscreen .media-controls-wrapper {
	z-index: 999999;
	position: absolute;
	width: 100%;
	bottom: 10px;
}

/*
 * playlist example (audioplayer.html)
 */
.playlist {
	margin: 5px 0 0;
	padding: 5px;
	list-style: none;
}
.playlist ul {
	margin: 0;
	list-style: none;
}

.playlist li {
	margin: 2px 0;
	padding: 2px 5px;
	cursor: pointer;
}
.playlist a {
	overflow: hidden;
	zoom: 1;
	display: block;
	outline: none;
}
.playlist img {
	float: left;
	display: block;
	margin: 1px 4px 1px 0;
}
.playlist a:focus,
.playlist a:active {
	text-decoration: underline !important;
}

/*=== 2. 個別修正 */

/*overlay controls*/
.media-controls-wrapper {
	position: absolute;
	bottom: 0;
	width: 100%;
}
/* position the fullscreen-button */
	div.volume-slider {
	right: 46px;
	width: 60px;
}
.fullscreen {
	right: 8px;
}

/* prepare fullscreen-button for flash fullscreen in modern browsers */
html > body .media-state {
	height: auto;
	top: 0;
	bottom: 2em;
}
.jme-flashbutton-wrapper .media-controls-wrapper {
	pointer-events: none;
}
.jme-flashbutton-wrapper .media-controls > *:not(.fullscreen) {
	pointer-events: auto;
}


/*=== 3. device別 */

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
/* Styles */
}

/* Smartphones (landscape) ----------- */
@media only screen 
and (min-width : 321px) {
/* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen 
and (max-width : 320px) {
/* Styles */
}

/* iPads (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) {
/* Styles */
	video,audio {
		width: 640px;
		height: 480px;
	}

	.media-player {
		width: 640px;
	}

	.media-playing-background{
		width: 640px;
		height: 480px;
	}
	
	.media-playing-background img{
		width: 640px;
		height: 480px;
	}
	
}

/* iPads (landscape) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
/* Styles */
}

/* iPads (portrait) ----------- */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
/* Styles */

}

/* Desktops and laptops ----------- */
@media only screen 
and (min-width : 800px) {
/* Styles */

	video,audio {
		width: 640px;
		height: 480px;
	}

	.media-player {
		width: 640px;
	}
	
	.media-playing-background {
		width: 640px;
		height: 480px;
	}

	.media-playing-background img{
		width: 640px;
		height: 480px;
	}

}

/* Large screens ----------- */
@media only screen 
and (min-width : 1824px) {
/* Styles */
}

/* Android ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
/* Styles */
}

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 2),
only screen and (min-device-pixel-ratio : 2) {
/* Styles */
}