/* pianod web client - communication class
   Copr. 2013 Perette Barella/Devious Fish
   All rights reserved.
*/

/* Default/general setup */
html, body {
	font-family: sans-serif;
	line-height: 1.3;
}

.idle, .playing {
	display: none;
}
a.disabled,
a[href=''] {
	text-decoration: none;
}
a.disabled {
	opacity: 0.3;
	text-decoration: none;
	pointer-events: none;
}
.button {
        padding: 0.2ex 0.5ex;
        margin: 0 1px;
        border: thin solid #888;
        background: #ccc;
        border-radius: 0.8ex;
        cursor: pointer;
        color: black;
}
#here {
	display: none;
}
input.server {
	display: block;
}
#skip, #actions {
	float: right;
}
#actions ul {
	margin: 0;
	padding-left: 2ex;
}
#actions li {
	list-style-type: none;
	font-size: 80%;
}
#actions a:hover {
	color: blue;
}

#columntoggles {
	float: right;
	background: #ccc;
	border-left: 1px solid black;
	padding: 2.5em 0.5ex 0 0;
	margin-right: 0.5ex;
	height: 21.5em;
}
#columntoggles li {
	list-style-type: none;
}

#player {
	border: thick solid #ccc;
	background: #ccc;
	float: right;
	width: 225px;
	margin-bottom: 1ex;
}
.value {
}

#albumcover {
	position: relative;
}
#albumart {
	max-width: 225px;
	background: black;
	height: auto;
}
#artistname, #albumname, #songplaylist {
	display: none;
}
.playbackstatus {
	background: rgba(0,0,0,.80);
	color: white;
	display: none;
	position: absolute;
	width: 60%;
	right: 20%;
	top: 10px;
	padding: 1ex;
	border-radius: 1ex;
	text-align: center;
}
.playbackstatus span {
}

#trackname {
	font-style: italic;
}

#duration {
	display: block;
	float: right;
}
#statusbar { /* The background of the progress bar */
	position: absolute;
	background: #444;
	left: 20%;
	bottom: -12px;
	width: 60%;
	height: 5px;
}
#statusbar .time {
	font-size: 70%;
}
#progressbar { /* The progress of the status bar */
	height: 5px;
	background: #A4F;
}

#statuspane, #commandpane {
	padding: 0.5ex;
	background: #ccc;
}
.password {
	background: #feb;
}
#commandpane {
	height:24em;
	overflow: scroll;
}
#statuspane {
	margin-top:0.5ex;
	max-height:12em;
	overflow-y: scroll;
}

#commandinput span {
	font-weight: bold;
}
#statuspane {
	clear: right;
}

@media print {
	#player, #actions, input {
		display: none !important;
	}
	#commandpane, #statuspane {
		overflow: visible;
		overflow-y: visible;
		max-height: none;
		height: auto;
	}
}

