/* CSS Globals */

* {
    transition: color 0.2s ease-out, background-color 0.2s ease-out;
    -webkit-transition: color 0.2s ease-out, background-color 0.2s ease-out;
    -moz-transition: color 0.2s ease-out, background-color 0.2s ease-out;
}

* {
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    border: 0;
}

html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.875em;
    background: #FFF;
    color: #000;
}

a {
    color: #413e3f;
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
        color: #CCC;
    }

h1, h2, h3, h4, h5, h6, p {
    margin-bottom: 10px;
}

img {
    max-width: 100%
}

ul, li {
    list-style: none;
}

    ul ul {
        padding: 0;
        margin: 0;
    }

audio, canvas, img, video {
    vertical-align: middle;
}

fieldset {
    padding: 0;
}

input, textarea {
    resize: none;
    line-height: 1em;
    border: 1px solid #cdcdcd;
    background: #cdcdcd;
    font-family: 'Open Sans', sans-serif;
    height: 32px;
    width: 604px;
    line-height: 32px;
    padding: 7px;
    margin-bottom: 28px;
    font-size: 1.167em;
}

input, textarea {
    display: block;
}

textarea {
    height: 282px;
}

    input:hover, textarea:hover {
        border: 1px solid #CCC;
    }

input[type=submit] {
    cursor: pointer;
    font-size: 0em;
    background: none;
    border: none;
    color: #FFF;
    height: 13px;
    width: 50.5px;
    padding: 0;
    background: url(/images/bg-send.png);
    background-size: 50.5px 13px;
}

.error {
    border: 1px solid #f00;
}

.hidden {
    display: none;
}

::-moz-selection {
    background: #000;
    color: #FFF;
    text-shadow: none;
}

::selection {
    background: #000;
    color: #FFF;
    text-shadow: none;
}

::-webkit-input-placeholder {
    color: #000;
}

:-moz-placeholder {
    color: #000;
}

::-moz-placeholder {
    color: #000;
}

:-ms-input-placeholder {
    color: #000;
}

/* Fonts */

*, .nav li li a {
    font-family: 'Open Sans', sans-serif;
}

b, strong, h1, h2, h3, .nav li a, input[type=submit] {
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
}

/* Layout */

.container {
    padding: 25px;
}

/* Header */

.header {
}

.nav {
    float: right;
}

    .nav > ul > li {
        display: inline-block;
        margin-left: 20px;
        vertical-align: top;
        position: relative;
    }

    .nav ul ul {
        display: none;
        position: absolute;
        z-index: 2;
        background: #FFF;
        padding: 20px;
        width: 100%;
        margin-left: -9px;
    }

    .nav ul a {
        text-transform: uppercase;
        font-size: 1em;
        padding: 0 10px;
    }

    .nav ul ul a {
        font-weight: normal;
        text-transform: none;
        padding: 0;
    }

    .nav .active a {
        color: #ccc;
    }

    .nav .active ul a {
        color: #413e3f;
    }

    .nav li li {
        margin-bottom: 10px;
    }

/* Content */

.content {
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/mask-home.png) center center no-repeat fixed;
    background-size: 100%;
}

.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/homepage/bg-1.jpg) center center no-repeat fixed;
    background-size: cover;
}

.content .bg {
    background: url(../images/about/bg-1.jpg) center center no-repeat fixed;
    opacity: 0.25;
    filter: alpha(opacity=25);
}

.contact .bg {
    background: url(../images/contact/bg-1.jpg) center center no-repeat fixed;
    opacity: 0.25;
    filter: alpha(opacity=25);
}

.logo {
    width: 300px;
    height: 62px;
    background: url(../images/logo.svg) 0% 50% no-repeat;
    background-size: 300px auto;
    margin-bottom: 34px;
    float: left;
}

    .logo a {
        width: 100%;
        height: 100%;
        display: block;
        text-decoration: none;
    }

.inner {
    position: relative;
    z-index: 1;
    padding: 50px 0;
    clear: both;
}

h1 {
    font-size: 2.764em;
    text-transform: uppercase;
    margin-bottom: 35px;
}

.lowercase {
    text-transform: none;
}

p {
    font-size: 1.167em;
    margin-bottom: 20px;
}

.body-content {
    max-width: 70%;
}

.column {
    float: left;
    width: 31%;
    padding-right: 4%;
}

.two-col {
    float: left;
}

div.two-col {
    width: 31%;
    margin-right: 4%;
}

form.two-col {
    width: 50%;
}

/* Gallery */

.title--gallery {
    text-transform: uppercase;
}

.gallery-intro {
    margin-bottom: 80px;
    max-width: 415px;
}

.gallery {
    padding: 0;
}

    .gallery li {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

.col {
    width: 102%;
    display: inline-block;
    margin-left: -1%;
}

    .col > div {
        float: left;
        width: 50%;
    }

        .col > div > div {
            width: 100%;
            height: 200px;
            padding: 0 2% 4%;
            box-sizing: border-box;
        }

.col-3 > div {
    width: 33.33%;
}

    .col-3 > div > div {
        padding: 0 4% 8%;
    }

.col-4 > div {
    width: 25%;
}

    .col-4 > div > div {
        padding: 0 4% 8%;
    }

.col > div > .portrait {
    height: 400px;
}

.col > div > div > div {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.col > div a {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    color: #FFF;
    font-size: 1em;
    text-align: center;
    opacity: 0;
    transition: all 0.4s ease-out;
}

    .col > div a:hover {
        opacity: 1;
    }

    .col > div a span {
        max-width: 90%;
        display: inline-block;
        text-transform: uppercase;
        vertical-align: middle;
    }

    .col > div a:after {
        content: "";
        width: 1px;
        height: 100%;
        display: inline-block;
        vertical-align: middle;
    }

/* Blog */

.blog {
    width: 100%;
    display: inline-block;
}

.blog-item {
    width: 30.3%;
    height: calc(20vw + 250px);
    float: left;
    margin-right: 3%;
}

.blog-image {
    width: 100%;
    height: 20vw;
    background-size: cover;
    background-position: 50%;
    margin-bottom: 30px;
}

.blog-timestamp {
    font-size: 14px;
}

.blog-text {
    height: 45px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-readmore {
    font-size: 14px;
}

/* Add This */
.addthis_sharing_toolbox {
    float: right;
    position: relative;
    top: -32px;
    height: 0;
}

.footer {
    display: inline-block;
    width: 100%;
}

/* Media Queries */

@media only screen and (max-width: 1270px) {
}

@media only screen and (max-width: 1060px) {
    .nav {
        top: 25px;
        right: 25px;
    }

    .column {
        width: 48%;
    }
}

@media only screen and (max-width: 1024px) {
    .body-content {
        max-width: 100%;
    }

    .logo {
        width: 180px;
        height: 53px;
        background-size: 180px auto;
        margin-bottom: 62px;
    }

    .nav {
        position: absolute;
        z-index: 2;
        right: 25px;
        top: 25px;
    }

        .nav > a {
            width: 55px;
            height: 55px;
            display: block;
            background: #404041;
            float: left;
        }

            .nav > a span {
                display: block;
                width: 35px;
                height: 10px;
                margin: 0 auto;
                position: relative;
                top: 20px;
                border-top: 2px solid #FFF;
                border-bottom: 2px solid #FFF;
                -webkit-transition: all .5s cubic-bezier(.17,.67,.47,.85);
                transition: all transform .5s cubic-bezier(.17,.67,.47,.85);
            }

                .nav > a span:before,
                .nav > a span:after {
                    content: "";
                    display: block;
                    width: 100%;
                    height: 2px;
                    background: #FFF;
                    position: absolute;
                    top: 4px;
                    left: 0;
                    -webkit-transition: -webkit-transform .5s cubic-bezier(.17,.67,.47,.85);
                    transition: transform .5s cubic-bezier(.17,.67,.47,.85);
                }

        .nav.on > a span {
            border: none;
        }

            .nav.on > a span:before {
                -webkit-transform: rotate(-45deg);
                -ms-transform: rotate(-45deg);
                transform: rotate(-45deg);
            }

            .nav.on > a span:after {
                -webkit-transform: rotate(45deg);
                -ms-transform: rotate(45deg);
                transform: rotate(45deg);
            }

        .nav > ul {
            width: 0px;
            overflow: hidden;
            background: #000;
            float: left;
            padding: 24px 0;
            -webkit-transition: all .5s cubic-bezier(.17,.67,.47,.85);
            transition: all .5s cubic-bezier(.17,.67,.47,.85);
        }

        .nav li {
            margin-bottom: 15px;
            padding: 0;
            min-width: 168px;
        }

            .nav li li {
                margin-bottom: 0;
                padding: 0;
            }

        .nav.on > ul {
            width: 225px;
            margin-right: -50px;
        }

        .nav ul ul {
            display: block;
            position: static;
            background: none;
            padding: 5px 20px 0;
        }

        .nav ul a {
            color: #999;
        }

    h1 {
        font-size: 2.364em;
    }

    .column {
        width: 98%;
    }

    input, textarea {
        width: 96%;
        padding: 7px 2%;
        margin-left: -1px;
    }

    .gallery-intro {
        margin-bottom: 20px;
    }

    div.two-col {
        width: 100%;
    }

    form.two-col {
        width: 100%;
    }

    .thumbnails ul,
    .gallery > ul,
    .thumbnails .prev a,
    .thumbnails .next a {
        display: none;
    }

    .blog-item {
        width: 100%;
        height: auto;
        margin-right: 0;
    }

    .blog-image {
        height: 50vw;
    }
}

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

    .addthis_sharing_toolbox {
        top: 0;
        height: 32px;
    }
}
