/*
Colors used:

#272727 bg
#cfcfcf text

#2f2f2f item-bg
#3f3f3f unfold-bg
#1b1b1b item-more-bg
#9f9f9f item-more

#9892e7 sel-item-bg
#1f1f1f sel-item
#7f7ad2 sel-unfold-bg
#16141d sel-item-more-bg
#9c97bb sel-item-more

#171717 player-bg
#cfcfcf player-text
#32325e playbar-bg
#9892e7 playbar-progress
*/

* {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important; 
    -webkit-focus-ring-color: rgba(255, 255, 255, 0) !important; 
    outline: none !important;
}

body {
	margin: 0;
	padding: 0 0 56px 0;
	background-color: #272727;
	color: #cfcfcf;
	font-family: Tahoma, sans-serif;
}

div#container {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 8px;
	text-align: left;
}

h1#header {
	text-align: center;
	font-family: monospace;
	margin-bottom: 26px;
}

h2#plHeader {
	font-family: monospace;
}


a, a:visited {
	text-decoration: none;
	color: #9892e7;
}

.plSel a, .plSel a:visited {
	color: #d8d6f7;
}

a:hover {
	text-decoration: underline;
}

.plSort {
	text-align: right;
}

.plUL {
	list-style: none;
	margin: 0 0 48px 0;
	padding: 2px 0 0 0;
}

.plItem {
	line-height: 22px;
	border: 1px solid #232323;
	border-radius: 4px;
	margin: 4px 0;
	background-color: #1b1b1b;
}

.plItemLine {
	background-color: #2f2f2f;
	border-radius: 3px;
	padding: 1px 0;
	cursor: pointer;
	font-family: monospace;
	font-size: 1.1em;
	display: flex;
}

.plItemLine:hover {
	font-weight: bold;
}

button.plUnfold {
	border: none;
	border-radius: 4px;
	background: transparent;
	padding: 0;
	cursor: pointer;
	color: inherit;
	font: inherit;

	position: absolute;
	text-align: center;
	width: 20px;
	line-height: 20px;
	margin: 1px 4px;
	font-family: sans-serif;
	font-size: .7em;
}

button.plUnfold:hover {
	background-color: #3f3f3f;
}

.plSel button.plUnfold:hover {
	background-color: #7f7ad2;
}

button.plButton {
	width: 100%;
	margin-left: 30px;

	border: none;
	background: transparent;
	padding: 0;
	cursor: pointer;
	text-align: inherit;
	color: inherit;
	font: inherit;
}

.plItemInfo {
	display: flex;
}

.plTitle {
	flex: 1;
	width: 100%;

/*	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;*/
}

.plDate {
	text-align: right;
	height: 22px;
	margin-right: 8px;
	font-size: 0.75em;
	vertical-align: baseline;
}

.plItemMore {
	display: none;
	margin: 0 10px 4px 13px;
	padding-left: 14px;
	border-left: 1px solid #373737;
	font-size: 0.84em;
	color: #9f9f9f;
}

.plSel .plItemMore {
	border-left: 1px solid #333148;
}

.plDescription {
	padding-top: 5px;
}

.plSamples {
/*	color: #bfbfbf;*/
	font-weight: bold;
	font-size: 0.92em;
	padding-top: 3px;
}

.plSampleList {
	list-style-type: disc;
	padding-left: 16px;
	font-size: 0.92em;
}

.plSel .plItemLine, .plSel:hover .plItemLine {
/*	font-size: 1.25em; */
	font-weight: bold;
	cursor: default !important;
	background-color: #9892e7;
	color: #1f1f1f;
}

.plSel .plItem {
	background-color: #16141d;
}

.plSel .plItemMore {
	color: #847fa4;
	color: #9c97bb;
}


#music-player {
	background-color: #171717;
	padding: 8px 0;
	width: 100%;

	/* Stick the player to the bottom of the page */
	position: fixed;
	bottom: 0;
	z-index: 999;
}

.inner {
	display: flex;
	position: relative;

	max-width: 700px;
	padding: 0 20px;
	margin: 0 auto;
}

.controls {
	width: 130px;
	float: left;
	display: flex;
	justify-content: flex-start;
	vertical-align: middle;
}

.play-bar {
	height: 35px;
	float: left;
	margin-right: 30px;
	display: flex;
	justify-content: flex-start;
	flex: 1;
}

.controls button {
	cursor: pointer;
	border: none;
	background: transparent;
	align-self: center;
	text-align: center;
	margin: 0;
	padding: 0;
	height: 32px;
}
.controls .previous {
	text-align: center;
	margin-right: 12px;
	width: 24px;
}
.controls .play, .controls .pause {
	margin-right: 12px;
	width: 32px;
}
.controls .next {
	margin-right: 23px;
	width: 24px;
}

.play-bar span { /* Text properties of the numbers */
	color: #cfcfcf;
	font-size: .8em;
	font-weight: bold;
	align-self: center;
}
.play-bar .bar-bg {
	background-color: #32325e;
	width: 100%;
	height: 12px;
	border-radius: 4px;
	align-self: center;
	margin: 0 5px;
}
.play-bar .bar-bg .progress {
	background-color: #9892e7;
	height: 10px;
	margin: 1px 1px;
	border-radius: 4px;
	width: 0%;
}

.song-content {
	min-width: 200px;
	max-width: 260px;

	height: 35px;
	float: left;
	display: flex;
	justify-content: flex-start;
}
.song-content .song-info {
	padding: 0;
	align-self: center;
	text-align: left;

	color: #cfcfcf;
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

div.footer {
	margin: 0 0 8px 0;
	font-size: 12px;
	color: #9f9f9f;
	text-align: center;
}

@media only screen and (max-width: 640px) {
	/* Media query uses this code at 640px and under */

	body {
		padding-bottom: 64px;
	}

	#music-player .song-content {
		width: auto;
	}
	#music-player .play-bar {
		position: absolute;
		left: 0;
		top: -22px;
		z-index: 999;
		width: 100%;
		display: block;
	}
	.inner {
		background-color: revert;
		border-radius: 0;
		padding: 0px 20px;
	}

	.song-content {
		max-width: inherit;
	}

	#music-player .play-bar .bar-bg {
		margin: 0;
		border-radius: 0;
		height: 16px;
	}
	#music-player .play-bar .bar-bg .progress {
		margin: 0;
		border-radius: 0;
		height: 16px;
	}
	#music-player .play-bar span {
		display: none; /* hide the time stamps */
	}
}
