/* 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: 14px; line-height: 1.231; }
body, button, input, select, textarea { font-family: sans-serif; color: #222; }

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


/* ==|== primary styles =====================================================
   Author: jakepyne.co.uk
   ========================================================================== */

html,
body {
  min-height:100%;
}

a,
a:hover,
a:visited {
	color: #2A94B3;
}

h2 {
	width: 100%;
	text-align: center;
	clear: both;
	font-size: 1.8em;
	font-weight: normal;
	padding-top: 2em;
	font-weight: 300;
}

body {
  background-color: #FFF;
}

#upcoming {
  padding: 2%;
}

#upcoming h3 {
  font-size: 1.2em;
  font-style: italic;
  padding-top: 0.5em;
}

#upcoming .grid-item-larger {
  height: 100%;
  position: inherit;
}

span.release {
  position: absolute;
  bottom: 5%;
  font-weight: 400;
}

h3 {
	font-size: 100%;
	line-height: 1.231;
	margin: 0;
	width: 80%;
	display: inline-block;
	font-weight: normal;
}

h4 {
	font-size: 1.5em;
	font-weight: 300;
	line-height:1.2em;
	margin: 0;
}

h5 {
	font-weight: 300;
	font-size: 1em;
	font-style: italic;
	margin-top: 0;
	margin-bottom: 2em;
	padding-bottom: 1em;
	border-bottom: 1px solid #ccc;
}

body {
	font-family: 'Lato', sans-serif;
	font-weight: 300;
}

hr {
	clear: both;
	margin: 0 auto;
	color: #FFF;
	border: none;
	
}

hr.full {
	background: url('./images/keyline.png') top center no-repeat;
	height: 14px;
	width: 98%;
}

hr.mini {
	height: 1px;
	background: url('./images/keyline-small.gif') top center no-repeat;
	margin-top: 2em;
}

#header {
	position: relative;
}

#header img {
	display: block;
	margin:0 auto;
}

#header h1 {
	text-align: center;
	font-weight: 200;
	color: #000;
}

p#subheader, p.center {
	width: 72%;
	margin: 0 auto;
}

p#subheader {
	font-size: 1.1em;
	padding: 1em 0 0 0;
}

p.center{
	padding-top: 3em;
}

p.center.sub {
	padding-top: 1em;
	padding-bottom: 2em;
}

p#subheader,
p.contact,
p.center {
	text-align: center;
}


#burning-reel-logo {
	margin-left: 1.225%;
}

#burning-reel-title {
	font-size: 1.75em;
	margin-left: 0.8em;
	position: absolute;
	top: 16px;
}

#header #main-nav {
	position: absolute;
	right: 0;
	bottom: 42px;
}

#header #main-nav a {
	margin-left: 1em;
}

a {
	text-decoration: none;
}

.container {
	max-width: 962px;
	clear: both;
	width: 100%;
	margin: 0 auto;
}

.wrapper {
	padding: 0 3.38%;
	margin: 0 auto 20px auto;
	border-left: 1px solid #F2F2F2;
	border-right: 1px solid #F2F2F2;	
}

#footer .wrapper {
	border: none;
}

#main-nav {
	float: right;
	margin-right: 2%;
}

#main-nav a {
	color: #000;
}

.motif {
	background: #FFFFFF url('./images/top-stripe.png') top center no-repeat;
	height: 30px;
}

.grid-item {
	width: 23.4%;
	height: auto;
	margin: 0.775%;
	display: inline-block;
	position: relative;
	vertical-align: top;
	float: left;
}

.grid-item .overlay {
	position: absolute;
	top: 0;
	left: 0;
}

.grid-item-larger {
	width: 28%;
	height: auto;
	margin: 1.225%;
	display: inline-block;
	position: relative;
	vertical-align: top;
	float: left;
}

.grid-item-half {
	width: 45%;
	height: auto;
	display: inline-block;
	position: relative;
	vertical-align: top;
	float: left;
}

.bio {
  margin-top: 2em;
}

.bio p {
	text-align: justify;
}

.grid-item-half.right {
  float: right;
}

.grid-item-larger.left {
	margin-right: 3.38%;
}

.grid-item-larger.right {
	margin-left: 3.38%;
}

.grid-item-larger.middle {
	margin-left: 3.38%;
	margin-right: 3.38%;
}

.grid-item-larger.middle.border {
  padding-left: 3%;
  padding-right: 3%;
  margin-left:0;
  margin-right:0;

}

.grid-item img, .grid-item-larger img {
	width:100%;
	height: auto;
}

h2, .length {
	margin-top: 3px;
}

#main {
	padding-bottom: 48px;
}

.length {
	float: right;
	display: inline-block;
}

.larger {
	width: 75%;
	float: right;
}

.larger .grid-item {
	width: 30.8%;
}

.grid-item.first {
	display: block;
}

.grid-item.second {
	display: block;
}

.grid-item.third {
	display: block;
}

.grid-item h3 {
	float:left;
	width: 100%;
}

span.track {
	font-weight: normal;
}

span.client {
	color: #666;
}

#footer {
	background: #1B85A4 url('./images/footer-top.png') top center no-repeat;
	color: #FFF;
	clear: both;
	padding-top: 115px;
	margin-top: -50px;
}

#footerbg {
	background-image: linear-gradient(bottom, rgb(34,140,171) 100%, rgb(13,119,150) 0%);
	background-image: -o-linear-gradient(bottom, rgb(34,140,171) 100%, rgb(13,119,150) 0%);
	background-image: -moz-linear-gradient(bottom, rgb(34,140,171) 100%, rgb(13,119,150) 0%);
	background-image: -webkit-linear-gradient(bottom, rgb(34,140,171) 100%, rgb(13,119,150) 0%);
	background-image: -ms-linear-gradient(bottom, rgb(34,140,171) 100%, rgb(13,119,150) 0%);

	background-image: -webkit-gradient(
		linear,
		left bottom,
		left top,
		color-stop(1, rgb(34,140,171)),
		color-stop(0, rgb(13,119,150))
	);
}

#footer h4 {
	padding-bottom: 0.5em;
	border-bottom: 1px solid #FFF;
}

#footer hr {
	border-bottom: 1px solid #FFF;
	width: 100%;
	height: 1px;
}

p.copy {
	text-align: right;
	font-size: 0.8em;
	margin: 1em 1.225% 0 0;
	padding-bottom: 1em;
}

a.email {
	padding-left: 24px;
	background: url('./images/mail-icon.gif') center left no-repeat;
}

#footer a,
#footer a:hover,
#footer a:active,
#footer a:visited {
	color: #fff;
}

a.email:hover,
#footer a:hover {
	text-decoration: underline;
}

#footer a:hover {
  border-bottom: 1px solid #127C9B;
}

.clearfix {
	width: 100%;
	clear: both;
}
/* Project show */
/* Elastic video trick */
#video-container {
	position: relative;
	height: 0;
	padding-bottom: 42%;
	overflow: hidden;
}

#video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height:100%;
}

.social {
  margin-top: -1em;
}

.social a {
	height: 23px;
	width: 22px;
	overflow: hidden;
	background: url('./images/social-button-rollover.png') top left no-repeat;
	display: block;
	float: left;
}

.spacer {
  padding-bottom: 1em;
}

a#facebook {
	background-position: -22px -22px;
	margin-left: 6px;
}

a#twitter {
  background-position: 0 -22px;
}

a#twitter:hover {
	background-position: 0 2px;
}

a#facebook:hover {
	background-position: -23px 2px;
}

#blog-link {
  display:block;
  width: 120px;
  height: 31px;
  background: url('./images/blog-button.png');
  background-position: 0 -59px;
  margin-bottom: 1em;
  margin-left:-2px;
}

#blog-link:hover {
  background-position: 0 -29px;
  height: 30px;
}

#blog-link:active {
  background-position: 0 0px;
  height: 30px;
  
}

#blog-link:visited {
  background-position: 0 -29px;
  height: 30px;
}

.portfolio-row {
  clear: both;
}

#back-to-top {
  position: fixed;
  top:0;
  width: 100%;
  z-index: 10;
  height: 38px;
  display: none;
  border-bottom: 1px solid #EFEBE5;
}

#back-to-top .wrapper {
  border: none;
}

#back-to-top a {
  position: absolute;
  top:9px;
  right: 5%;
  padding: 2px 0 2px 22px;
  background: url('./images/to_top.png') center left no-repeat;
  font-size: 85%;
}

.sub-br {
  display: block;
  width: 170px;
  margin: 6px auto 0 auto;
  padding: 4px 0 4px 28px;
  background: url('./images/br_small.png') center left no-repeat;
}

#back-to-top a:hover {
  background: url('./images/to_top_over.png') center left no-repeat;
}

/* Admin */
#error_explanation {
	padding: 1em;
	background-color: #FDD;
}

.desc h3 {
  width: auto;
  border-right: 1px solid #CCC;
  padding-right: 6px;
  margin-right: 4px;
}

h3, .track, .client {
  display: inline-block;
}

.desc {
	margin: 0.775%;
	width: 97.5%;
	padding-bottom: 1em;
  border-bottom: 1px solid #CCC;
}

.mobile-only {
  display: none;
}

#contact, #address, #reel-edition {
  margin: 0;
}


/* ==|== 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 (max-width: 768px) {
	#reel-edition {
	  width: 100%;
	  float: none;
	  margin-top: 2em;
	}
	
	.desc {
	  width: 96.25%;
	}

	
	#blog-link {
	  float: right;
	}
	.grid-item {
		width: 47.5%;
	}

	.larger {
		width: 66%;
	}
	
	.larger .grid-item {
		width: 47%;
	}

	.right {
		float: right;
	}
	
	.full-height {
		position: fixed;
	}

	#video-container {
		padding-bottom: 56%;
	}

	.hide-on-tablet {
		display: none;
	}
	
	.mobile-only {
	  display: none;
	}
	
	#contact, #address {
    width: 45%;
  }

  #address {
    float: right;
  }
	
}

@media only screen and (max-width: 480px) {
	.desc {
	  width: 98%;
	}

	.sub-br {
	  width: 80px;
	}
	
	#burning-reel-title {
		font-size: 1.5em;
	}
	
	.hide-on-mobile {
	  display:none;
	}
	
	.mobile-only {
	  display: block;
	}
	
	p.copy {
	  text-align: center;
	}
	.grid-item-larger {
		width: 98%;
		margin: 0 auto;
		padding: 0 2.25%;
		text-align: center;
	}
	
	.full-height {
		position: relative;
	}
	
	.grid-item {
		width: 98%;
		margin-bottom: 1em;
	}
	
	.larger {
		width: 100%;
	}
	
	.larger .grid-item {
		width: 98%;
	}
	
	#header #main-nav {
		float:none;
		text-align:center;
		clear: both;
		position: relative;
		bottom:auto;
		right: auto;
	}
	
	#video-container {
		padding-bottom: 56%;
	}
	
	.grid-item.first {
		display: block;
	}
	.grid-item.second {
		display: none;
	}
	.grid-item.third {
		display: none;
	}
	
	.grid-item-larger.left,
	.grid-item-larger.middle,
	.grid-item-larger.right {
		margin: 0 1.225% 2em 1.225%;
		padding:0;
	}
	
	.grid-item-half.left,
	.grid-item-half.right {
	  width: 98%;
	  text-align: center;
	}
	
	.grid-item-half.right {
	  margin-right: 1.225%;
	}
	
	.grid-item-half.left {
	  margin-left: 1.225%;
	}
  
	
	a.email.mobile-only {
	  width: 140px;
	  margin: 0 auto;
	}
	
	.grid-item .client {
		float:right;
		margin-top: -1.2em;
	}
	
	.grid-item .track {
		float: left;
	}
	
	.grid-item-larger {
		margin-bottom: 2em;
	}
	
	.social {
	  display: block;
	  margin: 0 auto;
	}
	
	#blog-link {
	  margin: 0 auto 1em auto;
	  display: block;
	}
	
	.social a#facebook {	
	 
	}
}

/* ==|== 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; }
}