/* yellow-stilllife:#ffe574 / black:#030000 / grey:#fafaf8 / turquoize-portrait:#6fc7ae / pink-info:#f9aa87 */

html {
    color: #030000;
    background: #fafaf8;
    font-size: 1em;
    line-height: 1.4;
    overflow-y: scroll;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0
}

a {
    text-decoration: none;
    cursor: pointer;
    color: #030000
}

a:hover,
a:focus {
    cursor: pointer !important
}

ul {
    list-style: none
}

li {
    display: inline-block;
    vertical-align: top
}

@font-face {
    font-family: 'Brown';
    src: url('../font/BrownPro-Regular.eot');
    src: url('../font/BrownPro-Regular?iefix') format('eot'), url('../font/BrownPro-Regular.woff2') format('woff2'), url('../font/BrownPro-Regular.woff') format('woff'), url('../font/BrownPro-Regular.ttf') format('truetype'), url('../font/BrownPro-Regular.svg#Brown') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"],
[class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-twitter:before {
    content: "\e900";
}

.icon-instagram:before {
    content: "\e901";
}

body {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 1355px;
    font-family: 'Brown', sans-serif
}

body::-webkit-scrollbar {
    width: 0.5em
}

body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3)
}

body::-webkit-scrollbar-thumb {
    background-color: #000;
    outline: 1px solid slategrey
}

.popup::-webkit-scrollbar {
    width: 0.5em
}

.popup::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3)
}

.popup::-webkit-scrollbar-thumb {
    background-color: #ffe574;
    outline: 1px solid slategrey
}

#top {
    position: relative;
    top: -100vh;
    height: 0;
    width: 100%
}

#up {
    position: fixed;
    bottom: 49%;
    right: 7%;
    display: none;
    z-index: 100
}

#up img {
    width: 35px
}

.wrapper {
    margin: 40px 150px
}


/* Important min-height Isotope Filter min-height:1200px !important*/


/*- Header -*/

.nav-mobile {
    display: none
}

header {
    position: relative;
    width: 100%
}

nav ul {
    position: relative
}

nav .logo {
    position: relative;
    top: -10px;
    width: 190px
}

nav .logo-mobile {
    display: none
}

nav li {
    position: relative;
    width: 15.6%;
    /*LAURA - WAS 12.6*/
    margin-right: 5%;
    z-index: 1
}

nav .life-color:hover,
.wrapper-shape.life-color:hover {
    background: #ffe574
}

nav .portrait-color:hover,
.wrapper-shape.portrait-color:hover {
    background: #6fc7ae
}

nav .info-color:hover {
    background: #f9aa87
}


/*-- Background colour - Still Life --*/

.info-page nav .info-color {
    background: #f9aa87;
}


/*-- Background colour - Portrait --*/

nav li.contact {
    position: absolute;
    top: 0;
    right: 0;
    text-align: left;
    z-index: 0;
}

nav li.contact a,
nav li.contact p {
    font-size: .8em;
}

nav .shape,
.wrapper-shape {
    width: auto;
    padding: 0 15px;
    height: 30px;
    -webkit-transform: skew(-20deg);
    -moz-transform: skew(-20deg);
    -o-transform: skew(-20deg);
    border: 2px solid #030000
}

nav .shape a,
.wrapper-shape a {
    display: inline-block;
    line-height: 30px;
    color: #030000;
    letter-spacing: 2px;
    -webkit-transform: skew(20deg);
    -moz-transform: skew(20deg);
    -o-transform: skew(20deg)
}

nav li a,
.box-image a {
    width: 100%;
    text-align: center;
    z-index: 11;
    font-size: 16px;
    font-family: 'Brown', sans-serif
}

nav li:nth-child(1) {
    margin-right: 13%
}

nav li:nth-child(4) {
    margin-right: 0
}

nav li:nth-child(3) a {
    color: #000
}

.socialmedia {
    position: absolute;
    top: 0;
    right: -14%;
    /*LAURA - WAS -10%*/
}

.socialmedia img {
    width: 20px;
    margin-right: 5px
}


/* ---- isotope ---- */


/* clearfix */

#container:after {
    content: '';
    display: block;
    clear: both
}

#container {
    width: 100%;
    margin: 20px auto 0px
}


/*height:1060px !important*/

.gutter-sizer {
    width: 2%
}

.item,
.grid-sizer {
    width: 23.5%
}

.item {
    overflow: hidden !important;
    position: relative;
    max-height: 376px;
    float: left;
    margin-bottom: 2%
}

.item.w2 {
    width: 49%
}


/*.item.w {
    width: 23.5%
}*/

.life .box-image {
    background: #ffe574
}

.portrait .box-image {
    background: #6fc7ae
}

.number {
    height: 0 !important
}

.mtop a {
    margin-top: -37.5px !important
}

.container-box-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0
}

.box-image .a-square {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    max-height: 100% !important;
    -webkit-transform: skewY(0deg) !important;
    transform: skewY(0deg) !important
}

.item svg:hover,
.item svg:focus {
    cursor: pointer
}

.w .box-image,
.w2 .box-image {
    position: relative;
    width: 100%;
    height: 100%;
    opacity: 0;
    filter: Alpha(opacity=0);
    z-index: -1;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s
}

.item:hover .box-image,
.container-box-image:hover .box-image,
.item:focus .box-image,
.container-box-image:focus .box-image {
    opacity: 0.8 !important;
    filter: Alpha(opacity=80);
    z-index: 10;
    cursor: pointer;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s
}

.box-image a {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -130px;
    width: 260px;
    max-height: 50px;
    line-height: 25px !important;
    font-size: 20px
}

.box-image a span {
    display: block;
    font-size: 14px;
    text-transform: lowercase !important
}

.graphic .box-image a,
.physical .box-image a {
    color: #fff !important
}

.digital .box-image a {
    color: #000 !important
}

.item img {
    position: relative;
    z-index: -2
}

.img-responsive {
    width: 100%
}


/* POPUP */

.popup {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fafaf8;
    pointer-events: none;
    opacity: 0;
    text-align: center;
    overflow-y: scroll;
    z-index: 99999;
    -webkit-transition: all 400ms ease-in;
    -moz-transition: all 400ms ease-in;
    transition: all 400ms ease-in;
}

.popup:target {
    top: 0;
    opacity: 1;
    pointer-events: auto
}

.wrapper-shape {
    width: 170px;
    margin: 40px auto
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;
    -webkit-animation: spin 4s linear infinite;
    -moz-animation: spin 4s linear infinite;
    animation: spin 4s linear infinite;
}

@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


/*ric/laura edits: display:inline-block*/

.wrapper-shape a {
    font-family: 'Brown', sans-serif
}

.img-popup {
    max-height: 85vh;
    margin: 0 0 10px;
    max-width: 90%;
}

footer {
    position: relative;
    text-align: center;
    margin: 0 auto 10px !important
}

footer p {
    font-size: 10px
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    .w,
    .grid-sizer {
        width: 49% !important
    }
    .w2 {
        width: 100% !important
    }
    nav li a {
        font-size: 14px
    }
}


/* 19" to 24" + Desktops and laptops ----------- */

@media only screen and (min-width: 2000px) {
     body{max-width:1900px}
     .item{max-height:570px}
    nav li a, .box-image a {font-size:24px}
    nav .shape a, .wrapper-shape a {line-height:37px}
    nav .shape,.wrapper-shape {height:35px !important}
    nav li.contact,.close{font-size:21px}
    .socialmedia {right: -8% !important}
    nav .logo {width: 240px}
    .project-description p { font-size: 30px !important}
    .wrapper-shape {width: 215px !important}
}

@media only screen and (min-width: 1440px) {
    nav li.contact {
        margin-top: 12px;
        /*LAURA ADDED*/
        letter-spacing: 2px;
        /*LAURA ADDED*/
        line-height: 18px;
        /*LAURA ADDED*/
    }
    nav .shape,
    .wrapper-shape {
        height: 28px;
        /*LAURA - WAS 30PX*/
        margin-top: 12px;
        /*LAURA ADDED*/
    }
    nav .shape a,
    .wrapper-shape a {
        letter-spacing: 2.5px;
        /*LAURA - WAS 2PX*/
    }
    .socialmedia {
        right: -14%;
        /*LAURA - WAS -10%*/
        margin-top: 12px;
        /*LAURA ADDED*/
    }
    .popup {
        padding-top: 40px;
    }
    #up img {
        width: 50px;
    }
    .footer p {
    font-size: 14px !important
}
   
}


/* 15" notebooks ----------- */

@media only screen and (min-width: 1366px) and (max-width: 1440px) {
    nav li.contact {
        margin-top: 12px;
        /*LAURA ADDED*/
        letter-spacing: 2px;
        /*LAURA ADDED*/
        line-height: 18px;
        /*LAURA ADDED*/
    }
    nav .shape,
    .wrapper-shape {
        height: 28px;
        /*LAURA - WAS 30PX*/
        margin-top: 12px;
        /*LAURA ADDED*/
    }
    nav .shape a,
    .wrapper-shape a {
        letter-spacing: 2.5px;
        /*LAURA - WAS 2PX*/
    }
    .socialmedia {
        right: -10%;
        /*LAURA*/
        margin-top: 12px;
        /*LAURA ADDED*/
    }
    .popup {
        padding-top: 40px;
    }
    #up img {
        width: 50px;
    }
}


/* 13" notebooks and randoms ----------- */

@media only screen and (min-width: 1024px) and (max-width: 1366px) {
    nav li.contact {
        margin-top: 12px;
        /*LAURA ADDED*/
        letter-spacing: 2px;
        /*LAURA ADDED*/
        line-height: 18px;
        /*LAURA ADDED*/
    }
    nav .shape,
    .wrapper-shape {
        height: 28px;
        /*LAURA - WAS 30PX*/
        margin-top: 12px;
        /*LAURA ADDED*/
    }
    nav .shape a,
    .wrapper-shape a {
        letter-spacing: 2.5px;
        /*LAURA - WAS 2PX*/
    }
    .socialmedia {
        right: -10%;
        /*LAURA - WAS -10%*/
        margin-top: 12px;
        /*LAURA ADDED*/
    }
    .popup {
        padding-top: 40px;
    }
    nav li.contact a {
        font-size: .7em;
    }
    nav li.contact p {
        font-size: .7em;
    }
    #up img {
        width: 50px;
    }
}


/* iPads (landscape) ----------- */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    nav li:nth-child(1) {
        margin-right: 16%;
    }
    nav li {
        margin-right: 4%;
        /*LAURA*/
    }
    nav .fix-info li {
        margin-right: 4%;
        /*LAURA*/
    }
    nav .fix-info li:nth-child(1) {
        margin-right: 16%;
    }
}


/* iPads (portrait) ----------- */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    nav .logo-mobile {
        display: none!important;
    }
    nav .logo {
        display: block!important;
    }
    nav li:nth-child(1) {
        margin-right: 19%!important;
    }
    nav .shape,
    .wrapper-shape {
        margin-top: 12px;
        /*LAURA ADDED*/
    }
    .socialmedia {
        margin-top: 12px;
        /*LAURA ADDED*/
    }
    nav li {
        margin-right: 4.25%!important;
        /*LAURA*/
    }
    nav .fix-info li {
        margin-right: 4.25%;
        /*LAURA*/
    }
    nav .fix-info li:nth-child(1) {
        margin-right: 19%;
    }
}

@media(max-width: 1200px) {
    .contact {
        display: none
    }
    .socialmedia {
        right: 0
    }
}

@media(max-width: 960px) {
    .wrapper {
        width: 90%;
        margin: 40px auto
    }
    .img-popup {
        width: 90%;
        max-height: 100%;
        margin: 0 auto 10px
    }
}

@media(max-width: 820px) {
    nav li {
        margin-right: 6.25%
    }
    .item,
    .grid-sizer {
        width: 49%
    }
    .item.w2 {
        width: 100%
    }
    nav .shape a {
        font-size: 12px;
        line-height: 31px
    }
    nav .shape {
        height: 30px
    }
    .item {
        max-height: 600px!important;
    }
}

@media(max-width: 773px) {
    nav .logo {
        display: none
    }
    nav .logo-mobile {
        display: block;
        height: 40px;
        position: relative;
        top: -7px
    }
    nav li:nth-child(1) {
        margin-right: 7%
    }
    .project-description {
        width: 100% !important
    }
    #up {
        bottom: 7%;
    }
}

@media(max-width: 470px) {
    .project-description p {font-size:15px !important;}
    nav li {
        margin-right: 3%
    }
}

@media(max-width: 425px) {
    nav li {
        margin-right: 3%
    }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
    body {
        cursor: pointer
    }
    .wrapper {
        min-height: 100% !important
    }
    .item {
        margin-bottom: 5%
    }
    .gutter-sizer {
        width: 5%
    }
    .item,
    .grid-sizer {
        width: 47.5%
    }
    .item .box-image a {
        display: none
    }
    .item:hover .box-image a,
    .container-box-image:hover .box-image a {
        display: block
    }
}


/* Samsung Galaxy S4 (landscape) ----------- */

@media only screen and (min-device-width: 320px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
    #container {
        margin-top: 25px !important
    }
    nav li:nth-child(1) {
        margin-right: 2%!important;
    }
}


/* Samsung Galaxy S5 (landscape) ----------- */

@media only screen and (min-device-width: 360px) and (max-device-height: 640px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 3) {
    #container {
        margin-top: 25px !important
    }
    nav li:nth-child(1) {
        margin-right: 2%!important;
    }
}


/*Iphone6 PLUS*/

@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation: landscape) {
    .item .box-image a {
        display: none
    }
    .item:hover .box-image a,
    .container-box-image:hover .box-image a {
        display: block
    }
    nav li:nth-child(1) {
        margin-right: 4.5%!important;
    }
}

@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation: portrait) {
    #container {
        margin-top: 20px
    }
    nav li:nth-child(1) {
        margin-right: 4%!important;
    }
    nav .shape {
        width: auto;
        padding: 0 7px!important;
        height: 24px;
        /*LAURA*/
    }
    nav .shape a {
        line-height: 25px
    }
    nav .logo-mobile {
        position: relative;
        top: -6px
    }
    .item .box-image a {
        display: none
    }
    .item:hover .box-image a,
    .container-box-image:hover .box-image a {
        display: block
    }
    nav li {
        margin-right: 3% !important/*LAURA*/
    }
    nav .shape a {
        letter-spacing: 1px !important;
    }
}


/*Iphone6*/

@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation: landscape) {
    .item .box-image a {
        display: none
    }
    .item:hover .box-image a,
    .container-box-image:hover .box-image a {
        display: block
    }
    nav li:nth-child(1) {
        margin-right: 2.5%!important;
    }
}

@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation: portrait) {
    #container {
        margin-top: 20px
    }
    nav li:nth-child(1) {
        margin-right: 0.5%!important;
    }
    nav .shape {
        width: auto;
        padding: 0 5px;
        height: 24px;
        /*LAURA*/
    }
    nav .shape a {
        line-height: 25px
    }
    nav .logo-mobile {
        position: relative;
        top: -6px
    }
    .item .box-image a {
        display: none
    }
    .item:hover .box-image a,
    .container-box-image:hover .box-image a {
        display: block
    }
    nav li {
        margin-right: 3% !important/*LAURA*/
    }
    nav .shape a {
        letter-spacing: 1px!important;
    }
}


/*Iphone5*/

@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (orientation: landscape) {
    .item .box-image a {
        display: none
    }
    .item:hover .box-image a,
    .container-box-image:hover .box-image a {
        display: block
    }
    nav li:nth-child(1) {
        margin-right: -1%!important;
    }
}

@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (orientation: portrait) {
    #container {
        margin-top: 20px
    }
    nav li:nth-child(1) {
        margin-right: 0%!important;
    }
    nav .shape {
        width: auto;
        padding: 0 5px;
        height: 24px;
        /*LAURA*/
    }
    nav .shape a {
        line-height: 25px
    }
    nav .logo-mobile {
        position: relative;
        top: -6px
    }
    .item .box-image a {
        display: none
    }
    .item:hover .box-image a,
    .container-box-image:hover .box-image a {
        display: block
    }
    nav .shape a {
        letter-spacing: 0
    }
}


/* Iphone 2-3-4 */

@media only screen and (max-device-width: 320px) {
    nav li {
        margin-right: 1% !important/*LAURA*/
    }
    nav .shape a {
        letter-spacing: 0
    }
    nav .logo-mobile {
        position: relative;
        top: -6px
    }
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {}

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.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;
}


/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }
    a[href^="#"]:after,
    a[href^="javascript:"]: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;
    }
    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }
    h2,
    h3 {
        page-break-after: avoid;
    }
}

.footer a:link {
    text-decoration: none;
    color: #000;
}

.footer a:visited {
    text-decoration: none;
    color: #000;
}

.footer a:hover {
    text-decoration: none;
    color: #000;
}

.footer a:active {
    text-decoration: none;
    color: #000;
}