/*-- HTML5 Boilerplate. -----------------------------------------------------*/

@import "../../vendor/h5bp/css/normalize.css";
@import "../../vendor/h5bp/css/main.css";

/*-- Web fonts. -----------------------------------------------------*/

@import url(http://fonts.googleapis.com/css?family=Lato:300,900);


/* Clearfix */
/* j.mp/bestclearfix */
li:after {
	clear: both; content: "\0020"; display: block; height: 0; visibility: hidden;
}

/*-- Application stylesheets. -----------------------------------------------*/

/* Base element styles */
body{ 
	background: url(../images/shattered.png);
	border-top: 3px solid #e13836;
	font-family: 'Lato', sans-serif;
}
ul {
	padding: 0;
	list-style: none;
	margin: 0;
}
li {
	padding-bottom: 2em;
	margin-bottom: 2.5em;
	border-bottom: 1px solid #ddd;
	clear: both;
}
li:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
a {
	color: #e13836;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
/* Container widths */
.header,
.content {
	padding: 0 3%;
	background: rgba( 255, 255, 255, .5);
}
.content {
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	margin-bottom: 1.5em;
}
.content > div {
	max-width: 1200px;
	margin: 0 auto
}

/* 
##	Header
*/
.header {
	margin-bottom: .5em;
	padding: .7em 0 1em;
	text-align: center;
	border-bottom: 1px solid #eee;
}
h1 {
	margin: 0;
	font-size: 1.2em;
	text-transform: uppercase;
	letter-spacing: -1px;
	position: relative;
}
h1 sup {
	position: absolute;
	top: auto;
	margin-left: 5px;
	margin-top: 10px;
	text-transform: lowercase;
	font-size: .8em;
	font-weight: 300;
	color: #ddd;
}
.headphones {
	background: url(../images/glyphicons_076_headphones.png) no-repeat bottom center;
	display: block;
	width: 100%;
	height: 24px;
	margin-right: .15em;
	margin-bottom: .3em;
}
.icon.info {
	background: url(../images/glyphicons_194_circle_question_mark.png) no-repeat bottom center;
	background-size: 20px 20px;
	display: block;
	width: 24px;
	height: 24px;
	position:absolute;
	top: .5em;
	right: 10px;
	opacity: .1;
}
.icon.info:hover {
	opacity: .2;
}

/* 
##	Search Form
*/
.search-form {
	padding-top: 1.3em;
	padding-bottom: .5em;
	margin-bottom: 1.5em;
	color: #ccc;
	font-weight: 100;
}
/* Search input */
.search-input {
	border: 1px solid #666;
	border-radius: 2px;
}
.search-input input {
	width: 96%;
	padding: .3em 2%;
	border: none;
	font-size: 1.6em;
	font-weight: 300;
	background: url(../images/glyphicons_027_search.png) no-repeat 98% center;
}
::-webkit-input-placeholder { color: #ccc; }
:-moz-placeholder { color: #ccc; }
::-moz-placeholder { color: #ccc; }
:-ms-input-placeholder { color: #ccc; }
/* Search filters */
.filter-input {
	font-size: 1.2em;
	padding-top: .3em;
	opacity: .5;
}
.search-form:hover .filter-input {
	opacity: 1;
}
.filter-input label {
	margin-left: 3px;
	margin-right: 20px;
}
.filter-input input {
	position: relative;
	top: -3px;
	margin-left: 3px;
}
/* Query status */
h2 {
	margin: 0;
	font-size: 1.2em;
	font-weight: 300;
}

/* 
##	Track List
*/
.tracks {
	padding-bottom: 1em;
}
.tracks li img {
	width: 100%;
	max-width: 100%;
}
.track-artwork {
	xwidth: 32%;
	xfloat:left;
}
.track-content {
	xwidth: 66%;
	xfloat: left;
	xmargin-left: 2%;
}
/* Track artist & title */
h3 {
	margin: 0;
	margin-bottom: .5em;
	text-transform: uppercase;
	line-height: 1.2em;
	font-weight: 300;
}
h3 span {
	display: block;
	margin-bottom: .2em;
}
.track-title {
	font-weight: 700;
}
/* Player */
.player {
	position: relative;
	margin-bottom: .3em;
}
.player iframe {
	position: relative;
	z-index: 10;
}
.loading-player {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 5;
	color: #ddd;
}
/* Buttons */
.buttons {
	margin-bottom: .7em;
}
.buttons li {
	display: inline-block;
	margin: 0;
	padding: 0;
	border: none;	
}
.button {
    color: #6e6e6e;
    text-decoration: none;
    padding: 3px 8px;
    position: relative;
    display: inline-block;
    text-shadow: 0 1px 0 #fff;
    -webkit-transition: border-color .218s;
    -moz-transition: border .218s;
    -o-transition: border-color .218s;
    transition: border-color .218s;
    background: #eeeeee;
    background: -webkit-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
    background: -moz-linear-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
    border: solid 1px #dcdcdc;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    margin-right: 10px;
}
.button:hover {
    color: #333;
    border-color: #bbb;
    -moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15) -webkit-box-shadow:0 2px 5px rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}
.button.download {
	background-image: url(../images/glyphicons_200_download.png);
	background-repeat: no-repeat;
	background-position: 8px center;
	background-size: 20px 20px;
	padding-left: 32px;
}
.button.buy {
	background-image: url(../images/glyphicons_202_shopping_cart.png);
	background-repeat: no-repeat;
	background-position: 8px center;
	background-size: 20px 20px;
	padding-left: 32px;
}
/* Tags */
h4 {
	display: none;
}
.tag-list {
	display: inline-block;
	padding-left: 24px;
	position: relative;
}
.tag-list:before {
	content: '';
	display: block;
	width: 32px;
	height: 32px;
	background: url(../images/glyphicons_066_tags.png) no-repeat left 35%;
	background-size: 20px 16px;
	position: absolute;
	left: 0;
	opacity: .2;
}
.tag-list li {
	display: inline-block;
	margin: 0;
	margin-right: 5px;
	padding: 0;
	border: none;
}
/* Pagination link */
.pagination {
	text-align: center;
	padding-top: 1em;
	padding-bottom: 2em;
	border-top: 1px dashed #ccc;
}
.pagination a {
	padding-left: 40px;
	padding-right: 40px;
}
/* Loading graphic */
.loading {
	text-align: center;
	padding: 2em 0 8em 0;
}
@media screen and (min-width: 500px) {
	/* 
	##	Track List
	*/
	.tracks {
		xpadding-top: 2em;
	}
	.track-artwork {
		width: 32%;
		float:left;
	}
	.track-content {
		width: 66%;
		float: left;
		margin-left: 2%;
	}
}