/*!
Theme Name: sallerbau
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sallerbau
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

sallerbau is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

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

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
    background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
    border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
    overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
    display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
    display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
    display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    margin: 0;
}

p {
    margin: 0;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", courier, monospace;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background: #fff;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

img {
    height: auto;
    max-width: 100%;
}

figure {
    margin: 1em 0;
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}


/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1;
    padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
}

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: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[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 {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
    display: block;
    width: 100%;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    display: block;
    left: auto;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
}

.main-navigation li {
    position: relative;
    margin-bottom: 1.25rem;
}

.main-navigation a {
    display: block;
    text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media screen and (min-width: 37.5em) {

    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
    }
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
    margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
    display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    text-align: end;
    flex: 1 0 50%;
}


/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
    outline: 0;
}

/*	*/
@font-face {
    font-family: AlumniSans;
    src: url(fonts/AlumniSans-VariableFont_wght.ttf);
}

@font-face {
    font-family: Archivo;
    src: url(fonts/Archivo-VariableFont_wdth,wght.ttf);
}

* {
    font-family: Archivo;
    color: #38161E;
}

.site {
    background-color: #E9EBDE;
}

.site-main {
    padding-top: 7.75rem;
}

.content-max-width {
    max-width: 1440px;
    margin: 0 auto;
}

.title {
    font-family: AlumniSans;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
    color: #38161E;
    margin-bottom: 3.25rem;
}

.button {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    background-color: #38161E;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 40px;
    padding: 0.875rem 1.750rem;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.button:hover {
    background-color: #AD9B5F;
}

.site-header {
    position: fixed;
    z-index: 1001;
    width: 100%;
    height: 7.75rem;
    background-color: #FFF;
}


.main-navigation {
    display: flex;
    flex-direction: row;
    position: relative;
    height: 100%;
    align-items: flex-end;
    padding-bottom: 2rem;
}

.primary-menu-wrapper {
    margin-left: auto;
}

.custom-logo {
    display: block;
}

.menu-item {
    margin-left: 2.5rem;
    font-family: Archivo;
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
}

.menu-item:hover > a {
    color: #AD9B5F;
}

ul .wpml-ls-menu-item a {
    justify-content: center;
}


.banner {
    width: 100%;
    height: 800px;
    background-image: url("img/header02.png");
    background-position: center;
    background-repeat: no-repeat;
    clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%);
}

.banner-text {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: flex-start;
}

.banner-text h2 {
    /*position: absolute;
    top: 50%;
    transform: translate(0, -50%);*/
    font-family: AlumniSans;
    font-size: 6rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 78px;
    letter-spacing: 0.05em;
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.services {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.services-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5rem;
}

.single-service {
    position: relative;
}

.single-service img {
    width: 100%;
    display: block;
    aspect-ratio: 1.3 / 1;
    object-fit: cover;
}

.service-body {
    display: flex;
    flex-direction: column;
    background-color: #5C803DD9;
    height: 100px;
    padding: 0 1.875rem;
    position: absolute;
    bottom: 0;
    width: 100%;
    transition: height 0.5s;
    justify-content: center;
    align-items: center;
}

.service-body .button {
    opacity: 0;
    transform: translateY(45px);
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
    transition: opacity 0.3s, transform 0.3s, -webkit-transform 0.3s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
}

.single-service:hover .button {
    opacity: 1;
    transition-delay: 0.2s;
}

.single-service:hover .service-body {
    height: 100%;
}

.service-body h4 {
    font-family: AlumniSans;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
}

.about-us {
    display: flex;
    padding: 0 10rem;
    margin-top: 5rem;
}


.about-us img {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    margin-left: 6rem;
}


.about-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-text p {
    line-height: 34px;
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 1.875rem;
}

.numbers {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5rem;
}

.numbers-grid, .references-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0.875rem;
    width: 100%;
}

.single-number {
    display: flex;
    flex-direction: column;
    aspect-ratio: 1 / 1;
    background-color: #38161E;
    padding: 1rem;
}

.single-number p {
    margin: 0;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

.single-number p:first-of-type {
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
}

.single-number img {
    padding: 1.25rem;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    width: 150px;
}

.single-number:nth-of-type(even) {
    background-color: #5C803D;
}

.references {
    display: flex;
    flex-direction: column;
    margin-top: 3.75rem;
    margin-bottom: 3.75rem;
    align-items: center;
}

.references .button {
    margin: 1.125rem auto 0;
}

.site-footer {
    position: relative;
    background-color: #5C803D;
    z-index: 0;
}

.footer {
    position: relative;
    width: 100%;
    padding-bottom: 3.5rem;
    /*height: 650px;*/
    z-index: 1;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("img/footer.png");
    background-size: cover;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 50% 70%, 0 45%);
    z-index: -1;
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-image-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.footer-image-text h4 {
    font-family: AlumniSans;
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 35px;
    letter-spacing: 0.05em;
    text-align: center;
    max-width: 425px;
    margin-top: 6.75rem;
    margin-bottom: 1.25rem;
    color: #ffffff;
    text-transform: uppercase;
}

.footer-image-text .button {
    background-color: #5C803D;
}

.footer-image-text .button:hover {
    background-color: #AD9B5F;
}

.footer-bottom-text {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
}

.footer-bottom-text p {
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.footer-info {
    margin-top: 6rem;
}

.footer-info img {
	max-width: 250px;
    margin-bottom: 2.25rem;
}

.footer-info h5 {
    color: #ffffff;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-info p a {
    color: white;
}

.footer-menu-wrapper .primary-menu-container ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.footer-menu-wrapper a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 400;
}

.footer-social {
    display: flex;
    margin-left: auto;
    align-items: flex-end;
}

.footer-social p {
    margin-bottom: 0;
}

.footer-social img {
    width: 30px;
    margin-left: 1rem;
}

.footer-menu {
    margin-left: auto;
}

.footer-menu .menu-item {
    margin-left: 1.5rem;
}

.subpage {
    margin-bottom: 3.75rem;
}

.subpage-banner {
    height: 315px;
    background-color: #5C803D;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(0 0, 100% 1%, 100% 75%, 50% 100%, 0 75%);
    margin-bottom: 4.5rem;
}

.subpage-banner h2 {
    color: #ffffff;
    font-family: AlumniSans;
    font-weight: 700;
    font-size: 6rem;
    text-transform: uppercase;
}


.subpage-content {
    display: flex;
    flex-direction: column;
}

.subpage p {
    font-weight: 500;
    font-size: 1.375rem;
    letter-spacing: 0.05em;
    margin: 0 7rem 1.875rem;
    line-height: 32px;
}

.wp-block-gallery {
    margin-top: 1.875rem;
}

.services-menu {
    cursor: default;
}

.subpage-block {
    background-color: #ffffff;
    padding: 2.75rem;
    width: 100%;
    border-radius: 40px;
    box-shadow: 2px 4px 7px 0px #00000040;
}

.subpage-block h4 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 4rem;
}

.subpage-block p {
    text-align: center;
}

.subpage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.subpage-grid-single {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.subpage-grid-single img {
    margin-bottom: 1.25rem;
    width: 125px;
    height: 125px;
}

.subpage-grid-single p {
    text-align: center;
}

.subpage h5 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: center;
    margin-top: 5.5rem;
    margin-bottom: 5.5rem;
}

.contact-block {
    display: flex;
    flex-direction: column;
    margin-left: 2rem;
}

.contact-image {
    max-width: 450px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.contact .subpage-block {
    display: flex;
    padding: 2.75rem 7rem;
    margin-bottom: 7.5rem;
}

.contact a img {
    width: 100%;
}

.single-contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 3rem;
}

.single-contact a {
    margin-left: 1.125rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
}

.single-contact a:hover {
    color: #AD9B5F;
}

.contact img {
    display: block;
}

.subpage.contact {
    margin-bottom: 0;
}

.pgcsimplygalleryblock-albums-title {
    text-align: center;
}

.pgcsimplygalleryblock-albums-sub-wrap {
    background-color: #00000066;
}

.references-grid {
    margin-bottom: 2rem;
}

.sub-menu .menu-item {
    margin-left: 0;
}



/* HAMBURGER */

body .hamburger {
    margin-left: auto;
}

@media (min-width: 1201px) {

    body .hamburger {
        display: none;
    }

    .primary-menu .menu-item a::after {
        content: '';
        background-color: transparent;
        transition: background-color 0.2s linear;
        position: absolute;
        height: 0.2em;
        left: 0;
        bottom: 0;
        width: 100%;
    }

    .primary-menu .sub-menu {
        position: absolute;
        right: 0;
        left: 0;
        line-height: 1.5;
        opacity: 0;
        pointer-events: none;
        display: flex;
        flex-direction: column;
        background-color: white;
        font-size: 0.8rem;
        min-width: 100%;
        width: 150%;
        padding-top: 1rem;
        z-index: 100000;
        top: 20px;
        align-items: center;
    }


    .primary-menu .sub-menu .menu-item {
        color: #404040;
    }


    .primary-menu .menu-item-has-children:hover .sub-menu {
        box-shadow: 0px 10px 10px rgb(0 0 0 / 20%);
        pointer-events: all;
        opacity: 1;
        transition: opacity .3s linear;
    }
}

@media only screen and (max-width: 1200px) {
    .primary-menu-wrapper {
        z-index: 10001;
        /* box-shadow: rgba(33, 35, 38, 0.1) 0px 15px 10px -10px;*/
        position: absolute;
        top: 100%;
        left: -50%;
        transition: 0.5s;
        transform: translate3d(100%, 0, 0);
        opacity: 0;
        background-color: white;
        max-width: 1200px;
        max-height: calc(100vh - 6rem);
        min-width: 290px;
        overflow-y: auto;
        padding-bottom: 1rem;
        pointer-events: none;
        width: 100%;
    }

    .primary-menu-wrapper.is-active {
        transform: translate(50%);
        opacity: 1;
        pointer-events: revert;
    }

    .primary-menu {
        flex-direction: column;
        align-items: center;
    }

    .primary-menu-container {
        width: 100%;
    }

    .menu-item {
        text-align: center;
        margin-left: 0;
    }

}

/* MEDIA QUERIES */


@media only screen and (max-width: 1500px) {
    .content-max-width {
        padding-right: 5%;
        padding-left: 5%;
    }

    .numbers-grid, .references-grid {
        max-width: 800px;
        grid-template-columns: 1fr 1fr;
    }
}

@media only screen and (max-width: 1300px) {
    .subpage-grid-single img {
        width:100px;
        height:100px;
    }

    .subpage-block h4 {
        font-size: 1.75rem;
    }

    .subpage-grid {
        grid-template-columns: 1fr 1fr;
    }
}



@media only screen and (max-width: 1200px) {
    .banner {
        height: 600px;
    }

	.menu-item-52 > a {
		display: none;
	}

	.main-navigation ul .sub-menu {
		display: block;
        box-shadow: none;
        float: revert;
        position: revert;
    }

	.main-navigation ul ul a {
		width: 100%;
	}

    .main-navigation .menu-item-52 {
        margin:0;
    }


}

@media only screen and (max-width: 1050px) {
    .about-us {
        flex-direction: column-reverse;
        align-items: center;
    }

    .about-us img {
        margin-left: 0;
        margin-bottom: 6rem;
    }

    .service-body h4 {
        font-size: 2rem;
    }

    .banner-text h2 {
        max-width: 50%;
    }

    .footer::before {
        clip-path: polygon(0 0, 100% 0, 100% 40%, 50% 55%, 0 40%);
    }

    .footer-image-text h4 {
        margin-top: 4rem;
    }

    .subpage-banner h2 {
        font-size: 3rem;
    }

    .subpage p {
        margin: 0 0 1.875rem;
    }
}

@media only screen and (max-width: 950px) {
    .contact-image {
        max-width: -webkit-fill-available;
        aspect-ratio: auto;
        margin-bottom: 2rem;
    }

    .contact .subpage-block {
        flex-direction: column;
        align-items: center;
    }

    .contact-block {
        margin-left:0;
        align-self: baseline;
    }
}


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

    .single-service .button {
        opacity: 1;
        transition-delay: 0.2s;
    }

    .single-service .service-body {
        height: 100%;
    }

    .service-body h4 {
        font-size: 1.5rem;
    }

    .banner-text h2 {
        font-size: 4rem;
    }

    .numbers-grid, .references-grid {
        max-width: 325px;
        grid-template-columns: 1fr;
    }

    .title {
        font-size: 3rem;
    }

    .subpage-grid {
        grid-template-columns: 1fr;
    }
}


@media only screen and (max-width: 750px) {
    .banner-text h2 {
        max-width: 100%;
        text-align: center;
		margin-bottom: 1rem;
    }

	.banner-text {
		align-items: center;
	}

    .banner {
        background-image: none;
        height: 300px;
        background-color: #5C803D;
    }

    .services {
        grid-template-columns: 1fr;
    }

    .single-service {
        max-width: 325px;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 22px;
    }

    .single-number p:first-of-type {
        font-size: 4rem;
    }

    .footer-bottom-text {
        flex-direction: column;
        align-items: center;
		gap:1.25rem;
    }

    .footer-menu, .footer-social {
        margin-left: 0;
    }

	.footer-menu .menu-item {
		margin-left:0;
	}

	.footer-social {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 0.5rem;
	}

    .footer::before {
        clip-path: polygon(0 0, 100% 0, 100% 40%, 50% 40%, 0 40%);
    }

	.footer-info {
		display: flex;
		flex-direction: column;
		text-align: center;
		align-items: center;
	}

}


@media only screen and (max-width: 450px) {
	.banner-text h2 {
		font-size: 3rem;
		line-height: 40px;
	}
}

