/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
	color: #222;
}

body {
	font-size: 1em;
	line-height: 1.4;
}

.clear {
	clear: both;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
	resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
	margin: 0.2em 0;
	background: #ccc;
	color: #000;
	padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
	font-family: 'proxima_nova_rgregular';
	src: url('fonts/ProximaNova-Reg-webfont.eot');
	src: url('fonts/ProximaNova-Reg-webfont.eot?#iefix') format('embedded-opentype'),
	url('fonts/ProximaNova-Reg-webfont.woff') format('woff'),
	url('fonts/ProximaNova-Reg-webfont.ttf') format('truetype'),
	url('fonts/ProximaNova-Reg-webfont.svg#proxima_nova_rgregular') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'proxima_nova_rgbold';
	src: url('fonts/ProximaNova-Bold-webfont.eot');
	src: url('fonts/ProximaNova-Bold-webfont.eot?#iefix') format('embedded-opentype'),
	url('fonts/ProximaNova-Bold-webfont.woff') format('woff'),
	url('fonts/ProximaNova-Bold-webfont.ttf') format('truetype'),
	url('fonts/ProximaNova-Bold-webfont.svg#proxima_nova_rgbold') format('svg');
	font-weight: normal;
	font-style: normal;

}

@font-face {
	font-family: 'borgia_proitalic';
	src: url('fonts/BorgiaPro-Italic-webfont.eot');
	src: url('fonts/BorgiaPro-Italic-webfont.eot?#iefix') format('embedded-opentype'),
	url('fonts/BorgiaPro-Italic-webfont.woff') format('woff'),
	url('fonts/BorgiaPro-Italic-webfont.ttf') format('truetype'),
	url('fonts/BorgiaPro-Italic-webfont.svg#borgia_proitalic') format('svg');
	font-weight: normal;
	font-style: normal;

}

.uppercase {
	text-transform: uppercase;
}

.clean {
	clear: both;
}

html, body {
	background: #222;
	/*height: 100%;*/
}

/*html,body,#main{*/
/*height: 100%;*/
/*}*/
html, body, p, h1, h2, h3, h4, h5, h6, * {
	font-family: 'proxima_nova_rgregular';
	color: #fff;
}

#main {

	width: 80%;

	/*     max-width: 1300px; */
	/*     width: 98%; */
	margin: 0 auto;
	position: relative;
	z-index: 1;
	/*height: 100%;*/
}

#main header h1 {
	font-size: 228px;
	margin: 0;
	padding: 0;
	font-weight: bold;
	font-family: 'proxima_nova_rgbold';
	height: 200px;
	line-height: 1;
	overflow: hidden;
	text-decoration: none;
}

#main header h1 a {
	margin: 0;
	padding: 0;
	font-weight: bold;
	font-family: 'proxima_nova_rgbold';
	overflow: hidden;
	text-decoration: none;
}

#main header h2 {
	font-size: 50px;
	margin: 0;
	padding: 0;
	font-family: 'borgia_proitalic';
	margin-top: 100px;
	margin-right: 30px;
	float: right;
	font-weight: normal;
}

#main nav {
	float: left;
}

#main nav ul {
	margin: 0;
	padding: 0;
}

#main nav ul li {
	margin-right: 25px;
	float: left;
}

#main nav ul a,
#back {
	font-size: 30px;
	text-transform: uppercase;
	text-decoration: none;
}

#main nav ul a:hover {

}

#main nav ul a.active {
	font-weight: bold;
}

#content {
	clear: both;
}

#content section {
	display: none;
	font-size: 22px;
	min-height: 125px;
}

body.mobile #content section {
	font-size: 15px;
}


#main .active {
	font-weight: bold;
	font-family: 'proxima_nova_rgbold';

}

footer .space {
	display: inline-block;
	width: 30px;
}

footer {
	/*margin-top: 50px;*/
	font-family: 'proxima_nova_rgregular';
	/*float: right;*/
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 1;
}




footer #info {
	/*float: right;*/
}

footer #info a {
	padding: 0 3px;
}

footer #info .active {
	font-weight: normal;
	font-family: 'proxima_nova_rgregular';
	color: #000;
	background: #fff;
	text-decoration: none;

}

footer #info .fb img {
	display: block;
	position: absolute;
	/*height: 55px;*/
	/*margin-left: -55px;*/
	/*margin-top: -27px;*/
}

footer #info .instagram img {
	display: block;
	position: absolute;
	/*height: 55px;*/
	/*margin-left: -55px;*/
	/*margin-top: -27px;*/
}

#video-background {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	width: 100%;
	height: 100%;
	z-index: 0;
}

#video-background video {
	min-height: 100%;
	min-width: 100%;
}

#video-background-overlay {
	height: 100%;
	background: url("../img/patterns/cross-narrow.png") repeat;
	position: absolute;
	opacity: .4;
	width: 100%;
}

.ui-video-background.ui-widget.ui-widget-content.ui-corner-all,
.ui-video-background-controls {
	display: none;
}

#listen .track {
	display: none;
}

#jp_container a {
	text-transform: uppercase;
	text-decoration: none;
	margin-right: 10px;
}

#jp_container a.activeaction {
	font-weight: bold;
	font-family: 'proxima_nova_rgbold';
}

#jp_container .track-name,
#jp_container .jp-current-time {
	text-transform: uppercase;
	margin-right: 10px;
}

#preloader {
	background: rgba(0, 0, 0, 0.8);
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 999;
}

#preloader p {
	position: absolute;
	text-align: center;
	font-size: 55px;
	width: 100%;
	top: 50%;
	margin-top: -50px;
	text-transform: uppercase;
}

#back {
	display: none;
	font-family: 'proxima_nova_rgbold';
}

body.mobile {
	/*background: url("../video/video.gif");*/
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}

.cover_wrapper {
	width: 300px;
	float: left;
	margin-top: 15px;
}

.link_wrapper {
	width: 180px;
	float: left;
	margin-left: 20px;
	margin-top: 15px;

}

.cover_wrapper img,
.link_wrapper img {
	width: 100%;
	height: auto;
}

.link_wrapper a {
	outline: none !important;
	border: none !important;
	display: block;
	margin-bottom: 20px;
}

.audiotitle {
	background: #000;
	padding: 2px 5px;
	margin-bottom: 10px;
	margin-right: 10px;
	display: inline-block;
}

.audiotitle.playing {
	background: #222;
}

@media only screen and (max-width: 515px) {

	/*.cover_wrapper,*/
	/*.link_wrapper{*/
	/*width: 100%;*/
	/*margin: 0;*/
	/*margin-top: 15px;*/
	/*}*/
	/*.cover_wrapper img,*/
	/*.link_wrapper img{*/
	/*width: 70%;*/
	/*margin: 0 auto;*/
	/*display: block;*/
	/*}*/
	.cover_wrapper {
		width: 50%;
		float: left;
		margin-top: 15px;
	}

	.link_wrapper {
		width: 30%;
		float: left;
		margin-left: 4%;
		margin-top: 15px;

	}

	.cover_wrapper img,
	.link_wrapper img {
		width: 100%;
		height: auto;
	}

	.link_wrapper a {
		outline: none !important;
		border: none !important;
		display: block;
		margin-bottom: 10px;
	}

}

@media only screen and (max-width: 1320px) {
	#main header h1 {
		font-size: 210px;
		height: 200px;
	}
}

@media only screen and (max-width: 500px) {
	#main header h1 {
		letter-spacing: -2.7px;
	}

	#main header h2 {
		margin-top: 10px;
	}
}

@media only screen and (max-device-width: 800px) {
	#main header h1 {
		letter-spacing: -2.7px;
	}

	#main header h2 {
		margin-top: 10px;
	}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
	background-color: transparent;
	border: 0;
	overflow: hidden;
	/* IE 6/7 fallback */
	*text-indent: -9999px;
}

.ir:before {
	content: "";
	display: block;
	width: 0;
	height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
	display: none !important;
	visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
	visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
	content: " "; /* 1 */
	display: table; /* 2 */
}

.clearfix:after {
	clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
	*zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
	/* Style adjustments for viewports that meet the condition */
}

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {
	/* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
	* {
		background: transparent !important;
		color: #000 !important; /* Black prints faster: h5bp.com/s */
		box-shadow: none !important;
		text-shadow: none !important;
	}

	a,
	a:visited {
		text-decoration: underline;
	}

	a[href]:after {
		content: " (" attr(href) ")";
	}

	abbr[title]:after {
		content: " (" attr(title) ")";
	}

	/*
	 * Don't show links for images, or javascript/internal links
	 */
	.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; /* h5bp.com/t */
	}

	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;
	}
}
