/* Reset */
a, body, div, html, li, span, ul {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

ul {
	list-style: none;
}

/* Clearfix */
.tuner .tuner-notes:before,
.tuner .tuner-notes:after {
	content: " ";
	display: table;
}

.tuner .tuner-notes:after {
	clear: both;
}

.tuner .tuner-notes {
	*zoom: 1;
}

/* Tuner */
.tuner {
	border: 1px solid #4d4d4d;
	-webkit-box-shadow: inset 0 0 1px rgba(255,255,255,0.8);
	   -moz-box-shadow: inset 0 0 1px rgba(255,255,255,0.8);
	        box-shadow: inset 0 0 1px rgba(255,255,255,0.8);
	-webkit-box-sizing: content-box;
	   -moz-box-sizing: content-box;
	        box-sizing: content-box;
	cursor: default;
	font-family: verdana, arial, sans-serif;
	font-size: 40px;
	height: 3em;
	line-height: 0;
	margin: 0 auto;
	max-width: 800px;
	overflow: hidden;
	padding: 0 0.5em;
	position: relative;
	text-align: center;
	/* Prevent element selection on double-click */
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
}

.tuner.initalized {
	background: rgb(137,136,136);
	background-image: url(noise.png);
	background-image: url(noise.png), -webkit-gradient(linear, left top, left bottom, from(rgb(157, 157, 156)), color-stop(rgb(176, 176, 176)), to(rgb(137, 136, 136)));
	background-image: url(noise.png), -webkit-linear-gradient(rgb(157, 157, 156), rgb(176, 176, 176), rgb(137, 136, 136));
	background-image: url(noise.png), -moz-linear-gradient(rgb(157, 157, 156), rgb(176, 176, 176), rgb(137, 136, 136));
	background-image: url(noise.png), -o-linear-gradient(rgb(157, 157, 156), rgb(176, 176, 176), rgb(137, 136, 136));
	background-image: url(noise.png), linear-gradient(rgb(157, 157, 156), rgb(176, 176, 176), rgb(137, 136, 136));
}

.tuner,
.tuner .tuner-overlay {
	-moz-border-radius: 2px;
	     border-radius: 2px;
}

.tuner,
.tuner-overlay.loading {
	background: rgb(56, 179, 236);
}

.tuner *, .tuner *:before, .tuner *:after {
	-webkit-box-sizing: inherit;
	   -moz-box-sizing: inherit;
	        box-sizing: inherit;
}

.tuner noscript {
	display: block;
	line-height: 1;
}

.tuner .tuner-label-low,
.tuner .tuner-label-high {
	font-size: 0.5em;
	height: 1em;
	line-height: 1;
	margin: 0.2em 0.4em;
	position: absolute;
	text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.3);
	top: 0;
}

.tuner .tuner-label-low {
	left: 0;
}

.tuner .tuner-label-high {
	right: 0;
}

.tuner .tuner-mask {
	background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.3)), color-stop(50%, transparent), to(rgba(255, 255, 255, 0.1)));
	background: -webkit-linear-gradient(rgba(255, 255, 255, 0.3), transparent 50%, rgba(255, 255, 255, 0.1) 100%);
	background: -moz-linear-gradient(rgba(255, 255, 255, 0.3), transparent 50%, rgba(255, 255, 255, 0.1) 100%);
	background: -o-linear-gradient(rgba(255, 255, 255, 0.3), transparent 50%, rgba(255, 255, 255, 0.1) 100%);
	background: linear-gradient(rgba(255, 255, 255, 0.3), transparent 50%, rgba(255, 255, 255, 0.1) 100%);
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.tuner .tuner-overlay {
	bottom: 0;
	left: 0;
	padding: 1%;
	position: absolute;
	right: 0;
	top: 0;
}


.tuner .tuner-overlay.loading {
	font-size: 0.6em;
	line-height: 1;
	text-shadow: 0px 0px 2px rgba(77, 77, 77, 0.3);
}

.tuner .tuner-overlay.error {
	background: rgb(248, 81, 81);
	font-size: 0.4em;
	line-height: 1.25;
}

.tuner .tuner-overlay-content {
	margin-top: -0.5em;
	position: absolute;
	text-align: center;
	top: 50%;
	width: 98%;
}

.tuner .tuner-overlay-title {
	font-weight: bold;
	margin-bottom: 0.25em;
}

.tuner .tuner-notes {
	background: center center transparent no-repeat;
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(1.4em, transparent), color-stop(1.46em, rgba(255, 255, 255, 0.1)), color-stop(1.5em, rgb(77, 77, 77)), color-stop(1.54em, rgba(255, 255, 255, 0.1)), color-stop(1.6em, transparent));
	background-image: -webkit-linear-gradient(transparent 1.4em, rgba(255, 255, 255, 0.1) 1.46em, rgb(77, 77, 77) 1.5em, rgba(255, 255, 255, 0.1) 1.54em, transparent 1.6em);
	background-image: -moz-linear-gradient(transparent 1.4em, rgba(255, 255, 255, 0.1) 1.46em, rgb(77, 77, 77) 1.5em, rgba(255, 255, 255, 0.1) 1.54em, transparent 1.6em);
	background-image: -o-linear-gradient(transparent 1.4em, rgba(255, 255, 255, 0.1) 1.46em, rgb(77, 77, 77) 1.5em, rgba(255, 255, 255, 0.1) 1.54em, transparent 1.6em);
	background-image: linear-gradient(transparent 1.4em, rgba(255, 255, 255, 0.1) 1.46em, rgb(77, 77, 77) 1.5em, rgba(255, 255, 255, 0.1) 1.54em, transparent 1.6em);
	-moz-background-size: 80% 3em;
	     background-size: 80% 3em;
	left: 0;
	margin: 0 auto;
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
}

.tuner .tuner-hit-area {
	background: center bottom transparent no-repeat;
	background-image: -webkit-linear-gradient(0deg, transparent 1.4em, rgba(255, 255, 255, 0.1) 1.45em, rgb(77, 77, 77) 1.5em, rgba(255, 255, 255, 0.1) 1.55em, transparent 1.6em);
	background-image: -moz-linear-gradient(0deg, transparent 1.4em, rgba(255, 255, 255, 0.1) 1.45em, rgb(77, 77, 77) 1.5em, rgba(255, 255, 255, 0.1) 1.55em, transparent 1.6em);
	background-image: -o-linear-gradient(0deg, transparent 1.4em, rgba(255, 255, 255, 0.1) 1.45em, rgb(77, 77, 77) 1.5em, rgba(255, 255, 255, 0.1) 1.55em, transparent 1.6em);
	background-image: linear-gradient(90deg, transparent 1.4em, rgba(255, 255, 255, 0.1) 1.45em, rgb(77, 77, 77) 1.5em, rgba(255, 255, 255, 0.1) 1.55em, transparent 1.6em);
	-moz-background-size: 3em 1.5em;
	     background-size: 3em 1.5em;
	-moz-border-radius: 2em;
	     border-radius: 2em;
	display: block;
	float: left;
	padding: 0.75em;
}

.tuner .tuner-hit-area .tuner-button,
.tuner .tuner-hit-area .tuner-button-mask {
	-moz-border-radius: 1.5em;
	     border-radius: 1.5em;
}

.tuner .tuner-hit-area .tuner-button {
	background: rgb(247, 247, 246);
	background-image: -webkit-radial-gradient(center 40%, 83% 72%, rgb(247, 247, 246) 40%, rgba(184, 185, 186, 0.15) 42%, rgb(184, 185, 186) 70%);
	background-image: -moz-radial-gradient(center 40%, 83% 72%, rgb(247, 247, 246) 40%, rgba(184, 185, 186, 0.15) 42%, rgb(184, 185, 186) 70%);
	background-image: -o-radial-gradient(center 40%, 83% 72%, rgb(247, 247, 246) 40%, rgba(184, 185, 186, 0.15) 42%, rgb(184, 185, 186) 70%);
	background-image: radial-gradient(83% 72% at center 40%, rgb(247, 247, 246) 40%, rgba(184, 185, 186, 0.15) 42%, rgb(184, 185, 186) 70%);
	-webkit-box-shadow: 2px 2px 5px rgba(77, 77, 77, 0.5);
	   -moz-box-shadow: 2px 2px 5px rgba(77, 77, 77, 0.5);
	        box-shadow: 2px 2px 5px rgba(77, 77, 77, 0.5);
	color: rgb(51, 51, 51);
	cursor: pointer;
	font-weight: 700;
	font-family: 'Nunito', sans-serif;
	height: 1.5em;
	line-height: 1.5em;
	position: relative;
	text-align: center;
	text-shadow: 0px 0px 2px rgba(77, 77, 77, 0.3);
	width: 1.5em;
}

.tuner .tuner-hit-area .tuner-button:hover {
	background: rgb(212, 225, 229);
	background-image: -webkit-radial-gradient(center 40%, 83% 72%, rgb(212, 225, 229) 40%, rgba(156, 188, 190, 0.3) 42%, rgb(156, 188, 190) 70%);
	background-image: -moz-radial-gradient(center 40%, 83% 72%, rgb(212, 225, 229) 40%, rgba(156, 188, 190, 0.3) 42%, rgb(156, 188, 190) 70%);
	background-image: -o-radial-gradient(center 40%, 83% 72%, rgb(212, 225, 229) 40%, rgba(156, 188, 190, 0.3) 42%, rgb(156, 188, 190) 70%);
	background-image: radial-gradient(83% 72% at center 40%, rgb(212, 225, 229) 40%, rgba(156, 188, 190, 0.3) 42%, rgb(156, 188, 190) 70%);
}

.tuner .tuner-hit-area.active .tuner-button {
	background: rgb(234, 242, 206);
	background-image: -webkit-radial-gradient(center 40%, 83% 72%, rgb(234, 242, 206) 40%, rgba(184, 209, 100, 0.3) 42%, rgb(184, 209, 100) 70%);
	background-image: -moz-radial-gradient(center 40%, 83% 72%, rgb(234, 242, 206) 40%, rgba(184, 209, 100, 0.3) 42%, rgb(184, 209, 100) 70%);
	background-image: -o-radial-gradient(center 40%, 83% 72%, rgb(234, 242, 206) 40%, rgba(184, 209, 100, 0.3) 42%, rgb(184, 209, 100) 70%);
	background-image: radial-gradient(83% 72% at center 40%, rgb(234, 242, 206) 40%, rgba(184, 209, 100, 0.3) 42%, rgb(184, 209, 100) 70%);
}

.tuner .tuner-hit-area .tuner-button-mask {
	background: -webkit-radial-gradient(175% 115% at right bottom, rgba(0, 0, 0, 0.02) 58%, rgba(255, 255, 255, 0.25) 60%);
	background: -moz-radial-gradient(right bottom, 175% 115%, rgba(0, 0, 0, 0.02) 58%, rgba(255, 255, 255, 0.25) 60%);
	background: -o-radial-gradient(175% 115% at right bottom, rgba(0, 0, 0, 0.02) 58%, rgba(255, 255, 255, 0.25) 60%);
	background: radial-gradient(175% 115% at right bottom, rgba(0, 0, 0, 0.02) 58%, rgba(255, 255, 255, 0.25) 60%);
	border: 2px solid rgb(77, 77, 77);
	-webkit-box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.9);
	   -moz-box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.9);
	        box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.9);
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

.tuner .tuner-hit-area.active .tuner-button-mask {
	background-image: -webkit-radial-gradient(center 40%, 175% 115%, rgba(255, 255, 255, 0.25), rgba(0, 0, 0, 0.02) 40%);
	background-image: -moz-radial-gradient(center 40%, 175% 115%, rgba(255, 255, 255, 0.25), rgba(0, 0, 0, 0.02) 40%);
	background-image: -o-radial-gradient(center 40%, 175% 115%, rgba(255, 255, 255, 0.25), rgba(0, 0, 0, 0.02) 40%);
	background-image: radial-gradient(175% 115% at center 40%, rgba(255, 255, 255, 0.25), rgba(0, 0, 0, 0.02) 40%);
}


/* Debugging Stuff */
#debug {
	border: 1px solid red;
	font-family: monospace;
	height: 22em;
	overflow-y: scroll;
	padding: 0 1em;
}

#debug i {
	color: blue;
	display: inline-block;
	padding-right: 0.5em;
	text-align: right;
	width: 3em;
}
