body.player-on{
	overflow:hidden;
}


body.player-off #p-m{ display: block }
body.player-off #player{display: none;}
body.player-on #p-m{display:none;}	

#download {
	position: absolute;
	left: 0;
	bottom: 100px;
	z-index: 4;
	text-decoration: none;
	color: limegreen;
	font-size: 12px;
	padding: 5px 10px;
	background: rgba(0,0,0,0.85);
	width: 100%;
	text-align: center;
	text-transform: uppercase;
}
#download:hover{color: white}
#p-m{
	box-shadow: 0px -5px 5px rgba(0,0,0,0.5);
	border-top:1px solid #111;
	background:-webkit-linear-gradient(45deg, rgb(40, 40, 40), rgb(133, 133, 133));
	position: fixed;
	left:0;
	bottom:0;
	width:100%;
	z-index: 999;
	padding:15px 0;
}
#p-m .c{	
	width:210px;
	max-width:100%;
	position:relative;
	height:45px; 
	margin: auto;
}
#p-m .c #play-pause{
	height: 25px;
	width: 25px;
	left:50%;
	margin-left:-15px;
	bottom:auto;
	top:0;
}

#p-m .c .song-title{
	width: 100%;
	color: #FFF;
	left:0;
	font-size: 12px;
	text-align: center;
	bottom:0;
}

#p-m #next-song, #p-m #previous-song {
	background:none;
	top:0;
	width:25px;
	height:25px;
    left: auto;
    right: auto;
    left: 50%;
	margin-left:30px;
	text-align: center;
	color: #fff;
	filter: invert(0);
}

#p-m .open{
	color: #0FF;
	position: absolute;
	right: 15px;
	line-height: 1em;
	top:30px;
	text-align: center;
	cursor: pointer;
}


#p-m #next-song:hover, #p-m #previous-song:hover{
	color: #0FF;
}
#p-m .c #play-pause:hover, #p-m .open:hover{
	opacity:0.9;
}



#p-m .open::before, #p-m #next-song::before, #p-m #previous-song::before {
    content: '\f104';
    position: absolute;
    font-family: xcon;
    font-size: 16px;
	line-height:25px;     
	width: 100%;
	text-align: center;
	top:0;
	left:0;
}
#p-m .open::before{
	top:-25px;
	transform: rotate(90deg);
}

#p-m #previous-song {
    left: 50%;
	margin-left:-61px;
}

#p-m #next-song::before{
-webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

body.player-on #player{	
	background: black;
	position: fixed;
	left:0;
	bottom:0;
	width:100%;
	z-index: 999;
	height: 100px;
	top:0;
	height:100%;
	bottom: auto;	
	display: block;
}

#player .close{
	width:30px;
	height:30px;
	line-height:30px;
	text-align: center;
	font-size:16px;
	color: white;
	position: absolute;
	top: 15px;
	right:15px;
	backround: rgba(0,0,0,0.8);
	border: 1px solid #666;
	cursor: pointer;
	display:none;
}

body.player-on #player .close{
	display:block;
}


#background {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    filter: blur(10px);
    z-index: -1;
	opacity:0.5;
	max-width:none;
	width:auto;
}

/* container for music player */
.container2 {
    position: absolute;
    height: 175pt;
    width: 250pt;
    margin: 60px auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000000;
    border-radius: 10px;
    box-shadow: 0 0 10px #000000;
}

#ML{
	position: absolute;
	width: 248pt;
    margin: 285px 0 0 -125pt;	
	background: rgba(0,0,0,0.8);
	height: 300px;
	left:50%;
	border: 1px solid #666;
	overflow-y: auto;
	border-radius: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	color: white;
	padding-bottom:15px;
	padding-top:10px;
}
#ML .item{
	cursor: pointer;
	margin:15px;
	line-height: 1em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-bottom:15px;
	border-bottom: 1px solid #666;
	color: #999;
}
#ML .item.on{
	color: #0FF;;
}


#ML .item:last-child{
	border:none;
	padding-bottom:0;
	
}


/* container for play, pause, previous track, next track, and progress bar  */
.box2 {
    position: absolute;
    height: 60%;
    width: 103%;
    background: -webkit-linear-gradient(45deg, rgb(40, 40, 40), rgb(133, 133, 133));
    z-index: 4;
    bottom: -17%;
}

/* album cover */
#thumbnail {
    position: absolute;
    width: 103%;
    top: 0;
    transition: 1s;
    z-index: 3;
}

/* track artist */
.song-artist {
    position: absolute;
    z-index: 4;
    color: #0FF;
  
    font-weight: bold;
    font-size: 20px;
    bottom: 26%;
    left: 28%;
    line-height: 1em;
}

/* track title */
.song-title {
    position: absolute;
    z-index: 4;
    color: white;    
    font-size: 17px;
    bottom: 17%;
    left: 28%;

line-height: 1em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 230px;
}

/* style for play and pause images */
#play-pause {
    position: absolute;
    height: 50px;
    width: 50px;
    filter: invert(1);
    cursor: pointer;
    bottom: 15%;
    z-index: 4;
    font-size: 53px;
    left: 6%;
}

/* style for next and previous song images */
#next-song, #previous-song {
    position: absolute;
    height: 30px;
    width: 30px;
    
    cursor: pointer;
    bottom: 13.5%;
    font-size: 40px;
    z-index: 4;
	background: rgba(255,255,255,0.9);
	border-radius: 50%;
	filter: invert(1);
}

#next-song img, #previous-song img{
	width:100%;
	vertical-align: top;
}

/* unique style for next song image */
#next-song {
    right: 15px;
	bottom: auto;
	top: 15%;
}

/* unique style for previous song image */
#previous-song {
   right: auto;
   left: 15px;
   bottom: auto;
   top: 15%;
}

/* style for current time of the track */
.currentTime {
    position: absolute;        
   bottom: 6px;
    left: 15px;
    z-index: 4;     
    font-size: 13px;
    color: white;
    align-items: center;
}

/* style for the total length of the track */
.durationTime {
    position: absolute;    

    bottom: 6px;
    right: 15px;
    z-index: 4;
    
    font-size: 13px;
    align-items: center;
    color: #0FF;
}

/* style for the progress bar */
#progress-bar {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    z-index: 4;
    height: 5px;
    background: #000000;
    width: 160pt;
    bottom: 5%;
    border-radius: 30px;
    left: 17%;
}

/* style for the progress bar's slider thumb */
#progress-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    margin-top: -3px;
    margin-left: 0px;
    height: 10px;
    width: 7px;
    border: 0;
    background: -webkit-linear-gradient(45deg,  rgb(255, 255, 255), rgb(255, 255, 255));
    border-radius: 30px;
    cursor: pointer;
}

/* style for the progress bar's runnable track */
#progress-bar::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    max-height: 5px;
    border-radius: 30px;
}

/* style to remove blue shade of the progress bar when clicked on/selected */
#progress-bar:focus {
    outline: none;
}