/*
Theme Name: Jayne Design Studio
Theme URI: http://jaynedesignstudio.com/
Description: A theme for WordPress.
Author: Dave Funkhouser, Drew Baker, Rick Baker, John Robson, Funkhaus
Author URI: http://www.funkhaus.us
Version: 1.0

Fonts:
    font-family: 'TheinhardtThin-Italic', Helvetica, Arial, sans-serif;
    font-family: 'TheinhardtLight-Italic', Helvetica, Arial, sans-serif;
    font-family: 'TheinhardtLight-Regular', Helvetica, Arial, sans-serif;
    font-family: 'TheinhardtRegular-Regular', Helvetica, Arial, sans-serif;
    font-family: 'TheinhardtMedium-Regular', Helvetica, Arial, sans-serif;

Colors:
    Dark Green: #BAC0BF;
    Beige: #E9E7E4;
    Gray: #4D4D4D;
    Off white: #ebe8e5;

/*-------------------------------------------------------------- */

/*
 * Fonts
 */
    @import url('fonts/fonts.css');


/*
 * Globals
 */
    body {
        background-color: #E9E7E4;
        font-family: 'TheinhardtRegular-Regular', Helvetica, Arial, sans-serif;
        font-size: 16px;
        letter-spacing: 0.7px;
        color: #4D4D4D;
        margin: 0;
        padding: 0;
        -moz-osx-font-smoothing: grayscale;
    }
    h1,h2,h3,h4,h5,h6 {
        margin: 0;
        padding: 0;
        line-height: 1;
        font-weight: normal;
    }
    ::selection {
        color: #ebebe3;
        background: #222;
    }
    ::-moz-selection {
        color: #ebebe3;
        background: #222;
    }
    .post-block:hover .read-more .svg {
        transform: translateX(5px);
    }
    #content.inactive .page {
        opacity: 0.4;
    }
    strong {
        font-family: 'TheinhardtMedium-Regular', Helvetica, Arial, sans-serif;
        font-weight: normal;
    }
    em {
        font-family: 'Theinhardt Italic', Helvetica, Arial, sans-serif;
        font-style: normal;
    }
    button {
        font-family: 'TheinhardtRegular-Regular';
    }
    button:focus {
        outline: none;
    }


/*
 * Links
 */
    a {
        color: #4D4D4D;
        text-decoration: none;
        outline: none;
    }
    a:hover {
        color: #4D4D4D;
        text-decoration: none;
    }
    a img {
       border: none;
    }


/*
 * Page Structure
 */
    #container {

    }
    #header {
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 200;
    }
    #content {
        position: relative;
        z-index: 100;
    }
    #footer {

    }


/*
 * Menus
 */

    /* Hamburger */
    .hamburger-wrapper {
        position: fixed;
        right: calc(70px - 20px);
        top: calc(41px - 20px);
        z-index: 500;
        padding: 20px;
        font-size: 0;
        opacity: 1;
    }
    .hamburger-wrapper > span {
        font-size: 21px;
        text-transform: uppercase;
        letter-spacing: 0;
        margin-right: 17px;
        color: #4d4d4d;
    }
    .hamburger {
        display: inline-block;
        width: 20px;
        height: 14px;
    }
    .hamburger .line {
        display: block;
        width: 20px;
        height: 2px;
        background-color: #4d4d4d;
    }
    .line.first {
        margin-bottom: 4px;
    }
    .line.second {
        margin-bottom: 4px;
    }
    .hamburger-wrapper:hover {
        cursor: pointer;
        opacity: 0.6;
    }

    /* Is Opened */
    .menu-opened .hamburger-wrapper > span {
        color: #A7A7A7;
    }
    .menu-opened .hamburger .line.first {
        background-color: #A7A7A7;
 		-webkit-transform: rotate(45deg) translate(5px, 4.5px);
 		transform: rotate(45deg) translate(5px, 4.5px);
    }
    .menu-opened .hamburger .line.second {
        opacity: 0;
    }
    .menu-opened .hamburger .line.third {
        background-color: #A7A7A7;
		-webkit-transform: rotate(-45deg) translate(4px, -4px);
		transform: rotate(-45deg) translate(4px, -4px);
    }
    .menu-opened .menu-overlay .logo-mobile .svg path {
        fill: #4D4D4D;
    }

    /* Main Menu */
    .menu-overlay {
        background-color: #E9E7E4;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        box-sizing: border-box;
        border: 20px solid #ebe8e5;
        z-index: 400;
        display: none;
        overflow-y: auto;
    }
    .logo-large-menu {
        top: 40px;
        left: 70px;
        position: fixed;
        z-index: 100;
    }
    .logo-large-menu .svg {
        width: 160.4px;
        height: 108.3px;
    }
    .logo-large-menu:hover path {
        fill: #ffffff;
    }
    .menu-overlay .logo-mobile {
        position: fixed;
    }
    .main-menu {
        position: absolute;
        top: 20px;
        left: 0;
        right: 0;
        font-family: 'TheinhardtMedium-Regular', Helvetica, Arial, sans-serif;
        font-size: 21px;
        line-height: 1;
        letter-spacing: 0;
        padding: 0;
        margin: 0;
        text-align: center;
        bottom: 390px;
        overflow: hidden;

        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-content: center;
        -ms-flex-line-pack: center;
        align-content: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .main-menu li {
        list-style: none;
        min-width: 200px;
    }
    .main-menu li.inactive {
        opacity: 0.4;
    }
    .main-menu li a {
        display: inline-block;
        padding: 1.2vh 0;
    }

    /* Project Nav */
    #project-nav {
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        padding: 0 50px;
        overflow: hidden;
    }
    .project-nav .menu-block {
        width: 340px;
        padding: 0 5px;
        vertical-align: top;
        font-size: 0;
    }
    .project-nav .menu-block.inactive .meta {
        opacity: 0.4;
    }
    .project-nav .meta {
        margin-top: 45px;
    }
    .project-nav .title {
        font-family: 'TheinhardtMedium-Regular', Helvetica, Arial, sans-serif;
        font-size: 18px;
    }
    .project-nav .browse {
        position: absolute;
        top: 83px;
        padding: 20px;
        cursor: pointer;
    }
    .project-nav .prev {
        left: -10px;
    }
    .project-nav .next {
        right: -10px;
    }
    .project-nav .browse .svg {
        height: 23.2px;
        width: 27.6px;
    }
    .project-nav .browse.swiper-button-disabled {
        display: none;
    }
    .project-nav .browse .svg polygon {
        fill: #a7a7a7;
    }
    .archive-block .archive-title-wrapper {
        position: relative;
        padding-bottom: 68.11%;
        height: 0;
    }
    .archive-title-wrapper .title {
        font-family: 'TheinhardtLight-Regular', Helvetica, Arial, sans-serif;
        text-align: center;
        background-color: #b1b3b1;
        font-size: 26px;
        color: #ebe8e5;
        text-transform: uppercase;
        display: -webkit-flex;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-content: stretch;
        align-items: center;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }



/*
 * Header
 */
    .logo-large {
        position: fixed;
        top: 30px;
        left: 72px;
        z-index: 300;
    }
    .logo-large .logo {
        width: auto;
        position: absolute;
        top: 0;
        left: 0;
    }
    .logo-large .text {
        padding-left: 97px;
        padding-top: 106px;
        position: relative;
        width: 102px;
    }
    .header-wrapper {
        position: relative;
        margin: 0 auto;
    }
    .logo-background {
        background-color: #4d4d4d;
        position: fixed;
        width: 30%;
        height: 74px;
        top: 10px;
        left: 70px;
    }
    .logo-mobile {
        position: absolute;
        top: 30px;
        left: 30px;
        display: none;
    }
    .header-wrapper > .left {
        height: 94px;
        width: 60%;
        position: absolute;
        left: 0;
        top: 0;
    }
    #header .color-block {
        background-color: #e9e7e4;
        height: 94px;
        position: absolute;
    }
    #header .color-block.left {
        left: 0;
        width: 70px;
    }
    #header .color-block.right {
        left: calc(70px + 81px);
        right: 0;
    }
    .header-wrapper > .right {
        background-color: #e9e7e4;
        height: 94px;
        width: 40%;
        position: absolute;
        right: 0;
        top: 0;
        text-align: left;
    }
    .breadcrumb {
        display: inline-block;
        margin-top: 48px;
        text-transform: uppercase;
        color: #4d4d4d;
        text-align: left;
        font-size: 16px;
    }
    a.breadcrumb:hover {
        color: #A7A7A7;
    }
    #content .breadcrumb {
        float: left;
        font-size: 14px;
        margin-left: 30px;
        margin-top: 0;
        display: none;
    }
    .logo-small {
        position: absolute;
        left: 70px;
        top: 0;
        background-color: #e9e7e4;
    }
    .logo-small .svg {
        display: block;
    }

    /* Dark Color */
    .dark-header .logo-mobile path {
        fill: #4d4d4d;
    }
    .dark-header .logo-small {
        background-color: #BAC0BF;
    }
    .dark-header .logo-small path {
        fill: #BAC0BF;
    }
    .dark-header .logo-large path {
        fill: #4d4d4d;
    }
    .dark-header #header .color-block,
    .dark-header #header .right {
        background-color: #BAC0BF;
    }
    .dark-background #content.home,
    .dark-background {
        background-color: #BAC0BF;
    }

    /* Scrolled */
    .scrolled .logo-large .text {
        opacity: 0;
        visibility: hidden;
    }
    .hide-large-logo .logo-small {
        background-color: transparent;
    }
    .hide-large-logo .logo-large {
        display: none;
    }

/*
 * Home
 */
    /* Header */
    .hidden-header #header,
    .hidden-header .logo-background {
        transform: translateY(-200px);
    }
    .home-header .hamburger-wrapper > span,
    .home-header .logo-large path {
        fill: #ebe8e5;
        color: #ebe8e5;
    }
    .home-header .hamburger .line {
        background-color: #ebe8e5;
    }
    #content.home {
        position: relative;
        top: calc(100vh - 123px);
        margin: 0 auto;
        background-color: #e9e7e4;
    }
    .excerpt-wrap {
        max-width: 1800px;
        padding: 0 70px;
        min-height: 123px;
        position: relative;
        margin-left: auto;
        margin-right: auto;

        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-content: center;
        -ms-flex-line-pack: center;
        align-content: center;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    .excerpt-wrap .arrow-down {
        position: absolute;
        top: 42px;
        left: 70px;
    }
    .excerpt-wrap .excerpt {
        margin-left: 100px;
        font-size: 21px;
    }
    .excerpt-wrap .excerpt h2 {
        font-family: 'TheinhardtMedium-Regular', Helvetica, Arial, sans-serif;
        font-size: 21px;
        margin: 0 0 5px 0;
    }
    .excerpt-wrap .excerpt p {
        font-size: 20px;
        margin: 0;
    }

    /* Home Upper Most Slideshow */
    .home .slideshow {
        height: calc(100vh - 123px);
        width: 100%;
        position: fixed;
        font-size: 0;
        background-color: #BAC0BF;
    }
    .fullbleed {
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        position: absolute;
    }
    .slideshow .overlay {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.2);
    }
    .slideshow .next-arrow {
        position: absolute;
        right: 10px;
        top: 50%;
        z-index: 200;
        cursor: pointer;
        padding: 20px;
        transform: translateY(-50%);
    }
    .slideshow .left {
        position: absolute;
        top: 0;
        right: 50%;
        bottom: 0;
        left: 0;
    }
    .slideshow .left .slide {
        width: 100%;
        height: 100%;
    }
    .slideshow .right {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 50%;
    }
    .slideshow .right .slide-wrap {
        position: absolute;
        top: 85px;
        right: 85px;
        bottom: 85px;
        left: 85px;
        background-color: #e9e7e4;
    }
    .slideshow .right .slide {
        width: 100%;
        height: 100%;
    }
    .slideshow .right .slide .meta {
        display: none;
    }
    .slideshow .slide .link {
        position: absolute;
        top: 20px;
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
    .slideshow .meta-wrap {
        position: absolute;
        left: 100px;
        bottom: 35px;
        height: 35px;
        right: 100px;
        color: #ebe8e5;
    }
    .slideshow .meta {
        line-height: 1;
        color: #ebe8e5;
    }
    .slideshow .meta .link {
        color: inherit;
    }
    .slideshow .meta .title {
        font-family: 'TheinhardtMedium-Regular', Helvetica, Arial, sans-serif;
        font-size: 16px;
    }
    .slideshow .meta .location {
        font-size: 14px;
        margin-top: 0.2em;
    }
    .slideshow .meta .year {
        font-size: 12px;
        margin-top: 0.7em;
    }

    /* Home text */
    .home-text .entry {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 70px;
    }
    .home-text .entry h2 {
        font-family: 'TheinhardtLight-Regular', Helvetica, Arial, sans-serif;
        font-size: 26px;
        line-height: 1.6em;
        text-align: center;
    }
    .home-text {
        padding: 70px 0 0 0;
    }


    /* Latest News */
    .latest-news {
        color: #4d4d4d;
        padding: 120px 0 60px 0;
        position: relative;
        z-index: 200;
    }
    .home .section > .title {
        color: #a7a7a7;
        text-transform: uppercase;
        margin-left: 60%;
        margin-bottom: 25px;
    }
    .home .post-grid {
        margin-top: 0;
    }

    /* About Section */
    .home-about {
        position: relative;
        z-index: 200;
        padding: 60px 0;
    }
    .home-about .entry {
        margin: 0 auto;
    }
    .home .image-block {
        padding: 0 70px;
        margin-top: 70px;
    }
    .home .block-text {
        padding: 18px;
        font-size: 16px;
    }
    .home .social-links {
        text-align: center;
    }
    .home .social-links .social {
        display: inline-block;
        height: 30px;
        vertical-align: top;
    }
    .home .social-links a {
        color: inherit;
    }
    .home .social-links a:hover {
        text-decoration: underline;
    }


    /* Newsletter */
    .newsletter {
        position: relative;
        text-align: left;
        min-width: 120px;
        display: inline-block;
        height: 30px;
        vertical-align: top;
    }
    .newsletter form {
        white-space: nowrap;
        position: absolute;
        left: 0;
        top: 0;
        display: none;
    }
    .newsletter button {
        cursor: pointer;
        position: relative;
        z-index: 1;
    }
    .newsletter button:hover {
        text-decoration: underline;
    }
    .newsletter form input,
    .newsletter button {
        font-family: 'TheinhardtRegular-Regular', Helvetica;
        display: inline-block;
        vertical-align: top;
        background: none;
        border: none;
        letter-spacing: 0.7px;
        font-size: 16px;
        color: #4D4D4D;
        padding: 0;
        z-index: 2;

        -webkit-appearance: none;
    }
    .newsletter input:focus {
        outline: none;
    }
    .newsletter input[type="email"] {
        color: #ffffff;
        border-bottom: 2px solid #ffffff;
        padding: 0;
        box-sizing: border-box;
    }
    .newsletter input[type="submit"]:hover {
        text-decoration: underline;
        cursor: pointer;
    }
    .newsletter ::-webkit-input-placeholder {
       color: #ffffff;
       opacity: 1;
    }
    .newsletter :-moz-placeholder {
       color: #ffffff;
       opacity: 1;
    }
    .newsletter ::-moz-placeholder {
       color: #ffffff;
       opacity: 1;
    }
    .newsletter :-ms-input-placeholder {
       color: #ffffff;
       opacity: 1;
    }


/*
 * Post Grid
 */
    .post-grid {
        margin-top: 226px;
        padding: 0 70px;
    }
    .post-block {
        color: #4D4D4D;
        overflow: hidden;
        max-width: 1280px;
        margin: 0 auto;
        padding: 45px 0;

        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-align-content: flex-start;
        -ms-flex-line-pack: start;
        align-content: flex-start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    .post-block .meta {
        margin: 0 60px 0 0;

        -webkit-order: 0;
        -ms-flex-order: 0;
        order: 0;
        -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        -webkit-align-self: auto;
        -ms-flex-item-align: auto;
        align-self: auto;
    }
    .post-block .title-wrapper {
        margin: 0 0 40px 77px;
    }
    .post-block .title {
        font-family: 'TheinhardtMedium-Regular', Helvetica, Arial, sans-serif;
        font-size: 26px;
        line-height: 1.2em;
    }
    .meta .date,
    .meta .location {
        font-family: 'TheinhardtLight-Italic', Helvetica, Arial, sans-serif;
        font-size: 16px;
        height: 1em;
    }
    .meta .year {
        font-size: 14px;
        margin-top: 1.4em;
    }
    .post-block .excerpt {
        text-align: justify;
        line-height: 1.6em;
    }
    .post-block .excerpt > p {
        margin: 0;
    }
    .post-block .read-more {
        display: block;
        margin-top: 1.2em;
        line-height: 1;
    }
    .post-block .read-more .svg {
        display: inline-block;
        position: relative;
        top: 2px;
        margin-right: 10px;
    }
    .post-block .thumbnail {
        font-size: 0;

        -webkit-order: 0;
        -ms-flex-order: 0;
        order: 0;
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        -webkit-align-self: auto;
        -ms-flex-item-align: auto;
        align-self: auto;
    }
    .post-block .thumbnail img {
        width: 100%;
        height: auto;
        z-index: 100;
    }
    .post-block:hover .read-more {
        text-decoration: underline;
    }
    .post-block:hover .read-more .svg {
        transform: translateX(5px);
    }

    /* Alternating Alignment - Post */
    .post-block:nth-child(even) .meta {
        margin: 0 0 0 60px;
        -webkit-order: 2;
        -ms-flex-order: 2;
        order: 2;
    }
    .post-block:nth-child(even) .thumbnail {
        -webkit-order: 1;
        -ms-flex-order: 1;
        order: 1;
    }



 /*
 * Categories
 */
    #content.category {
        margin: 205px auto 90px auto;
        padding: 0 70px;
        max-width: 1280px;
    }

    /* Publications */
    .publications-block .title {
        text-transform: uppercase;
        letter-spacing: 0;
    }
    .publications-block .read-more {
        text-decoration: underline;
    }

    /* Video */
    .video-block {
        margin-bottom: 65px;
        padding-bottom: 0;
    }
    .video-block .meta {
        -webkit-order: 0;
        -ms-flex-order: 0;
        order: 0;
        -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        -webkit-align-self: auto;
        -ms-flex-item-align: auto;
        align-self: auto;
    }
    .video-block .video {
        position: relative;
        width: calc(100% - 340px - 60px);
        height: auto;
        font-size: 0;

        -webkit-order: 0;
        -ms-flex-order: 0;
        order: 0;
        -webkit-flex: 2 0 auto;
        -ms-flex: 2 0 auto;
        flex: 2 0 auto;
        -webkit-align-self: auto;
        -ms-flex-item-align: auto;
        align-self: auto;
    }
    .video-block .video iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 200;
    }
    .video-block .video img {
        width: 100%;
        height: auto;
    }
    .video-block .overlay {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: 100;
        opacity: 0;

        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-content: center;
        -ms-flex-line-pack: center;
        align-content: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .video-block .overlay:hover {
        opacity: 1;
        cursor: pointer;
    }

    /* About Grid */
    .about-gird.post-grid {
        margin-top: 110px;
    }
    .about-block {
        max-width: 1280px;
    }
    .about-block .title-wrapper {
        margin: 0 0 40px 0;
        max-width: 320px;
    }
    .about-block .thumbnail {
        border: 5px solid #4d4d4d;
        background-color: #E9E7E4;
    }
    .about-block .read-more {
        text-decoration: underline;
    }
    .about-block .date {
        margin-top: 25px;
    }


/*
 * Content Styles
 */
    .content-style .thumbnail {
        -webkit-flex: 6;
        flex: 6;
    }
    .content-style .thumbnail .wp-caption-text {
        text-align: right;
    }
    .content-style .entry {
        margin-top: 90px;
        text-align: justify;
        font-size: 16px;
        text-align: center;
        line-height: 1.5em;
    }
    .content-style .entry > * {
        max-width: 1280px;
        padding-left: 70px;
        padding-right: 70px;
        margin-left: auto;
        margin-right: auto;
    }
    .content-style .entry > p {
        max-width: 800px;
        text-align: justify;
    }
    .content-style .entry > img {
        width: auto;
        height: auto;
        max-width: calc(100% - 70px - 70px);
        max-height: calc(100vh - 94px - 20px); /* For header height plus a little extra */
        margin: 90px auto;
    }
    .content-style .entry h3 {
        font-size: 26px;
        margin: 90px auto;
        line-height: 1.4em;
        text-align: justify;
    }
    .content-style .entry .gallery-detail {
        max-width: 1280px;
        padding: 0;
    }


 /*
 * Projects Detail
 */
    #content.project-detail {
        position: relative;
    }
    .project-detail > div {
        margin: 136px auto 90px auto;
    }
    .project-detail .thumbnail {
        max-width: 1800px;
        width: calc(100% - 140px);
        height: calc(100vh - 258px - 20px);
        margin-left: auto;
        margin-right: auto;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        background-color: #BAC0BF;
    }
    .project-detail .wp-post-image {
        width: auto;
        height: auto;
        max-height: calc(100vh - 94px - 20px); /* For header height plus a little extra */
        display: block;
        margin: 0px auto
    }
    .project-detail .meta {
        width: calc(40% - 70px);
        padding-left: calc(60% - 70px);
        margin: 0 auto 50px auto;
    }
    .project-detail .title {
        font-size: 16px;
    }
    .project-detail .entry {
        font-size: 18px;
        overflow: hidden;
    }


 /*
 * Detail Gallery (Projects pages, About pages, Blog posts)
 */
    .gallery-detail {
        max-width: 100%;
        margin: 90px 0 55px 0;
        padding: 0;
        font-size: 0;
        position: relative;
        z-index: 0;
    }
    .gallery-detail .gallery-item {
        position: absolute;
        width: 100%;
        height: 80vh;
        min-height: 500px;
        background-color: blue;
    }
    .gallery-detail .gallery-image {
        width: 100%;
        height: calc(100% - 35px);
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    }
    .gallery-detail .gallery-image img {
        display: none;
    }
    .gallery-detail .wp-caption-text {
        background-color: red;
        margin-bottom: 0;
    }
    .gallery-detail .gallery-controls {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 110;
    }
    .gallery-detail .browse {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        cursor: pointer;
        opacity: 0;
    }
    .gallery-detail .prev {
        right: 50%;
    }
    .gallery-detail .next {
        left: 50%;
    }
    .gallery-detail .browse:hover {
        opacity: 1;
    }
    .gallery-detail .arrow {
        position: absolute;
        top: calc(50% - 12px);
        width: 28px;
        height: auto;
    }
    .gallery-detail .arrow-left {
        left: 30px;
    }
    .gallery-detail .arrow-right {
        right: 30px;
    }


/*
 * Next/Previos Project
 */
    .page-browse {
        height: 130px;
        width: 70px;
        position: fixed;
        bottom: 0;
        z-index: 10;
    }
    .page-browse.prev {
        left: 0;
    }
    .page-browse.next {
        right: 0;
    }
    .page-browse > .title {
        width: 135px;
        font-size: 14px;
        letter-spacing: 0.5px;
        text-align: center;
        position: absolute;
        transform-origin: 0px 0px;
        left: 50%;
        z-index: 20;
    }
    .page-browse.prev > .title {
        transform: rotate(-90deg) translate(-100%, -50%);
    }
    .page-browse.next > .title {
        transform: rotate(90deg) translate(0, -50%);
    }
    .page-preview {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 130px;
        background-color: #BAC0BF;
        color: #ebe8e5;
        font-size: 0;
        transform: translateY(130px);
        z-index: 10;
    }
    .page-preview .meta {
        float: left;
        font-size: 18px;
        margin: 0;
        padding: 0 70px;
        width: auto;
        height: 130px;
        width: 40%;
        box-sizing: border-box;

        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-content: center;
        -ms-flex-line-pack: center;
        align-content: center;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    .page-preview .meta .title {
        font-family: 'TheinhardtMedium-Regular', Helvetica, Arial, sans-serif;
    }
    .page-preview .preview-image {
        height: 130px;
        width: 60%;
        background-size: cover;
        background-position: center center;
        float: left;
        position: relative;
    }
    .page-preview.prev-page .meta,
    .page-preview.prev-page .preview-image {
        float: right;
    }

    /* Hover state */
    .page-browse:hover {
        color: #ebe8e5;
        z-index: 20;
    }
    .page-browse:hover .page-preview {
        transform: translateY(0);
    }

    /* Team Detail */
    .team-detail .page-browse:hover {
        color: #4d4d4d;
        opacity: 0.4;
    }


/*
 * Team Grid
 */
    #content.team-grid {
        padding-top: 267px;
        font-size: 0;
        text-align: center;
    }
    .team-block {
        display: inline-block;
        vertical-align: top;
        margin: 0 70px 65px 70px;
        width: 260px;
        text-align: left;
    }
    .team-block .title {
        font-family: 'TheinhardtMedium-Regular', Helvetica, Arial, sans-serif;
        font-size: 28px;
        word-spacing: 9999999px;
        margin-bottom: 15px;
    }
    .team-block .job-title {
        font-size: 16px;
        margin-left: 20px;
        margin-top: 13px;
        min-height: 1em;
    }


/*
 * Team Detail
 */
    #content.team-detail {
        margin: 200px auto 90px auto;
        padding: 0 70px;
        max-width: 1280px;
    }
    .team-detail .meta {
        margin-left: 34%;
        font-size: 16px;
        letter-spacing: 0;
        margin-bottom: 75px;
        max-width: 19%;
        display: inline-block;
    }
    .team-detail .meta .title {
        font-family: 'TheinhardtMedium-Regular', Helvetica, Arial, sans-serif;
        font-size: 28px;
        word-spacing: 1280px;
        margin-bottom: 14px;
    }
    .team-detail .meta-field a {
        text-decoration: underline;
    }
    .team-detail .thumbnail {
        float: right;
        width: 40%;
        margin-left: 7%;
        font-size: 0;
        margin-bottom: 90px;
    }
    .team-detail .thumbnail img {
        width: 100%;
        height: auto;
    }
    .team-detail .excerpt {
        display: inline-block;
        font-size: 26px;
        text-align: left;
        margin: 0 0 25px 0;
        width: 53%;
        line-height: 1.2em;
    }
    .team-detail .entry {
        font-size: 18px;
    }
    .team-detail .entry > p {
        text-align: justify;
        max-width: 45%;
        padding-left: 80px;
        float: left;
        clear: left;
    }

    /* Shortcodes */
    .team-detail .right-image {
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    .team-detail .image-block {
        width: 100%;
        float: left;
        margin: 45px auto;
    }
    .team-detail .block-text {
        font-family: 'TheinhardtRegular-Regular', Helvetica, Arial, sans-serif;
    }
    .follow-text {
        font-size: 16px;
        margin-top: 2em;
    }
    .follow-text span:first-child {
        text-transform: uppercase;
    }

/*
 * About
 */
    #content.about {
        margin: 250px auto 90px auto;
    }


/*
 * Cart
 */
    .cart-overlay {
        visibility: hidden;
        position: fixed;
        background-color: rgba(255, 255, 255, 0.8);
        z-index: 590;
        opacity: 0;
        bottom: 0;
        right: 0;
        left: 0;
        top: 0;
    }
    .cart-open .cart-overlay {
        visibility: visible;
        opacity: 1;
    }
    .cart-open .shop-cart {
        -webkit-transform: none;
        transform: none;
    }
    .shop-cart {
        border-left: 1px solid #4d4d4d;

        position: fixed;
        background-color: #E9E7E4;
        padding: 50px 32px 92px;
        z-index: 600;
        width: 315px;
        bottom: 0;
        right: 0;
        top: 0;

        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }
    .shop-cart .close-button,
    .shop-cart .checkout-button {
        text-transform: uppercase;
        position: absolute;
        text-align: center;
        cursor: pointer;
        display: block;
        border: none;
        background: #4d4d4d;
        font-size: 14px;
        color: #E9E7E4;
        padding: 10px;
        width: 100%;
        left: 0;
        top: 0;
    }
    .shop-cart .close-button .svg {
        margin-right: 5px;
    }
    .shop-cart .close-button path {
        fill: #e9e7e4;
    }
    .shop-cart .empty-alert {
        text-align: center;
        display: none;
    }
    .shop-cart.empty-cart .empty-alert {
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1em;
        margin: auto;
    }
    .shop-cart .line-items {
        overflow: auto;
        padding-right: 50px;
        max-height: 100%;
        width: 100%;
    }
    .shop-cart .line-item {
        -webkit-justify-content: space-around;
        display: -webkit-flex;
        justify-content: space-around;
        display: flex;

        position: relative;
        height: 90px;
        margin-bottom: 15px;
    }
    .shop-cart iframe {
        position: absolute;
        height: 100%;
        width: 100%;
        left: 0;
        top: 0;
    }
    .shop-cart .line-item .meta {
        padding-left: 15px;
        width: 70%;
        height: 100%;

        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-justify-content: space-between;
        justify-content: space-between;
    }
    .shop-cart .line-item .remove {
        background: url(images/x-button.svg) no-repeat;
        height: 10px;
        width: 10px;
        padding: 10px;
        border: none;
        cursor: pointer;
        background-position: center center;
        position: relative;
        top: -4px;
    }
    .shop-cart .line-item .thumbnail {
        overflow: hidden;
        height: 100%;
        width: 30%;
    }
    .shop-cart .line-item .thumbnail img {
        width: 100%;
        height: auto;
        position: relative;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    .shop-cart .line-item .top-controls {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
    }
    .shop-cart .line-item .title {
        font-family: 'TheinhardtMedium-Regular', Helvetica, Arial, sans-serif;
        width: 70%;
    }
    .shop-cart .line-item .table {
        font-size: 12px;
    }
    .shop-cart .table > * span:nth-child(1) {
        text-transform: uppercase;
    }
    .shop-cart .table > * span:nth-child(2) {
        font-family: 'TheinhardtMedium-Regular', Helvetica, Arial, sans-serif;
        float: right;
    }
    .shop-cart .cart-meta {
        position: absolute;
        border-top: 1px solid #4d4d4d;
        background-color: #E9E7E4;
        bottom: 0;
        right: 0;
        left: 0;
    }
    .shop-cart.empty-cart .cart-meta {
        display: none;
    }
    .shop-cart .cart-meta .table {
        font-size: 12px;
        padding: 10px;
    }
    .shop-cart .checkout-button {
        position: static;
    }
    .product img,
    .shop-cart img {
        width: 100%;
    }


/*
 * Product Grid
 */
    #content.product-grid {
        padding: 267px 70px 0;
        font-size: 0;
        text-align: center;
        padding-top: 380px;
    }
    .store-breadcrumb {
        -webkit-justify-content: space-around;
        -webkit-box-sizing: border-box;
        display: -webkit-flex;

        justify-content: space-around;
        box-sizing: border-box;
        display: flex;

        padding-right: 200px;
        margin-top: 40px;
        font-size: 21px;
        width: 100%;
    }
    .product-grid .excerpt {
        font-size: 16px;
        position: absolute;
        text-align: justify;
        left: 340px;
        top: 115px;
        right: 70px;
        max-width: 600px;
        max-height: 300px;
        margin-bottom: 30px;
        overflow: hidden;
    }
    .product-grid-wrapper {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
    }
    .product-block {
        color: #4D4D4D;
        overflow: hidden;
        max-width: 1280px;
        font-size: 14px;
        padding: 45px;
        width: 25%;
        box-sizing: border-box;
        display: inline-block;
        position: relative;
        vertical-align: top;
        -moz-text-align-last: auto;
        text-align-last: auto;
        text-align: left;
    }
    .product-block:not(.image-loaded){
        opacity: 0;
    }
    .product-block h3 {
        font-family: 'TheinhardtMedium-Regular', Helvetica, Arial, sans-serif;
        font-size: 26px;
        min-height: 2em;
        padding-bottom: 15px;
    }
    .product-block .price {
        font-family: 'TheinhardtRegular-Regular', Helvetica, Arial, sans-serif;
        font-size: 16px;
        height: 1em;
        padding: 15px 0 0 25px;
    }
    .product-block .image {
        position: relative;
    }
    .product-block .image img {
        overflow: hidden;
        width: 100%;
        position: relative;
        left: 50%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
    .product-block .overlay {
        display: -webkit-flex;
        display: flex;

        position: absolute;
        background-color: #E9E7E4;
        bottom: -1px;
        right: -1px;
        left: -1px;
        top: -1px;
        z-index: 10;
        opacity: 0;
    }
    .not-mobile .product-block:hover .overlay {
        opacity: 0.7;
    }
    .product-block .overlay h3 {
        text-transform: uppercase;
        margin: auto;
        text-align: center;
    }
    .product-block .title-wrapper,
    .product-info .add-to-cart {
        margin: 0 0 40px 77px;
    }
    .product-block .read-more {
        display: block;
        margin-top: 1.2em;
        line-height: 1;
    }
    .product-block .read-more .svg {
        display: inline-block;
        position: relative;
        top: 2px;
        margin-right: 10px;
    }
    .product-block:hover .read-more span {
        text-decoration: underline;
    }
    .product-block:hover .read-more .svg {
        transform: translateX(5px);
    }
    .product-block:nth-child(even) .meta {
        margin: 0 0 0 60px;
        order: 2;
    }
    .product-info .add-to-cart button {
        border: 1px solid #4d4d4d;
        background: none;
        cursor: pointer;
        padding: 4px 10px;
        font-size: 16px;
    }
    .product-info .add-to-cart button:hover {
        background-color: #4D4D4D;
        color: #ebebe3;
        cursor: pointer;
    }


/*
 * Product Detail
 */
    #content.product {
        text-align: center;
        padding-top: 267px;
    }
    .product .meta {
        -webkit-flex: 4;
        flex: 4;
    }
    .product .product-info {
        margin-right: auto;
        margin-left: auto;
        max-width: 1280px;
        padding: 0 70px;

        -webkit-justify-content: flex-start;
        -webkit-align-content: flex-start;
        -webkit-align-items: flex-start;
        display: -webkit-flex;
        justify-content: flex-start;
        align-content: flex-start;
        align-items: flex-start;
        display: flex;
    }
    .product .title-wrapper {
        text-align: left;
        margin: 0 70px 80px 95px;
    }
    .product .title-wrapper h3 {
        font-family: 'TheinhardtMedium-Regular', Helvetica, Arial, sans-serif;
        font-size: 26px;
        padding-bottom: 15px;
    }
    .product .description {
        margin: 80px 70px 80px 0;
        font-size: 20px;
        text-align: justify;
        line-height: 1.6em;
    }
    .product .product-info .add-to-cart {
        margin: 0 0 40px 95px;
        text-align: left;
    }
    .product .image-block > div {
        height: 100%;
        position: relative;
    }
    .product .annotation {
        font-style: italic;
        color: #5e5e5e;
        bottom: 0;
        padding-left: 20px;
        width: 100%;
    }


/*
 * Store Footer
 */
    .store-footer {
        margin-top: 80px;
        font-size: 0;
        text-align: center;
    }
    .store-footer a {
        padding: 20px;
        font-size: 16px;
        color: #afafaf;
    }
    .store-footer a:hover {
        color: #4d4d4d;
    }


/*
 * Single (Blog detail)
 */
    #content.single {
        margin: 240px auto 90px auto;
    }
    .single .news-block {
        padding: 0 70px;
    }
    .single .news-block .excerpt {
        max-width: 480px;
        font-size: 20px;
        margin-top: 70px;
        padding: 17px 25px 25px 0;
        bottom: auto;
    }
    .content-style.single .entry > p > a {
        font-family: 'TheinhardtMedium-Regular', Helvetica, Arial, sans-serif;
        text-decoration: underline;
    }
    .content-style.single .entry > p > a:hover {
        color: #A7A7A7;
    }


/*
 * Contact
 */
    #content.contact {
        position: relative;
        height: 100vh;
        min-height: 500px;
    }
    .contact .slideshow {
        position: absolute;
        top: 140px;
        right: 0;
        left: calc(0% + 151px + 235px + 70px);
        bottom: 0;
        cursor: pointer;
    }
    .contact .slideshow .slide {
        height: calc(100vh - 140px);
        width: 100%;
    }
    .contact .entry {
        position: absolute;
        right: auto;
        left: 0;
        bottom: 40px;
        min-width: 235px;
        padding: 0 70px 0 151px;
        line-height: 1.6;
    }
    .contact .entry a {
        text-decoration: underline;
    }
    .contact .address {
        font-family: 'TheinhardtMedium-Regular', Helvetica, Arial, sans-serif;
        font-size: 26px;
        letter-spacing: 0;
        line-height: 1.3;
    }
    .contact .entry .address,
    .contact .entry .social {
        text-decoration: none;
    }
    .contact .entry .social:hover {
        text-decoration: underline;
    }
    .contact .map {
        margin-bottom: 90px;
        display: inline-block;
    }
    #content.contact .newsletter {
        display: none;
    }
    #content.contact .entry .newsletter {
        display: inline-block;
        margin-left: -2px;
    }

/*
 * Fallback Page
 */
    #content.fallback {
        margin-top: 220px;
    }


/*
 * Tools
 */
    #tagline {
        display: none;
    }


/*
 * Animations
 */
    /* Color */
    .hamburger-wrapper > span,
    a {
        transition: color 0.4s, text-decoration 0.4s;
    }

    /* Opacity */
    .gallery-detail .browse,
    #content.project-detail > .page,
    #content.team-detail > .page,
    .project-nav .menu-block .meta,
    .logo-large .text,
    .menu-item,
    .team-block,
    .video-block .overlay,
    .product-block {
        transition: opacity 0.4s;
    }

    /* Everything */
    .home .logo-background,
    .home #header,
    .page-browse,
    .page-preview,
    .hamburger-wrapper,
    .hamburger .first,
    .hamburger .second,
    .hamburger .third,
    .read-more,
    .read-more .svg,
    .project-detail .browse .thumb-tray,
    .logo-large,
    .cart-overlay,
    svg path,
    .product-info .add-to-cart button,
    .product-block .overlay,
    .product-block .overlay h3 {
        transition: 0.4s;
    }
    .logo-large .logo {
        transition: width 0.1s;
    }

    /* Background Color Switcher */
    .slideshow .right,
    .read-more path,
    .about-block .thumbnail,
    .logo-background,
    .logo-small .svg path,
    #header div,
    body,
    .latest-news,
    #content.home {
        transition: background-color 1s, fill 1s, border-color 1s;
    }
    .read-more.
    .entry,
    .excerpt {
        transition: color 1s
    }
    .shop-cart {
        -webkit-transition: -webkit-transform 0.6s ease;
        transition: transform 0.6s ease;
    }


/*
 * Fade in animation classes
 */
    .hide {
        opacity: 0;
        transform: translateY(100px);
    }
    .element-in-view {
        opacity: 1;
        transform: none;
        transition: transform 0.8s, opacity 0.8s;
    }


/*
 * Wordpress Required
 */
    .post-edit-link {
        font-size: 10px;
        text-transform: uppercase;
    }
	.alignleft {
	    display: inline;
	    float: left;
	}
	.aligncenter {
	    clear: both;
	    display: block;
	    margin: 0 auto 90px auto;
	}
	.alignright {
	    display: inline;
	    float: right;
	}
	img.alignleft {
	    margin: 0 76px 90px 0;
	}
	img.alignright {
	    margin: 0 0 76px 90px;
	}
	img.aligncenter {
	    margin: 0 auto 90px auto;
	}
	.wp-caption {
    	margin: 2em 0;
    	width: auto !important;
    	display: inline-block;
    	margin: 45px auto;
	}
	.wp-caption img {
        max-height: calc(100vh - 94px - 20px);
        max-width: calc(100% - 70px - 70px);
        width: auto;
        height: auto;
        margin: 0 auto;
        display: block;
	}
    .wp-caption-text {
    	margin: 10px 0;
    	text-align: center;
        font-size: 16px;
        line-height: 1.5em;
	}