/*
Theme Name: h3ko.com Child
Description: Child theme of 2017
Template: twentyseventeen
Version: 0.1
 */
@import url("./assets/css/fonts.css");
@import url("../twentyseventeen/style.css");

/* ##################### VARIABLES ##################### */
:root {
    --primary-color: #007E80;
    --primary-color-light: #66B2B3;
    --primary-color-medium: #339899;
    --light-background-color: #E5F2F2;
    --warning-color: #D32F2F;
}

/* ##################### GENERAL ##################### */
body, html {
    width: 100%;
    height: 100%;
}
body {
    font-size: 1em;
    font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}
h1, h2,
body.page:not(.twentyseventeen-front-page) .entry-title {
    margin-bottom: 30px;
    padding: 0;
    font-weight: normal;
    color: #007E80;
    color: var(--primary-color);
    text-transform: none;
}
h1,
body.page:not(.twentyseventeen-front-page) .entry-title {
    font-size: 1.5625em;
}
h2 {
    font-size: 1.3em;
}
h3 {
    font-weight: 600;
    font-size: 1.1em;
}
h4 {
    padding: 0;
    margin: 0;
    font-family: "Libre Franklin", sans-serif;
    color: #007E80;
    color: var(--primary-color);
    font-weight: normal;
    font-size: 1.5em;
}
/* overwrite parent theme style */
h3:first-child {
    padding: 1.5em 0 0;
}
.page.page-one-column .entry-header {
    margin: 0;
    padding: 0;
}
hr {
    margin: 1.8em -1.4em;
    background: #007E80;
    background: var(--primary-color);
    height: 1px;
    border: none;
}
summary {
    display: list-item;
    padding: 10px;
    background: #339899;
    background: var(--primary-color-medium);
    color: #fff;
    font-weight: 600;
    border-radius: 3px;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    user-select: none;
    /* removes default arrow icon of the summary block */
    list-style: none;
}
/* removes default arrow icon of the summery block in chrome */
summary::-webkit-details-marker {
    display: none;
}
summary::after {
    content: ' ';
    height: 25px;
    width: 20px;
    float: right;
    background: url(./assets/images/arrow-accordion.svg) center / contain no-repeat;
}
details[open] summary::after {
    transform: rotate(180deg);
}
button, .btn, input[type="submit"] {
    margin: auto;
    display: block;
    padding: 12px 30px;
    border-radius: 5px;
    background: #339899;
    background: var(--primary-color-medium);
    color: #fff;
    font-family: "Libre Franklin", sans-serif;
    font-weight: normal;
    font-size: 1em;
    line-height: normal;
    -webkit-tap-highlight-color: transparent;
}
input[type="submit"] {
    min-width: 30%;
}
.btn {
    white-space: nowrap;
}
:not( .mejs-button ) > butto:hover,
:not( .mejs-button ) > button:focus,
.btn:hover,
.btn:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    background: #339899;
    background: var(--primary-color-medium);
    color: #fff;
}
.sl-wrapper button:hover,
.sl-wrapper button:focus {
    background: none;
    color: var(--primary-color);
}
.wp-caption img[class*="wp-image-"] {
    margin: 0;
}
/* overwrite parent theme style */
.entry-content a,
.entry-summary a,
.comment-content a,
.widget a,
.site-footer .widget-area a,
.posts-navigation a,
.widget_authors a strong {
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    transition: none;
}
.entry-content a:hover {
    color: #000;
    -webkit-box-shadow: none;
    box-shadow: none;
}
a:focus {
    outline: none;
}

.grecaptcha-badge {
    z-index: 9999999;
}

/* inputs */
input::placeholder,
textarea::placeholder {
    color: #66B2B3;
    color: var(--primary-color-light, #66B2B3);
}
span[role="alert"] {
    color: #D32F2F;
    color: var(--warning-color, #D32F2F);
}
textarea {
    resize: vertical;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
    color: #66B2B3;
    color: var(--primary-color-light, #66B2B3);
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    background: #E5F2F2;
    text-align: center;
}
/* overwrite parent theme style of inputs */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"], textarea {
    color: #000;
    border: 1px solid #66B2B3;
    border: 1px solid var(--primary-color-light, #66B2B3);
    -webkit-border-radius: 3px;
    border-radius: 3px;
    display: block;
    padding: 10px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
nput[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    border-color: #66B2B3;
    border-color: var(--primary-color-light, #66B2B3);
}

/* Tables */
tr {
    border-bottom: none;
}
th {
    font-weight: normal;
}
table.key-value-table th {
    vertical-align: top;
}
/* ##################### VIDEOS ##################### */
.video-container {
    position: relative;
    max-width: 100%;
    height: auto;
    /* respects the aspect ratio of 16:9 (9 = 56.25% of 16) */
    padding-bottom: 56.25%;
    overflow: hidden;
}
.video-container iframe,
.BorlabsCookie {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
}
/* ##################### GALLERY ##################### */
.gallery p {
    display: grid;
    grid-template-columns: auto auto;
    grid-gap: 16px;
}
.gallery img {
    margin: auto;
}
/* ##################### LOADER ##################### */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    visibility: visible;
    transition: 0.5s all;
    background: #fff;
    z-index: 9999;
}
.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

/* ##################### READ MORE ##################### */
.read-more-content {
    display: none;
}
/* ##################### NAVIGATION ##################### */
.navigation-top {
    border: none;
    font-size: 1em;
    background: none;
}
.navigation-top a {
    font-weight: normal;
    color: #66B2B3;
    color: var(--primary-color-light, #66B2B3);
}
.navigation-top .current-menu-item > a,
.navigation-top .current_page_item > a {
    font-family: "Libre Franklin", sans-serif;
    color: #000;
    font-weight: 600;
}
.navigation-top .current-menu-item > a,
.navigation-top .current_page_item > a:focus {
    outline: none;
}
.navigation-top .wrap {
    margin: 0;
    padding: 0;
    max-width: none;
}
.main-navigation li {
    border-bottom: #66B2B3;
    border-bottom: .5px solid var(--primary-color-light, #66B2B3);
    text-align: center;
}
.main-navigation li:last-child {
    border-right: 0;
    border-bottom: #66B2B3;
    border-bottom: .5px solid var(--primary-color-light, #66B2B3);
}
.main-navigation .icon {
    color: #007E80;
    color: var(--primary-color, #007E80);
}
.main-navigation a:hover {
    color: #007E80;
    color: var(--primary-color, #007E80);
}
.navigation-top.sticky {
    bottom: auto;
    position: fixed;
    left: 0;
}
/* ------------------- MOBILE ------------------- */
.main-navigation {
    background: #fff;
}
.main-navigation.toggled-on {
    background: #E5F2F2;
    background: var(--light-background-color);
}
.main-navigation > div > ul {
    padding: 0;
    border: none;
}
.mobile-nav-wrapper {
    display: flex;
    border-bottom: .5px solid #66B2B3;
    border-bottom: .5px solid var(--primary-color-light);
    padding: 6px 15px;
    justify-content: space-between;
}
a.header-logo-mobile {
    display: inline-block;
    margin: 0;
    padding: 0;
}
.header-logo-mobile img {
    width: 140px;
    height: auto;
}
button.menu-toggle {
    padding: 0;
    line-height: 0;
}
.top-header-bar {
    display: none;
}

.navigation-top button {
    margin: 0;
    width: 100%;
    text-align: right;
}
.navigation-top button:hover,
.navigation-top button:focus {
    background: none;
    border: none;
    outline: none;
}
.main-navigation ul {
    background: #E5F2F2;
    background: var(--light-background-color);
}
.main-navigation li a {
    padding: 1em;
}
/* ##################### HEADER ##################### */
.has-header-image .custom-header-media img {
    height: 258px;
    height: 28vh;
    min-height: 225px;
    max-height: 843px;
    position: absolute;
    top: 50%;
    transform: translateY(-37%);
    object-position: 54% 50%;
}
.has-header-image .custom-header-media {
    max-height: 925px;
    background: url('./assets/images/header-image-background.png') 4% top / cover no-repeat fixed;
}
body.has-header-image.twentyseventeen-front-page .custom-header,
body.has-header-image .custom-header {
    height: 294px;
    height: 32vh;
    min-height: 293px;
    max-height: 324px;
}
.custom-header-media:before {
    background: none;
}
.top-header-bar {
    position: fixed;
    margin-top: -10px;
    padding: 10px 20px 10px;
    width: 100%;
    z-index: 3000;
    text-align: center;
    background: #fff;
    border-bottom: .5px solid #66B2B3;
    border-bottom: .5px solid var(--primary-color-light);
}
.logo-header-wrapper {
    display: block;
    line-height: 0;
}
.logo-header {
    height: 5em;
    width: auto;
}
.logo-header.small-header {
    height: 3em;
}
/* ------------------- MOBILE ------------------- */
.menu-toggle {
    margin: 1px 20px 2px auto;
    padding: 1em 1em 0;
    border-radius: 0;
}
/* --> force same header style behaviour like front page */
.has-header-image.twentyseventeen-front-page .custom-header,
.has-header-video.twentyseventeen-front-page .custom-header,
.has-header-image .custom-header,
.has-header-video .custom-header,
.has-header-image.home.blog .custom-header,
.has-header-video.home.blog .custom-header {
    display: table;
    width: 100%;
    height: 294px;
    height: 32vh;
    min-height: 0;
    max-height: 324px;
}
.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
    height: 258px;
    height: 28vh;
    min-height: 225px;
    max-height: 843px;
    position: absolute;
    top: 50%;
    transform: translateY(-37%);
    object-position: 54% 50%;
}
/* <-- force same header style behaviour like front page */

/* ##################### CONTENT_GENERAL ##################### */
#page.site {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.site-content-contain {
    display: flex;
    flex-direction: column;
    flex: 1;
    /* ensure clickable elements with plugin overlays */
    z-index: 1;
}
#main.site-main {
    margin: auto;
}
#page #content.site-content {
    padding: 2em 0;
    flex: 1;
}
.page-section {
    margin: auto;
    padding: 0 1.4em;
}
#content.site-content ul {
    padding-left: 1em;
    list-style: none;
}
#content.site-content ul li:not(.slider-item)::before {
    content: "\2022";
    margin-left: -1em;
    width: 1em;
    color: #007E80;
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
}
.floating-img-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.floating-img-wrapper .floating-img {
    width: 25%;
    height: auto;
}
.floating-img-wrapper img:not(:last-child) {
    margin-right: 20px;
}
.single-float-img {
    margin-left: 30px;
    float: right;
}
/* ##################### SLIDER ##################### */
.slider-section {
    margin-bottom: 1.8em;
}
.slider-outer-wrapper {
    width: 100%;
    display: flex;
    position: relative;
}
.slider-arrow-wrapper {
    width: 100%;
    position: relative;
}
.slider-outer-wrapper .arrow {
    position: absolute;
    top: 0;
    -webkit-tap-highlight-color: transparent;
}
.slider-outer-wrapper .arrow.right {
    right: 0;
}
.slider-inner-wrapper {
    width: 90%;
    margin: auto;
    padding: 0 10px;
}
.slider {
    margin: 0 auto 23px;
    text-align: center;
    user-select: none;
}
.slider .slider-item {
    position: relative;
    padding: 8px 10px;
    font-size: 1em;
    font-weight: 100;
    color: #66B2B3;
    color: var(--primary-color-light);
    border-radius: 3px;
    background: #E5F2F2;
    background: var(--light-background-color);
    cursor: pointer;
}
.slider .slider-item p {
    margin: 0;
}
.slider .slider-item.active {
    background: #66B2B3;
    background: var(--primary-color-light);
    color: #fff;
}
.slider .slider-item.active:after {
    content: '';
    width: 2em;
    height: 25px;
    background: linear-gradient(#66B2B3, #fff);
    background: linear-gradient(var(--primary-color-light), #fff);
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -1em;
}
.arrow {
    height: 2.8em;
    cursor: pointer;
}
.arrow[aria-disabled="true"] {
    opacity: .3;
    cursor: default;
}
.arrow img {
    width: auto;
    height: 100%;
}
.slider-content {
    min-height: 26.5em;
    padding: 30px;
    background: #E5F2F2;
    background: var(--light-background-color);
    border-radius: 5px;
}
.company-history-wrapper .slider-content .slider-content-inner-wrapper {
    margin: auto;
    max-width: 1020px;
}
.slider-content p:last-child {
    margin-bottom: 0;
}
/* ##################### REFERENCES PAGE ##################### */
/* ----------------------- Slider ----------------------- */
.references-main .slider {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
}
.references-main .slider-item {
    height: 100%;
    background: none;
    color: #000;
    font-size: .9em;
}
.screen-slider .slider-item {
    cursor: default;
}
.references-main .slider-item.active {
    background: #E5F2F2;
    background: var(--light-background-color);
    color: #007E80;
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 20px 20px 0 0;
}
.references-main .slider-item.active:after {
    content: none;
}
.slider.project-slider .slider-item img {
    width: 90px;
    height: auto;
    filter: drop-shadow(0 0 2px #7F7F7F);
    /* workaround for incorrect drop shadow in safari */
    will-change: filter;
}
.references-main .slider-outer-wrapper {
    margin: auto;
}
.references-main .slider-outer-wrapper .arrow {
    top: 22%;
}
.references-main .slider-content {
    border-radius: 0;
    padding: 10px;
}
.references-main .slider-content-inner-wrapper {
    margin: auto;
    padding: 20px 10px 10px;
    background: #fff;
    border-radius: 20px;
}
.references-main .slider-outer-wrapper.dynamic .arrow {
    top: 50%;
    /* shift back to half of the elements size */
    transform: translateY(-50%);
}
/*------------------------------------------------------------*/
.project-intro-wrapper,
.project-icon-wrapper,
.project-screens-wrapper,
.slider-outer-wrapper.screen-slider,
.project-link-wrapper {
    margin-bottom: 35px;
}
.project-intro-wrapper {
    display: flex;
    flex-direction: column;
}
.project-intro-wrapper .project-icon {
    width: 150px;
    height: auto;
}
.project-intro-wrapper .store-icon {
    display: block;
    width: 150px;
    height: auto;
    margin-bottom: 15px;
}
.project-intro-wrapper .project-intro-text {
    flex: 1;
}
.project-intro-wrapper .btn {
    display: inline-block;
}
.project-stores-wrapper img {
    margin: auto;
}
/* ##################### PAGE JUMPS ##################### */
.page-jump-item-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.page-jump-item-wrapper .page-jump-item {
    width: 22%;
    max-width: 160px;
    text-align: center;
}
.page-anchor-content {
    scroll-margin-top: 17rem;
}
/* ##################### BUSINESS UNITS PAGE ##################### */
.business-unit-header {
    display: flex;
    margin-bottom: 24px;
    align-items: center;
    box-sizing: content-box;
}
.business-unit-header h2 {
    margin: 0;
    display: inline-block;
    font-size: 1.2em;
}
.business-unit-header img {
    padding-right: 10px;
    width: 5em;
}
.page-jump-item-title {
    display: none;
}
.business-unit-item .page-jump-item-image {
    filter: drop-shadow(0 0 2px #7F7F7F);
}
/* ##################### TEAM PAGE ##################### */
section.general-questions-wrapper {
    margin-bottom: 35px;
}
.general-questions-content img {
    width: 100%;
    height: auto;
    vertical-align: top;
}
.team-content {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}
.team-content::after {
    content: '';
}
.employee-wrapper,
.team-content::after {
    margin-bottom: 20px;
    flex: 0 0 100%;
}

/* ##################### CONTACT PAGE ##################### */
.contact-page.page.page-one-column:not(.twentyseventeen-front-page) #primary {
    max-width: 740px;
}
.contact-page .site-content .wrap {
    padding: 0 1.4em;
}
/* hide loader image on submit */
.wpcf7-form .ajax-loader {
    display: none !important;
}

/* ##################### JOBS PAGE ##################### */
.mail-link-wrapper {
    text-align: center;
}

.mail-link-wrapper .btn {
    width: 26%;
    min-width: 190px;
    display: inline-block;
    font-size: 1.125em;
    font-weight: 600;
}

.job-main .single-float-img {
    width: 20%;
    min-width: 110px;
    max-width: 160px;
    height: auto;
}

/* ##################### FOOTER ##################### */
footer.site-footer {
    margin: 0;
    background: #339899;
    background: var(--primary-color-medium, #339899);
    color: #fff;
    text-align: center;
    font-size: 0.875em;
}
.site-footer .wrap {
    padding-bottom: 2.5rem;
}
footer ul {
    list-style-type: none;

}
footer ul li {
    margin-right: 20px;
    display: inline-block;
}
footer ul a {
    color: #fff;
}
footer ul a:hover {
    color: #fff;
}
footer .footer-contact-data {
    display: block;
}

/* ##################### MEDIA QUERIES ##################### */
/* -------------- DESKTOP -------------- */
@media screen and (min-width: 66.875em) {
    .sl-wrapper .sl-navigation button.sl-next {
        right: 23%;
    }
    .sl-wrapper .sl-navigation button.sl-prev {
        left: 23%;
    }
    .sl-wrapper .sl-close {
        right: 34px;
    }
}

@media screen and (min-width: 50em) {
    .sl-wrapper .sl-navigation button.sl-next {
        right: 18%;
    }
    .sl-wrapper .sl-navigation button.sl-prev {
        left: 18%;
    }
}

@media screen and (min-height: 61.875em) and (max-width: 73.75em) {
    .sl-wrapper .sl-navigation button.sl-next {
        right: 10px;
    }
    .sl-wrapper .sl-navigation button.sl-prev {
        left: 10px;
    }
}

@media screen and (min-width: 48em) {
    /* ##################### GENERAL ##################### */
    summary {
        padding: 10px 30px;
    }
    hr {
        margin: 1.8em 0;
    }
    /* ##################### HEADER ##################### */
    .has-header-image .custom-header-media img {
        height: 86%;
        transform: translateY(-53%);
    }
    body.twentyseventeen-front-page.has-header-image .custom-header-media,
    body.has-header-image .custom-header-media {
        height: 720px;
        height: 82.5vh;
        max-height: 1015px;
        min-height: 380px;
    }
    body.has-header-image.twentyseventeen-front-page .custom-header,
    body.has-header-image .custom-header {
        min-height: 0;
    }
    .top-header-bar {
        display: flex;
        margin: 0;
        padding: 2.3em 6em;
    }
    .top-header-bar.small-header {
        padding: .8em 6em;
    }
    .logo-header-wrapper {
        flex: 1 auto;
        text-align: left;
    }
    .slogan-header {
        width: 50%;
        margin: auto 0;
        text-align: right;
    }
    .slogan-header.small-header {
        font-size: 1.1em;
    }
    /*#masthead {*/
    /*    display: block;*/
    /*}*/
    /* --> force same header style behaviour like front page */
    .twentyseventeen-front-page.has-header-image .custom-header-media,
    .twentyseventeen-front-page.has-header-video .custom-header-media,
    .has-header-image .custom-header-media,
    .has-header-video .custom-header-media,
    .home.blog.has-header-image .custom-header-media,
    .home.blog.has-header-video .custom-header-media {
        overflow: hidden;
        height: 720px;
        height: 80vh;
    }
    .has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media,
    .has-header-video:not(.twentyseventeen-front-page):not(.home) .custom-header-media {
        position: relative;
        height: 720px;
        height: 82.5vh;
        max-height: 1015px;
        min-height: 380px;
    }
    .has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
        height: 86%;
        transform: translateY(-53%);
    }
    /* <-- force same header style behaviour like front page */
    /* ##################### NAVIGATION ##################### */
    .navigation-top nav {
        margin: 0;
    }
    .js .main-navigation > div > ul,
    .js .main-navigation.toggled-on > div > ul {
        display: flex;
    }
    .js .main-navigation > div > ul {
        width: 100%;
        flex-direction: row;
    }
    .main-navigation li {
        flex: 1 auto;
        border-right: .5px solid #66B2B3;
        border-right: .5px solid var(--primary-color-light);
    }
    .navigation-top .current-menu-item,
    .main-navigation li:last-child.current-menu-item {
        background: #fff;
        border-bottom: 0;
    }
    .main-navigation li a {
        padding: 2em 1em;
    }
    .mobile-nav-wrapper {
        display: none;
    }
    .top-header-bar {
        display: flex;
    }
    /* ##################### CONTENT_GENERAL ##################### */
    #page #content.site-content {
        padding: 3em 0;
    }
    .page-section,
    .references-main .slider-outer-wrapper,
    .references-main .slider-content-inner-wrapper {
        max-width: 1200px;
    }
    .floating-img-wrapper {
        display: inline-block;
        float: right;
    }
    .floating-img-wrapper .floating-img {
        display: inline-block;
        height: 100px;
        width: auto;
    }
    .floating-img-wrapper img {
        height: 100%;
        width: auto;
        max-width: none;
    }
    .floating-img-wrapper .floating-img:not(:last-child) {
        margin-right: 40px;
    }
    .floating-img-wrapper .floating-img:first-child {
        margin-left: 20px;
    }
    /* ##################### SLIDER ##################### */
    .slider .slider-item {
        font-size: 1.2em;
    }
    /* ##################### ABOUT US PAGE ##################### */
    .company-history-wrapper h2 {
        font-size: 1.5625em;
    }
    /* ##################### BUSINESS UNITS PAGE ##################### */
    .business-unit-header h2 {
        font-size: 1.5625em;
    }
    .business-unit-header img {
        padding-right: 25px;
    }
    .business-unit-content img:not(.headline-image) {
        max-width: 60%;
        min-width: 570px;
    }
    .page-jump-item-title {
        display: inline;
    }
    /* ##################### REFERENCES PAGE ##################### */
    .project-intro-wrapper .store-icon {
        width: 130px;
    }
    .references-main .slider-content {
        padding: 30px;
    }
    .references-main .slider-content-inner-wrapper {
        padding: 35px;
    }
    .references-main .project-intro-wrapper {
        flex-direction: row;
    }
    .references-main .slider .slider-item {
        font-size: inherit;
    }
    .project-icon-wrapper, .project-intro-text {
        margin-right: 25px;
    }
    .project-link-wrapper {
        margin-bottom: 0;
    }
    .general-questions-text {
        display: inline-block;
    }
    /* ##################### TEAM PAGE ##################### */
    .team-main h3:first-child {
        padding: 0;
    }
    .employee-wrapper,
    .team-content::after {
        flex: 0 0 45%;
    }
    .general-questions-content {
        display: flex;
        flex-direction: row;
    }
    .general-questions-img {
        margin-right: 30px;
        width: 45%;
    }
    .general-questions-content img {
        width: 100%;
        height: auto;
    }
    .general-questions-text {
        flex: 1;
    }
}

@media screen and (min-width: 100em) {
    /* ##################### HEADER ##################### */
    .has-header-image .custom-header-media img,
    .has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
        object-fit: contain;
    }
}
@media screen and (max-height: 47.8125em) and (min-width: 48em) {
    .has-header-image .custom-header-media img,
    .has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
        height: 70%;
        transform: translateY(-54%);
        object-fit: contain;
    }
}
@media screen and (min-width: 48em) and (orientation: portrait) {
    /* ##################### HEADER ##################### */
    body.twentyseventeen-front-page.has-header-image .custom-header-media,
    body.has-header-image .custom-header-media,
    /* header on subpages */
    body.has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media {
        height: 59vh;
        min-height: 522px;
    }
}

@media screen and (max-width: 47.938em) {
    /* ##################### GENERAL ##################### */
    h1, h2, h3,
    .references-main .project-icon-wrapper,
    .project-intro-wrapper .project-intro-text,
    .references-main .project-stores-wrapper {
        text-align: center;
    }
    /* ##################### HEADER ##################### */
    .slogan-header {
        font-size: 1.1em;
    }
    .logo-header-wrapper {
        margin-bottom: .7em;
    }
    .navigation-top {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 3000;
    }
    /* ##################### REFERENCES PAGE ##################### */
    .references-main .slider-content ul {
        display: inline-block;
        margin: 0 auto 1.5em;
        text-align: left;
    }

    #content.site-content .references-main .slider-content ul {
        padding-left: 2em;
    }
    /* ##################### BUSINESS UNITS ##################### */
    .business-unit-header h2 {
        text-align: left;
    }
}
@media screen and (min-width: 36.25em) {
    /* ##################### GALLERY ##################### */
    .gallery p {
        grid-template-columns: auto auto auto;
    }
}
@media screen and (min-width: 62.188em) {
    /* ##################### GALLERY ##################### */
    .gallery img {
        min-width: 0;
    }
    .gallery p {
        grid-template-columns: repeat(auto-fit, 23%);
    }
}
@media screen and (max-height: 37.5em) and (min-width: 47.938em) {
    /* ##################### HEADER ##################### */
    .slogan-header {
        font-size: 1.1em;
    }
    .logo-header {
        height: 3em;
    }
    .top-header-bar {
        padding: .8em 6em;
    }
}
@media screen and (max-width: 29.375em) {
    /* ##################### SLIDER ##################### */
    .slider-inner-wrapper {
        width: 80%;
    }
    .references-main .slider .slider-item {
        font-size: .84em;
        font-size: .79em;
    }
    /* ##################### GALLERY ##################### */
    .gallery p {
        grid-template-columns: auto;
    }
    /* ##################### FOOTER ##################### */
    footer.site-footer {
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 23.75em) {
    .page-section {
        padding: 0 .9375em;
    }
    hr {
        margin: 1.8em -.9375em;
    }
    .site-footer .wrap {
        padding: 2em .9375em 2.5rem
    }
}

@media screen and (max-width: 19.6875em) {
    body {
        font-size: .875em;
    }
}
