/* XPlayer CSS file */

/* Pseudo fullscreen (simulating fullscreen on iPhones) */
.xplayer {
	position: relative;
	display: block;
	background-color: #222222;
	height: auto;
	width: auto;
    margin: 0;
	/* Can't get this to work... */
	transition: height 1s, width 1s, margin 1s;
	z-index: auto;
}

/* Make XPlayer wrapper a fullscreen overlay */
.xplayer.fullscreen {
	position: fixed;
    top: 0;
    left: 0;
	background-color: #222222;
	display: flex;
	align-items: center;
	justify-content: center;
    margin: auto;
    height: 100vh;
	width: 100vw;
	z-index: 10000000;
}

/* Portrait mode - full width (4:3 ratio) */
@media screen and (orientation:portrait) {
	.xplayer.fullscreen .smil-player {
		height: calc(100vw * 3/4);
		width: 100vw;
	}
}

/* Landscape mode - full height (4:3 ratio) */
@media screen and (orientation:landscape) {
	.xplayer.fullscreen .smil-player {
		height: 100vh;
		/* Calculate width w/o height of the controller region */
		width: calc((100vh - 66px) * 4/3);
	}
}


/* added so the material icon font cannot be selected like text */
.xplayer ::-moz-selection {
    zbackground: transparent;
}

.xplayer ::selection {
    zbackground: transparent;
}

.xplayer {
	/* width: 100%; */
	min-width: 272px;
	/*min-width: 380px;*/
	/* MMoreno - testing removal */
	/* min-width: 310px; */
	/* max-width: 1024px; */
	overflow: hidden
}

/* css to show xplayer as a button, initially */
.xplayer .xplayer-button {
    width: 267px;
    position: relative;

}

.xplayer #loading-symbol-area
{
	width: 25%;
	height: 25%;
	display: block;
	opacity: 0.7;
	z-index: 99;
	position: absolute;
	top: 50%;
	left: 50%;
	opacity: 0.7;
}

.xplayer .smil-player
{
	background-color: #222222;
	background-position: left top;
	background-repeat: no-repeat;
	background-size: 100% auto;
	border: 1px solid black;
	width: 100%;
    position: relative;
}

.xplayer .smilResponsiveContainer
{
	position: relative;
	height: 0;
	width: 100%;
	padding-bottom: 66%;
}

.xplayer .smilFitToWidth
{
	width: 100%;
	height: auto;
}

.xplayer .smilFitToHeight
{
	width: auto;
	height: 100%;
	margin-left: auto;
	margin-right: auto;
}

.xplayer .smilControlsContainer {
	padding-top: 0px;
	padding-bottom: 5px;
	/*background-image: url('../images/xenos-bg.jpg');*/
	background-size: 100% auto;
}

.xplayer .smil-controls-position-first-row
{
	width: 100%;
	background: url('../images/player-progress-slide-empty.jpg') repeat-x left top;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
}

.xplayer .smil-controls-position-second-row
{
	/*width: 90%;*/
	width: 100%;
	margin-left: 10px;
	margin-right: 0;
	margin-bottom: 10px;
	margin-top: -15px;
	/* MMoreno - Can't get this to work: */
	/* vertical-align: middle; */
}

#volume-control-div
{
    display: inline-block;
}

#fullscreen-div {
    display: inline-block;
}

@media (max-width: 500px)
{
    #volume-control-div { display: none; }
    /*#fullscreen-div { display: none!important; }*/
}

/*.xplayer .smil-controls-position-third-row
{
	display: block;
	margin-top: 0%;
	font-size: 1.5em;
	color: white;
	text-align: center;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
}*/

/*
#overlayRegion,
.overlayRegion
{
	position: absolute;
	z-index: 90;
	width: 100%;
	height: 100%;
	background-color: none;
	top: 0px;
	left: 0px;
	border: 0px;
}
*/


.overlayElement {
    z-index: 90;
    width: 100%;
    height: 100%;
    border: 0px;
    cursor: pointer;
    background-color: none;
}

.playpause-responsive {
	max-width: 100%;
	max-height: 100%;
}

.playpause-center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.playButtonGraphic {
	z-index: 80;
	border: 0px;
	cursor: pointer;
	background-color: none;
	opacity: 1;
	display: block;
}

.pauseButtonGraphic {
	z-index: 70;
	border: 0px;
	cursor: pointer;
	background-color: none;
	opacity: 1;
	display: none;
}

/*
.overlayElement img {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 30%;
height: 30%;
opacity: 0.5;
}
*/

/*
.xplayer .overlayElement
{
    background-image: url('../images/xenos-big-play.png');
    background-repeat: no-repeat;
    background-size: contain;
	position: absolute;
	top: 20%;
	left: 33%;
    width: 40%;
    height: 40%;
    opacity: 0.5;
}
*/

/* Updated on 2018-08-13 on very old files (needed???)
.overlayElement
{
	position: absolute;
	z-index: 90;
	width: 100%;
	height: 100%;
/*	background-color: none; * /
	top: 0px;
	left: 0px;
	border: 0px;
	/*background: url('../images/xenos-initial-play.png') center center no-repeat;* /
	cursor: pointer;
}

.overlayElement img
{
	position:absolute;
	top:50%;
	left:50%;
    transform: translate(-50%, -50%);
    width: 30%;
    height: 30%;
    opacity: 0.5;
}
*/

.xplayer .title-text
{
	display: block;
	margin-top: 0%;
	font-size: 1.2em;
	color: white;
	text-align: center;
    padding: 3px;
}

.xplayer .author-text
{
	display: block;
	margin-top: 2%;
	font-size: 0.8em;
	color: white;
	text-align: center;
}

.xplayer .copyright-text
{
	display: block;
	margin-top: 5%;
	margin-bottom: 0%;
	font-size: 0.8em;
	color: white;
	text-align: center;
}

/*
.arisen-text
{
	display: block;
	margin-top: 10%;
	margin-bottom: 1%;
	font-size: 0.6em;
	color: white;
	text-align: center;
}
*/

.xplayer .arisen-text
{
	display: block;
	font-size: 0.6em;
	color: white;
	text-align: center;
    position: absolute;
    bottom: 1em;
    width: 100%;
}

.xplayer .arisen-credits-section
{
	display: block;
	margin-top: 3px;
	padding: 3px;
	border:0px;
	/* GRADIENT */
	/* IE10 Consumer */
	background-image: -ms-radial-gradient(center, ellipse farthest-side, #FFFFFF 0%, #333333 100%);
	/* Mozilla Firefox */
	background-image: -moz-radial-gradient(center, ellipse farthest-side, #FFFFFF 0%, #333333 100%);
	/* Opera */
	background-image: -o-radial-gradient(center, ellipse farthest-side, #FFFFFF 0%, #333333 100%);
	/* Webkit (Safari/Chrome 10) */
	background-image: -webkit-gradient(radial, center center, 0, center center, 486, color-stop(0, #FFFFFF), color-stop(1, #333333));
	/* Webkit (Chrome 11+) */
	background-image: -webkit-radial-gradient(center, ellipse farthest-side, #FFFFFF 0%, #333333 100%);
	/* W3C Markup, IE10 Release Preview */
	background-image: radial-gradient(ellipse farthest-side at center, #FFFFFF 0%, #333333 100%);
	/*background-color: white;*/
	opacity: 0.7;
}

.arisen-credits-text
{
	display: block;
	margin-top: 0%;
	font-size: x-small;
	font-weight: bold;
	color: black;
	text-align: center;
	text-decoration: none;
	border: 0px;
	white-space: nowrap;
}

.xplayer .arisen-credits-text:hover
{
	color: #444444;
}

.xplayer .arisen-credits-offset
{
	display: block;
	margin-left: 85px;
}

.xplayer .total-time
{
	display: inline-block;
	font-size: small;
	white-space: nowrap;
}

.xplayer .current-time-position
{
	/*display: block;*/
	display: inline-block;
	font-size: small;
	text-align: center;
	margin-top: 3px;
	margin-left: 1%;
	color: lightgray;
	cursor: default;
	text-decoration: none;
	vertical-align: top;
	white-space: nowrap;
}

.xplayer .slider-container {
	padding-right: 0;
}

.xplayer .slider-container:hover {
    /*background: url('../images/player-progress-slide-empty-hover.jpg') repeat-x left top !important;*/
    cursor: pointer;
}

#slider-position,
.slider-custom {
    position: relative;
	margin-top: 0%;
	margin-left: 0%;
	margin-right: 0%;
	margin-bottom: 11px;
	padding-bottom: 17px;
    height:3px;
    width: 100%;
	background-size: 100% 100%;
	display: inline-block;
	border: none !important;
}


#slider-position .ui-slider-handle,
.slider-custom .ui-slider-handle {
	width: 15px;
    height: 15px;
    position: absolute;
	margin-left: 0;
    margin-top: 0;
    cursor: pointer;
    outline: none!important;
    border: none!important;
	/*background: url('../images/player-slide-knob.png') no-repeat left top;*/
    background: none;
    color: transparent!important;
}

#slider-position .ui-slider-range-min,
.slider-custom .ui-slider-range-min {
    height:3px;
    width: 100%;
    position: absolute;
	/* MMoreno - Nudge slider down a bit */
	top: 0;
	background: url('../images/player-progress-slide-full.jpg') repeat-x left top;
	/*border-radius: 8px;*/
	background-size: 100% 100%;
}

.xplayer .slider-container:hover .ui-slider-range-min
{
    height: 5px;
    background: url('../images/player-progress-slide-full-hover.jpg') repeat-x left top;
}

.xplayer .slider-container:hover .ui-slider-handle {
    width: 15px;
    height: 15px;
    margin-left: -3px;
    top: -4px !important;
    background: url('../images/player-slide-knob-hover-red.png') no-repeat left top;
    z-index: 150;
}


#slider-volume,
.slider-volume-custom {
	position: relative;
	/*display: inline-block;*/
	display: none;
	left: 5px;
	margin-left: 0;
	margin-right: 0;
	top: 0;
	height: 15px;
	/* MMoreno - Reduced slider height */
	/* height: 2px; */
	/*changed to make volume slider wider width: 60px;*/
	width: 60px;
	background: url('../images/player-progress-slide-empty.jpg') repeat-x left top;
	/*border-radius: 8px;*/
	border: none !important;
	/* MMoreno - Added margin-bottom */
	/* Can't figure out how to make vertical-align: middle work */
	/* margin-bottom: 10px; */
}

#slider-volume .ui-slider-range-min,
.slider-volume-custom .ui-slider-range-min {
	/* MMoreno - Reduced slider height */
    /* height: 2px;			  */
    height:8px;
    width: 60px;
    position: absolute;
	background: url('../images/player-progress-slide-full.jpg') repeat-x left top;
	/*border-radius: 8px;*/
}

#slider-volume .ui-slider-handle,
.slider-volume-custom .ui-slider-handle {
    width: 10px;
    height:10px;
	/*background: url('../images/player-slide-knob.png') no-repeat left top;*/
    position: absolute;
    margin-left: 1px!important;
    top: -4px!important;
    cursor: pointer;
    outline: none!important;
    border: none!important;
    color: transparent!important;
    background: none!important;
}

#slider-volume .ui-slider-handle:hover,
.slider-volume-custom .ui-slider-handle:hover {
    width: 10px;
    height:10px;
	/*background: url('../images/player-slide-knob-hover.png') no-repeat left top;*/
}

.xplayer .slider-volume-position {
	/* moved from the code to make changes easier */
	display: inline-block;
	/*width: 95px;*/
	/* MMoreno - Changed vertical alignment to middle */
	/* vertical-align: middle;		 */
	vertical-align: bottom;
	margin-left: 3%;
	margin-right: 1%;
	margin-top: 0;
	white-space: nowrap;
	/* MMoreno - Added margin-bottom */
	/* Can't figure out how to make vertical-align: middle work */
	/* margin-bottom: 10px; */
}

.slider-volume-position:hover .slider-volume-custom {
	/*width: 95px;*/
	display: inline-block;
}


.xplayer a.ui-slider-handle {
	/*color: white;
	text-decoration: none;*/
}

#slider-playback-speed,
.slider-playback-speed-custom {
	position: relative;
	display: none;
	left: 5px;
	margin-left: 0;
	margin-right: 0;
	top: 0;
	height: 15px;
	width: 60px;
	background: url('../images/player-progress-slide-empty.jpg') repeat-x left top;
	background-color: transparent !important;
	border: none !important;
}


#slider-playback-speed .ui-slider-range-min, .slider-playback-speed-custom .ui-slider-range-min {
    height: 8px;
    width: 60px;
    position: absolute;
    background: url('../images/player-progress-slide-full.jpg') repeat-x left top;
}

#slider-playback-speed .ui-slider-handle,
.slider-playback-speed-custom .ui-slider-handle {
	position: absolute;
	margin-left: 0;
	margin-top: -18px;
	cursor: pointer;
	outline: none !important;
	color: lightgray;
	text-decoration: none !important;
	font-size: smaller;
    background-color: transparent!important;
    border: none!important;
    background: transparent!important;
}

#slider-playback-speed .ui-slider-handle:hover,
.slider-playback-speed-custom .ui-slider-handle:hover {
    color: white;
    background-color: transparent!important;
    border: none!important;
}

.xplayer .playback-speed-position {
	display: inline-block;
	/*width: 95px;*/
	vertical-align: top;
	margin-left: 3%;
	margin-right: 1%;
	margin-top: 0;
	white-space: nowrap;
	position: relative;
}

.xplayer .playback-speed-position-mobile {
	display: inline-block;
	/*width: 95px;*/
	vertical-align: top;
	margin-left: 3%;
	margin-right: 1%;
	margin-top: 0;
	white-space: nowrap;
}


.playback-speed-position:hover .slider-playback-speed-custom {
	display: inline-block;
	width: 95px;
}

.playback-speed-position-mobile .slider-playback-speed-custom {
	display: inline-block;
	width: 95px;
}

/*
.dropdown-playback-speed {
	display: none;
	vertical-align: top;
}


.dropdown-playback-speed select {
	margin-left: 10px;
	margin-top: 3px;
}

.playback-speed-position:hover .dropdown-playback-speed {
	display: inline-block;
}
*/

.dropdown-playback-speed {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

.xplayer .smil-button {
	background-color: transparent;
	color: lightgray;
	border: none;
	width: 25px;
	height: 25px;
	margin-top: 0;
	margin-left: 2%;
	margin-right: 0;
	cursor: pointer;
	outline: none !important;
}

.xplayer .smil-button-no-left-margin {
	background-color: transparent;
	color: lightgray;
	border: none;
	width: 25px;
	height: 25px;
	margin-top: 0;
	/*margin-left: 2%;*/
	margin-right: 0;
	cursor: pointer;
	outline: none !important;
}

.xplayer .smil-float-right-icon
{
    color: lightgray;
	float: right;
	position: relative;
	margin-top: 0;
	margin-right: 5%;
	border: 0;
	outline: none!important;
    cursor: pointer;
}

.xplayer .smil-button-icon
{
	background-color: transparent;
    color: lightgray;
	border: none;
	width: 25px;
	height: 25px;
	margin-top: 0;
	margin-left: 2%;
	margin-right: 0;
    cursor: default;
    outline: none!important;
}

.xplayer .smil-button-icon-not-clickable {
    background-color: transparent;
    color: lightgray;
    border: none;
    width: 25px;
    height: 25px;
    margin-top: 0;
    /*margin-left: 2%;*/
    margin-right: 0;
    cursor: default;
    outline: none !important;
}

.xplayer .smil-button.back { color: lightgray; }
.xplayer .smil-button.back:hover{ color: white; }

.xplayer .smil-button.play{ color: lightgray; }
.xplayer .smil-button.play:hover{ color: white; }

.xplayer .smil-button.pause{ color: lightgray; }
.xplayer .smil-button.pause:hover{ color: white; }

.xplayer .smil-button.forward { color: lightgray; }
.xplayer .smil-button.forward:hover { color: white; }

.xplayer .smil-float-right-icon.playbackspeed{ color: lightgray; }
.xplayer .smil-float-right-icon.playbackspeed:hover{ color: white; }

.xplayer .smil-float-right-icon.fullscreen { color: lightgray; }
.xplayer .smil-float-right-icon.fullscreen:hover{ color: white; }

.xplayer .smil-button-icon-not-clickable.volume { color: lightgray; }
.xplayer .smil-button-icon-not-clickable.volume:hover {color: lightgray;}

.xplayer .smil-button-icon-not-clickable.playbackspeed { color: lightgray; }
.xplayer .smil-button-icon-not-clickable.playbackspeed:hover { color: lightgray; }

.xplayer .player-spacing
{
	margin-top: 0;
	margin-left: 0;
	width: 0;
	border: none;
	outline: none!important;
	z-index:10;
}

.xplayer .playerlogos
{
	display: table-cell;
	float: right;
	position: relative;
	margin-top: -10px;
	margin-left: 2%;
	margin-right: 2%;
	border: 0;
	outline: 0;
	vertical-align: center;
	z-index:9;
}

.xplayer .xplayer-logo-layout
{
	display: inline;
	font-style: normal;
	font-weight: bold;
	font-family: "Times New Roman", Georgia, Serif;
	color: #0076bf;
	text-align: right;
	text-decoration: none;
	border: 0px;
	white-space: nowrap;

}

.xplayer .xplayer-logo-text-X
{
	font-size: 35px;
}

.xplayer .xplayer-logo-text-enos
{
	font-size: 30px;
	vertical-align: top;
}

.xplayer .xplayer-logo-layout:hover
{
	color: #0084d6;
}

.xplayer .shadow5
{
  text-shadow: 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white;
}

.xplayer .shadow10
{
  text-shadow: 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white;
  opacity: 0.75;
}

.xplayer .shadow20
{
  text-shadow: 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white, 0 0 4px white;
  opacity: 0.7;
}
