/* 
 _____   _           _         _                        _                  
|_   _| | |         | |       | |                      | |                 
  | |   | |__   __ _| |_ ___  | |_ ___  _ __ ___   __ _| |_ ___   ___  ___ 
  | |   | '_ \ / _` | __/ _ \ | __/ _ \| '_ ` _ \ / _` | __/ _ \ / _ \/ __|
 _| |_  | | | | (_| | ||  __/ | || (_) | | | | | | (_| | || (_) |  __/\__ \
 \___/  |_| |_|\__,_|\__\___|  \__\___/|_| |_| |_|\__,_|\__\___/ \___||___/

Oh nice, welcome to the stylesheet of dreams. 
It has it all. Classes, ID's, comments...the whole lot:)
Enjoy responsibly!
@ihatetomatoes

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

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

/* CSS FONTS */

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

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

}

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

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

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

@font-face {
    font-family: 'robotoblack';
    src: url('../fonts/font-family/roboto-black-webfont.eot');
    src: url('../fonts/font-family/roboto-black-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/font-family/roboto-black-webfont.woff2') format('woff2'),
         url('../fonts/font-family/roboto-black-webfont.woff') format('woff'),
         url('../fonts/font-family/roboto-black-webfont.ttf') format('truetype'),
         url('../fonts/font-family/roboto-black-webfont.svg#robotomedium') format('svg');
    font-weight: normal;
    font-style: normal;
}






/* Colors */
.color-grey-dark    {color: #1c1b1b;}
.color-green        {color:#187035;}
.color-dark-green   {color:#002909;}

/* ==========================================================================
   Parallax Scroll
   ========================================================================== */
body, html {
	height: 100%;
	min-height: 100%;
	background-color: #fcfae6;
    color: #1c1b1b;
}

body {
	
}

.no-js {
	padding-top: 106px;
}
h2 {
	margin-top: 0;
}
.loading {
	background: url('../img/ico_loading.gif') no-repeat center center;
}
section {
	min-width: 960px;
	opacity: 0;
}
.loaded section,
.no-js section {
	opacity: 1;
	-webkit-transition: opacity 300ms ease-out;
	-moz-transition: opacity 300ms ease-out;
	transition: opacity 300ms ease-out;
}
main {
	overflow-x: hidden;
}
#preload {
	width: 1px;
	height: 1px;
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
}
.bcg {
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	height: 100%;
	width: 100%;
}

.hsContainer {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
}

.hsContent {
	max-width: 1000px;
	position: absolute;
	left: 50%;
	top: 50%;
}

.hsContent h1 {
    font-weight: normal;
    text-transform: uppercase;
    text-align: center;
    margin:0 auto 40px;
    padding: 0;
    color: #fff;
    font-family: 'robotobold', arial;
    line-height: 1;
    font-size: 90px;
    letter-spacing: -0.07em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Slide 1 */
#slide-1 .bcg {background-image:url('../img/bg_kew_living-area-from-outside.jpg')}
#slide-1 .hsContent {

}

#slide-2 {
    height:auto!important;
}

#slide-1 .hsContainer {
    background-color: rgba(0,41,9,0.2);
}

/* Slide 2 */
#slide-2 .bcg {
    background-image:url('../img/bg-clifton-hill_back.jpg');
    height: 1400px
}
#slide-2 .hsContent {
    width: 1000px;
    height: 620px;
    position: relative;
    left: auto;
    top: auto;
    padding-top: 100px;
    padding-bottom: 100px;
    margin: 0 auto;
}

#slide-2 .hsContainer {
    background-color: rgba(251,249,229,0.9);
}

/* Slide 3 */

#slide-3 {
    height:auto!important;
}

#slide-3 .bcg {
    background-image:url('../img/bg_kew_front.jpg');
    height:1000px;
}
#slide-3 .hsContent {
    width:1000px;
    height:700px;
    margin-left:-500px;
    margin-top:-350px;
}

#slide-3 .hsContent h1 {
    letter-spacing: -0.02em;
}

#slide-3 .hsContainer {
    /* background-color: rgba(0,41,9,0.9); */
    background-color: rgba(255,255,255,0.9);
}

#slide-3 .sub-headings p {
    color:#1c1b1b;
    display: none;
}

#slide-3 .work-caption h2,
#slide-3 .work-caption p {
    color: #1c1b1b;
}

#slide-3 .work-caption h2 {
    font-family: 'robotolight',arial;
    min-height: 1px;
    font-weight: bold;
    font-size: 18px;
}



/* Slide 4 */
#slide-4 .bcg {background-image:url('../img/bg_spensley-st_kitchen-front-on.jpg')}

#slide-4 .hsContent {
    width: 1000px;
    height: 540px;
    margin-left:-500px;
    margin-top:-290px;
}

#slide-4 .hsContainer {
    background-color: rgba(251,249,229,0.9);
    color: #1c1b1b;
}


/* Slide 5 */
#slide-5 .bcg {
    background-image:url('../img/bg_kew_front.jpg');
}
#slide-5 .hsContent {
    width: 1000px;
    height: 500px;
    margin-left:-500px;
    margin-top:-250px;
}

#slide-5 .hsContainer {
    background-color: rgba(0,41,9,0.6);
}


.image-lightbox {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    left:-9999px;
}

.image-lightbox li {
    margin: 0;
    padding: 0;
}

/* BUTTONS */

.btn-container {
    text-align: center;
}

.btn {
    display: inline-block;
    color:#187035;
    font-size: 18px;
    font-family: 'robotolight',arial;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
}

.btn span {
    display: inline-block;
    padding: 15px 30px;
    border:2px solid #187035;
}

.btn-light span {
    border-color:#fff;
    color:#fff;
}

.btn-light {
    font-weight: normal;
}

/* *** CONTENT *** */
#nav {
    position: fixed;
    left:0;
    top:0;
    width:100%;
    background-color: #fff;
    padding:2px 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'robotolight', arial;
    font-size: 16px;
    text-transform: uppercase;
    z-index: 100;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

#nav .logo {
    display: block;
    background: url('../img/logo_dome_new.png') no-repeat 50% 50%;
    width:104px;
    height: 47px;
    text-indent:-9999px;
    float:left;
    margin-right:30px;
    position: absolute;
    left:15px;
    top:4px;
}

#nav ul {
    list-style:none;
    margin:0 auto;
    padding:0;
    text-align: center;
}

#nav li {
    display: inline-block;
    margin:0 auto;
    text-align: center;
}

#nav li a {
    display: block;
    margin:0;
    padding: 15px;
    color:#1c1b1b;
    text-decoration: none;
    font-family: 'robotomedium',arial;
}

#slide-1 .hsContent {
    width: 600px;
    height: 500px;
    margin: -250px auto auto -300px;
}

#slide-1 .slide-container {
    padding: 0;
    margin: 0 auto;
}

#slide-1 h1 {
    font-weight: normal;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1px;
    padding: 30px;
}

#slide-1 h1 span {
    display: block;
    line-height: 1;
}

#slide-1 h1 .h-dome {
    color: #fff;
    font-family: 'robotobold', arial;
    line-height: 1;
    font-size: 90px;
    letter-spacing: -0.07em;
    text-indent: -0.15em;
    text-shadow: 0 2px 3px rgba(0,0,0,0.5);
}

#slide-1 h1 .h-sub {
    font-size: 45px;
    color:#fff;
    font-family: 'robotothin', arial;
    line-height: .9;
    text-shadow: 0 1px 2px rgba(0,0,0,0.9);
}

#slide-1 h1 .h-building {
    letter-spacing: 0.1em;
}

#slide-1 h1 .h-projects {
    letter-spacing: 0.02em;
    text-indent: -0.1em;
}

#slide-1 .sub-heading {
    font-family: 'robotothin',arial;
    font-size: 30px;
    text-align: center;
    font-weight: normal;
    color:#1c1b1b;
    letter-spacing: -0.02em;
    margin: 0;
    color:#fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.9);
    padding: 30px 10px;
}

#slide-2 h1 {
    color:#1c1b1b;
    text-shadow:none;
}

.our-work-container {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.our-work-container > li {
    float:left;
    margin:0 auto;
    padding: 20px 30px;
    width: 33.3%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#slide-2 .our-work-container > li {
    width: 25%;
}

.our-work-container > li.row-break {
    margin-left:0;
}


#slide-2 .our-work-container > li.row-break {
    margin-left: 0;
}

.our-work-container .img-container {
    border-radius:400px;
    display: block;
    overflow: hidden;
    margin: 0 auto 20px;
    width:100%;
    position: relative;
    z-index: 5;
}

#slide-3 .our-work-container .img-container {
    cursor: default;
}

.overlay-our-work-img {
    display: block;
    color:#fff;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    background-color: rgb(0,41,9);
    opacity:0.6;
}

.overlay-our-work-img span {
    font-size: 30px;
    text-align: center;
    margin: 0 auto;
    padding: 45px 0 0;
    background:url('../img/icon-camera-white.png') no-repeat 50% 0;
    position: absolute;
    left:50%;
    top:50%;
    font-family: 'robotothin',arial;
    width: 50px;
    margin:-25px auto 0 -25px;
    height: 50px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}

.our-work-container .img-container img {
    display: block;
    margin:0 auto;
    padding: 0;
    width: 100%;
    height: 100%;
}

.work-caption {
    color:#1c1b1b;
    text-align: center;
}

.work-caption h2 {
    font-size: 18px;
    font-family: 'robotothin',arial;
    margin: 0 auto 10px;
    min-height: 3em;
    color:#1c1b1b;
}

.work-caption p {
    margin: 0;
    font-size: 14px;
    font-family: 'robotolight',arial;
    line-height: 1.6em;
}


/*
.masonry-container {
    width: 100%;
    background-color: #111;
}

.masonry-container .m {
    width: 24%;
    border:1px solid #444;
    height:100px;
    background-color: #222;
}

.masonry-container .m-tall {
    height:200px;
}

.masonry-container .m-double {
    height:200px;
    width: 49%;
}
*/

#slide-3 h1 {
    margin-bottom: 15px;
    color: #1c1b1b;
    text-shadow:none;
}

.the-detail {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: #1c1b1b;
}

.sub-headings {
    margin:0 200px 30px;
    padding: 0;
}

.sub-headings p {
    font-family: 'robotothin', arial;
    font-size: 24px;
    margin:0;
    padding: 0;
    text-align: center;
    color: #fff;
    font-weight: bold;
}

#slide-4 .sub-headings p {
    color: #1c1b1b;
}

#slide-4 h1 {
    color:#1c1b1b;
    text-shadow:none;
    margin-bottom: 10px;
}

#slide-4 .sub-headings {
    text-align: center;
}

#slide-4 .sub-headings h2 {
    font-family: 'robotothin',arial;
    font-size: 36px;
}

#slide-4 .culture-content {
    margin: 0 200px 30px;
    line-height: 1.8;
    text-align: left;
}

#slide-4 p {
    font-size: 18px;
    font-family: 'robotolight',arial;
}

#slide-5 .sub-headings {
    display: none;
}

#slide-5 .sub-headings h2{
    color:#fff;
    text-align: center;
    font-family: 'robotothin',arial;
    font-size: 30px;
    font-weight: normal;
}

#slide-5 .contact-content {
    color: #fff;
    overflow: hidden;
    text-align: center;
}

#slide-5 .contact-person {
    display: inline-block;
    text-align: center;
    margin-right: 10px;
    width: 360px;
    height: 360px;
    background-color: rgba(0,0,0,0.4);
    border-radius:180px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 120px;
}

#slide-5 .contact-person h3 {
    font-family: 'robotolight',arial;
    font-size: 24px;
    text-align: center;
    font-weight: normal;
    margin: 0 auto;
}

#slide-5 .contact-person h4 {
    font-family: 'robotolight',arial;
    font-size: 13px;
    text-align: center;
    text-transform: uppercase;
    font-weight: normal;
    margin: 0 auto 15px;
}

#slide-5 .contact-deets {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: 'robotolight',arial;
}

#slide-5 .contact-deets .cd-address {
    font-size: 16px;
    margin-bottom: 15px;
}

#slide-5 .contact-andrew {
    display:none;
}

@media screen 
  and (min-device-width: 1000px) 
  and (max-device-width: 1200px) 
  and (-webkit-min-device-pixel-ratio: 1) { 
    .hsContent h1 {
        font-size: 60px;
    }
}

.mobile-only {
    display: none;
}

/* ==========================================================================
   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 (max-width: 1200px) {
    .hsContent h1 {
        font-size: 70px;
        margin-bottom: 20px;
    }

    .work-caption p {
        display: none;
    }

    #slide-2 .hsContent {
        margin-top: 0;
    }

    #slide-3 .hsContent {
        height: 600px;
        margin-top: -200px;
    }

    #slide-3 h1 {
        font-size: 60px;
    }

    #slide-4 .hsContent {
        height: 500px;
        margin-top: -240px;
    }
}


@media only screen and (max-width: 720px) {
    .loaded section {
        height:auto!important;
        -webkit-transition:none;
        transition:none;
        min-width: 0;
    }

    .bcg {
        width: auto;
        height:auto;
        background-attachment: local;
    }

    #slide-2 .bcg {
        height:100%;
    }

    #slide-2 .our-work-container > li.row-break {
        margin-left: auto;
    }

    .hsContainer {
        width:auto;
        height:auto;
    }

    .hsContent {
        position: relative;
        left:auto;
        top:auto;
        width:auto!important;
        height:auto!important;
        margin:0 auto!important;
        padding: 100px 0 50px;
    }

    .hsContent h1 {
        font-size: 50px;
    }

    #nav {
        height: 60px;
        background-color: #fff;
    }

    #nav > ul {
        display: none;
        position: absolute;
        top:60px;
        left:0;
        width: 100%;
        margin: 0;
        padding: 0;
        float:none;
    }

    #nav > ul li {
        display: block;
        margin: 0;
        padding: 0;
    }

    #nav > ul li a {
        display: block;
        margin: 0;
        padding: 30px 0;
        background-color: #333;
        color:#fff;
        border-bottom: 1px solid #111;
        font-size: 24px;
    }


    .nav-toggle {
        height: 41px;
        width: 100px;
        background-color: #333;
        color:#fff;
        font-size: 18px;
        font-weight: bold;
        position: absolute;
        right:0;
        top:0;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        vertical-align: middle;
        padding-top: 19px;
        letter-spacing: 0.1em;
    }

    #slide-1 .sub-heading {
        font-size: 21px;
    }

    .work-caption p {
        display: none;
    }

    .our-work-container > li {
        float:none;
        width: auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .our-work-container > li:last-child {
        margin-bottom: 30px;
    }

    .sub-headings {
        margin: 0 auto 20px;
    }

    #slide-2 .our-work-container > li {
        width:75%;
    }

    #slide-4 .sub-headings h2 {
        font-size: 24px;
    }

    #slide-4 .culture-content {
        margin:0 auto 30px;
        padding: 0 40px;
    }

    #slide-5 .contact-person {
        padding-top: 0;
        padding-bottom: 80px;
        width: auto;
        height: auto;
        background-color: transparent;
    }
}



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