/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* -------------------- HOME ENTER ---------------------- */

.home-enter {
	display: block;
	background: url(bg-transparent.png);
	background: rgba(255, 255, 255, 0);
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

/* -------------------- PAGE STYLES ---------------------- */

body {
	background: #333333;
	color: #333;
	font-family: "source-code-pro-1", "source-code-pro-2", mplus-1m-1, mplus-1m-2, "M+ 1m", "Lucida Console", Monaco, monospace;
	font-size: 75%; /* 12px 12/16 = 0.75 */
}
body.index {
	background: #fff;
}
a {
	text-decoration: none;
	color: #231F20;
}
a:hover,
a:focus {
	color: #2DADE0;
}
h1 {
	font-family: adelle-1, adelle-2, "Adelle Basic", Georgia, serif;
	font-size: 4em; /* 48px */
	font-weight: 100;
	margin-bottom: 20px;
}
h1 .date {
	font-family: "source-code-pro-1", "source-code-pro-2", mplus-1m-1, mplus-1m-2, "M+ 1m", "Lucida Console", Monaco, monospace;
	font-size: 0.25em; /* 12px 12/48 = 0.25 */
	font-weight: normal;
	color: #969792;
	padding-left: 20px;
}
h2 {
	font-family: adelle-1, adelle-2, "Adelle Basic", Georgia, serif;
	font-weight: 100;
	font-style: italic;
	font-size: 2.6666666667em; /* 32px 32/12 = 2.6666666667 */
	line-height: 1.125; /* 36px 36/32 = 1.125 */
	margin: 0 0 1em;
}
p {
	line-height: 1.6666666667; /* 20px 20/12 = 1.6666666667 */
	margin: 0 0 1em;
}

/* ------------------ HEADER ------------------- */

#header {
	background: #FFFFFF;
}
#header-inner {
	background: #FFFFFF;
	max-width: 940px;
	margin: 0 auto;
	padding: 25px 10px;
	border-bottom: 1px solid #D0D2D3;
	text-align: right;
}

/* ------------- LOGO ----------------- */

#logo a {
	display: block;
	/*width: 220px;
	height: 48px;*/
	width: 271px;
	height: 64px;
	text-indent: -9999px;
	overflow: hidden;
	/*background: url("logo.png");*/
	background: url("logo-mid.png") no-repeat 0 2px;
	float: left;
	position: relative;
	z-index: 5;
	text-align: left;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	transition: all 0.125s ease;
}

#logo-splash a {
	display: block;
	width: 295px;
	height: 110px;
	text-indent: -9999px;
	overflow: hidden;
	background: url("logo-splash.png");
	float: left;
	text-align: left;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	transition: all 0.125s ease;
}

/* ------------- SPLASH ---------------- */

.index #header-inner {
	border: none;
	padding: 230px 30px 70px;
}
.index #splash {
	max-width: 829px;
	max-width: 940px;
	border-top: 2px solid #000000;
	position: relative;
}
.index #entrance {
	position: absolute;
	z-index: 20;
	top: -47px;
	right: 0;
}
.index #brick {
	display: block;
	width: 111px;
	height: 92px;
	background: url("brick-splash.png");
	text-indent: -9999px;
	overflow: hidden;
}
.index #brick:hover,
.index #brick:focus {
	background-position: 0 -94px;
}
.index #enter {
	text-transform: uppercase;
	letter-spacing: 0.2em;
	font-size: 14px;
}

/* ------------- MAIN NAVIAGTION ------------- */

#main-nav {
	/* margin-left: 311px; */
	margin-top: 48px;
	display: inline-block;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	transition: all 0.125s ease;
}
#main-nav ul {
	width: 100%;
	position: relative;
	text-align: right;
	display: block;
}
#main-nav ul li {
	display: inline-block;
	margin-left: 20px;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	transition: all 0.125s ease;
}
/* #main-nav ul li #sub-nav {
	width: 560px;
	position: absolute;
	top: 0;
	left: -9999px;
}
#sub-nav ul li a.selected {
	color: #2DADE0 !important;
}
.js #main-nav ul li #sub-nav {
	left: 10em;
	display: none;
}
#main-nav ul li:hover #sub-nav,
#main-nav ul li:focus #sub-nav {
	left: 10em;
}
.js.projects #main-nav ul li #sub-nav,
.js #main-nav ul li:hover #sub-nav {
	display: block;
}
#main-nav ul li #sub-nav ul {
	float: left;
}
#main-nav ul li #sub-nav ul a {
	color: #969792;
} */
#main-nav ul li a.selected,
#main-nav ul li:hover a,
#main-nav ul li #sub-nav ul a:hover,
#main-nav ul li #sub-nav ul a:focus {
	color: #2DADE0;
}
#main-nav a {
	line-height: 1.3333333333;
}
#projects-nav {
	width: 940px;
	margin: 0 auto;
	padding: 15px 10px;
	border-bottom: 1px solid #D0D2D3;
}
#projects-nav ul {
	width: 100%;
	position: relative;
	text-align: right;
	display: block;
}
#projects-nav ul li {
	display: inline-block;
	margin-left: 20px;
}
#projects-nav a {
	color: #B8B8AF;
}
#projects-nav a:hover {
	color: #231F20;
}
/*
li.projects-link {
	background: url(arrow.png) 4.75em 3px no-repeat;
}
li.projects-link:hover {
	background: url(arrow.png) 4.75em -21px no-repeat;
}
li.selected {
	background: url(arrow.png) 4.75em -21px no-repeat;
}
*/

/* --------------- CONTENT ------------------ */

#content {
	background: #FFFFFF;
}
#content-inner {
	background: #FFFFFF;
	max-width: 940px;
	margin: 0 auto;
	padding: 30px 10px 60px;
}
#content-inner a {
	color: #2DADE0;
}
#content-inner a:hover,
#content-inner a:focus {
	text-decoration: underline;
}
.index #content-inner {
	padding: 30px 30px 60px;
}

/* --------------- HOME PAGE ----------------- */

.home #content-inner {
	padding-bottom: 20px;
}

/* -------------- HOME SLIDESHOW --------------- */

#slideshow ul li {
	overflow: hidden;
}
#slideshow ul li .slide {
	margin: 0 auto;
	position: relative;
	overflow: hidden;
	text-align: center;
}
#slideshow img {
	max-width: 100%;
	display: block;
}
#slideshow-nav {
	max-width: 960px;
	margin: 20px -10px 0;
}
#slideshow-nav ul,
#slideshow-nav ol {
	text-align: center;
}
#slideshow-nav ul li,
#slideshow-nav ol li {
	display: inline;
	text-align: center;
	padding: 0 10px;
}
.ie7 #slideshow-nav ul li {
	float: left;
}
#slideshow-nav ul li a,
#slideshow-nav ol li a {
	display: inline-block;
	height: 8px;
	width: 8px;
	text-indent: -9999px;
	overflow: hidden;
	background: #FFFFFF;
	border: 1px solid #969792;
}
#slideshow-nav ul li a:hover,
#slideshow-nav ul li a:focus,
#slideshow-nav ol li a:hover,
#slideshow-nav ol li a:focus {
	border-color: #000000;
}
#slideshow-nav ol a.flex-active {
	background: #2DADE0;
	border: 1px solid #2DADE0 !important;
}
#home-caption {
	margin-top: 40px;
	line-height: 1.3333333333;
}
#home-caption li {
	width: 940px;
	text-align: center;
}

/* ------------------- PROJECTS ---------------------- */

.projects .article {
	margin-top: 50px;
}
.projects h2 {
	width: 50%;
	float: left;
}
.projects h2 span {
	text-align: right;
	font-size: .6em;
	color: #969792;
}
.projects .content {
	margin-left: 480px;
}
.projects #slideshow .caption {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 300px;
	padding: 10px 0 10px 10px;
	background: url("bg-black-75.png");
	-webkit-transition: right 0.25s ease;
	-moz-transition: right 0.25s ease;
	-o-transition: right 0.25s ease;
	transition: right 0.25s ease;
}
.projects #slideshow .hidden {
	right: -310px;
}

#slideshow .slide > span {
	display: inline-block;
	position: relative;
	overflow: hidden;
}

.projects #slideshow .caption h4 {
	color: #FFFFFF;
	float: left;
	line-height: 1.3333333333;
}
.projects #slideshow .caption p {
	color: #FFFFFF;
	margin: 0 0 0 10px;
	padding: 0 10px 10px 0;
	text-align: left;
	border-bottom: 1px solid #FFFFFF;
}
.projects #slideshow .caption span {
	display: block;
	margin: 0 0 0 10px;
	padding: 6px 10px 0 0;
	color: #a5a5a5;
	text-align: left;
}
.projects-category {
	margin-bottom: 60px;
}
.project {
	display: inline-block;
	width: 300px;
	height: 250px;
	border: 1px solid #f1f1f2;
	box-sizing: border-box;
	padding: 37px;
	margin: 10px 10px 0 0;
	text-align: center;
}
.last {
	margin-right: 0;
}
.project-label {
	display: block;
	text-align: center;
	background: url(project-eye.png) center center no-repeat;
	padding: 80px 0 75px;
	color: #231F20;
	text-decoration: none;
	text-indent: -9999px;
	filter: alpha(opacity=0);
	opacity: 0;
}
.project {
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	transition: all 0.125s ease;
}
h3.project-label {
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	transition: all 0.125s ease;
}
#content-inner a.project {
	text-decoration: none;
	cursor: pointer;
	}
.cambridge-park {
	background: url(../images/cambridgepark_cover.jpg) center center no-repeat;
}
.cunningham-place {
	background: url(../images/cunningham-place_cover.jpg) center center no-repeat;
}
.elsham-road {
	background: url(../images/elsham-road_cover.jpg) center center no-repeat;
}
.garden-pavillion-2 {
	background: url(../images/garden-pavillion-2_cover.jpg) center center no-repeat;
}
.louisville-rd {
	background: url(../images/louisville-rd_cover.jpg) center center no-repeat;
}
.louvaine-road {
	background: url(../images/louvaine-road_cover.jpg) center center no-repeat;
}
.reedham {
	background: url(../images/reedham_cover.jpg) center center no-repeat;
}
.st-johns-wood-terrace {
	background: url(../images/st-johns-wood-terrace_cover.jpg) center center no-repeat;
}
.battersea-music-school {
	background: url(../images/battersea-music-school_cover.jpg) center center no-repeat;
}
.kensington-art-room {
	background: url(../images/kensington-art-room_cover.jpg) center center no-repeat;

}
.woodside-primary-academy {
	background: url(../images/woodside-primary-academy_cover.jpg) center center no-repeat;
}
.city-of-london {
	background: url(../images/city-of-london_cover.jpg) center center no-repeat;
}
.cambridge {
	background: url(../images/cambridge_cover.jpg) center center no-repeat;
}
.clapham-1 {
	background: url(../images/clapham-1_cover.jpg) center center no-repeat;
}
.clapham-2 {
	background: url(../images/clapham-2_cover.jpg) center center no-repeat;
}
.cottesmore {
	background: url(../images/cottesmore_cover.jpg) center center no-repeat;
}
.fulham {
	background: url(../images/fulham_cover.jpg) center center no-repeat;
}
.hereford-1 {
	background: url(../images/hereford-1_cover.jpg) center center no-repeat;
}
.hereford-2 {
	background: url(../images/hereford-2_cover.jpg) center center no-repeat;
}
.kensington-1 {
	background: url(../images/kensington-1_cover.jpg) center center no-repeat;
}
.kensington-2 {
	background: url(../images/kensington-2_cover.jpg) center center no-repeat;
}
.kentish-town {
	background: url(../images/kentish-town_cover.jpg) center center no-repeat;
}
.monmouth {
	background: url(../images/monmouth_cover.jpg) center center no-repeat;
}
.new-kings-academy {
	background: url(../images/new-kings-academy_cover.jpg) center center no-repeat;
}
.westminster {
	background: url(../images/westminster_cover.jpg) center center no-repeat;
}
.snca {
	background: url(../images/snca_cover.jpg) center center no-repeat;
}
.battersea-heritage {
	background: url(../images/battersea-heritage_cover.jpg) center center no-repeat;
}
.battersea-1 {
	background: url(../images/battersea-1_cover.jpg) center center no-repeat;
}
.battersea-3 {
	background: url(../images/battersea-3_cover.jpg) center center no-repeat;
}
.lcs {
	background: url(../images/lcs_cover.jpg) center center no-repeat;
}
.oxford {
	background: url(../images/oxford_cover.jpg) center center no-repeat;
}
.project:hover h3 {
	zoom: 1;
	filter: alpha(opacity=1);
	opacity: 1;
}

/* ------------- STUDIO ----------------- */

.studio h2 {
	width: 50%;
	float: left;
}
.studio .content {
	margin-left: 51.064%;
}
.studio section.break {
	border-top: 1px solid #D0D2D3;
	margin-top: 50px;
	padding-top: 25px;
}
.studio p span.bold {
	font-weight: bold;
}
.content h3 {
	font-family: adelle-1, adelle-2, "Adelle Basic", Georgia, serif;
	font-weight: bold;
	font-size: 1.5em; /* 18px 18/12 = 1.5 */
	margin: 1.5em 0 1em;
}
.content li {
	margin: 0.75em 0;
}
.studio #content-inner {
	padding-bottom: 80px;
}

a.linked-in {
	display: inline-block;
	width: 79px;
	height: 20px;
	background: url("linkedin-logo.jpg") no-repeat;
	font-size: 0;
}
.bio-content {
	overflow: hidden;
	margin: 20px 0;
	padding: 20px 0;
	border-bottom: 1px solid #D0D2D3;
}
img.studio-header {
	margin-bottom: 2em;
	width: 100%;
	height: auto;
}
.content h4 {
	font-weight: 600;
	font-size: 1em;
	margin-top: 1em;
}
/* ---------------- CONTACT -------------- */

.contact h2 {
	font-style: normal;
	margin: 0 0 0.5em;
}
.contact #content-inner {
	overflow: hidden;
	padding-bottom: 80px;
}
.contact .left-column {
	width: 65.9574%;
	float: left;
}
.contact .right-column {
	width: 31.91494%;
	float: right;
}
#contact-form li {
	margin: 5px 0;
}
#name, #email, #message {
	border: 1px solid #969792;
	font-family: "source-code-pro-1", "source-code-pro-2", "Lucida Console", Monaco, monospace;
	font-size: 12px;
	line-height: 16px;
	margin: 0 0 10px;
	padding: 5px;
	width: 88%;
	-webkit-appearance: none;
	-moz-appearance:none;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}
#message {
	height: 120px;
}
#name:focus, #email:focus, #message:focus {
	outline: none;
	border-color: #231F20;
}
#contact-submit {
	display: block;
	width: 92%;
	float: left;
	border: none;
	background: #2DADE0;
	color: #fff;
	font-family: "source-code-pro-1", "source-code-pro-2", "Lucida Console", Monaco, monospace;
	font-size: 12px;
	line-height: 16px;
	margin: 0;
	padding: 10px 10px 8px 10px;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	transition: all 0.125s ease;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	-webkit-appearance: none;
	-moz-appearance:none;
}
#contact-submit:hover,
#contact-submit:focus {
	background: #333;
	color: #FFFFFF;
	cursor: pointer;
}
.map-container {
	position: relative;
	padding-top: 30px;
	height: 530px;
	overflow: hidden;
}
#map-inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ---------------- IN PROGRESS ----------------- */

.in-progress #content-inner {
	padding-bottom: 20px;
}
#progress-images {
	overflow: hidden;
}
#progress-images a {
	display: block;
	clear: both;
	padding-top: 320px;
}
#progress-images img {
	text-align: right;
	display: block;
	float: left;
	margin: 0 15px 20px 0;
}
#progress-images img.even {
	margin-top: 40px;
}
#progress-images img.lazy {
	display: none;
}

/* ---------------- FOOTER ---------------- */

#footer-inner {
	max-width: 940px;
	margin: 0 auto;
	padding: 0 10px;
}
#footer-logos ul {
	overflow: hidden;
	margin-top: 80px;
}
#footer-logos ul li {
	float: left;
	margin-right: 20px;
}
#riba-logo,
#arb-logo {
	display: block;
	height: 30px;
	text-indent: -9999px;
	overflow: hidden;
}
#riba-logo {
	width: 115px;
	background: url("riba-logo.png") left top no-repeat;
	background-size: 100%;
}
#arb-logo {
	width: 55px;
	background: url("arb-logo.png") left top no-repeat;
	background-size: 100%;
}
#colophon {
	padding: 25px 0;
	line-height: 1.3333333333;
	color: #BBBDBF;
}
#colophon a {
	color: #BBBDBF;
	-webkit-transition: color .25s linear;
	-moz-transition: color .25s linear;
	-o-transition: color .25s linear;
	transition: color .25s linear;
}
#colophon a:hover {
	color: #FF941E;
}

@media only screen and (max-device-width: 60em), only screen and (max-width: 60em) {
	#slideshow .caption {
		position: static !important;
		display: inline-block;
		width: 100% !important;
		margin-top: 15px;
	}

	#sub-nav ul {
		padding-bottom: 8px;
	}
	.project {
		width: 48.9361%;
	}
	.left {
		margin: 10px 10px 0 0;
	}
	.right {
		margin: 10px 0 0 0;
	}
	#footer-inner {
		margin: 10px;
	}

}

@media only screen and (max-device-width: 50em), only screen and (max-width: 50em) {
	.studio h2, .projects h2 {
		float: none;
		width: 100%;
	}
	.studio .content, .projects .content {
		margin-left: 33.33333333%;
	}
}
@media only screen and (max-device-width: 42em), only screen and (max-width: 42em) {
	h1 {
		font-size: 3em;
	}
	#logo a {
		margin: 0 auto;
		float: none;
	}
	#logo-splash a {
		margin: 0 auto;
		float: none;
	}
	.index #splash {
		border-top: none;
	}
	.index #entrance {
		position: relative;
	}
	.index #brick {
		margin: 0 auto;
	}
	#header-inner {
		text-align: center;
		padding-left: 0;
		padding-right: 0;
	}
	#main-nav {
		padding-top: 25px;
		margin: 25px 0 0 0;
		border-top: 1px solid #D0D2D3;
		width: 100%;
		text-align: center;
	}
	#main-nav ul {
		text-align: center;
	}
	#main-nav ul li:nth-child(1) {
		margin-left: 0;
	}
	.studio .content, .projects .content {
		margin-left: 25%;
	}
	.contact .left-column, .contact .right-column {
		width: 100%;
	}
	.map-container {
		height: 300px;
		margin-bottom: 30px;
	}

}

@media only screen and (max-device-width: 32em), only screen and (max-width: 32em) {
	.index #header-inner {
		padding: 50px 10px 70px;
	}
	.project {
		width: 100%;
		margin: 10px 0 0 0;
		height: 150px;
	}
	.project-label {
		padding: 32px 0 28px;
	}
	.studio .content, .projects .content {
		margin-left: 0;
	}
	.studio h2, .projects h2 {
		font-size: 2.16666667em;
	}
	#header-inner {
		padding-bottom: 15px;
	}
	#main-nav {
		padding-top: 15px;
	}
	.map-container {
		height: 200px;
	}
}

@media screen and (max-width: 380px) {
	#slideshow-nav ul li,
	#slideshow-nav ol li {
		padding: 0 6px;
	}
}

/* TWEET BAR */

#tweet-bar {
	background: #666;
	color: #BBBDBF;
	-webkit-transition: background 0.125s linear;
}
#tweet-bar-link {
	color: #BBBDBF;
	display: block;
	width: 116px;
	float: left;
	padding-top: 2px;
}
#tweet-bar-link:hover,
#tweet-bar.open #tweet-bar-link {
	color: #2DADE0;
}
#tweet-bar.open {
	background: #D5EFF9;
	color: #2DADE0;
}
#tweet-bar .inner {
	max-width: 940px;
	margin: 0 auto;
	padding: 12px 20px;
	overflow: hidden;
}
#tweet-bar-show {
	display: block;
	float: left;
	width: 21px;
	height: 15px;
	background: url("rick-tweet-open.png") no-repeat;
	text-indent: -99em;
	cursor: pointer;
	margin-right: 24px;
}
#tweet-bar-show:hover {
	background-position: 0 -15px;
}
.tweet-text {
	display: none;
	line-height: 1.33333333333333;
	float: left;
	max-width: 540px;
}
.tweet-text a {
	color: #2DADE0;
	text-decoration: underline;
	cursor: pointer;
}
.tweet-text a:hover, .tweet-text a:focus {
	text-decoration: none;
}
#tweet-bar.open #tweet-bar-show {
	background-position: 0 -30px;
}
@media screen and (max-width: 742px) {
	.tweet-text {
		clear: both;
		margin-top: 12px;
	}
}