/*	Global reset   */

body, html{
	height: 100%;
}

*{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}


/*	App flex lyra-player	*/

#lyra-player{
	height:100%;
	background-color: #fff;
	/*display: -webkit-flex;
	display: flex;*/
	display: block;
	/*-webkit-flex-direction: column;
	flex-direction: column;*/
	font: bold 15px sans-serif;
	overflow: hidden;
}


/*---------------------------
	Cover Art Section
----------------------------*/

#cover-art{
	/*display: -webkit-flex;
	display: flex;*/
	display: block;
	/*-webkit-flex: 1 auto;
	flex: 1 auto;*/
	height: 100%;
	position: relative;
	overflow: hidden;
	pointer-events: none;
}

#cover-art-big{
	/*-webkit-flex: 1;
	flex: 1;*/
	height: 100%;
	background-color: #26292C;
	background-size: cover;
	-webkit-filter: blur(7px);
	margin: -12px ;
}

#cover-art-small{
	position: absolute;
	width: 500px;
	height: 500px;
	top: -10%;
	left: 0;
	right: 0;
	bottom: 0;
	/*margin: -250px auto auto -250px;*/
	margin: auto;
	border-radius: 2px;
}


/*---------------------------
	Player Control Bar
----------------------------*/

#control-bar{
	/*display: -webkit-flex;
	display: flex;*/
	display: block;
	height: 60px;
	color: #3D464A;
	text-align: left;
	position: relative;
	z-index: 10;
}

#lyra-player.disabled #control-bar{
	pointer-events: none;
}

.player-control{
	/*-webkit-flex: 2;
	flex:2;*/
	width: 40%;
	float: left;
	/*display: -webkit-flex;
	display: flex;*/
	display: block;
	height: 100%;
}

.player-control div{
	/*-webkit-flex: 1;
	flex: 1;*/
	width: 14.285714%;
	float: left;
	background-color: #fff;
	text-align: center;
	line-height: 60px;
	height: 100%;
	cursor: pointer;
	transition: background-color 0.2s linear;
}

.player-control div:hover {
	background-color: #DDD;
}

#lyra-player.disabled .player-control div{
	color: #758389;
}

#shuffle-button,
#repeat-button{
	line-height: 60px;
	color: #758389;
	position: relative;
}

#shuffle-button.active,
#repeat-button.active{
	line-height: 60px;
	color: #000;
}

#repeat-button i span{
	display: none;
	position: absolute;
	font: bold 12px sans-serif;
	color: rgb(71, 91, 118);
	top: 6px;
	left: 13px;
}

/*---------------------------
		Playlist
---------------------------*/

#playlist {
	position: relative;
	/*display: -webkit-flex;
	display: flex;*/
	display: block;
	width: 60%;
	height: 100%;
	float: left;
	/*-webkit-flex: 3;
	flex: 3;*/
	text-align: left;
}

/*	Currently playing track details	*/

#track-details{
	position: relative;
	/*-webkit-flex: 1;
	flex:1;*/
	width: 100%;
	height: 100%;
	/*display: -webkit-flex;
	display: flex;*/
	display: block;
	z-index: 20;
	background-color: #fff;
	padding: 0 2.5% 0 2.5%;
	cursor: pointer;
	white-space: nowrap;
}


#track-details > i{
	line-height: 60px;
	margin-right: 1.25%;
	height: 100%;
	float: left;
}

#lyra-player.disabled #track-details{
	color:#758389;
}

#lyra-player.disabled #track-details > i{
	display: none;
}

#track-desc{
	line-height: 60px;
	/*-webkit-flex: 6;
	flex: 6;*/
	width: 80%;
	height: 100%;
	float: left;
	overflow: hidden;
	text-overflow: ellipsis;
	pointer-events: none;
	padding-right: 1.25%;
	font-weight: normal;
}

#track-details #track-time{
	line-height: 60px;
	/*-webkit-flex: 1;
	flex: 1;*/
	width: 80px;
	height: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	pointer-events: none;
}

/*	Expanding Playlist Bar */

#expand-bar{
	position: absolute;
	z-index: 10;
	left:0;
	top:0;
	width: 100%;
	background-color: #fff;
	color: #222;
	cursor: default;
	transition: height 0.4s, box-shadow 0.2s;
	height:100vh;
	box-shadow: -1px 0 2px 1px rgba(0, 0, 0, 0.15);
}

#expand-bar.hidden{
	height:0;
	box-shadow: none;
}


/*	Playlist */

#list{
	position: absolute;
	left:0;
	top:55px;
	bottom:60px;
	list-style: none;
	width: 100%;
	overflow-y: auto;
	overflow-x: hidden;
}


/*#list li:nth-child(even){
	background-color: #F8F7F9;
}*/

.track{
	padding: 18px;
	cursor: pointer;
	overflow: hidden;
	color: #3D464A;
	position: relative;
	transition: background-color 0.2s;
}

.track:hover {
	background-color: #DDD;
}

.track.active{
	background-color: #DBE0E4!important;
}

.track p.title{
	font-size: 18px;
	margin-top: 14px;
	margin-bottom: 4px;
	font-weight:bold;
}

.track p.artist{
	font-weight: normal;
}

.track div:first-child{
	position: relative;
	width: 70px;
	height: 70px;
	margin-right: 25px;
	float: left;
}

.track .overlay{
	position: absolute;
	left:0;
	top:0;
	width:100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	transition: 0.4s;
	opacity: 0;
	border-radius: 3px;
}

.track.active .overlay{
	opacity: 1;
}

.track div img{
	width: 100%;
	border-radius: 3px;
}

.track span i{
	color: #fff;
	font-size: 22px;
	line-height: 70px;
	left: 28px;
	position: absolute;
	transition: 0.4s;
	opacity: 0;
}

.track .remove-track{
	position: absolute;
	font-size: 22px;
	top: 12px;
	right: 18px;
	color: rgb(121, 121, 121);
	display: block;
}

.track.active span i{
	opacity: 1;
}

/*---------------------------
		Media queries
---------------------------*/

@media screen and (max-width: 1023px){

	#control-bar {
		height: 120px;
	}

	.player-control{
		width: 100%;
		height: 50%;
	}

	#playlist {
		width: 100%;
		height: 50%;
	}

	#expand-bar{
		padding-top: 60px;
		bottom:60px;
	}

	#expand-bar.hidden{
		padding-top: 0;
	}
}

@media screen and (max-width: 767px) {

	#cover-art-small {
		width: 250px;
		height: 250px;
		top: -30%;
	}
}

@media screen and (max-width: 480px) {

	#track-desc {
		width: 65%;
	}

}
