@import url(http://fonts.googleapis.com/css?family=Raleway:400,500,600,300);

html, body {
    margin: 0;
    padding: 0;
}

html {
    overflow-y: scroll;
}

body {
    font-family: 'Raleway', helvetica, arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #525252;
}

a {
    text-decoration: none;
    color: #d53422;
    outline: 0;
}

a:active {
    outline: 0;
}

a:hover {
    color: #000;
}

.clearfix {
    *zoom: 1;
    clear: both;
}

.clearfix::before,
.clearfix::after {
     display: table;
     content: "";
     line-height: 0;
}

.clearfix::after {
     clear: both;
}

.hcont {
    width: 100%;
    max-width: 1085px;
    margin: 0 auto;
    padding: 0 12px;

    box-sizing: border-box;
}

.social-icons {
    margin: 30px 0 20px;
    margin-right: 8px;
}
.social-icons a {float: left; width: 28px; height: 28px; display: inline-block; *display: inline; zoom: 1; background: url(img/social_icons.png) no-repeat; margin-left:3px; margin-bottom: 5px;}
.social-icons a:hover {opacity: .75;}
.social-icons a.ico1 {background-position: -3px 0;}
.social-icons a.ico2 {background-position: -33px 0;}
.social-icons a.ico3 {background-position: -63px 0;}
.social-icons a.ico4 {background-position: -94px 0;}
.social-icons a.ico5 {background-position: -125px 0;}
.social-icons a.ico6 {background-position: -156px 0;}
.social-icons a.ico7 {background-position: -187px 0;}
.social-icons a.ico8 {background-position: -218px 0;}

.cert-logos {
    position: absolute;
    right: 0;
    top: 20px;
}

@media (max-width: 660px) {
    .cert-logos {
        display: none;
    }
}

.cert-logos a img {
    opacity: .4;
    transition: opacity .2s;
}

.cert-logos a:hover img {
    opacity: .9;
}

.cert-logos img {
    display: inline-block;
    margin-left: 3px;
}

.logo {
    display: block !important;
    margin-top: 20px;
    border-radius: 8px;
    transition: opacity 0.1s;
    width: 100%;
    max-width: 206px;
}

.logo img {
    display: block;
    width: 100%;
}

.logo:hover {
    opacity: 0.7;
}

.tagline {
    text-transform: lowercase;
    margin: 15px 0 30px;
}

.nav {
    float: right;
    font-size: 13px;
    padding-bottom: 25px;
    position: relative;
}

.nav--subtle {
    opacity: 0.4;
    transition: opacity .3s;
}

.nav--subtle:hover {
    opacity: 1;
}

.nav > a {
    display: inline-block;
    width: 100%;
    margin-bottom: 13px;
    color: inherit;
    text-transform: lowercase;
}

.nav > a span {
    display: block;
    text-transform: uppercase;
}

.nav > a:hover, .nav > a.active {
    color: #000;
    font-weight: 600;
}

.nv:hover span, .nv.active span {
    color: #d53422;
}

/* Different menu item colours */
.nv--about:hover span, .nv--about.active span {
    color: rgb(237, 199, 56);
}
.nv--family:hover span, .nv--family.active span {
    color: rgb(33, 107, 156);
}
.nv--drawing-board:hover span, .nv--drawing-board.active span {
    color: rgb(130, 205, 201);
}
.nv--archives:hover span, .nv--archives.active span {
    color: rgb(126, 168, 82);
}
.nv--tools-of-the-trade:hover span, .nv--tools-of-the-trade.active span {
    color: rgb(245, 144, 38);
}
.nv--dreaming:hover span, .nv--dreaming.active span {
    color: rgb(207, 55, 31);
}
.nv--ethical:hover span, .nv--ethical.active span {
    color: rgb(237, 199, 56);
}
.nv--further-reading:hover span, .nv--further-reading.active span {
    color: rgb(33, 107, 156);
}

.content-wrapper {
    float: left;
    position: relative;
}

.content-wrapper ul {
    padding-left: 15px;
}

.footer {
    float: right;
    text-align: right;
    color: #999;
    margin-bottom: 60px;
    margin-top: 30px;
}

.footer__copyright {
    font-size: 13px;
    margin-top: 15px;
}

/* Sidebar width */

/*@media (min-width: 500px) {
    .nav { width: 45%; }
    .content-wrapper {width: 55%; }
}

@media (min-width: 660px) {
    .nav { width: 40%; }
    .content-wrapper {width: 60%; }
}*/

@media (min-width: 560px) {
    .nav { width: 35%; }
    .content-wrapper {width: 65%; }
}

@media (min-width: 880px) {
    .nav { width: 30%; }
    .content-wrapper {width: 70%; }
}

@media (min-width: 1090px) {
    .nav { width: 25%; }
    .content-wrapper {width: 75%; }
}


/* Sidebar on top */

@media (max-width: 560px) {
    .nav {
        width: auto;
        float: none;
        margin: 0;
        padding-bottom: 0;
    }

    .content-wrapper {
        float: none;
    }

    .content {
        margin: 0 !important;
    }

    .social-icons {
        margin-top: 12px;
        margin-bottom: 10px;
    }

    .cert-logos {
        display: block;
        top: -8px;
    }

    .footer {
        float: none;
        text-align: left;
        margin-top: 10px;
        margin-bottom: 30px;
    }

    .footer__copyright {
        display: none;
    }
}

.content {
    margin: 25px 30px 5px 15px;
    min-height: 320px;
}

@media (min-width: 760px) {
    .content {
        margin: 40px 60px 5px 40px;
    }
}

@media (min-width: 940px) {
    .content-wrapper--decorated::before {
        content: '';
        background-image: url(img/board-top.png);
        width: 295px;
        height: 296px;
        position: absolute;
        top: 21px;
        left: 34px;
        z-index: -1;

        top: 3px;
        left: 21px;
        background-image: url(img/board-top-v2.gif);
    }

    .content-wrapper--decorated::after {
        content: '';
        background-image: url(img/board-bottom.png);
        width: 392px;
        height: 357px;
        position: absolute;
        bottom: 90px;
        right: 60px;
        z-index: -1;

        background-image: url(img/board-bottom-v2.gif);
    }

    .content {
        margin: 100px 120px 170px 100px;
    }
}

.content h1 {
    font-family: 'Courier New', Courier, 'Lucida Sans Typewriter', 'Lucida Typewriter', monospace;
    margin: 20px 0;
    font-size: 28px;
    font-weight: bold;
}

.content p {
    margin: 15px 0;
}

.office-icon {
    float: left;
    margin-right: 15px;
}

.profile {
    overflow: auto;
    margin: 25px 0;
}

.profile img {
    float: left;
    margin-right: 15px;
}

.profile h2 {
    font-size: inherit;
    margin: 0 0 2px;
}

.profile p {
    margin: 2px 0;
}

.home {
    border: 5px #000 solid;
    width: auto;
    margin-right: 30px;
    margin-top: 90px;
    height: 521px;
    position: relative;
    margin-bottom: -60px;
}

@media (max-width: 1100px) {
    .home {
        display: none;
    }
}

.home__inner {
    position: absolute;
    left: 50%;
    margin-left: -378px;
    height: 480px;
}

.home__bg {
    position: absolute;
}

/* Coloured object rollovers */

.home__object {
    position: absolute !important;
    background-repeat: no-repeat;
    background-position: 999px;
}

.home__object:hover, .home__object.active {
    background-position: 0;
}

.home__object--logo {
    width: 130px;
    height: 71px;
    background-image: url(img/home/logo.png);
    left: 0px;
    top: 18px;
}

.home__object--books {
    width: 138px;
    height: 101px;
    background-image: url(img/home/books.png);
    left: 618px;
    top: 280px;
}

.home__object--chair {
    width: 270px;
    height: 217px;
    background-image: url(img/home/chair.png);
    left: 0px;
    top: 304px;
}

.home__object--drawer {
    width: 217px;
    height: 124px;
    background-image: url(img/home/drawer.png);
    left: 540px;
    top: 397px;
}

.home__object--monkey {
    width: 141px;
    height: 112px;
    background-image: url(img/home/monkey.png);
    left: 218px;
    top: 18px;
}

.home__object--rolls {
    width: 348px;
    height: 76px;
    background-image: url(img/home/rolls.png);
    left: 296px;
    top: 438px;
}

.home__object--hills {
    width: 128px;
    height: 456px;
    background-image: url(img/home/hills.png);
    left: 0px;
    top: 0px;
}

.home__object--tree {
    width: 211px;
    height: 282px;
    background-image: url(img/home/tree.png);
    left: 545px;
    top: 5px;
}

/* Itmes pinned on drawing board */

.home__pin {
    background-size: cover;
    position: absolute !important;
    transition: all 300ms ease;
    border: 1px rgba(0, 0, 0, 0.2) solid;
}

.home__pin:hover, .home__pin.active {
    transform: scale(1.05);
}

/* .home__pin--who {
    width: 64px;
    height: 34px;
    background-image: url(img/home/pin-who.jpg);
    left: 260px;
    top: 90px;
} */

.home__pin--barn {
    width: 232px;
    height: 155px;
    background-image: url(img/home/pin-barn.jpg);
    left: 380px;
    top: 110px;
}

.home__pin--barn:hover {
    transform: scale(1.03);
}

.home__pin--tech-drawings {
    width: 69px;
    height: 95px;
    background-image: url(img/home/pin-tech-drawings.jpg);
    left: 265px;
    top: 301px;
}

.home__pin--regulations {
    width: 77px;
    height: 65px;
    background-image: url(img/home/pin-regulations.jpg);
    left: 328px;
    top: 322px;
}

.home__pin--dom-planning {
    width: 84px;
    height: 83px;
    background-image: url(img/home/pin-dom-planning.jpg);
    left: 396px;
    top: 314px;
}

.home__pin--getting-most {
    width: 80px;
    height: 61px;
    background-image: url(img/home/pin-getting-most.jpg);
    left: 465px;
    top: 324px;
}

.gallery {
    margin-top: 100px;
}

.gallery__image {
    float: left;
    width: 100%;
    max-width: 580px;
    min-height: 240px;
    margin-right: 20px;
    position: relative;
    border-radius: 5px;
    background: #333;
}

.gallery__image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    border-radius: 5px;
}

.gallery__arrow {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    cursor: pointer;
}

.gallery__image:hover .gallery__arrow {
    display: block;
}

.gallery__arrow--left {
    left: 0;
}

.gallery__arrow--right {
    right: 0;
}

.gallery__arrow-inner {
    display: block;
    margin: 180px auto;
    vertical-align: middle;
    background-image: url(img/gallery-arrows.png);
    background-repeat: no-repeat;
    width: 49px;
    height: 48px;
}

.gallery__arrow--left .gallery__arrow-inner {
    background-position: -6px -36px;
}

.gallery__arrow--left:hover .gallery__arrow-inner {
    background-position: -126px -36px;
}

.gallery__arrow--left:active .gallery__arrow-inner {
    background-position: -245px -36px;
}

.gallery__arrow--right .gallery__arrow-inner {
    background-position: -66px -36px;
}

.gallery__arrow--right:hover .gallery__arrow-inner {
    background-position: -186px -36px;
}

.gallery__arrow--right:active .gallery__arrow-inner {
    background-position: -305px -36px;
}

.gallery__title {
    font-size: 17px;
    line-height: 1.3;
    margin-top: 0;
}

.gallery__text {
    font-size: 13px;
}

.gallery__aside {
    margin-right: 20px;
    overflow: auto;
}

.gallery__thumbs {
    padding: 0 !important;
    list-style-type: none;
}

.gallery__thumbs li {
    display: inline-block;
    width: 80px;
    height: 60px;
    cursor: pointer;
}

.gallery__thumbs img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
    border: 2px transparent solid;
    box-sizing: border-box;
}

.gallery__thumbs img:hover {
    opacity: 0.9;
}

.gallery__thumb-img--selected {
    border-color: #1f699c !important;
}

@media (max-width: 1090px) {
    .gallery__image {
        max-width: 100%;
        float: none;
    }

    .gallery__aside {
        float: none;
    }

    .gallery__text {
        float: left;
        width: 50%;
    }

    .gallery__thumbs {
        float: left;
        width: 50%;
    }
}

@media (max-width: 390px) {

    .gallery__text {
        float: none;
        width: 100%;
    }

    .gallery__thumbs {
        float: none;
        width: 100%;
    }
}


@media (max-width: 560px) {
    .gallery {
        margin-top: 0;
    }
}

.project {
    display: inline-block;
    vertical-align: top;
    width: 169px;
    margin: 10px;
}

.project img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    border-radius: 4px;
    margin-bottom: 7px;
    transition: all 0.1s;
}

.project:hover img {
    opacity: 0.9;
}

.project span {
    display: block;
    line-height: 1.2;
    transition: all 0.1s;
    font-weight: 500;
}

.cats {
    margin-bottom: 15px;
}

.cats span {
    color: #aaa;
}

.cats a {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
    border-left: 1px #ddd solid;
    cursor: pointer;
}

.cats a.cat--selected {
    font-weight: 600;
}

.cats a:first-of-type {
    border-left: 0;
    padding-left: 2px;
}

#cookie-bar {background:#444; height:24px; line-height:24px; color:#eeeeee; text-align:center; padding:3px 0;}
#cookie-bar.fixed {position:fixed; top:0; left:0; width:100%;}
#cookie-bar.fixed.bottom {bottom:0; top:auto;}
#cookie-bar p {margin:0; padding:0;}
#cookie-bar a {color:#ffffff; display:inline-block; border-radius:3px; text-decoration:none; padding:0 6px; margin-left:8px;}
#cookie-bar .cb-enable {background:#007700;}
#cookie-bar .cb-enable:hover {background:#009900;}
#cookie-bar .cb-disable {background:#990000;}
#cookie-bar .cb-disable:hover {background:#bb0000;}
#cookie-bar .cb-policy {background:#0033bb;}
#cookie-bar .cb-policy:hover {background:#0055dd;}