:root {
	--colbackground: #01346b;
	--colselection: #c5d8ef;
	--colbody: #313131;
	--colplaceholder: #ccc;
	--maxheight: 90px;
}

html, body {
	/*background-color: #012750;*/
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	outline: none;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/** audio player styles **/
.audio-player {
	position: relative;
	max-width: 100%;
	height: 90px;
	margin: 0 auto;
	background: var(--colbackground);
	background: -webkit-linear-gradient(top, #01346b 0%, #002c5c 100%);
	background: -moz-linear-gradient(top, #01346b 0%, #002c5c 100%);
	background: -o-linear-gradient(top, #01346b 0%, #002c5c 100%);
	background: -ms-linear-gradient(top, #01346b 0%, #002c5c 100%);
	background: linear-gradient(top, #01346b 0%, #002c5c 100%);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border: 3px solid black;
}

#dj-pic {
	border-radius: 10px;
	height: var(--maxheight);
	width: var(--maxheight);
}

#divonair {
	display: inline-block; 
	position: absolute;
	left: 174px;
	height: 30px;
	top: 10px;
	width: calc(100% - 200px);
	margin: 0 auto;
	text-overflow:ellipsis;
	white-space: nowrap;
	overflow: hidden;
	/*border: 1px solid yellow;*/
}

#divonair h2 {
	display: inline-block; 
	position: relative;
	margin: 0;
	padding: .1em 0;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 20px;
	color: #ececec;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
	text-align: left;
	white-space: nowrap;
	overflow: hidden;
}

#divsongtext {
	display: inline-block;
	visibility: hidden;
	position: absolute;
	border-left: 5px;
	/*max-width: 100vw; /* iOS braucht das */
	background-color: #2a2a2a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow:ellipsis;
	/*width: calc(100% - 50px);*/
	border: solid #2a2a2a; /*damit der Block auch bei Überlänge angezeigt wird*/
}

#divsongtext span {
	display: inline-block;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 20px;
	color: #ececec;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
	padding-left: 105%; /* die zusätzlichen 5% erzeugen einen verzögerten Start und vermeiden so ein Ruckeln auf langsamen Seiten */
	animation: marquee 10s linear infinite;
	white-space: nowrap;
	overflow: hidden;
	/*border: 1px solid blue;*/
}

/* Make it move */
@keyframes marquee {
	0%   { transform: translateX(0); }
	100% { transform: translateX(-100%); }
}


/* play/pause control */
.mejs-controls .mejs-button button {
	cursor: pointer;
	display: block;
	position: absolute;
	text-indent: -9999px;
	border: none;
}

.mejs-controls .mejs-play button, .mejs-controls .mejs-pause button {
	width: 50px;
	height: 34px;
	top: 25px;
	left: 118px;
	background: transparent url('playpauseblue.png') 0 0 no-repeat;
}
.mejs-controls .mejs-pause button { background-position: 0 -35px; }
 
 
/* mute/unmute control */
.mejs-controls .mejs-mute button, .mejs-controls .mejs-unmute button {
	width: 18px;
	height: 19px;
	top: 51px;
	right: 142px;
	background: transparent url('audio.png') 0 0;
}
.mejs-controls .mejs-unmute button { background-position: 0 -19px; }


/* volume scrubber bar */
.mejs-controls div.mejs-horizontal-volume-slider {
	position: absolute;
	top: 55px;
	right: 15px;
	cursor: pointer;
}

.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
	width: 110px;
	height: 11px;
	background: #0368d5;
	-webkit-box-shadow: inset 0px 1px 0px rgba(0,0,0,0.3), 0px 1px 0px rgba(255,255,255,0.25);
	-moz-box-shadow: inset 0px 1px 0px rgba(0,0,0,0.3), 0px 1px 0px rgba(255,255,255,0.25);
	box-shadow: inset 0px 1px 0px rgba(0,0,0,0.3), 0px 1px 0px rgba(255,255,255,0.25);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	position: absolute;
	width: 0;
	height: 9px;
	top: 1px;
	left: 1px;
	background: #015a44;
	background: -webkit-linear-gradient(top, #0368d5 0%, #000000 100%);
	background: -moz-linear-gradient(top, #0368d5 0%, #000000 100%);
	background: -o-linear-gradient(top, #0368d5 0%, #000000 100%);
	background: -ms-linear-gradient(top, #0368d5 0%, #000000 100%);
	background: linear-gradient(top, #015a44 0%, #000000 100%);
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}


/* time scrubber bar */
.mejs-controls div.mejs-time-rail { width: 100%; }
 
.mejs-controls .mejs-time-rail span {
	position: absolute;
	display: block;
	width: 100%;
	height: 12px;
	top: 55px;
	left: 174px;
	cursor: pointer;
	-webkit-border-radius: 0px 0px 2px 2px;
	-moz-border-radius: 0px 0px 2px 2px;
	border-radius: 0px 0px 2px 2px;
}
 
.mejs-controls .mejs-time-rail .mejs-time-total { 
	background: #565860;  
	width:  calc(100% - 400px) !important;  /*fixes display bug using jQuery 1.8+ */
	left: 174px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

.mejs-controls .mejs-time-rail .mejs-time-loaded {
	top: 0;
	left: 0;
	width: 0;
	background: #7b7d82;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.mejs-controls .mejs-time-rail .mejs-time-current {
	top: 0;
	left: 0;
	width: 0;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background: #015a44;
	background: -webkit-linear-gradient(top, #015a44 0%, #63bbb6 100%);
	background: -moz-linear-gradient(top, #015a44 0%, #63bbb6 100%);
	background: -o-linear-gradient(top, #015a44 0%, #63bbb6 100%);
	background: -ms-linear-gradient(top, #015a44 0%, #63bbb6 100%);
	background: linear-gradient(top, #015a44 0%, #63bbb6 100%);
}

/* metallic sliders */
.mejs-controls .mejs-time-rail .mejs-time-handle {
	position: absolute;
	display: block;
	width: 20px;
	height: 22px;
	top: -6px;
	background: url('handle-lg.png') no-repeat;
}
.mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-handle {
	position: absolute;
	display: block;
	width: 12px;
	height: 14px;
	top: -1px;
	background: url('handle-sm.png') no-repeat;
}


/* time progress tooltip */
.mejs-controls .mejs-time-rail .mejs-time-float {
	position: absolute;
	display: none;
	width: 33px;
	height: 23px;
	top: -26px;
	margin-left: -17px;
	z-index: 9999;
	background: url('time-box.png');
}
 
.mejs-controls .mejs-time-rail .mejs-time-float-current {
	width: 33px;
	display: block;
	left: 0;
	top: 4px;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-size: 10px;
	font-weight: bold;
	color: #666;
	text-align: center;
	z-index: 9999;
}



@media ( max-width: 720px ) {  /** wenn Bildschirm zu klein, dann blende OnAir aus **/
	#divonair {
		height: 60px;
	}
	
	#divonair h2 { 
		/*display: none;*/
		position: absolute;
		font-size: 12px;
		top: 42px;
	}
	
	#divsongtext {
		padding-top: 5px;
		padding-left: 20px;
	}
	
	#divsongtext span {
		font-size: 12px;
		padding-bottom: 3px;
	}
	
	.mejs-controls div.mejs-time-rail {
		display: none;
	}
}

/** clearfix **/
.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix { display: inline-block; }
 
html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }