/*
Theme Name: Boy Blue
Theme URI: http://www.boyblueandco.com
Author: Kenan Rubenstein for Boy Blue & Co.
Author URI: http://www.boyblueandco.com/
Description: Custom default theme for Boy Blue projects.
Version: 0.1
Text Domain: boyblue
*/



/* Color
Text (brown): 	#534746
orange:			#d95a0e
Red: 			#370a05
pink:			#d6c6c4
*/ 


/* Fonts */

@font-face {
  font-family: 'BBGeomanist';
  src: url('fonts/geomanist-light-webfont.eot');
  src: url('fonts/geomanist-light-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/geomanist-light-webfont.woff2') format('woff2'),
       url('fonts/geomanist-light-webfont.woff') format('woff'),
       url('fonts/geomanist-light-webfont.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'BBGeomanist';
  src: url('fonts/geomanist-light-italic-webfont.eot');
  src: url('fonts/geomanist-light-italic-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/geomanist-light-italic-webfont.woff2') format('woff2'),
       url('fonts/geomanist-light-italic-webfont.woff') format('woff'),
       url('fonts/geomanist-light-italic-webfont.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'BBGeomanist';
  src: url('fonts/geomanist-regular-webfont.eot');
  src: url('fonts/geomanist-regular-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/geomanist-regular-webfont.woff2') format('woff2'),
       url('fonts/geomanist-regular-webfont.woff') format('woff'),
       url('fonts/geomanist-regular-webfont.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'BBGeomanist';
  src: url('fonts/geomanist-regular-italic-webfont.eot');
  src: url('fonts/geomanist-regular-italic-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/geomanist-regular-italic-webfont.woff2') format('woff2'),
       url('fonts/geomanist-regular-italic-webfont.woff') format('woff'),
       url('fonts/geomanist-regular-italic-webfont.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'BBGeomanist';
  src: url('fonts/geomanist-book-webfont.eot');
  src: url('fonts/geomanist-book-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/geomanist-book-webfont.woff2') format('woff2'),
       url('fonts/geomanist-book-webfont.woff') format('woff'),
       url('fonts/geomanist-book-webfont.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'BBGeomanist';
  src: url('fonts/geomanist-book-italic-webfont.eot');
  src: url('fonts/geomanist-book-italic-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/geomanist-book-italic-webfont.woff2') format('woff2'),
       url('fonts/geomanist-book-italic-webfont.woff') format('woff'),
       url('fonts/geomanist-book-italic-webfont.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'BBGeomanist';
  src: url('fonts/geomanist-medium-webfont.eot');
  src: url('fonts/geomanist-medium-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/geomanist-medium-webfont.woff2') format('woff2'),
       url('fonts/geomanist-medium-webfont.woff') format('woff'),
       url('fonts/geomanist-medium-webfont.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'BBGeomanist';
  src: url('fonts/geomanist-medium-italic-webfont.eot');
  src: url('fonts/geomanist-medium-italic-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/geomanist-medium-italic-webfont.woff2') format('woff2'),
       url('fonts/geomanist-medium-italic-webfont.woff') format('woff'),
       url('fonts/geomanist-medium-italic-webfont.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: 'BBGeomanist';
  src: url('fonts/geomanist-bold-webfont.eot');
  src: url('fonts/geomanist-bold-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/geomanist-bold-webfont.woff2') format('woff2'),
       url('fonts/geomanist-bold-webfont.woff') format('woff'),
       url('fonts/geomanist-bold-webfont.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'BBGeomanist';
  src: url('fonts/geomanist-bold-italic-webfont.eot');
  src: url('fonts/geomanist-bold-italic-webfont.eot?#iefix') format('embedded-opentype'),
       url('fonts/geomanist-bold-italic-webfont.woff2') format('woff2'),
       url('fonts/geomanist-bold-italic-webfont.woff') format('woff'),
       url('fonts/geomanist-bold-italic-webfont.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}



/* Animation */

@keyframes reveal {
	0% {
	    opacity: 0;
	}
	100% {
	    opacity: 1;
	}
}

@keyframes slow-reveal {
	0%, 10% {
	    opacity: 0;
	}
	100% {
	    opacity: 1;
	}
}

@keyframes slower-reveal {
	0%, 20% {
	    opacity: 0;
	}
	100% {
	    opacity: 1;
	}
}



/* Global / Reset */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
	display: block;
	margin: 0;
}
audio, canvas, video {
	display: inline-block;
	max-width: 100%;
}

html {
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}
body {
	background: #fff url('images/fereshteh-bg.jpg') repeat 0 0;
	background-size: 200px 200px;
	line-height: 1;
}

a {
	color: #d95a0e;
	text-decoration: none;
	transition: border .3s;
}
a:hover, a:active {
	text-decoration: underline;
}
a:focus, a:hover, a:active {
	outline: 0;
}


abbr[title] {
	border-bottom: 1px dotted #2b2b2b;
	cursor: help;
}

b, strong, dt {font-weight: 700;}
address, cite, dfn, em, i {font-style: italic;}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

code, kbd, tt, var, samp, pre {
	font-family: monospace, serif;
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
}
pre {
	border: 1px solid rgba(0, 0, 0, 0.1);
	margin-bottom: 24px;
	max-width: 100%;
	overflow: auto;
	padding: 12px;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

blockquote, q {
	-webkit-hyphens: none;
	-moz-hyphens:    none;
	-ms-hyphens:     none;
	hyphens:         none;
	quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: "";
	content: none;
}
blockquote {
	color: #767676;
	font-size: 19px;
	font-style: italic;
	font-weight: 300;
	line-height: 1.2631578947;
	margin-bottom: 24px;
}
blockquote cite, blockquote small {
	color: #2b2b2b;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}
blockquote em, blockquote i, blockquote cite {font-style: normal;}
blockquote strong, blockquote b {font-weight: 400;}

small {font-size: smaller;}
big {font-size: 125%;}

sup, sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {bottom: 1ex;}
sub {top: .5ex;}

ul, ol {list-style: none;}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	vertical-align: middle;
	max-width: 100%;
	height: auto;
}
svg {
	height: 100%;
	width: 100%;
	transition: fill .3s, stroke .3s;
}

fieldset {border: 1px solid rgba(0, 0, 0, 0.1);}
legend {white-space: normal;}
button, input, select, textarea {
	color: inherit;
	font-family: inherit;
	font-weight: inherit;
	font-size: 100%;
	margin: 0;
	max-width: 100%;
	vertical-align: baseline;
}
button, input {line-height: normal;}
input, textarea {
	background-image: -webkit-linear-gradient(hsla(0,0%,100%,0), hsla(0,0%,100%,0)); /* Removing the inner shadow, rounded corners on iOS inputs */
}
button, html input[type="button"], input[type="reset"], input[type="submit"] {
	-webkit-appearance: none;
	cursor: pointer;
}
button[disabled], input[disabled] {cursor: default;}
input[type="checkbox"], input[type="radio"] {padding: 0;}
input[type="search"], 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;
}

table {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
th {font-weight: bold;}

del {color: #767676;}

hr {display: none;}

/* non-standard selection styling */
::selection {
	background: #d95a0e;
	color: #fff;
	text-shadow: none;
}
::-moz-selection {
	background: #d95a0e;
	color: #fff;
	text-shadow: none;
}



/* Typography */

body {
	font-family: 'Linden Hill', serif;
	font-size: 22px;
	font-weight: 400;
	color: #534746;
}
#masthead, 
#colophon, 
.headline,
blockquote,
.entry-meta,
.wp-caption,
#post-nav,
#project-gallery,
#load-more,
h3, h4, h5, h6 {
	font-family: 'BBGeomanist', sans-serif;
	font-style: normal;
	font-size: 19px;
}
#masthead {
	font-size: 21px;
}

#colophon,
.wp-caption {
	font-size: 17px;
}



/* Structure */

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

#masthead .banner,
#colophon .banner {
	padding: 15px;
}



/* Header & Footer */

#masthead,
#colophon {
	background-attachment: fixed;
	background-size: 200px 200px;
}

#masthead {
	position: fixed;
	top: 0;
	left: 0;
	height: 65px;
	width: 100%;
	z-index: 9;
}
#masthead:after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: #d95a0e url('images/fereshteh-bg-orange.jpg') repeat 0 0;
	opacity: 0;
	transition: opacity 1s;
	z-index: -1;
}
.scrolling #masthead:after {
	opacity: 1;
}
.scrolling #masthead a {
	color: #fff;
}
#masthead h1 {
	float: left;
	line-height: 35px;
	font-size: 35px;
	font-weight: 600;
}
#masthead a {
	display: block;
	text-decoration: none;
	transition: color 1s, border .3s;
}
#masthead svg {
	fill: #363636;
}

/* Footer */

#colophon {
	background: #d95a0e url('images/fereshteh-bg-orange.jpg') repeat 0 0;
	color: #fff;
	line-height: 1.7;
	text-align: center;
	letter-spacing: .02em;
	padding-bottom: 12px;
}
#colophon span {
	display: inline-block;
}
#colophon .generator {
	display: none;
}
#colophon a {
	color: #fff;
	display: inline-block;
	border-bottom: 1px solid #fff;
}
#colophon a:hover {
	text-decoration: none;
}


/* Main Nav */

#menu {
	text-transform: uppercase;
}
#menu h2 {
	position: absolute;
	right: 13px;
	bottom: 100%;
	padding: 0;
	margin: 0;
	width: 36px;
	height: 65px;
	overflow: hidden;
}
#menu h2 svg rect {
	transition: transform .6s;
}
#menu h2 svg #menu-rect-1 {
	transform-origin: 100% 18px;
}
#menu h2 svg #menu-rect-3 {
	transform-origin: 100% 2px;
}
#menu h2 svg #menu-rect-2 {
	transform-origin: 0 0;
}
#menu.active h2 svg #menu-rect-3 {
	transform: rotate(-45deg);
}
#menu.active h2 svg #menu-rect-1 {
	transform: rotate(45deg);
}
#menu.active h2 svg #menu-rect-2 {
	transform: scale(0, 1);
}
#menu h2 a {
	display: block;
	height: 100%;
	width: 100%;
}
#menu h2 a svg {
	padding: 19px 0;
	fill: #534746;
}
.scrolling #menu svg {
	fill: #fff;
}
#menu a {
	font-weight: 500;
}
#menu .current a {
	font-weight: 600;
}



/* Content */

#content {
	margin: 65px 0 0;
	overflow: hidden;
}
article {
	margin-bottom: 90px;
}
article img.attachment-boyblue-splash {
	width: 100%;
}
article header {
	position: relative;
	text-align: center;
}
.single article header img {
	transition: opacity 1s;
}
.single.preload article header img {
	opacity: 0;
}
article h2 {
	font-size: 32px;
	line-height: 1.3;
	padding: 32px 15px 24px;
	margin: 0 auto;
	border-bottom: 2px solid #d95a0e;
}
article h2 a,
article h2 a:hover {
	color: inherit;
	text-decoration: none;
}
article .headline,
article header .entry-meta {
	margin: 30px 0 0;
	line-height: 1.5;
	position: relative;
}

.post-edit-link {
	position: absolute;
	right: 50%;
	top: -30px;
	padding: 4px 12px;
	border-radius: 0 0 4px 4px;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
	background: #d95a0e;
	color: #fff;
	transform: translateX(50%);
}
.entry-content {
	line-height: 1.7;
	margin: 60px 0;
}
.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content form,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	width: 100%;
	max-width: 690px;
	margin: 0 auto 30px;
	padding: 0 15px;
}
.entry-content p.img {
	width: auto;
	max-width: none;
	padding: 0;
}
.entry-content h3 {
	font-weight: 600;
	text-transform: uppercase;
	margin: 60px auto 0;
	color: #d95a0e;
}
.entry-content h4 {
	font-weight: 500;
	margin: 45px auto 18px;
	padding: 0 15px 13px;
	color: #370a05;
	border-bottom: 2px solid #d95a0e;
}

.entry-content img {
	display: block;
	margin: 0 auto 15px;
	width: 100%;
	max-width: 750px;
	border-radius: 1px;
}
.wp-caption {
	width: auto !important;
	margin: 0 0 50px;
}
.wp-caption p {
	width: calc(100% - 30px);
	max-width: 660px;
}
.wp-caption p:last-child {
	padding: 0 0 12px;
	border-bottom: 1px solid #534746;
}
article blockquote {
	line-height: 1.7;
}

/* Projects */

#gallery {
}
#gallery article {
	padding: 0 15px;
	display: inline-block;
	width: 100%;
	vertical-align: top;
}
#gallery:after {
	content: '';
	display: block;
	clear: both;
}
#gallery .teaser-copy {
	text-align: center;
	max-width: 750px;
	margin: 0 auto;
}

#project-gallery {
	margin: 35px -7px;
	font-weight: 500;
}
#project-gallery .square {
	display: inline-block;
	width: 50%;
	padding: 0 7px 14px;
}
#project-gallery a {
	display: block;
	position: relative;
}
#project-gallery a:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0);
	transition: background .3s, opacity .3s;
}
#project-gallery a.video:before {
	background: rgba(0, 0, 0, 0) url('images/icon-play-white.svg') no-repeat 50% 50%;
	background-size: 45%;
	opacity: .6;
}
#project-gallery a:hover:before {
	background-color: rgba(0, 0, 0, .65);
	background-image: none;
	opacity: 1;
}
#project-gallery a:after {
	content: attr(data-subtitle);
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80%;
	transform: translate(-50%, -50%);
	color: #fff;
	text-align: center;
	line-height: 1.4;
	opacity: 0;
	transition: opacity .3s;
}
#project-gallery a:hover:after {
	opacity: 1;
}
#project-gallery img {
	width: 100%;
}
.preview-image,
.splash-image {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 50%;
}
.single .splash-image {
	background-image: none !important;
}
.preview-image img,
.splash-image img  {
	width: 100%;
}

.alm-btn-wrap {
	margin: 0 15px 90px;
}
button {
	display: block;
	margin: 0 auto;
	color: #fff;
	background: #d95a0e;
	border: none;
	border-radius: 3px;
	text-transform: uppercase;
	padding: 20px 30px;
	width: 100%;
	max-width: 650px;
	font-weight: 500;
}
button.done {
	display: none;
}


#post-nav {
	text-align: center;
	color: #fff;
	clear: both;
}
#post-nav div {
	background-color: #534746;
	background-position: 50% 50%;
	margin: 0 0 15px;
	position: relative;
	z-index: 0;
}
#post-nav .next,
#post-nav .prev {
	width: calc(50% - 7px);
	background-repeat: no-repeat;
	background-size: cover;
}
#post-nav .next:before,
#post-nav .prev:before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	height: 100%;
	left: 0;
	width: 100%;
	background: rgba(0,0,0,.65);
	z-index: -1;
}
#post-nav .prev {
	float: left;
}
#post-nav .next {
	float: right;
}
#post-nav .index {
	background-image: url('images/fereshteh-bg-red.jpg');
	background-repeat: repeat;
	background-size: 200px 200px;
	clear: both;
}
#post-nav a {
	display: block;
	text-decoration: none;
	color: inherit;
	height: 190px;
	padding: 54px 15px 15px;
	line-height: 1.3;
	font-weight: 500;
}
#post-nav a svg {
	fill: #fff;
	width: 40px;
	height: 40px;
	margin: 0 auto 15px;
	display: block;
}
#post-nav span {
	display: block;
}
#post-nav .prev .icon {
	transform: rotate(180deg);
}



/* Updates */
#vertical article header {
	padding: 0 15px;
}
header .subheadline {
	padding: 0 15px;
}



/* Forms */

label .helper {
	display: none;
}
input,
textarea,
select {
	width: 100%;
	padding: 14px 18px;
	border-radius: 2px;
	border: 0;
	background: #aaaaaf;
	color: #42424b;
	margin: 0 0 15px;
	transition: background-color .3s, box-shadow .4s;
}
select {
	-moz-appearance: none;
	-webkit-appearance: none;
	background: none;
	height: 40px;
	border: 1px solid #aaaaaf;
	color: #aaaaaf;
	padding: 0 12px;
	position: relative;
	cursor: pointer;
}
span.select {
	position: relative;
	display: block;
}
span.select:after {
	content: '';
	display: block;
	position: absolute;
	top: 11px;
	right: 16px;
	height: 18px;
	width: 15px;
	background: transparent url('images/icon_select_lei.svg') no-repeat right 0;
	background-size: auto 100%;
	z-index: 4;
	pointer-events: none;
}
select option {
	background: #42424b;
	color: #fff;
	font-weight: 300;
	height: 40px;
	padding: 8px 12px;
}
select:focus,
select option:focus {
	color: #42424b;
	outline: none;
}
select:-moz-focusring { /* hack: remove FF's focus ring */
    color: transparent;
    text-shadow: 0 0 0 #42424b;
}
input:focus,
textarea:focus {
	background: #42424b;
	box-shadow: 0 0 8px rgba(0,0,0,.6) inset;
	outline: none;
	color: #fff;
}
input[type="submit"] {
	background: #42424b;
	text-transform: uppercase;
	font-weight: 700;
	color: #fff;
}
input[type="submit"]:hover,
input[type="submit"]:focus {
	background: #d95a0e;
	box-shadow: none;
}

/* placeholders */
::-webkit-input-placeholder {
   color: #fff;
   opacity: 1;
   font-weight: 300;
}
::-moz-placeholder {  /* Firefox 19+ */
   color: #fff;  
   opacity: 1;
   font-weight: 300;
}
:-ms-input-placeholder {  
   color: #fff;  
   opacity: 1;
   font-weight: 300;
}

/* WPCF7 overrides */

.wpcf7 .wpcf7-response-output {
	margin: 0;
	padding: 0;
}
.wpcf7 .wpcf7-mail-sent-ok,
.wpcf7 .wpcf7-validation-errors {
	border: none;
}
input.wpcf7-not-valid,
textarea.wpcf7-not-valid {
	background: #d95a0e;
	color: #fff;
}
.wpcf7 span.wpcf7-not-valid-tip {
	color: #d95a0e;
	margin: -15px 0 15px;
}
.wpcf7 .ajax-loader {
	position: relative;
	float: right;
	margin: -58px 7px 0 0;
	background: #fff;
	padding: 10px;
	border-radius: 1px;
}



/* Responsivity */

/* Future-proof the viewport meta tag */
@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}



@media (max-width: 720px) {
	
	
	#menu {
		width: 100%;
		max-width: none;
		position: absolute;
		top: 100%;
		left: 0;
		background: #d95a0e;
		font-weight: 300;
	}
	
	#menu ul {
		position: fixed;
		top: 65px;
		left: 0;
		width: 100%;
		bottom: 0;
		padding: 15px;
		z-index: 9;
		background: #370a05;
		background-size: 200px 200px;
		transform: scale(1, 0);
		transform-origin: 50% 0;
		transition: transform .6s;
	}
	#menu ul li {
		opacity: 0;
		transition: opacity 1.2s;
	}
	#menu.active ul {
		transform: scale(1, 1);
	}
	#menu.active ul li {
		opacity: 1;
	}
	#menu ul a {
		color: #fff;
		line-height: 1.2;
		padding: 12px 0;
	}
	
}

@media (min-width: 721px) {

	#masthead .banner {
		padding: 15px 30px;
	}
	#colophon .banner {
		padding: 65px 30px;
	}
	
	#menu {
		float: right;
	}
	#menu ul li {
		display: inline-block;
		margin: 0 0 0 4.5vw;
	}
	#menu ul li a {
		color: #534746;
		margin: 6px 0 0;
		border-top: 2px solid transparent;
		padding: 6px 0 0;
	}
	#menu ul li a:hover {
		border-color: #d95a0e;
	}
	.scrolling #menu ul li a:hover {
		border-color: #fff;
	}
	
	article header .teaser-content {
		width: 850px;
		max-width: 80%;
		margin: 0 auto;
	}
	article h2 {
		padding:32px 45px 24px;
		margin: 0 45px;
	}
	
	body {
		font-size: 25px;
	}
	.headline p,
	.entry-meta,
	#post-nav,
	#project-gallery,
	#load-more,
	#h3, h4, h5 {
		font-size: 21px;
	}
	#masthead, 
	#colophon, 
	blockquote,
	article:nth-child(n+2) .headline p {
		font-size: 18px;
	}
	
	
	#gallery,
	#vertical {
		padding: 0 15px;
	}
	#gallery > article:first-of-type .preview-image img,
	#vertical article header .splash-image img {
		opacity: 0;
		height: 380px;
	}
	#gallery article:nth-child(n+2),
	#gallery .alm-reveal article {
		width: 50%;
	}
	#gallery article:nth-of-type(n+2) h2,
	#gallery .alm-reveal article h2 {
		font-size: 24px;
		padding: 32px 15px 24px;	
	}
	
	#project-gallery {
		margin: 30px -10px;
	}
	#project-gallery .square {
		width: 25%;
		padding: 10px;
	}
	
	
	#post-nav div {
		margin: 0 0 20px;
	}
	#post-nav .prev,
	#post-nav .next {
		width: calc(50% - 10px);
	}
	
	
	
	

}

@media screen and (min-width: 951px) {
	
	#colophon .banner {
		padding: 95px 0;
	}
	.with-thumbnail #menu ul li a {
		color: #d6c6c4;
	}
	.with-thumbnail.scrolling #menu ul li a {
		color: #fff;
	}
	
	#content {
		margin-top: 0;
	}
	
	#gallery {
		margin: 65px 0 0;
	}
	
	article:nth-child(n+4) .headline p,
	.alm-reveal article .headline p {
		font-size: 16px !important;
	}
	
	#vertical article header .splash-image {
		margin-top: 120px;
	}
	.single article header .splash-image {
		background-color: #370a05;
		max-height: 100vh;
		overflow: hidden;
		position: relative;
	}
	.single article header .splash-image:after {
		content: '';
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		width: 100%;
		background: rgba(0, 0, 0, .65);
	}
	.single article header .splash-image img {
		width: 100%;
	}
	article header .teaser-content {
		margin: 120px auto 90px;
	}
	article header .splash-image + .teaser-content {
		margin: 0 auto;
	}
	.single article header .splash-image + .teaser-content {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		color: #fff;
		max-width: 750px;
	}
	.single article header .splash-image + .teaser-content .subheadline {
		font-weight: 300;
		color: #d6c6c4;
	}
	
	article h2 {
		font-size: 54px;
	}
	
	article .headline,
	article header .entry-meta {
		margin: 40px 0 0;
	}
	.post-edit-link {
		top: -40px;
	}
	
	.entry-content .alignleft,
	.entry-content .alignright {
		max-width: 35%;
		margin: 8px 0 20px;
	}
	.entry-content .alignleft {
		float: left;
		margin-right: 50px;
	}
	.entry-content .alignright {
		float: right;
		margin-left: 50px;
	}
	.entry-content .wp-caption.alignleft,
	.entry-content .wp-caption.alignright {
		box-sizing: content-box;
		margin-bottom: 30px;
	}
	.entry-content .wp-caption.alignleft {
		padding-right: 30px;
		border-right: 2px solid #d95a0e;
	}
	.entry-content .wp-caption.alignright {
		padding-left: 30px;
		border-left: 2px solid #d95a0e;
	}
	
	.entry-content .alignleft img,
	.entry-content .alignright img {
		width: auto;
		max-width: 100%;
	}
	.entry-content .alignleft p,
	.entry-content .alignright p {
		width: auto;
		max-width: 100%;
	}
	.entry-content .wp-caption p:last-child {
		margin-bottom: 0;
	}
	.entry-content .alignleft p {
		margin-left: 15px;
	}
	.entry-content .alignright p {
		margin-right: 15px;
	}
	
	#gallery article:nth-of-type(n+2) h2 {
		font-size: 32px;
		width: 80%;
		margin-left: auto;
		margin-right: auto;
	}
	#gallery article:nth-of-type(n+4) h2,
	#gallery .alm-reveal article h2 {
		font-size: 24px;	
	}
	#gallery .teaser-copy {
		margin: 20px auto 0;
	}
	#gallery article:nth-of-type(2) .teaser-copy,
	#gallery article:nth-of-type(3) .teaser-copy {
		width: 80%;
	}
	
	#gallery article:nth-child(n+4),
	#gallery .alm-reveal article {
		width: 33.3%;
	}
	
	#project-gallery {
		margin: 13px -13px;
	}
	#project-gallery .square {
		padding: 13px;
	}
	
	#post-nav > div {
		width: calc( ( 100% - 52px ) / 3) !important;
		margin: 0 0 26px;
		display: inline-block;
	}
	#post-nav .index {
		float: left;
		clear: none;
		margin-left: 26px;
	}
	
}



/* Colorbox */

/* Core Style */
#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:999999; overflow:visible;}
#cboxWrapper {max-width:none;}
#cboxOverlay{position:fixed; width:100%; height:100%;}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;}
#cboxTitle{margin:0;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}
.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;}
#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;}

/* BoyBlue */
#cboxOverlay{
	background:#292929;
}
#colorbox{outline:0; font-weight: 300; font-size: 16px; color:#eee; font-family: 'BBGeomanist', sans-serif;}
 #cboxContent{
 	margin-top:40px; 
 	overflow:visible; 
 	background:#transparent;
/* 	padding: 12px 0 9px;*/
 }
        .cboxIframe{background:transparent;}
        #cboxError{padding:50px; border:1px solid #eee;}
        #cboxLoadedContent{
        	box-shadow: 0 4px 50px rgba(0,0,0,.4); 
        	overflow: visible 
        	!important; z-index: 3;
        }
        #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;}
        #cboxLoadingOverlay{background:#363636;}
        #cboxTitle{
        	-moz-box-sizing: border-box;
        	box-sizing: border-box;
        	position:fixed;
        	top:0; 
        	left:0;
        	background: #534746;
        	line-height: 20px;
        	padding: 12px 108px 10px 12px;
        	width: 100%;
        	height: 44px;
        	overflow: hidden;
        	font-weight: 500;
        	color: #fff;
        	font-size: 18px;
        	box-shadow: 0 6px 12px rgba(0,0,0,.25);
		}
		#cboxTitle a {
			color: inherit;
			pointer-events: none;
		}
		#cboxTitle .subtitle {
			font-weight: 300;
			color: #d6c6c4;
			display: inline-block;
			margin: 0 0 0 6px;
			font-family: 'BBGeomanist', sans-serif;
		}
        #cboxCurrent{
        	-moz-box-sizing: border-box;
        	box-sizing: border-box;
        	position:fixed; 
        	top:0; 
        	right: 0; 
        	height: 44px; 
        	color: #eee;
        	padding: 0 128px 0 0;
        	text-align: right;
        	line-height: 44px;
        	z-index: 2;
			font-family: 'BBGeomanist', sans-serif;
		}

		.cboxPhoto{
/*			box-shadow: 0 10px 60px rgba(0,0,0,.6);*/
		}

        /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */
        #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {
        	border: 2px solid #eee; 
        	padding:0; 
        	margin:8px; 
        	overflow:visible; 
        	text-indent:-9999px; 
        	width:28px; 
        	height:28px; 
        	position:fixed; 
        	top:0;
        	background-repeat: no-repeat; 
        	background-position: center center; 
        	border-radius: 50%; 
        	background-size: 12px;
        	z-index: 4;
        	font-family: 'BBGeomanist', sans-serif;
		}
        
        /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */
        #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;}

        #cboxPrevious{
        	background-image: url('js/images/arrow-left-48.png'); 
        	right:78px;
        	background-position: 5px center;
		}
        #cboxNext{
        	background-image: url('js/images/iconmonstr-arrow-24-icon-48.png'); 
        	right:41px;
        	background-position: 7px center;
        }
        #cboxClose{background-image: url('js/images/iconmonstr-x-mark-icon-48.png'); right:2px;}
        .no-touch #cboxClose:hover,
        .no-touch #cboxPrevious:hover,
        .no-touch #cboxNext:hover,
        #cboxNext:active,
        #cboxNext:focus {
        	background-color: transparent;
        	background-color: #370a05;
        	z-index: 20;
        }
        .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:120px;}
        .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:80px;}
        .cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;}
        .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:80px;}
        .cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;}
        
        #cboxPrevious:after, #cboxNext:after, #cboxClose:after {
        	content: '';
        	display: none;
        	position: fixed;
        	color: #534746;
        	font-weight: 400;
        	top: 44px;
        	left: 0;
        	width: 100%;
        	height: 44px;
        	line-height: 44px;
        	background: #eee;
        	text-align: right;
        	box-shadow: 0 15px 30px rgba(0,0,0,.3);
        	text-transform: none;
        	padding-right: 10px;
        	-moz-box-sizing: border-box;
        	box-sizing: border-box;
        	z-index: -1;
        }
        #cboxPrevious:after {
        	content: 'Previous video.  Your arrow keys work, too.';
        }
        #cboxNext:after {
        	content: 'Next video.  Your arrow keys work, too.';
        }
        #cboxClose:after {
        	content: 'Close video player.  [ESC] works, too.';
        }
        .no-touch #cboxPrevious:hover:after, 
        .no-touch #cboxNext:hover:after, 
        .no-touch #cboxClose:hover:after {
         	display: block;
        }

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

	#cboxTitle{
		padding-right: 200px;
	}
	#cboxPrevious:hover, #cboxNext:hover, #cboxClose:hover {
/*	 	transform: scale(1.1);*/
	}
	#cboxPrevious:hover:after, #cboxNext:hover:after, #cboxClose:hover:after {
	 	display: block;
	}
	
}

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

	#cboxCurrent{
		display: none !important;
	}

}

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

	#cboxLoadedContent{
		padding:0; 
	}
	#cboxTitle{
		text-indent: -9999px;
	}
	#cboxPrevious{right:auto; left: 0;
	}
	#cboxNext{right: auto; left: 40px;}
	#cboxClose{right:0;}

}



/* Print */

@media print {
	body {
		background: none !important; /* Brute force since user agents all print differently. */
		color: #2b2b2b;
		font-size: 12pt;
	}
}