html, body{
	height: 100%;
	margin:0; 
	padding:0;
}
*{
	margin:0; 
	padding:0;
}

svg *{
	pointer-events:none;
}

#mediaPlayer{
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	/*display: none;*/
}

#playPauseButtonArea > div > svg{
	pointer-events:none;
	position: absolute;
	width: 44px;
	height: 33px;
	left: 50%;
	top:50%;
	margin-left: -22px;
	margin-top: -16.5px;
}

#playPauseButtonArea > div {
	cursor:pointer;
	position: absolute;
	width: 50px; 
	height: 35px;
	left: 50%;
	top:50%;
	margin-left: -25px;
	margin-top: -17.5px;
}

#volumeButtonArea > div > svg{
	pointer-events:none;
	position: absolute;
	fill: #fff;
	width: 11px;
	height: 11px;
	left: 50%;
	top:50%;
	margin-left: -5.5px;
	margin-top: -5.5px;
}

#volumeButtonArea > div:not(.tip) {
	cursor:pointer;
	position: absolute;
	width: 25px; 
	height: 25px;
	left: 50%;
	top:50%;
	margin-left: -12.5px;
	margin-top: -12.5px;
}

#fullscreenButtonArea > div > svg{
	pointer-events:none;
	position: absolute;
	fill: #fff;
	width: 10px;
	height: 10px;
	left: 50%;
	top:50%;
	margin-left: -5px;
	margin-top: -5px;
}

#fullscreenButtonArea > div {
	cursor:pointer;
	position: absolute;
	width: 25px; 
	height: 25px;
	left: 50%;
	top:50%;
	margin-left: -12.5px;
	margin-top: -12.5px;
}

#qualityButtonArea > div:not(.tip) {
	position: absolute; 
	height: 25px; 
	top: 50%; 
	margin-top: -12.5px; 
	line-height: 25px;
}

#mediaDisplay{
	width:100%; 
	height:100%;
}

#mediaDisplay.fullscreen{
	position:absolute;	
	left:0; 
	right:0; 
	top:0; 
	bottom:0; 
	width:100%; 
	height:100%; 
	overflow:hidden;
}
#controlBar{
	/*display: none;*/
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	background-color:rgba(51, 51, 51, 0.5);
}
#controlBar hr{
	position:relative;
	top:0px;
	height:0.5px;
	border:0;
	background-color:#2E2F2F
}
#controlBar.fullscreen{	
	position:absolute;
 	left:0;
	bottom:0;
}
#controlBar > div {
	display: none;
}

.unselectableField{	
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: pointer;
}

.icon{
	fill:#fff;
	pointer-events:none;
}

.overlay{
	position: absolute;
	top: 0;
	width: 51px;
	height: 51px;
	background-color:rgba(51, 51, 51, 0.6);
	border-radius: 2px;
	cursor: pointer;
	display: none;
}

.overlay > p{
	pointer-events:none;
	width: 50px;
	height: 17px;
	text-align: center;
	font-family:sans-serif;
	font-size:11px;color:white;
	position:absolute;
	left:50%;
	top:75%;
}

#elapsedTime.unselectableField, 
#subtitles> p.unselectableField{
	cursor: default;
}

/**
 *	Seekbar style
 */
#seekBar{
	background: none !important;
	border: 0 !important;
	border-radius: 5.5px !important;
	box-shadow: inset 0 1px 5px 0px rgba(0, 0, 0, .5), 0 1px 0 0px rgba(250, 250, 250, .5) !important;
	background-color: #8e8d8d !important;
}

#seekBar > a.ui-slider-handle {
	-webkit-appearance: none;
	-moz-appearance: none;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	border: 0 !important;
	top: -.12em !important;
	width: 16px !important;
	height: 16px !important;
	cursor:pointer !important;
	margin-left: -.45em;
	box-shadow: 0 0 8px rgba(0, 0, 0, .8);
	-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
	-moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8);
	outline: none !important;
}

#seekBar > div.ui-slider-range {
	/*background: none;background-color: #f00;*/ 
	border-radius: 25px;
}

#progressBar{
	pointer-events:none;
	overflow: visible !important;
	border: 0 !important;
	background: none !important;
	border-radius: 5.5px !important;
}

#progressBar > div.ui-progressbar-value {
	order: 0 !important;	
	margin: 0;	
	border-radius: 25px !important;	
	height: 90% !important;
}

/**
 *	Volume style
 */
#volumeSlider{
	background: none !important;
	border: 0 !important; 
	background-color: #8e8d8d !important;
}

#volumeSlider > a.ui-slider-handle {
	-webkit-appearance: none;
	-moz-appearance: none;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: 0 !important;
	left: -.2em !important;
	width: 10px !important;
	height: 10px !important;
	cursor:pointer !important;
	margin-bottom: -.3em;	
	outline: none !important;
}

.tip{
	position:absolute;	
	background-color: rgba(51, 51, 51, 0.8);
	border-radius: 3px;
}

/**
 *	Subtitles and subtitles menu style
 */
li.srtItem{
	text-align: center;
	width: 25px;
	float: left;
	padding-top:2px;
	padding-bottom:2px;
}

li.srtItem >p{
	display: table-cell;
	vertical-align: middle;
	width: 25px;
	height: 20px;
	pointer-events:none;
	font-family:sans-serif;
	font-size:11px;
}

.flag{
	pointer-events:none;
	width: 16px;
	height: 12px;
}

#subtitlesMenu{
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 2px;
	padding-right: 2px;
}

#subtitles {
	pointer-events:none;
	position: relative;
	width: 512px;
	text-align: center;
	line-height:120%;
	display: none;
}

#subtitles > p {
	position: absolute;
	bottom: 45px;
	color: #fff;
	overflow: hidden;
	word-wrap:break-word;
	left: 0;font-size: 16px;
	font-weight: bold;
	font-family: Arial;
	text-shadow:1px 0px 2px #000000, -1px 0px 2px #000000, 0px 1px 2px #000000, 0px -1px 2px #000000;
}

/**
 *	Export menu style
 */
li.exportItem{
	text-align: center;
	width: 50px;
}

li.exportItem > p{
	display: table-cell;
	vertical-align: middle;
	width: 50px;
	height: 20px;
	pointer-events:none;
}

#exportMenu{
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 2px;
	padding-right: 2px;
}

/**
 *	Quality style
 */
li.qualityItem{	
	margin: 0 2px 0 2px;
	padding: 2px 0 2px 0;
	cursor:pointer;
}

/**
 *	Modal style
 */

#dialog-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 512px;
	height: 288px;
	background: #343C41;
	opacity: 0.2;
	filter: alpha(opacity=20);
	display:none;
	z-index:3000;	
	cursor: pointer;
}

#dialog-box {
	-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
	position:absolute;background:rgba(20,20,20,1);
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding:8px;
	display:none;
	z-index:5000; 
}

#dialog-content {
	padding-left:8px;
	padding-right:8px;
}


/*#twitterButton{
	position: absolute;
	top: 0;
	right: 0;
}*/


/* logo */
#logo{
	display: none;
	position: absolute;
	left: 10px;
	top: 10px;
}


#cover{
	z-index: 9;
	position: absolute;
	left: 0; 
	top: 0;
	width: 100%;
	height: 100%;
	/*background-color: rgba(255,0,0,0.5);*/
	background-color:#eee;
	cursor: pointer;
}
#cover .cover{
	position: absolute;
	left: 0; 
	top: 0;
	width: 100%;
	height: 100%;
	/*background-color: #000;*/
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}
#cover #cover-play{
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -40px 0 0 -40px;
	width: 80px;
	height: 80px;
	background-color: #111;
	border-radius: 6px;
	box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.4);
	background-repeat: no-repeat;
	background-position: center;
}


#cover:active #cover-play, #cover #cover-play:active{
	box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.5);
	-webkit-transform: scale(0.95);  
        -ms-transform: scale(0.95); 
            transform: scale(0.95);
}


#shotting{
	z-index: 999;
	position: absolute;
	right: 10px; 
	top: 10px;

	width: 51px;
	height: 51px;
	border-radius: 2px;
	cursor: pointer;

	background-color:rgba(51, 51, 51, 0.6);
	box-shadow: 2px 2px 3px 0px rgba(0,0,0,0.4);
	background-repeat: no-repeat;
	background-position: center;

}

#shotting:active{
	-webkit-transform: scale(0.95);  
        -ms-transform: scale(0.95); 
            transform: scale(0.95);
}

#shotting img{
	margin: 9px 0 0 8px;
}
#capture{
	z-index: 99;
	position: absolute;
	right: 0; 
	top: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	display: none;
}

#capture.action{
	display: block;
	-webkit-animation: flash both 0.5s linear 0s;
	-moz-animation: flash both 0.5s linear 0s;
	-ms-animation: flash both 0.5s linear 0s;
	-o-animation: flash both 0.5s linear 0s;
	animation: flash both 0.5s linear 0s;
}

@-webkit-keyframes flash {
	0% {opacity: 0;}
	30% {opacity: 1;}
	100% {opacity: 0;}
}

@-moz-keyframes flash {
	0% {opacity: 0;}
	30% {opacity: 1;}
	100% {opacity: 0;}
}

@-ms-keyframes flash {
	0% {opacity: 0;}
	30% {opacity: 1;}
	100% {opacity: 0;}
}

@-o-keyframes flash {
	0% {opacity: 0;}
	30% {opacity: 1;}
	100% {opacity: 0;}
}

@keyframes flash {
	0% {opacity: 0;}
	30% {opacity: 1;}
	100% {opacity: 0;}
}



