/* HTML5 ✰ Boilerplate
 * ==|== normalize ==========================================================
 */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 13px; line-height: 1.231; }
body { font-family: sans-serif; color: #222; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* ===================================================
    Initializr styles
    http://verekia.com/initializr/responsive-template
    Author: Jonathan Verrecchia
   =================================================== */

body{ font:12px/18px sans-serif; }

.wrapper{
	width:90%;
	margin:0 5%;
}

/* ===================
    ALL: Theme
   =================== */

#header-container{ border-bottom: 20px solid darkgreen; }
#footer-container{ border-top:    20px solid darkgreen; }

#header-container,
#footer-container{
	background:green;
}

#header-container a,
#footer-container a{
	color: yellow !important;
}




#title, #title a{ color:white; }

::-moz-selection { background: #f16529; color: #fff; text-shadow: none; }
::selection      { background: #f16529; color: #fff; text-shadow: none; }

#submenu li {
	display:inline-block;
}

#submenu li.active {
	font-weight:bold;
}

.pagination li {
	display:inline-block;
}

.pagination li.disabled {
	visibility:hidden;
}

.inline {
	display:inline;
}

.librarytable {
	width:100%;
	/*border:1px solid black;*/
}

.librarytable td {
	/*border-left:1px dotted black;*/
	padding:2px;
}

.librarytable .icon {
	width: 16px;
}

.librarytable .image {
	width:24px;
}

.librarytable .title {
	text-align:left;
}

.librarytable .count {
	width:50px;
	text-align:center;
}
.librarytable .time {
	white-space:nowrap;
	text-align:center;
	width:100px;
}

.librarytable .icon-heart {
	display:inline-block;
	height:14px;
	width:14px;
	background-image:url("/themes/gnufm/img/love-small.png");
	background-repeat:no-repeat;
	background-position:center;
}

.librarytable .icon-music {
	display:inline-block;
	height:14px;
	width:14px;
	/*background-image:url("/themes/gnufm/img/love-small.png");*/
	background-color:green;
	background-repeat:no-repeat;
	background-position:center;
}

.librarytable .icon-tag {
	display:inline-block;
	height:14px;
	width:14px;
	/*background-image:url("/themes/gnufm/img/love-small.png");*/
	background-color:blue;
	background-repeat:no-repeat;
	background-position:center;
}

.librarytable .image img {
	width:24px;
	height:24px;
}

.librarytable tr .buttons form {
	visibility:hidden;
	width:50px;
}

.librarytable tbody tr:hover td {
	background-color:#ddd;
}

.librarytable tbody tr:hover .buttons form {
	visibility:visible;
}

.librarytable .buttons form {
	margin:0px;
}


/* ==============

   GNU FM player
   =============== */

#player-container {
    float: right;
    margin: 1em 2em 1em 1em;
    text-align: right;
    width: 340px;
}
#player #fallbackembed {
	width:200px;
	height:50px;
}
#player > #interface {
    border: 1px solid black;
    border-radius: 8px 8px 8px 8px;
    color: black;
    display: none;
    padding: 10px 10px 0;
    text-align: left;
    width: 320px;
}
#player > #interface .btn {
	cursor: pointer;
}
#player > #interface > #progress {
    text-align: right;
}
#player > #interface > #trackinfo {
    background: none repeat scroll 0 0 white;
    border: 1px solid black;
    border-radius: 8px 8px 8px 8px;
    color: black;
    margin-bottom: 5px;
    overflow: hidden;
    padding: 3px 5px;
}
#trackinfo > #tracktags ul {
	display:inline;
	padding:0px;
	margin:0px;
}
#trackinfo .tunebutton {
	background: #eee;
	cursor:pointer;
	display:inline-block;
	border-radius:2px;
	padding:0px 2px;
	margin:0px 2px;
}
#trackinfo .tunebutton:hover {
	background:#ccc;
}
#interface > #playlist {
	border-radius: 8px;
	background-color: white;
	border: 1px solid black;
	margin-bottom:10px;
}
#interface > #playlist ul {
	margin: 5px;
	padding: 0px;
}
#interface > #playlist li {
	list-style: none;
	margin: 2px;
}
#showplaylist {
    float: right;
    margin-top: 2px;
}
#hideplaylist {
    float: right;
    margin-top: 2px;
}
#scrobbled {
    float: left;
}
#volume-box {
    font-size: 8px;
    margin-bottom: 1em;
    padding: 0;
}
#tag_input input {
	width: 75%;
	margin-top: 5px;
}
#tag_input #tag_button {
	width: 20%;
	margin-top: 4px;
	float: right;
}
#player #problems {
	width: 75%;
	text-align: justify;
}
.ui-widget {
    font-family: Verdana,Arial,sans-serif;
    font-size: 1.1em;
}
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
    font-family: Verdana,Arial,sans-serif;
    font-size: 1em;
}
.ui-widget-content {
    background: none repeat scroll 0 0 transparent;
    border: 1px solid #AAAAAA;
    color: #222222;
}
.ui-widget-content a {
    color: #222222;
}
.ui-corner-all {
    border-radius: 4px 4px 4px 4px;
}
.ui-progressbar {
    height: 11px;
    text-align: left;
}
.ui-progressbar .ui-progressbar-value {
    height: 100%;
}
.ui-progressbar-value {
    background-image: url("../img/player/pbar-ani.gif");
}
.ui-slider {
    position: relative;
    text-align: left;
}
.ui-slider .ui-slider-handle {
    cursor: default;
    height: 1.2em;
    position: absolute;
    width: 1.2em;
    z-index: 2;
}
.ui-slider .ui-slider-range {
    background-position: 0 0;
    border: 0 none;
    display: block;
    font-size: 0.7em;
    position: absolute;
    z-index: 1;
}
.ui-slider-horizontal {
    background: none repeat scroll 0 0 white;
    height: 0.8em;
}
.ui-slider-horizontal .ui-slider-handle {
    background: none repeat scroll 0 0 #F57900;
    margin-left: -0.6em;
    top: -0.3em;
}
.ui-slider-horizontal .ui-slider-range {
    height: 100%;
    top: 0;
}
.ui-slider-horizontal .ui-slider-range-min {
    left: 0;
}
.ui-slider-horizontal .ui-slider-range-max {
    right: 0;
}
.ui-slider-vertical {
    height: 100px;
    width: 0.8em;
}
.ui-slider-vertical .ui-slider-handle {
    left: -0.3em;
    margin-bottom: -0.6em;
    margin-left: 0;
}
.ui-slider-vertical .ui-slider-range {
    left: 0;
    width: 100%;
}
.ui-slider-vertical .ui-slider-range-min {
    bottom: 0;
}
.ui-slider-vertical .ui-slider-range-max {
    top: 0;
}

#progress .ui-slider-horizontal {
	height: 11px;
	background:none;
	cursor:pointer;
}
#progress .ui-slider-horizontal .ui-slider-range {
	background-image: url("../img/player/pbar-ani.gif");
}
#progress .ui-slider .ui-slider-handle {
	position: absolute;
	z-index: 2;
	width: 0em;
	height: 1em;
	cursor: pointer;
}
#progress .ui-slider-horizontal .ui-slider-handle {
	top: -.1em;
	margin-left: 0em;
	background: #f57900;
	display: none;
}

/* ==============
    MOBILE: Menu
   ============== */

nav a{
	display:block;
	margin-bottom:10px;
	padding:15px 0;

	background:#e44d26;
	color:white;

	text-align:center;
	text-decoration:none;
	font-weight:bold;
}

nav a:hover, nav a:visited{
	color:white;
}

nav a:hover{
	text-decoration:underline;
}

/* ==============
    MOBILE: Main
   ============== */

#main{
	padding:30px 0;
}

#main article h1{
	font-size:2em;
}

#main aside{
	padding:0px 5% 10px;
}

#footer-container footer{
	color:white;
	padding:20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 #title{ padding-top:20px; }


/* ==|== non-semantic helper classes ======================================== */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
.ir br { display: none; }
.hidden { display: none !important; visibility: hidden; }
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
.invisible { visibility: hidden; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }


/* ==|== media queries ====================================================== */

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

/* ====================
    INTERMEDIATE: Menu
   ==================== */
	
	nav a{
		float:left;
		width:27%;
		margin:0 1.7%;
		padding:25px 2%;
		margin-bottom:0;
	}
	
	nav li:first-child a{ margin-left:0;  }
	nav li:last-child  a{ margin-right:0; }
	
/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

	nav ul li{
		display:inline;
	}	
	.oldie nav a{
		margin:0 0.7%;		
	}
}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

	#header-container,
	#main aside{
		-webkit-box-shadow:0 5px 10px #aaa;
		   -moz-box-shadow:0 5px 10px #aaa;
		        box-shadow:0 5px 10px #aaa;
	}

/* ============
    WIDE: Menu
   ============ */
	
	#title{
		float:left;
	}

	nav li a{
		float:right;
		width:8%;
		margin:0 0.5%;
		padding:10px 2%;
		margin-bottom:0;
		font-size: 80%;
		background-color: transparent;
		text-decoration: underline;
	}

/* ============
    WIDE: Main
   ============ */

	#main article{
		float:left;
		width:57%;
	}
		
	#main aside{
		float:right;
		width:28%;
	}
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

	.wrapper{
		width:1026px; /* 1140px - 10% for margins */
		margin:0 auto;
	}
}

/* ==|== print styles ======================================================= */
 
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } 
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } 
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; }
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
