/*
Theme Name: Schulte & Schönes
Author: 52Five
Author URI: https://52five.com/
Description: Custom theme for Schulte & Schönes.
Version: 0.1.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: None
Text Domain: schulte
*/

/*
Table of contents:

- Base styles
- Typography
- Links
- Lists
- Quotes
- Button
- Header
- Content
- Footer
- Posts and pages
- Scroll indicator
- Image swiper
- Lightbox
- Front page
- Projects archive
- Projects single pages
- Horizontal pages
- Flexible content
- Mailchimp
*/


/* Base styles
============================================================================= */

*, *::before, *::after {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "Montserrat", sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.02em;
    line-height: 1.4;
    font-weight: 300;
    color: #000;
    position: relative;
    width: 100%;
    overflow-x: hidden;
    background: #fff;
}

body::-webkit-scrollbar {
    display: none;
}

body.text-white {
    color: #fff;
}

body::before {
    content: " ";
    display: table;
    clear: both;
}

body.dark {
    color: #fffffe;
}

.js-focus-visible :focus:not(.focus-visible) {
    outline: none;
}


/* Typography
============================================================================= */

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 2rem;
    font-weight: 600;
}

h1, .h1 {
    font-size: 5rem;
}

h2, .h2 {
    font-size: 3.8rem;
}

h3, .h3 {
    font-size: 3rem;
}

h4, .h4 {
    font-size: 2.4rem;
}

h5, .h5 {
    font-size: 1.8rem;
}

h6, .h6 {
    font-size: 1.6rem;
}

p {
    margin-top: 0;
    margin-bottom: 2rem;
}

b, strong {
    font-weight: 600;
}


/* Links
============================================================================= */

a {
    color: inherit;
}


/* Lists
============================================================================= */

ul {
    list-style: circle inside;
}

ol {
    list-style: decimal inside;
}

ul, ol {
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 2rem;
}

ul ul,
ul ol,
ol ol,
ol ul {
    margin: 1.5rem 0 1.5rem 3rem;
    font-size: 90%;
}

li {
    margin-bottom: 0.8rem;
}


/* Quotes
============================================================================= */

blockquote {
    margin: 0 0 2rem 0;
    font-weight: 600;
    text-transform: uppercase;
}

blockquote > :first-child::before {
    content: "»";
}

blockquote > :last-child::after {
    content: "«";
}


/* Button
============================================================================= */

.button {
    -moz-appearance: none;
         appearance: none;
    -webkit-appearance: none;
    line-height: 5rem;
    height: 5rem;
    color: currentColor;
    background: none;
    border: 2px solid currentColor;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0 1.7rem;
    font-size: 1.7rem;
}


/* Header
============================================================================= */

.main-header {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    padding: 2rem;
    font-size: 0;
    -webkit-transition: color 0.2s ease-in-out;
    -o-transition: color 0.2s ease-in-out;
    transition: color 0.2s ease-in-out;
}

.main-header-menu-is-open .main-header {
    color: #fffffe;
}

.main-header-logo {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 100;
}

.main-header-logo svg {
    fill: currentColor;
    height: 6rem;
    width: auto;
    display: block;
}

.main-header-toggle-menu {
    position: absolute;
    z-index: 100;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    right: 2rem;
    width: 4rem;
    height: 4rem;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    border-radius: 0;
    cursor: pointer;
    color: inherit;
    outline: none;
}

.main-header-toggle-menu span::before,
.main-header-toggle-menu span::after {
    content: " ";
}

.main-header-toggle-menu span::before,
.main-header-toggle-menu span::after,
.main-header-toggle-menu span {
    display: block;
    position: absolute;
    width: 4rem;
    height: 0.2rem;
    background: currentColor;
}

.main-header-toggle-menu span {
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
    -webkit-transition: background-color 0.2s ease-in-out;
    -o-transition: background-color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out;
}

.main-header-toggle-menu span::before {
    top: -1.6rem;
    -webkit-transition: top 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
    transition: top 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
    -o-transition: transform 0.2s ease-in-out, top 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out, top 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out, top 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
}

.main-header-toggle-menu span::after {
    bottom: -1.6rem;
    -webkit-transition: bottom 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
    transition: bottom 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
    -o-transition: transform 0.2s ease-in-out, bottom 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out, bottom 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out, bottom 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
}

.main-header-menu-is-open .main-header-toggle-menu span {
    background-color: transparent;
}

.main-header-menu-is-open .main-header-toggle-menu span::before {
    -webkit-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
            transform: rotate(135deg);
    top: 0;
}

.main-header-menu-is-open .main-header-toggle-menu span::after {
    -webkit-transform: rotate(-135deg);
        -ms-transform: rotate(-135deg);
            transform: rotate(-135deg);
    bottom: 0;
}

.main-header-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 50;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: visibility 0.2s ease-in-out, opacity 0.2s ease-in-out;
    -o-transition: visibility 0.2s ease-in-out, opacity 0.2s ease-in-out;
    transition: visibility 0.2s ease-in-out, opacity 0.2s ease-in-out;
    padding: 10rem 2rem 7.8rem 2rem;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.main-header-menu-is-open .main-header-menu {
    visibility: visible;
    opacity: 1;
}

.main-header-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-header-menu ul li {
    margin-bottom: 1.5rem;
}

.main-header-menu ul li:last-child {
    margin-bottom: 0;
}

.main-header-menu ul li a {
    color: inherit;
    text-decoration: none;
    font-size: 3.8rem;
    display: inline-block;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.main-header-menu ul li a:hover,
.main-header-menu ul li a:active {
    opacity: 0.8;
}

body.main-header-menu-is-open {
    overflow: hidden;
}

.main-header-menu .bottom-content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    font-size: 1.6rem;
}

.main-header-menu .bottom-content ul {
    display: none;
}

.main-header-menu .bottom-content ul li {
    display: inline;
    margin-right: 1rem;
}

.main-header-menu .bottom-content ul li a {
    font-size: inherit;
    text-transform: none;
    letter-spacing: 0;
}


/* Medium */
@media (min-width: 768px) {
    .main-header {
        padding: 3rem;
    }

    .main-header-logo svg {
        height: 7rem;
    }

    .main-header-toggle-menu {
        right: 3rem;
    }

    .main-header-menu {
        padding: 13rem 3rem 9.8rem 3rem;
    }

    .main-header-menu ul li {
        margin-bottom: 0.8rem;
    }

    .main-header-menu ul li a {
        font-size: 4.5rem;
    }

    .main-header-menu .bottom-content {
        bottom: 3rem;
        left: 3rem;
    }
}

/* Large */
@media (min-width: 996px) {
    .main-header {
        padding: 3rem 5rem;
    }

    .main-header-toggle-menu {
        right: 5rem;
    }

    .main-header-menu {
        padding: 13rem 5rem 13.8rem 5rem;
    }

    .main-header-menu ul li a {
        font-size: 5rem;
    }

    .main-header-menu .bottom-content {
        left: 5rem;
    }
}

/* Extra large */
@media (min-width: 1200px) {
    .main-header {
        padding: 3rem 7rem;
    }

    .main-header-toggle-menu {
        right: 7rem;
    }

    .main-header-menu {
        padding: 13rem 7rem 13.8rem 7rem;
    }

    .main-header-menu .bottom-content {
        left: 7rem;
    }
}


/* Content
============================================================================= */

.main-content {
    padding: 2rem 2rem 0 2rem;
    position: relative;
    min-height: calc(100vh - 10rem);
}

.main-content::after {
    content: " ";
    display: table;
    clear: both;
}

/* Medium */
@media (min-width: 768px) {
    .main-content {
        padding-left: 3rem;
        padding-right: 3rem;
        min-height: calc(100vh - 13rem);
    }
}

/* Large */
@media (min-width: 996px) {
    .main-content {
        padding-left: 5rem;
        padding-right: 5rem;
        min-height: calc(100vh - 13rem - 7.1rem);
    }
}

/* Extra large */
@media (min-width: 1200px) {
    .main-content {
        padding-left: 7rem;
        padding-right: 7rem;
    }
}


/* Footer
============================================================================= */

.main-footer {
    padding: 1rem 2rem;
}

.main-footer-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-footer-menu ul li {
    margin: 0;
    border-top: 1px solid rgba(0,0,0,0.1);
}

body.text-white .main-footer-menu ul li {
    border-top-color: rgba(255,255,255,0.1);
}

.main-footer-menu ul li a {
    display: block;
    color: inherit;
    text-decoration: none;
    font-size: 90%;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    color: rgba(0,0,0,0.4);
    padding: 1.5rem 0;
}

body.text-white .main-footer-menu ul li a {
    color: rgba(255,255,255,0.4);
}

.main-footer-menu ul li a:hover {
    color: rgba(0,0,0,0.8);
}

body.text-white .main-footer-menu ul li a:hover {
    color: rgba(255,255,255,0.8);
}

/* Medium */
@media (min-width: 768px) {
    .main-footer {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .main-footer-menu ul {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .main-footer-menu ul li {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .main-footer-menu ul li:nth-child(2n+1) {
        border-right: 1px solid rgba(0,0,0,0.1);
    }

    body.text-white ul li:nth-child(2n+1) {
        border-right-color: 1px solid rgba(255,255,255,0.1);
    }
}

/* Large */
@media (min-width: 996px) {
    .main-footer {
        padding-left: 5rem;
        padding-right: 5rem;
    }

    .main-footer-menu ul li {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
        border-right: 1px solid rgba(0,0,0,0.1);
    }

    body.text-white .main-footer-menu ul li {
        border-right-color: rgba(255,255,255,0.1);
    }

    .main-footer-menu ul li:last-child {
        border-right: none;
    }
}

/* Extra large */
@media (min-width: 1200px) {
    .main-footer {
        padding-left: 7rem;
        padding-right: 7rem;
    }
}


/* Posts and pages
============================================================================= */

.post-header {
    margin-top: -2rem;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    padding: 2rem 0;
    background: #fff;
}

.post-title {
    font-size: 3.5rem;
    text-transform: uppercase;
    margin: 0;
    font-weight: 300;
    padding: 0.8rem 1.2rem;
    border: 1px solid currentColor;
    letter-spacing: 0.05em;
    display: inline-block;
}

.singular-post {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.singular-post .post-header {
    padding-bottom: 2rem;
}

/* Medium */
@media (min-width: 768px) {
    .post-header {
        padding-bottom: 0;
    }

    .singular-post {
        width: 90%;
    }
}

/* Large */
@media (min-width: 996px) {
    .singular-post {
        width: 80%;
    }
}


/* Scroll indicator
============================================================================= */

.scroll-indicator {
    display: none;
    position: relative;
    width: 100%;
    height: 4rem;
    margin: 1rem 0;
    background: none;
    -moz-appearance: none;
         appearance: none;
    -webkit-appearance: none;
    border: none;
    border-radius: 0;
    -webkit-box-shadow: 0;
            box-shadow: 0;
    cursor: pointer;
}

.scroll-indicator .arrow {
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 0.1rem;
    padding: 0;
    margin: 0;
    background: #000;
    opacity: 0.5;
    transition: opacity 0.2s linear;
}

body.text-white .scroll-indicator .arrow {
    background: #fff;
}

.scroll-indicator .arrow-left {
	position: absolute;
	display: block; 
	left: 0;
	top: 50%;
}

.scroll-indicator .arrow-left::before,
.scroll-indicator .arrow-left::after,
.scroll-indicator .arrow::before,
.scroll-indicator .arrow::after {
    content: " ";
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 3rem;
    height: 0.1rem;
    background: #000;
}

.scroll-indicator .arrow-left::before,
.scroll-indicator .arrow-left::after {
	left: 0;
	right: auto;
	opacity: 0;
	transition: opacity 0.2s linear;
}

body.text-white .scroll-indicator .arrow-left::before,
body.text-white .scroll-indicator .arrow-left::after,
body.text-white .scroll-indicator .arrow::before,
body.text-white .scroll-indicator .arrow::after {
    background: #fff;
}

.scroll-indicator.done .arrow {
    opacity: 0;
}
.scroll-indicator.done .arrow-left::before,
.scroll-indicator.done .arrow-left::after {
	opacity: 1;
}

.scroll-indicator .arrow::before {
    -webkit-transform-origin: bottom right;
        -ms-transform-origin: bottom right;
            transform-origin: bottom right;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}

.scroll-indicator .arrow-left::before {
	-webkit-transform-origin: bottom left;
        -ms-transform-origin: bottom left;
            transform-origin: bottom left;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}

.scroll-indicator .arrow::after {
    -webkit-transform-origin: top right;
        -ms-transform-origin: top right;
            transform-origin: top right;
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}

.scroll-indicator .arrow-left::after {
	-webkit-transform-origin: bottom left;
        -ms-transform-origin: bottom left;
            transform-origin: bottom left;
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}

.scroll-indicator .indicator {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 0.1rem;
    background: #000;
    display: block;
    width: 0px;
    -webkit-transition: width 0.2s linear;
    -o-transition: width 0.2s linear;
    transition: width 0.2s linear;
}

body.text-white .scroll-indicator .indicator {
    background: #fff;
}

/* Medium */
@media (min-width: 768px) {
    .scroll-indicator {
        display: block;
    }
}


/* Image swiper
============================================================================= */

.image-swiper {
    overflow: hidden;
}

.image-swiper .swiper-slide {
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}

.image-swiper .image-swiper-image-div {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.lightbox-overlay .swiper-pagination .swiper-pagination-bullet,
.image-swiper .swiper-pagination .swiper-pagination-bullet {
    width: 2rem;
    height: 0.2rem;
    border-radius: 0;
    border: none;
    opacity: 1;
    background: currentColor;
    opacity: 0.5;
    margin: 0 0.5rem;
}

.lightbox-overlay .swiper-pagination .swiper-pagination-bullet-active,
.image-swiper .swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}


/* Lightbox
============================================================================= */

.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    color: #fff;
    z-index: 1500;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.lightbox-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.lightbox-overlay .lightbox-swiper {
    position: absolute;
    left: 2rem;
    top: 10rem;
    width: calc(100% - 4rem);
    height: calc(100% - 20rem);
    text-align: center;
}

.lightbox-overlay .swiper-wrapper {
    align-items: center;
}

.close-lightbox {
    position: absolute;
    z-index: 100;
    top: 3rem;
    right: 2rem;
    width: 4rem;
    height: 4rem;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    border-radius: 0;
    cursor: pointer;
    color: inherit;
    outline: none;
}

.close-lightbox span::before,
.close-lightbox span::after {
    content: " ";
    display: block;
    position: absolute;
    width: 4rem;
    height: 0.2rem;
    background: currentColor;
}

.close-lightbox span {
    position: absolute;
    width: 4rem;
    height: 0.2rem;
    display: block;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
    -webkit-transition: background-color 0.2s ease-in-out;
    -o-transition: background-color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out;
}

.close-lightbox span::before {
    top: 0;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}

.close-lightbox span::after {
    bottom: 0;
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}

.lightbox-overlay .swiper-container img {
    max-width: calc(100vw - 4rem);
    max-height: calc(100vh - 20rem);
    width: auto;
    height: auto;
}

/* Medium */
@media (min-width: 768px) {
    .close-lightbox {
        top: 4.5rem;
        right: 3rem;
    }

    .lightbox-overlay .lightbox-swiper {
        left: 3rem;
        width: calc(100% - 6rem);
    }

    .lightbox-overlay .swiper-container img {
        max-width: calc(100vw - 6rem);
    }
}

/* Large */
@media (min-width: 996px) {
    .close-lightbox {
        right: 5rem;
    }

    .lightbox-overlay .lightbox-swiper {
        left: 5rem;
        top: 13rem;
        width: calc(100% - 10rem);
        height: calc(100% - 26rem);
    }

    .lightbox-overlay .swiper-container img {
        max-width: calc(100vw - 10rem);
        max-height: calc(100vh - 26rem);
    }
}

/* Extra large */
@media (min-width: 1200px) {
    .close-lightbox {
        right: 7rem;
    }

    .lightbox-overlay .lightbox-swiper {
        left: 7rem;
        width: calc(100% - 14rem);
    }
}


/* Front page
============================================================================= */

body.home {
    color: #fff;
}

body.home .main-header-menu .bottom-content ul {
    display: block;
}

body.home .main-footer {
    display: none;
}

.front-page .image-swiper {
    margin: -12rem -2rem 0 -2rem;
    position: relative;
}

.front-page .image-swiper-image-div {
    height: 100vh;
    width: 100%;
}

.front-page .image-swiper .text-container {
    position: absolute;
    z-index: 10;
    left: 50%;
    top: 59%;
    -webkit-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
    width: calc(100% - 4rem);
}

.front-page .image-swiper .text-container::after {
    content: " ";
    display: block;
    width: 100%;
    padding-bottom: 100%;
    background: black;
    position: absolute;
    z-index: -1;
    -webkit-filter: blur(200px);
            filter: blur(200px);
    opacity: 0.5;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
}

.front-page .image-swiper .text-container h1 {
    font-size: 3.7rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
    margin-bottom: 3rem;
}

/* Medium */
@media (min-width: 768px) {
    body.home .main-header-menu .bottom-content ul {
        display: inline-block;
        margin-left: 1rem;
    }

    .front-page .image-swiper {
        margin: -15rem -3rem 0 -3rem;
    }

    .front-page .image-swiper .text-container {
        width: 59%;
        left: 3rem;
        -webkit-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
                transform: translateY(-50%);
    }

    .front-page .image-swiper .text-container h1 {
        font-size: 5rem;
    }
}

/* Large */
@media (min-width: 996px) {
    .front-page .image-swiper {
        margin: -15rem -5rem 0 -5rem;
    }

    .front-page .image-swiper .text-container {
        width: 41%;
        left: 5rem;
    }
}

/* Extra large */
@media (min-width: 1200px) {
    .front-page .image-swiper {
        margin: -15rem -7rem 0 -7rem;
    }

    .front-page .image-swiper .text-container {
        left: 7rem;
    }
}


/* Projects archive
============================================================================= */

body.post-type-archive-projects {
    background: #000;
}

body.post-type-archive-projects .post-header {
    background: #000;
    position: relative;
}

body.post-type-archive-projects .main-header-menu .bottom-content ul {
    display: block;
}

body.post-type-archive-projects .main-footer {
    display: none;
}

.projects-archive-list {
    margin: 3rem 0;
}

.projects-archive-list-item {
    margin-bottom: 1.5rem;
}

.projects-archive-list-item a {
    font-size: 3.5rem;
    text-transform: uppercase;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.05em;
    display: block;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.projects-archive-list-item .number {
    width: 4rem;
    height: 4rem;
    line-height: 3.8rem;
    display: inline-block;
    font-size: 2rem;
    border: 1px solid currentColor;
    border-radius: 100%;
    text-align: center;
    margin-right: 1.2rem;
}

.projects-archive-list-item .arrow {
    display: inline-block;
    position: relative;
    width: 3rem;
    height: 0.1rem;
    background: currentColor;
    margin-left: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.projects-archive-list-item a:hover .arrow {
    visibility: visible;
    opacity: 1;
}

.projects-archive-list-item .arrow::before,
.projects-archive-list-item .arrow::after {
    content: " ";
    display: block;
    position: absolute;
    width: 1.6rem;
    height: 0.1rem;
    background: currentColor;
    right: 0;
}

.projects-archive-list-item .arrow::before {
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    -webkit-transform-origin: center right;
        -ms-transform-origin: center right;
            transform-origin: center right;
}

.projects-archive-list-item .arrow::after {
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
    -webkit-transform-origin: center right;
        -ms-transform-origin: center right;
            transform-origin: center right;
}

.projects-archive-list-item .image-wrapper {
    display: none;
}


/* Medium */
@media (min-width: 768px) {
    body.post-type-archive-projects .main-header-menu .bottom-content ul {
        display: inline-block;
        margin-left: 1rem;
    }

    .projects-archive-list-item .number {
        margin-right: 2rem;
    }

    .projects-archive-list {
        max-width: calc(40vw - 3rem);
    }

    .projects-archive-list-item .image-wrapper {
        display: block;
        width: calc(60vw - 8rem);
        max-height: calc(100vh - 30rem);
        overflow: hidden;
        position: fixed;
        right: 5rem;
        top: 15rem;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    }

    .projects-archive-list-item .image-wrapper img {
        width: 100%;
        height: auto;
    }

    .projects-archive-list-item a:hover .image-wrapper {
        visibility: visible;
        opacity: 1;
    }
}

/* Large */
@media (min-width: 996px) {
    .projects-archive-list-item .image-wrapper {
        right: 5rem;
        width: calc(60vw - 10rem);
    }

    .projects-archive-list {
        max-width: calc(40vw - 5rem);
    }
}

/* Extra large */
@media (min-width: 1200px) {
    .projects-archive-list-item .image-wrapper {
        right: 7rem;
        width: calc(60vw - 12rem);
    }

    .projects-archive-list {
        max-width: calc(40vw - 7rem);
    }
}


/* Projects single pages
============================================================================= */

body.single-projects {
    background: #000;
    color: #fff;
}

body.single-projects .post-header {
    margin-bottom: 3rem;
    z-index: 10;
    background: #000;
}

body.single-projects .post-title {
    border: none;
    padding-left: 0;
}

div.single-projects {
    position: relative;
}

.single-projects .back-to-projects-link {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding-left: 4rem;
    font-size: 2.2rem;
    text-transform: uppercase;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-decoration: none;
    opacity: 0.4;
    margin: 3rem 0;
}

.single-projects .back-to-projects-link:hover {
    opacity: 0.8;
}

.single-projects .back-to-projects-link .arrow {
    display: inline-block;
    position: absolute;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 3rem;
    height: 0.1rem;
    background: currentColor;
}

.single-projects .back-to-projects-link .arrow::before,
.single-projects .back-to-projects-link .arrow::after {
    content: " ";
    display: block;
    position: absolute;
    width: 1.6rem;
    height: 0.1rem;
    background: currentColor;
    left: 0;
}

.single-projects .back-to-projects-link .arrow::before {
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    -webkit-transform-origin: center left;
        -ms-transform-origin: center left;
            transform-origin: center left;
}

.single-projects .back-to-projects-link .arrow::after {
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
    -webkit-transform-origin: center left;
        -ms-transform-origin: center left;
            transform-origin: center left;
}

/* Medium */
@media (min-width: 768px) {
    body.single-projects .post-header {
        position: relative;
        background: none;
    }

    .single-projects .back-to-projects-link {
        position: absolute;
        bottom: 3rem;
        left: 0;
        margin: 0;
    }
}

/* Large */
@media (min-width: 996px) {
    .single-projects .back-to-projects-link {
        bottom: 5rem;
    }
}


/* Horizontal pages
============================================================================= */

.page-template-template-horizontal .post-header {
    margin-bottom: 3rem;
}

/* Medium */
@media (min-width: 768px) {
    .page-template-template-horizontal .post-header {
        background: none;
        position: relative;
    }
}


/* Contact pages
============================================================================= */

.page-template-template-contact .post-header {
    margin-bottom: 3rem;
}

.page-template-template-contact .map-wrapper {
    width: 100%;
    height: 50rem;
    height: 70vh;
    margin-top: 2.5rem;
}

.page-template-template-contact .map-wrapper #map {
    width: 100%;
    height: 100%;
}

/* Medium */
@media (min-width: 768px) {
    .page-template-template-contact .map-wrapper {
        position: fixed;
        top: 13rem;
        right: 3rem;
        width: calc(50vw - 3rem);
        bottom: 13rem;
    }

    .page-template-template-contact .post-content {
        max-width: calc(50vw - 3rem);
    }
}

/* Large */
@media (min-width: 996px) {
    .page-template-template-contact .map-wrapper {
        right: 5rem;
        width: calc(60vw - 5rem);
    }
    .page-template-template-contact .post-content {
        max-width: calc(40vw - 5rem);
    }
}

/* Extra large */
@media (min-width: 1200px) {
    .page-template-template-contact .map-wrapper {
        right: 7rem;
        width: calc(60vw - 7rem);
    }
    .page-template-template-contact .post-content {
        max-width: calc(40vw - 7rem);
    }
}


/* Flexible content
============================================================================= */

.vertical-scroll-container {
    margin-top: -26.9rem;
    margin-left: -2rem;
    margin-right: -2rem;
    padding: 26.9rem 2rem 2rem 2rem;
    min-height: 100vh;
    overflow-x: scroll;
    overflow-y: hidden;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
}

.vertical-scroll-container::-webkit-scrollbar {
    display: none;
}

.flexible-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    overflow: visible;
}

.flexible-content::-webkit-scrollbar {
    display: none;
}

.flexible-content .row-layout-text {
    margin-bottom: 3rem;
}

.flexible-content .row-layout-image {
    margin-bottom: 3rem;
    font-size: 0;
}

.flexible-content .row-layout-image img {
    width: 100%;
    height: auto;
}

.flexible-content .row-layout-image.size-large img {
    width: 100%;
    height: auto;
}

.flexible-content .row-layout-text-image {
    margin-bottom: 3rem;
}

.flexible-content .row-layout-text-image .text {
    max-width: 35rem;
}

.flexible-content .row-layout-text-image .text p:last-child {
    margin-bottom: 0;
}

.flexible-content .row-layout-text-image .image {
    height: 65%;
    padding-bottom: 1rem;
    text-align: left;
}

.flexible-content .row-layout-text-image .image img {
    height: auto;
    width: 100%;
}

.flexible-content .row-layout-two-images {
    margin-bottom: 3rem;
}

.flexible-content .row-layout-two-images .image-1,
.flexible-content .row-layout-two-images .image-2 {
    height: 50%;
}

.flexible-content .row-layout-two-images .image-1 {
    padding-bottom: 1rem;
}

.flexible-content .row-layout-two-images .image-2 {
    padding-top: 1rem;
    text-align: right;
}

.flexible-content .row-layout-two-images .image-1 img,
.flexible-content .row-layout-two-images .image-2 img {
    width: 100%;
    height: auto;
}

.flexible-content::after {
    content: " ";
    display: block;
    max-width: 1px;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 1px;
            flex: 0 0 1px;
}

/* Medium */
@media (min-width: 768px) {
    .flexible-content {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
    }

    .vertical-scroll-container {
        margin-top: -30.9rem;
        margin-left: -3rem;
        margin-right: -3rem;
        padding: 30.9rem 3rem 3rem 3rem;
    }

    .flexible-content .row-layout-text {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 30rem;
                flex: 0 0 30rem;
        max-width: 30rem;
        margin-bottom: 0;
        margin-right: 3rem;
    }

    .flexible-content .row-layout-image {
        margin-bottom: 0;
        margin-right: 3rem;
    }

    .flexible-content .row-layout-image img {
        width: auto;
        max-width: calc(100vw - 6rem);
        max-height: calc(100vh - 13rem - 17rem - 2rem);
        min-height: 45rem;
    }

    .flexible-content .row-layout-image.size-large {
        margin-top: -26.9rem;
    }

    .flexible-content .row-layout-image.size-large img {
        max-height: calc(100vh - 6rem);
        width: auto;
    }

    .flexible-content .row-layout-text-image {
        height: calc(100vh - 10rem - 17rem - 2rem);
        max-width: calc(100vw - 4rem);
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-pack: end;
            -ms-flex-pack: end;
                justify-content: flex-end;
        width: auto;
        height: calc(100vh - 13rem - 17rem - 2rem);
        min-height: 45rem;
        margin-bottom: 0;
        margin-right: 3rem;
    }

    .flexible-content .row-layout-text-image.indent {
        padding-left: 10rem;
        -webkit-box-sizing: content-box;
                box-sizing: content-box;
    }

    .flexible-content .row-layout-text-image.indent .text {
        margin-left: -10rem;
    }

    .flexible-content .row-layout-text-image .text {
        max-height: 35%;
        -webkit-box-flex: 0;
            -ms-flex: 0;
                flex: 0;
    }

    .flexible-content .row-layout-text-image .text p:last-child {
        margin-bottom: -0.5rem;
    }

    .flexible-content .row-layout-text-image .image {
        max-height: 65%;
        margin-left: 0;
    }

    .flexible-content .row-layout-text-image .image img {
        height: 100%;
        width: auto;
    }

    .flexible-content .row-layout-text {
        -webkit-box-flex: 0;
            -ms-flex: 0 0 45rem;
                flex: 0 0 45rem;
        max-width: 45rem;
    }

    .flexible-content .row-layout-two-images {
        height: calc(100vh - 13rem - 17rem - 2rem);
        min-height: 62rem;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        margin-bottom: 0;
        margin-right: 3rem;
    }

    .flexible-content .row-layout-two-images .image-1 img,
    .flexible-content .row-layout-two-images .image-2 img {
        height: 100%;
        width: auto;
    }
}

/* Large */
@media (min-width: 996px) {
    .vertical-scroll-container {
        margin-top: -30.9rem;
        margin-left: -5rem;
        margin-right: -5rem;
        padding: 30.9rem 5rem 5rem 5rem;
        min-height: calc(100vh - 7.1rem);
    }

    .flexible-content .row-layout-image img {
        max-width: calc(100vw - 10rem);
        max-height: calc(100vh - 13rem - 17rem - 5rem - 7.1rem);
    }

    .flexible-content .row-layout-image.size-large {
        margin-top: -26.9rem;
    }

    .flexible-content .row-layout-image.size-large img {
        max-height: calc(100vh - 5rem - 3rem - 7.1rem);
    }

    .flexible-content .row-layout-text-image {
        height: calc(100vh - 13rem - 17rem - 5rem - 7.1rem);
    }

    .flexible-content .row-layout-two-images {
        margin-top: -17rem;
        height: calc(100vh - 13rem - 5rem - 7.1rem);
    }

    .flexible-content::after {
        max-width: 2rem;
        -webkit-box-flex: 0;
            -ms-flex: 0 0 2rem;
                flex: 0 0 2rem;
    }
}

/* Extra large */
@media (min-width: 1200px) {
    .vertical-scroll-container {
        margin-left: -7rem;
        margin-right: -7rem;
        padding-left: 7rem;
        padding-right: 7rem;
    }
}


/* Mailchimp
============================================================================= */

.mc4wp-form-fields p {
    margin-bottom: 2.5rem;
}

.mc4wp-form-fields label {
    display: block;
    font-size: 1.7rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
}

.mc4wp-form-fields input[type="text"],
.mc4wp-form-fields input[type="email"] {
    border: 1px solid currentColor;
    background: none;
    line-height: 4rem;
    padding: 0 1rem;
    outline: none;
    height: 4rem;
    font-size: 1.6rem;
    font-family: "Montserrat", sans-serif;
    color: currentColor;
    border-radius: 0;
    display: block;
    width: 100%;
}

.mc4wp-form-fields input[type="submit"] {
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: none;
    line-height: 5rem;
    height: 5rem;
    color: currentColor;
    background: none;
    border: 2px solid currentColor;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0 1.7rem;
    font-size: 1.7rem;
    cursor: pointer;
}

.mc4wp-form-fields input[type="submit"]:hover {
    opacity: 0.75;
}
