html {
	background-color: black;
}

body {
	max-width: 960px;
	margin: auto;
	color:white;
	font-family: "Verdana", Helvetica, sans-serif;
	font-size: 12pt;
	display: flex;
	background-color: #1F1F1F;
	flex-direction: column;
	justify-content: space-between;

	
}

#pane-select-buttons > div:hover {
	cursor: pointer;
}

#pane-select-buttons > div {
	padding: 15px;
}



.top-pane {
	top: 0;
/*	margin-bottom: 100px;*/
	max-width: 960px;
	width: 100%;
	overflow-y: auto;
	display:flex;
}

.panel {
	flex: 1;
	border-radius: 5px;
}

.pane {
	margin:5px;
}

.pane-title {
	text-align: center;
	padding : 5px;
}

.control-line {
	display:flex;
	margin:10px;
}

.items_list {
	margin:5px;
	border-radius: 5px;
	background-color:#333333; 
	height: calc(100vh - 270px);
	overflow-y:auto; 
}

.list_item{
	display: flex;
	justify-content: space-between;
	align-content: center;

}

.list_item:hover {
	background-color: #444444;
}

.list-item-name {
	flex: 1;
	margin: 5px;
	max-width: calc(45vw - 35px);
	overflow:hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.list-item-name:hover {
	cursor:pointer;
}


.bottom-pane {
/*	position: fixed;
	bottom: 0;*/
	margin:5px;
	border-radius: 5px;
	height: 110px;
	max-width: 960px;
	background-color: #333333;
}

#play-button {
	background-image: url('img/wh-play-50.png');
}
#play-button:hover {
	background-image: url('img/bk-play-50.png');
}

#next-button {
	background-image: url('img/wh-fast-forward-50.png');
}
#next-button:hover {
	background-image: url('img/bk-fast-forward-50.png');
}

#prev-button {
	background-image: url('img/wh-rewind-50.png');
}
#prev-button:hover {
	background-image: url('img/bk-rewind-50.png');
}

#shuffle-button {
	background-image: url('img/wh-shuffle-50.png');
}
#shuffle-button:hover {
	background-image: url('img/bk-shuffle-50.png');
}

#shuffle-button-on {
	background-image: url('img/bk-shuffle-50.png');
}
#shuffle-butto-on:hover {
	background-image: url('img/wh-shuffle-50.png');
}

#repeat-button {
	background-image: url('img/wh-repeat-50.png');
}
#repeat-button:hover {
	background-image: url('img/bk-repeat-50.png');
}

#repeat-button-on {
	background-image: url('img/bk-repeat-50.png');
}
#repeat-button-on:hover {
	background-image: url('img/bk-repeat-50.png');
}
#pause-button {
	background-image: url('img/wh-pause-50.png');
}
#pause-button:hover {
	background-image: url('img/bk-pause-50.png');
}


.small_button {
	margin: 1px;
	background-color: #444444;
	background-size: 60%;
	background-repeat: no-repeat;
	background-position: center center;
	border: none;
	border-radius: 5px;
	width: 50px;
	height: 30px;
	color: white;
	cursor: pointer;
}

.small_button:hover {
	background-color: #999999;
	color: black;
}

.highlight_small_button {
	margin: 1px;
	background-color: #FFFFFF;
	background-size: 60%;
	background-repeat: no-repeat;
	background-position: center center;
	border: none;
	border-radius: 5px;
	width: 50px;
	height: 30px;
	color: #333333;
	cursor: pointer;
}

#new-button {
	background-image: url('img/wh-add-file-50.png');
}
#new-button:hover {
	background-image: url('img/bk-add-file-50.png');
}

#rename-button {
	background-image: url('img/wh-rename-50.png');
}
#rename-button:hover {
	background-image: url('img/bk-rename-50.png');
}

#clear-button {
	background-image: url('img/wh-broom-50.png');
}
#clear-button:hover {
	background-image: url('img/bk-broom-50.png');
}

#delete-button {
	background-image: url('img/wh-trash-50.png');
}
#delete-button:hover {
	background-image: url('img/bk-trash-50.png');
}

#up-button {
	background-image: url('img/wh-double-up-50.png');
}
#up-button:hover {
	background-image: url('img/bk-double-up-50.png');
}

#back-button {
	background-image: url('img/wh-double-left-50.png');
}
#back-button:hover {
	background-image: url('img/bk-double-left-50.png');
}

#forward-button {
	background-image: url('img/wh-double-right-50.png');
}
#forward-button:hover {
	background-image: url('img/bk-double-right-50.png');
}

#home-button {
	background-image: url('img/wh-home-50.png');
}
#home-button:hover {
	background-image: url('img/bk-home-50.png');
}


.playlist_button {
	background-color: #333333;
	background-size: 40%;
	background-repeat: no-repeat;
	background-position: center center;
	border: none;
	border-radius: 5px;
	width: 50px;
	height: 30px;
	cursor: pointer;
}

.playlist_button:hover {
	background-color: gray;
}

.track_button {
	background-color: transparent;
	border: none;
	border-radius: 10px;
	width: 30px;
	height: 25px;
	color: white;
	cursor: pointer;
}

.track_button:hover {
	background-color: white;
	color: black;
}

select {
	background-color: #333333;
	border: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: 5px;
	height: 30px;
	color: white;
	cursor: pointer;
}

.item_playing{
	color: yellow;
	font-weight: bold;
}


@media only screen and (min-width:960px){
.list-item-name {
	max-width: 420px;
}
}

@media only screen and (max-width:500px){
.list-item-name {
	max-width: calc(90vw - 40px);
}
