/*!
Theme Name: essendi mm
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: essendi
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.

essendi 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

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

:root {
    --red: #cf0c29;
    --white: #fff;
    --dark: #343a40;
    --black: #000;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@-ms-viewport {
    width: device-width;
}

article,
aside,
dialog,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
    display: block;
}

.breadcrumbs-block {
    margin-top: 125px;
}

body {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    background-color: #fff;
    overflow: hidden auto;
}

body>section.text-block:first-of-type {
    margin-top: 160px;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    hyphens: auto;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
    hyphens: auto;
    font-size: 16px;
    font-weight: 300;
    line-height: 175%;
}

abbr[title],
abbr[data-original-title] {
    text-decoration: underline;
    text-decoration: underline dotted;
    cursor: help;
    border-bottom: 0;
}

address {
    margin-bottom: 1rem;
    font-style: normal;
    line-height: inherit;
}

ol,
ul,
dl {
    margin-top: 0;
    margin-bottom: 1rem;
    list-style: square;
}

ol ol,
ul ul,
ol ul,
ul ol {
    margin-bottom: 0;
}

dt {
    font-weight: 700;
}

dd {
    margin-bottom: .5rem;
    margin-left: 0;
}

blockquote {
    margin: 0 0 1rem;
}

dfn {
    font-style: italic;
}

b,
strong {
    font-weight: 500 !important;
}

small {
    font-size: 80%;
}

sub,
sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}

sub {
    bottom: -.25em;
}

sup {
    top: -.5em;
}

a {
    color: #CF0C29;
    text-decoration: none;
    background-color: transparent;
    x-webkit-text-decoration-skip: objects;
}

a:link {
    xcolor: #CF0C29;
    xtext-decoration: none;
}

/*
a:visited {
	color: #CF0C29;
}
*/
a:active {
    color: #CF0C29;
}


a:not([href]):not([tabindex]) {
    color: inherit;
    color: #CF0C29;
    text-decoration: none;
}


a:not([href]):not([tabindex]):focus {
    outline: 0;
    color: #CF0C29;
}

pre,
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

pre {
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: auto;
    -ms-overflow-style: scrollbar;
}

figure {
    margin: 0 0 1rem;
}

img {
    vertical-align: middle;
    border-style: none;
}

svg:not(:root) {
    overflow: hidden;
}

table {
    border-collapse: collapse;
}

caption {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: #6c757d;
    text-align: left;
    caption-side: bottom;
}

th {
    text-align: inherit;
}

label {
    display: inline-block;
    margin-bottom: .5rem;
}


button {
    border-radius: 0;
}

button:focus {
    outline: 1px dotted;
    outline: 5px auto -webkit-focus-ring-color;
}

input,
button,
select,
optgroup,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html [type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    padding: 0;
    border-style: none;
}

input[type="radio"],
input[type="checkbox"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
    -webkit-appearance: listbox;
}

textarea {
    overflow: auto;
    resize: vertical;
}

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

legend {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-bottom: .5rem;
    font-size: 1.5rem;
    line-height: inherit;
    color: inherit;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    outline-offset: -2px;
    -webkit-appearance: none;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    font: inherit;
    -webkit-appearance: button;
}

output {
    display: inline-block;
}

summary {
    display: list-item;
    cursor: pointer;
}

template {
    display: none;
}

[hidden] {
    display: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    margin-bottom: 0.5rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: var(--black);
}

h1,
h1 p {
    font-size: 31px;
}

.flexible-sections .image.layout-block img {
    min-width: 434px;
}

h2.main-title,
.flexible-sections .text-block h1 {
    font-size: 25px;
    line-height: 140%;
    hyphens: none;
}

.quote-image.layout-block h2 p {
    font-size: 21px;
    line-height: 28px;
}

h1,
h1 p,
.main-title,
.flexible-sections .text-block h1 {
    line-height: 40px;
}

h2 {
    font-size: 20px;
    line-height: 24px;
}

h3 {
    line-height: 30px;
    font-size: 18px;
}

h4 {
    font-size: 15px;
    line-height: 26px;
    font-weight: 500;
    font-family: "Open Sans", sans-serif;
    color: #404040;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}


hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

small,
.small {
    font-size: 80%;
    font-weight: 400;
}

mark,
.mark {
    padding: 0.2em;
    background-color: #fcf8e3;
}


.blockquote {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}


code,
kbd,
pre,
samp {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

code {
    font-size: 87.5%;
    color: #e83e8c;
    word-break: break-word;
}

a>code {
    color: inherit;
}

kbd {
    padding: 0.2rem 0.4rem;
    font-size: 87.5%;
    color: #fff;
    background-color: #212529;
    border-radius: 0.2rem;
}

kbd kbd {
    padding: 0;
    font-size: 100%;
    font-weight: 700;
}

pre {
    display: block;
    font-size: 87.5%;
    color: #212529;
}

pre code {
    font-size: inherit;
    color: inherit;
    word-break: normal;
}

.container,
.container-md {
    width: 100%;
    padding: 0 30px;
    margin-right: auto;
    margin-left: auto;
}

.header .container-md {
    padding: 0 30px;
}

.container-lg {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media print {

    *,
    *::before,
    *::after {
        text-shadow: none !important;
        box-shadow: none !important;
    }

    a:not(.btn) {
        text-decoration: underline;
    }

    abbr[title]::after {
        content: " (" attr(title) ")";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    @page {
        size: a3;
    }

    body {
        min-width: 992px !important;
    }

    .container {
        min-width: 992px !important;
    }

    .container-lg {
        max-width: 1092px;
    }

    .navbar {
        display: none;
    }

    .badge {
        border: 1px solid #000;
    }

    .table {
        border-collapse: collapse !important;
    }

    .table td,
    .table th {
        background-color: #fff !important;
    }

    .table-bordered th,
    .table-bordered td {
        border: 1px solid #ddd !important;
    }
}

/*--------------------------------------------------------------
# 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%;
}

:focus {
    outline-style: dotted;
    outline-width: 2px;
    outline-offset: 2px;
    outline-color: grey;
}

button:focus,
a:focus {
    outline-color: red;
    outline-style: dotted;
    outline-width: 2px;
    outline-offset: 2px;

}

/* 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: 500;
}

/**
 * 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
--------------------------------------------------------------*/
/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

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

p {
    margin-bottom: 1.5em;
    font-family: "Open Sans", sans-serif;
}

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 0;
}

ul {
    list-style: square;
    padding: 0;
    padding-left: 18px;
    margin-bottom: 1.5em;
    font-family: "Open Sans", sans-serif;
}

ol {
    list-style: decimal;
    padding: 0;
    padding-left: 18px;
    margin-bottom: 1.5em;
    font-family: "Open Sans", sans-serif;
}

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

dt {
    font-weight: 700;
}

dd {
    margin: 0 1.5em 1.5em;
}

ul li::marker {
    color: var(--red);
}

/* 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%;
}

/* Links
--------------------------------------------- */
a {
    color: #4169e1;
}

a {
    color: #CF0C29;
}


/* 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%;
}

/*--------------------------------------------------------------
# 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;
}

section {
    margin-top: 75px;
}

.main-title,
.quote-image.layout-block h2 p,
.flexible-sections .text-block h1 {
    font-weight: 300;
    margin-bottom: 31px;
    font-family: "Rubik", sans-serif;
    hyphens: manual;
}

/*.quote-image.layout-block img {
    min-width: 434px;
}*/

/**************************Header******************************/

header {
    transition: background-color 1s, transform 1s;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    padding-bottom: 0.5rem;
    background-color: var(--white);
}

header.active {
    transition: none;
    background-color: transparent;
    pointer-events: none;
}

header.active .language-selector {
    display: none;
}

header.sticky_head .language-dropdown {
    display: none !important;
}

.header-lang-wrap {
    display: flex;
}

header.active .header-inner {
    justify-content: end;
}

header.active .header_brand {
    display: none;
}

header.sticky_head {
    transform: translateY(-105%);
}

header.white_bg {
    background-color: #fff;
}

header.white_bg.active {
    background-color: transparent;
}

.modal-open {
    overflow: hidden;
}

.header-inner {
    display: flex;
    height: 75px;
    justify-content: space-between;
    align-items: end;
}

.header_brand {
    width: 130px;
    height: 50px;
}


header.white_bg .header-inner {
    align-items: end;
}

.header_brand img {
    width: 100%;
    height: auto;
}

.header_menu_burger {
    position: relative;
    display: block;
    width: 24px;
    margin-bottom: 11px;
    height: 23px;
    cursor: pointer;
    margin-right: 1rem;
    background-image: none;
}

.header_menu_burger::after,
.header_menu_burger::before {
    content: "";
    width: 100%;
    height: 3px;
    background-color: #1f2430;
    position: absolute;
    top: 4px;
    left: 0;
    right: 0;
    transition: all .3s ease-out;
    transition-delay: 0;
}

.modal-open .header_menu_burger::after,
.modal-open .header_menu_burger::before {
    background-color: #ffffff;
}

.header_menu_burger::after {
    top: auto;
    left: 0;
    right: 0;
    bottom: 4px;
    transition: all .33s ease-in;
    transition-delay: 0;
}

.language-selector {
    position: relative;
    display: inline-block;
    font-family: sans-serif;
}

.current-language {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.current-language img {
    margin-right: 0.5rem;
}

.lang-flag {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
}

/*.language-dropdown li {
    padding: 0.8rem;
    padding-left: 15px;
}*/

.language-dropdown ul:first-of-type li {
    position: relative;
}

.language-dropdown ul li::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #f4f4f4;
}
.language-dropdown ul:last-child li::after {
    display:none;
}
.language-dropdown a {
    font-size: 12px;
    font-family: "Rubik", sans-serif;
    font-weight: 300;
}

.lang-code {
    font-size: 12px;
    font-weight: 500;
    font-family: "Rubik", sans-serif;
}

.language-selector .arrow {
    font-size: 12px;
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.language-selector.open .arrow {
    transform: rotate(0);
}

.language-dropdown-title {
    padding-left: 15px;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-family: "Rubik", sans-serif;
    font-weight: 500;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding-top: 25px;
    padding-bottom: 10px;
    min-width: 200px;
    z-index: 1000;
}

.language-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.language-dropdown li a {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-decoration: none;
    color: #000;
    padding: 0.8rem;
    padding-left: 15px;
}

.language-dropdown li:hover {
    background-color: #f5f5f5;
}


.header_menu_burger.active {
    pointer-events: auto;
}

.header_menu_burger.active::before {
    transform: translateY(6px) rotate(225deg);
}

.header_menu_burger.active::after {
    transform: translateY(-6px) rotate(-225deg);
}

#mainmenu {
    display: none;
    position: fixed;
    width: 100%;
    top: -55px;
    left: 0;
    bottom: 0;
    background: transparent linear-gradient(107deg, red 0%, #3199CC 100%) 0% 0% no-repeat padding-box;
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: no-repeat;
    background-size: auto;
    background-size: cover;
    background-position: top left;
    background-repeat: no-repeat;
    z-index: 9998;
    padding-top: 112px;
    overflow-y: scroll;
}

#mainmenu.active {
    display: block;
}

#mainmenu ul {
    margin-left: 0;
    padding-left: 0;
}
/* ,
#mainmenu ul li.current-page-parent a,
#mainmenu ul li.current-page-ancestor a { */
#mainmenu ul li.current-menu-item a {
    color: #1f2430;
}

#mainmenu ul li a {
    color: #ffffff;
    font-size: 16px;
    line-height: 24px;
    font-family: Rubik;
    font-weight: 700;
    text-transform: uppercase;
}


#mainmenu ul li {
    list-style: none;
}

ul.menu .ess-sub-menu {
    padding-left: 30px;
}

#mainmenu ul li.ess-sub-menu a {
    font-weight: 300;
    hyphens: auto;
}

#mainmenu .selektor {
    display: flex;
}

#mainmenu .selektor ul:last-child {
    margin: 0;
    padding: 0;
}

#mainmenu ul.selector li a {
    font-size: 20px;
    font-weight: normal;
}

.selektor ul:first-child li:after {
    content: "/ ";
    width: 18px;
    position: relative;
    display: inline-block;
    color: #ffffff;
    font-size: 22px;
    line-height: 22px;
}


.menu-item-has-children {
    position: relative;
}

.toggle-icon {
    background-image: url('../img/es-icons-06-white.svg');
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 15px;
    height: 15px;
    top: 6px;
    left: 0;
    cursor: pointer;
}

.toggle-icon.open {
    background-image: url('../img/es-icons-05-white.svg');

}

.sub-menu {
    flex-direction: column;
    align-items: start;
    display: none;
    visibility: visible;
    padding-left: 2rem !important;
    opacity: 1;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.faq-block-title {
    margin-bottom: 31px;
    /* text-transform: uppercase; */
}

.faq-acc {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.faq-acc:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.faq-acc-title:focus {
    outline-color: gray;
}

.faq-acc-title {
    color: var(--black);
    padding: 23px 30px;
    padding-left: 51px;
    background-color: transparent;
    text-align: left;
    border: 0;
    margin: 0;
    cursor: pointer;
    position: relative;
    font: 500 16px / 22px Rubik;
    word-break: break-word;
    letter-spacing: 0px;
    line-height: 28px;
}

.faq-acc-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 24px;
    background-image: url('../img/faq-arrow-1.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 13px;
    height: 25px;

}


.faq-acc.active .faq-acc-title::before {
    -webkit-transform: rotate(90deg);
    top: 25px;
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.faq-content {
    background-color: #fff;
    display: none;
}



.faq-content-inner p,
.faq-content-inner ul {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 28px;
    font-weight: 300;

}

.faq-content-inner ul {
    margin: 0;
    padding-left: 18px;
    margin-bottom: 1.5em;
}


/*********************************************************/
/*********************************************************/


.quote-block-text {
    font-family: "Rubik", sans-serif;
    font-size: 22px;
    line-height: 34px;
    text-align: center;
    hyphens: none;
    font-weight: 300;
    margin-bottom: 31px;
    color: #CF0C29;
}

.quote-block blockquote {
    margin: 0;
}

.quote-block-author {
    text-align: center;
    display: block;
    font-style: normal;
    text-transform: uppercase;
    font-family: "Rubik", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    color: #000;
}

/************************************************************/
/************************************************************/


.process-two-column .process-block-wrapper,
.process-three-column .process-block-wrapper {
    grid-template-columns: 100%;
}

.process-block-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.2);
}



.process-block-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    margin-top: 70px;
    position: relative;
}

.process-block-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 30px;
    justify-content: space-between;
    border-radius: 15px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.process-block-item-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--red);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction:column;
    padding: 30px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    font-size: 16px;
    border-radius: 15px;
    text-align: center;
    font-family: "Open Sans", sans-serif;
}

.process-block-item:hover .process-block-item-text {
    opacity: 1;
}

.process-block-item {
    transition: opacity 0.3s ease;
}

.process-block-item img {
    max-height: 190px;
    margin-bottom: 2rem;
}

.process-block-item-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
    width: 50%;
    font-family: Rubik;
    text-align: center;
    text-transform: uppercase;
}
.process-block .process-block-item-title{
    color: #CF0C29;
    font-family: "Rubik", sans-serif;
    font-size: 17px;
    line-height: 30px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    padding-right: 40px;
    width: auto;
    position:relative;
}
.process-block .process-block-item-title:after{
    content: '';
    width: 20px;
    position: absolute;
    height: 26px;
    background: url(../img/es-icons-07.svg);
    background-size: 18px;
    margin-top: 4px;
    background-repeat: no-repeat;
    right: 0;
    bottom: 0;
}

.process-block .process-block-item-text:after{
    content: '';
    width: 20px;
    position: relative;
    height: 26px;
    background: url(../img/es-icons-white.svg);
    background-size: 18px;
    margin-top: 4px;
    background-repeat: no-repeat;
}
/*****************************************************/
/*****************************************************/
.text-block-title {
    margin-bottom: 31px;
}

.h2-has-image {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    margin-bottom: 15px !important;
}

.text-block h2 img,
.text-block h3 img {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.image_contain {
    object-fit: contain !important;
}

.text-block .link {
    margin-top: 0;
}

.text-block-text p {
    font-weight: 300;
}

.text-block-text ul li,
.text-block-text ol li {
    font-weight: 300;
    line-height: 175%;
}

.text-block-text .liste-im-faq {
    font-size: 15px;
}

.text-block-text p a:hover {
    text-decoration: underline;
}

.text-block-text h3,
.layout-bottom h3 {
    font: Lighter 21px / 27px Rubik;
    font-weight: 300;
}

.text-block .full-width img {
    border-radius: 15px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.flexible-sections .text-block .full-width img {
    width: 100%;
}


.text-block .full-width {
    margin-bottom: 31px;
}

.text-block-text-wrapper {
    display: grid;
    grid-template-columns: 100%;
    gap: 30px;
}

.text-mit-bild-block img.image_contain {
    aspect-ratio: 0;
    border-radius: 0;
}

.text-block+.values-block {
    margin-top: 0;
}

.text-block:not(:has(p))+.text-mit-bild-block {
    margin-top: 0;
}

.text-block.text-mit-bild-block:not(:has(p))+.text-mit-bild-block {
    margin-top: 75px;
}

.text-block-text-wrapper li {
    font-family: "Open Sans", sans-serif;

}

.flexible-sections .text-block-text h2 a {
    font-size: 16px;
    font-family: "Open Sans";
}

.flexible-sections .text-block .container .container {
    padding: 0;
}

.flexible-sections .text-block-text .liste-im-faq {
    display: inline-block;
    padding: 0;
    margin-left: 18px !important;
}

/***************************************/
/***************************************/
.hero-block {
    position: relative;
    margin-top: 100px;
}

.hero-block-bg img {
    border-radius: 15px;
    aspect-ratio: 1/1.1;
    object-fit: cover;
    width: 100%;
}

.hero-block-title p {
    margin-bottom: 0;
    hyphens: none;
    font-family: "Rubik", sans-serif;
}

.hero-block-gradient .hero-block-title {
    padding: 33px 31px 33px 31px;
    border-radius: 15px;
    background: transparent linear-gradient(107deg, red 0%, #3199CC 100%) 0% 0% no-repeat padding-box;
}

.hero-block-gradient .hero-block-title p {
    color: var(--white) !important;
}

.hero-block-gradient .hero-block-title p span {
    color: var(--white) !important;
}

.hero-scrolldown {
    display: none;
}

.hero-scrolldown .arrow {
    display: flex;
    margin: 0 auto;
    margin-top: 43px;
    width: 47px;
    height: 20px;
    background: url('../img/es-icons-02.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-scrolldown:focus {
    outline-color: red;
    outline-style: dotted;
    outline-width: 2px;
    outline-offset: 2px;
}

.breadcrumb_last {
    color: var(--red);
}

#breadcrumbs {
    font-size: 14px;
}

.hero-with-gif {
    display: grid;
    gap: 2rem;
    align-items: center;
    grid-template-columns: 100%;
}

.hero-with-gif-left-header h1 {
    order: 2;
}

.hero-with-gif img {
    max-width: 300px;
    margin: 0 auto;
    max-height: 300px;
}

.hero-with-gif .hero-block-title {
    position: unset;
    padding: 0;
    max-height: none;
    max-width: none;
    min-height: unset;
    min-width: unset;
}


.heroslider .slick-prev,
.heroslider .slick-next {
    display: none !important;
}

.heroslider .slick-slide.slick-current.slick-active {
    opacity: 1;
}

.hero-xc-animation-inner .hero-title {
    font-size: 31px;
    line-height: 38px;
    letter-spacing: 0px;
    font-weight: lighter;
    text-align: left;
    font-family: "Open Sans", sans-serif;
}

.hero-xc-animation-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-xc-left {
    z-index: 10;
}


.heroslider.slick-initialized {
    visibility: visible;
    opacity: 1;
}

.heroslider .slick-slide {
    padding: 30px 0;
}

/********************************Footer**********************************/
/************************************************************************/
footer {
    margin-top: 90px;
    margin-bottom: 90px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 100%;
    row-gap: 40px;
    justify-items: center;
}

.footer-item-logos {
    display: flex;
    width: auto;
    height: auto;
    gap: 10px;
    justify-content: center;
    border-top: 2px solid #ddd;
    padding-top: 30px;
}
.footer-item-logos img {
    width: 100px;
    height: auto;
    object-fit:contain;
}

.footer-item-socials {
    display: flex;
    gap: 20px;
}

.footer-item-socials img {
    width: 32px;
    height: auto;
}

.footer-item-links a {
    color: #000;
    font-size: 12px;
}

.footer-item-links a:hover {
    color: var(--red);
    text-decoration: underline;
}

.kontakt-buttons-bottom {
    display: block;
    bottom: 0;
    padding-bottom: 0;
    z-index: 99999;
    position: fixed;
    width: 100%;
    background-color: #B2292E;
    height: 42px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.kontakt-buttons-bottom .content {
    width: 50%;
    height: 40px;
    text-align: center;
    padding-top: 7px;
    padding-bottom: 10px;
    left: 0;
    border: 1px solid #fff;
    font-size: 1.1rem;
    letter-spacing: 0.1rem;
    float: left;
    color: #fff;
    cursor: pointer;
}

.kontakt-buttons-bottom .content.has-links-block {
    width: 42%;
}

.links-arrow-top {
    width: 16%;
    border: 1px solid #fff;
    height: 40px;
    text-align: center;
    padding-top: 7px;
    padding-bottom: 10px;
    float: left;
    align-items: center;
    justify-content: center;
    left: 0;
    color: #fff;
    cursor: pointer;
    background: transparent linear-gradient(107deg, #CF0C29 0%, #3199CC 100%) 0% 0% no-repeat padding-box;
}

/**************************************************************/
/**************************************************************/
.layout-block {
    overflow: hidden;
    scroll-margin-top: 10rem;
}

.layout-block img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    max-width: 100%;
}

.layout-block .layout-inner img,
.layout-block .layout-inner img {
    max-width: 600px;
}

.layout-inner {
    display: grid;
    grid-template-columns: 100%;
    row-gap: 40px;
    position: relative;
}

.layout-bottom p {
    margin-bottom: 20px;
}

.layout-bottom ul {
    margin: 0;
    margin: 0 0 31px 0;
    padding: 0;
    padding-left: 18px;
    list-style: square;
}

.layout-bottom ul li {
    position: relative;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    /* padding: 10px 0; */
    line-height: 175%;
    /* padding-left: 7px; */
}

/* .layout-bottom ul li::before {
    content: '';
    position: absolute;
    left: -17px;
    top: 0;
    width: -webkit-fill-available;
    height: 1px;
    background-color: #f4f4f4;
} */

/* .layout-bottom ul li:last-child::after {
    content: '';
    position: absolute;
    left: -17px;
    bottom: 0;
    width: -webkit-fill-available;
    height: 1px;
    background-color: #f4f4f4;
} */

.layout-bottom p a:hover {
    text-decoration: underline;
}

.layout-inner-left-image {
    display: grid;
    grid-template-columns: 100%;
    row-gap: 40px;
}

.layout-item img {
    border-radius: 15px;
    width: 100%;
}

.layout-item-without-overlay {
    display: flex;
    flex-direction: column;
    order: 2;
}

.layout-item-text {
    z-index: 11;
    width: 100%;
    background-color: var(--white);
}

.layout-item-paragraph p {
    margin-bottom: 31px;
}

.layout-item-paragraph p a:hover,
.faq-content-inner p a:hover {
    text-decoration: underline;
}

/*.layout-item-links.without-text {
    margin-top: 31px;
}*/

.layout-item-links.more-links {
    max-width: none;
}

.layout-item-links-desc.layout-item-links.more-links {
    display: none;
}

.layout-item-links-mobile.layout-item-links.more-links {
    display: block;
}


.layout-item-links.more-links .link {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.layout-item-links.more-links .link:last-child {
    margin-bottom: 0;
}

.layout-item-links {
    display: flex;
    flex-direction: column;
    gap: 31px;
    align-items: start;
}

.layout-item-links a {
    margin-top: 0;
}

.image-outline {
    outline: 1px solid rgba(0, 0, 0, 0.2);
}

.image-contain {
    object-fit: contain !important;
}

.layout-outline {
    padding: 2px 0;
}

.layout-item-links-desc {
    display: none;
}

.link {
    color: #CF0C29;
    font-family: "Rubik", sans-serif;
    font-size: 17px;
    line-height: 30px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 25px;
    text-transform: uppercase;
    position: relative;
    display: flex;
    justify-content: space-between;
    padding: 0px;
    padding-right: 60px;
    width: 100%;
}

.link:after {
    content: '';
    width: 20px;
    position: absolute;
    height: 26px;
    background: url("../img/es-icons-07.svg");
    background-size: 18px;
    margin-top: 4px;
    background-repeat: no-repeat;
    right: 0;
    bottom: 0;
}

.link:hover {
    text-decoration: underline;
}

.layout-item-text {
    order: 2;
    width: 100%;
}


/**********************************************************/
/**********************************************************/
.slider-block .slick-slide-item img,
.category-post-img {
    border-radius: 15px;
    margin-bottom: 31px;
    aspect-ratio: 1.225 / 1;
    object-fit: cover;
    width: 100%;
}

.slider-suptitle {
    display: block;
    color: var(--red);
    margin-bottom: 24px;
    font-weight: 100;
}

.slider-date {
    font-weight: 100;
    color: var(--black);
    display: block;
}

.category-item-title {
    font-weight: 200;
    color: var(--black);
    margin-bottom: 0;
    hyphens: none;
}

.slider-title,
.slider-title-ref {
    font-weight: 200;
    color: var(--black);
    margin-bottom: 0;
    hyphens: none;
}

.slick-slide {
    margin: 0 12px;
}


.slick-list {
    margin: 0 -12.5px;
}

.slick-next {
    background: url("../img/es-arrow-04.svg");
    background-size: contain;
    background-repeat: no-repeat;
    right: -40px;
    background-position: center;
}

.slick-prev {
    background: url("../img/es-arrow-01.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    left: -40px;
}

.slick-next,
.slick-prev {
    position: absolute;
    display: block;
    height: 62px;
    width: 29px;
    line-height: 0;
    font-size: 0;
    top: 205px;
    cursor: pointer;
    color: transparent;
    padding: 0;
    border: none;
    outline: 0;
    z-index: 4;
}

.slick-dots {
    display: flex !important;
    justify-content: center;
    margin-left: 0;
    align-items: center;
    margin-top: 20px;
    padding: 0;
    list-style: none;
    gap: 8px;
}

.slick-dots li button {
    font-size: 0;
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.slick-dots li.slick-active button {
    background-color: #000;
}

.swiper-pointer-events {
    touch-action: pan-y;
}

.referenzen .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.referenzen .swiper-container {
    margin-top: 50px !important;
}

.referenzen-text {
    margin-top: 50px;
}

.referenzen .swiper-container img {
    border-radius: 18px;
}

.align-items-end {
    align-items: flex-end !important;
}

.referenzen .d-flex {
    display: flex !important;
}

.referenzen .col-5 {
    flex: 0 0 41.66667%;
    max-width: 41.66667%;
}

.col-5,
.col-4,
.col-3,
.col-6,
.col-12 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.referenzen .align-self-center {
    align-self: center !important;
}

.referenzen .col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.referenzen .swiper-container .offset-2 {
    margin-top: 30px;
}

.referenzen .mt-20 {
    margin-top: 20px;
}

.referenzen .offset-2 {
    margin-left: 16.66667%;
}

.referenzen .col-4 {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
}

.referenzen .swiper-container {
    overflow: hidden;
}

.partnerslider {
    margin-bottom: 50px;
}

.partners-block {
    overflow-x: clip;
}

.partners-block .text-block-text {
    margin-bottom: 31px;
}

.partners-block .swiper-slide img {
    display: block;
    aspect-ratio: 16/7;
    object-fit: contain;
}

.partners-block .swiper {
    overflow: visible;
}

.partners-block .swiper-wrapper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 15px;
    height: auto;
}

.partners-block .swiper-wrapper {
    display: flex;
}

.partners-block .slider {
    overflow: hidden;
}

.partners-block .swiper-slide {
    width: 157px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    margin-right: 20px;
    border-radius: 15px;
    padding: 37px 30px;
}

.partners-block .slider__item {
    font-size: 24px;
    padding: 12px 32px;
    background-color: #ccc;
    text-align: center;
}

.partners-block .swiper-wrapper {
    transition-timing-function: linear;
}

.tooltip-wrapper {
    display: inline-block;
    z-index: 22;
    position: relative;
}

.tooltip-text p strong {
    font-weight: 500;
}

.tooltip-text p {
    visibility: hidden;
    opacity: 0;
    color: #fff;
    text-align: center;
    border-radius: 15px;
    position: absolute;
    z-index: 10;
    bottom: 95%;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: normal;
    min-width: 400px;
    padding: 25px;
    text-align: left;
    background-color: #CF0C29;
}



.tooltip-text p::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 30px 15px 0 15px;
    border-style: solid;
    border-color: #CF0C29 transparent transparent transparent;
}

/********************************************************************/
/********************************************************************/
.referenzen-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 23px;
    margin-bottom: 19px;
    align-items: center;
}

.referenzen .slick-next,
.referenzen .slick-prev {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.ref-slide-wrapper {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 15px 29px 37px 29px;
}

.referenzen .link:after {
    margin-top: 5px;
}

.referenzen .slick-slide-item img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    aspect-ratio: 1.9 / 1;
    object-fit: cover;
    width: 100%;
}

.referenzen .slider-suptitle {
    margin-bottom: 16px;
}

.referenzen-item {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 21px;
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: center;
}

.referenzen-inner img {
    max-width: 100%;
    height: auto;
    max-height: 110px;
    object-fit: contain;
}

/********************************************************************/
/********************************************************************/
.cards-inner {
    display: grid;
    grid-template-columns: 100%;
    gap: 22px;
}

.cards-inner .link {
    padding-right: 0;

}

.cards-inner .link h2 {
    text-decoration: underline;
}

.cards-item {
    position: relative;
    overflow: hidden;

}

.cards-item img {
    aspect-ratio: 1 / 1.05;
    object-fit: cover;
    width: 100%;
    border-radius: 15px;
    margin-bottom: 30px;
}

.cards-item-back {
    position: absolute;
    inset: 0;
    background-color: var(--red);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.cards-item-back-title,
.cards-item-title {
    text-transform: uppercase;
    margin-bottom: 0px;
}

.cards-item-back-title {
    color: var(--white)
}

.cards-item.active .cards-item-back {
    opacity: 1;
}

.cards-item.active img,
.cards-item.active .cards-item-title {
    opacity: 0;
}

h2.cards-item-title,
h2.cards-item-back-title,
.values-block-inner .process-block-item-title {
    font-size: 21px;
    font-family: "Open Sans", sans-serif;
    font-weight: 500;
}

/*.cards-item-title {
    padding-bottom: 35px !important;
}*/

.cards-item img,
.cards-item .cards-item-title {
    transition: opacity 0.3s ease;
}


/************************************************************/
/************************************************************/
.intro-inner {
    border-radius: 15px;
    padding: 30px;
    position: relative;
    overflow: hidden;

    /* background: linear-gradient(107deg, #cf0c29 0%, #3199CC 100%);
    background-size: 185% 100%;
    background-position: 100% 0;
    animation: move-background 22s ease-in-out infinite alternate; */
    background: linear-gradient(-45deg, #3199CC, #CF0C29, #3199CC, #CF0C29);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* .intro-inner::before,
.intro-inner::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -50%;
    right: -50%;
    background-image: linear-gradient(-60deg, rgba(207, 12, 41, 0.2) 50%, transparent 0);
    animation: slide 16s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 1;
}

.intro-inner::after {
    animation-direction: alternate-reverse;
    animation-duration: 12s;
} */

@keyframes move-background {
    0% {
        background-position: 100% 0;
    }

    50% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% 0;
    }
}

@keyframes slide {
    0% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(25%);
    }
}


.intro-title {
    color: var(--white);
    position: relative;
    z-index: 2;
    width: 85%;
}

.intro-inner .link {
    color: var(--white);
    position: relative;
    padding-right: 60px;
    z-index: 2;
}

.intro-block .link:after {
    background: url('../img/es-icons-07-white.svg');
    background-repeat: no-repeat;
}

/*************************************************************/
/*************************************************************/

#sidebar-kontakt-open.sidebar-open {
    right: 0;
}

.preisform {
    -webkit-box-shadow: 3px 3px 5px 6px #ccc;
    -moz-box-shadow: 3px 3px 5px 6px #ccc;
    box-shadow: 3px 3px 5px 6px #ccc;
}

#sidebar-kontakt-open {
    width: calc(100% - 70px);
    width: 100%;
    top: 0px;
    z-index: 997;
    z-index: 99999;
    position: fixed;
    right: -768px;
    height: auto;
    background-color: #fff;
    border-radius: 10px;
    transition-duration: 1s;
    overflow-y: scroll;
    overflow-x: hidden;
}


#sidebar-kontakt-open,
#sidebar-mail-open,
.preisform {
    color: #404040;
    font-family: "Open Sans", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: 300;
}

.kl-side-container-close {
    background-size: contain;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    position: absolute;
    background-image: url(/wp-content/themes/essendi-mm/images/close-bl.svg);
    margin-top: 10px;
    left: 10px;
    width: 35px;
    height: 25px;
    z-index: 9992;
    cursor: pointer;
}

#sidebar-kontakt-open .side-inner,
#sidebar-mail-open .side-inner {
    padding-left: 20px;
    padding-right: 20px;
}

.wpcf7 .screen-reader-response {
    position: absolute;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    word-wrap: normal !important;
}

.wpcf7 form {
    font: Lighter 13px / 20px Open Sans;
    text-align: left;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
}

.sib_signup_box_inside_3>.sib-ANSPRACHE-area, .sib_signup_box_inside_4>.sib-ANSPRACHE-area {
    margin: 0 0 4rem 0;
}

.contact-page {
    margin-top: 160px;
}

.contact-page #main .br-options-wrapper {
    display: flex;
    gap: 10px;
}

.contact-page #main .br-options-wrapper>div {
    display: flex !important;
    gap: 5px;
}

.contact-page #main .br_form_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 4%;
}

.contact-page #main .br_form_wrapper>div {
    flex: 100%;
}

.contact-page #main .sib_signup_box_inside_3>.sib-INTERESSE-area, .contact-page #main .sib_signup_box_inside_4>.sib-INTERESSE-area {
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.contact-page #main h1 {
    font-family: "Rubik", sans-serif;
    font-size: 45px;
    line-height: 52px;
    font-weight: 300;
}

.contact-page #main .sib_signup_box_inside_3>b, .contact-page #main .sib_signup_box_inside_4>b {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
}

.contact-page #main div.sib-DATENSCHUTZBESTIMMUNG-area {
    margin-block: 2rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 10px;
}
label.sib-DATENSCHUTZBESTIMMUNG-area {
    margin: 0;
    order: 2;
}
input[name="DATENSCHUTZBESTIMMUNG"] {
    order: 1;
}
.contact-page #main .post-title {
    margin-top: 5rem;
    margin-bottom: 2rem;
}

.contact-page #main h2.entry-title {
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
}

.contact-page #main .post-title h2 {
    font-family: "Rubik", sans-serif;
    font-size: 45px;
    line-height: 52px;
    font-weight: 300;
}

.contact-page #main .sib-INTERESSE-area>div {
    display: flex !important;
    gap: 10px;
    font-weight: 300;
    margin-bottom: 0.3rem;
}

.contact-page .subtitle {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;
    margin-bottom: 55px;
}

.contact-page div.subtitle>p {
    margin-bottom: 2rem;
}

.contact-page p {
    text-align: left;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
}


.contact-page input[type="submit"] {
    border: 0;
    border-color: transparent;
    border-radius: 0;
    background: transparent;
    line-height: 1;
    padding: 0;
    text-align: left;
    font: Bold 20px / 30px Rubik;
    letter-spacing: 0px;
    color: #CF0C29;
    text-transform: uppercase;
    opacity: 1;
    cursor: pointer;
}

.contact-page input[type="submit"] {
    background: #CF0C29;
    color: #fff;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 0;
    border-radius: 10px;
}

.contact-page #main #sib_signup_form_3 .frc-captcha, .contact-page #main #sib_signup_form_4 .frc-captcha {
    margin-block: 2rem;
}

.kontakt-slider-form,
.rueckruf-slider-form {
    padding-left: 0px;
}

.kontakt-slider-form,
.rueckruf-slider-form {
    padding-top: 40px;
    padding-right: 10px;
    overflow: hidden;
    height: auto;
}

.kontakt-slider-form,
.rueckruf-slider-form {
    position: relative;
}

.kontaktnachricht textarea {
    width: 100%;
}

#kl-side-container-rueckruf {
    width: 100%;
    top: 85px;
    height: auto;
}

.kontaktnachricht textarea {
    border: 1px solid #707070;
    border-radius: 14px;
    height: 100px;
    margin-top: 20px;
    margin-bottom: 20px;
}

button,
input,
optgroup,
select,
textarea {
    font-family: Open Sans, sans-serif;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

textarea {
    width: 100%;
}

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;
}

body,
button,
input,
select,
optgroup,
textarea {
    color: #404040;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

textarea {
    overflow: auto;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

textarea {
    overflow: auto;
    resize: vertical;
}

.row {
    margin-left: unset;
    margin-right: unset;
    position: relative;
    width: 100%;
}

.side-bar-form .rueckruf-slider-form-head.row {
    padding-bottom: 1px;
}

.side-bar-form .row {
    display: block;
    font-size: 14px;
    line-height: 17px;
    padding-bottom: 10px;
}

.mt-10 {
    margin-top: 10px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

#sidebar-kontakt-open .side-inner .rueckruf-form-content.open {
    display: block;
}

#sidebar-kontakt-open .side-inner .rueckruf-form-content {
    display: none;
    transition-duration: 1s;
}

.rueckruf-form-button-wrapper {
    width: 100%;
}

.rueckruf-form-button-wrapper {
    background-color: #fff;
    height: 40px;
    border: 1px solid #707070;
    border-radius: 12px;
    position: relative;
    margin-bottom: 10px;
    color: #404040;
    font-size: 16px;
}

.rueckruf-slider-form .icon-side-bar-anruf {
    width: 30px;
    height: 30px;
    float: left;
    background-image: url("../img/icon-anruf-side.png");
    background-size: 100%;
    background-position: top left;
    background-repeat: no-repeat;
    margin-right: 20px;
    margin-top: 5px;
    margin-left: 10px;
}

.form {
    margin-top: 0;
}

.form-button-container {
    padding: 3px 5px 3px 5px;
    padding-top: 10px;
    height: 20px;
    width: 100%;
    font-size: 16px;
}

.rueckruf-form-button-wrapper a,
.form-button-container a {
    color: #404040 !important;
    font-size: 16px;
}

.rueckruf-form-button-wrapper .button-pfeil-rechts {
    background-image: url("../img/es-icons-07.svg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 100%;
    width: 20px !important;
    height: 20px;
    right: 10px;
    top: 10px;
    position: absolute;
    cursor: pointer;
}

.rueckruf-form-button-wrapper.rueckruf-open {
    margin-bottom: 38px;
    cursor: pointer;
}

.rueckruf-form-button-wrapper {
    width: 100%;
}

.rueckruf-form-button-wrapper {
    background-color: #fff;
    height: 40px;
    border: 1px solid #707070;
    border-radius: 12px;
    position: relative;
    margin-bottom: 10px;
    color: #404040;
    font-size: 16px;
}

.rueckruf-slider-form .icon-side-bar-rueckruf {
    width: 30px;
    height: 30px;
    float: left;
    background-image: url("../img/icon-rueckruf-side.png");
    background-color: none;
    background-size: 100%;
    background-position: top left;
    background-repeat: no-repeat;
    margin-right: 1px;
    margin-top: 5px;
    margin-left: 10px;
    margin-right: 20px;
}

.rueckruf-form-button-wrapper .button-pfeil-unten.open {
    transform: rotate(90deg);
}

.rueckruf-form-button-wrapper .button-pfeil-unten {
    background-image: url("../img/es-icons-07.svg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 100%;
    width: 20px !important;
    height: 20px;
    right: 10px;
    top: 10px;
    position: absolute;
    cursor: pointer;
    transition-duration: 0.1s;
}

.rueckruf-slider-form .rueckruf-head {
    font-size: 16px;
    margin-bottom: 15px;
}



.side-bar-form .row {
    padding-bottom: 5px;
}

.side-bar-form .row {
    padding-bottom: 10px;
}

.side-bar-form .row {
    font-size: 14px;
    line-height: 17px;
}

.side-bar-form .row {
    display: block;
}

.row-check {
    width: 100%;
}

.side-bar-form .check-left {
    float: left;
    width: 20px;
    margin-right: 5px;
}

.side-bar-form .check-right {
    float: left;
    font-size: 16px;
    line-height: 22px;
    width: calc(100% - 50px);
}

#sidebar-kontakt-open .side-inner input[type="checkbox"] {
    margin-right: 10px;
    margin-top: -2px;
}

input[type="text"],
input[type="email"],
input[type="text"],
input[type="email"],
input[type="text"],
input[type="email"] {
    width: 100%;
}

input[type="text"],
input[type="email"],
input[type="text"],
input[type="email"],
input[type="text"],
input[type="email"] {
    height: 40px;
    margin-bottom: 15px;
    width: 100%;
}

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"] {
    color: #666;
    padding: 3px;
    padding-left: 3px;
    width: 100%;
    height: 45px;
    margin-bottom: 16px;
    border: 1px solid #707070;
    border-radius: 9px;
    padding-left: 15px;
}

.kontakt-slider-form .kl-button-absenden,
.rueckruf-slider-form .kl-button-absenden {
    background-image: url(/wp-content/themes/essendi-mm/images/icon-pfeil-rot.png);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    background-size: 20px 20px;
    top: 10px;

    margin-right: 10px;
}

.kontakt-slider-form .kl-button-absenden,
.rueckruf-slider-form .kl-button-absenden {
    width: 100%;
}

.kontakt-slider-form .kl-button-absenden,
.rueckruf-slider-form .kl-button-absenden {
    background-color: #fff;
    color: #000;
    padding: 3px 5px 4px 20px;
    line-height: 23px;
    height: 40px;
    text-transform: none;
    font-size: 16px;
    border: 1px solid #707070;
    border-radius: 12px;
    color: #404040;
    font-weight: 300;
    font-family: "Open Sans", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin-top: 20px;
}

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;
}


select {
    height: 40px;
    margin-bottom: 15px;
    width: 100%;
    text-indent: 6px;
    color: #666;
    -webkit-appearance: none;
    border-radius: 12px;
    border-color: #707070;
    background: url(/wp-content/themes/essendi-mm/images/icon-pfeil-rot-down.png);
    background-size: 20px;
    background-position: calc(100% - 20px) center;
    background-repeat: no-repeat;
    background-color: #fff;
}

#sidebar-mail-open {
    z-index: 997;
    z-index: 99999;
    position: fixed;
    right: -768px;
    height: auto;
    background-color: #fff;
    border-radius: 10px;
    transition-duration: 1s;
    overflow-y: scroll;
}

#sidebar-mail-open {
    top: 0px;
    width: 100%;
}

#sidebar-mail-open.sidebar-open {
    right: 0;
}

#sidebar-kontakt-right {
    display: none;
    top: unset;
    bottom: 0;
    position: fixed;
    margin-top: 0;
    background-color: none;
    width: 60px;
    height: 310px;
    z-index: 999;
    right: 0;
}

#sidebar-kontakt-right .sidebar-item {
    width: 60px;
    height: 60px;
    margin-bottom: 2px;
    z-index: 99999;
    cursor: pointer;
}

.sidebar-item-tel {
    width: 60px;
    height: 60px;
    background-image: url("../img/icon-tel.png");
    background-size: cover;
}

.sidebar-item-mail {
    width: 60px;
    height: 60px;
    background-image: url("../img/icon-mail.png");
    background-size: cover;
}

#sidebar-kontakt-right .sidebar-item img {
    width: 100%;
    height: auto;
}

/*************************************************************/
/*************************************************************/
.video-block-bg {
    background-color: #F4F4F4;
}

.video-block-wrap {
    background-color: #F4F4F4;
    padding: 50px 0;
}

.video-block-inner {
    margin: 0 auto;
    position: relative;
}

.video-block .text-block-text {
    margin-bottom: 31px;
}

.video-placeholder {
    aspect-ratio: 3/1.7;
    border-radius: 15px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.custom-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    width: 80px;
    height: auto;
}

.video-modal {
    position: fixed;
    top: 0;
    pointer-events: all;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8888888;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
}


.iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    background-color: #000;
    margin: 0 auto;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

#close-video-modal {
    position: absolute;
    top: -52px;
    pointer-events: auto;
    right: 0;
    font-size: 30px;
    color: white;
    cursor: pointer;
}


/******************************************************************/
/******************************************************************/
.info-block-inner,
.info-block-inner-left {
    display: grid;
    align-items: center;
    grid-template-columns: 100%;
    gap: 65px;
}


.info-block-item-text {
    display: flex;
    flex-direction: column;
    font-size: 20px;
}

.info-block-item-text span,
.info-block-item-text a {
    font-size: 20px;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
}

.info-block .main-title {
    margin-bottom: 31px;
}

.info-block-item-text a:hover {
    text-decoration: underline;
}

.info-block-item img {
    border-radius: 15px;
    aspect-ratio: 1/1;
    width: 100%;
    max-width: 434px;
    object-fit: cover;
}

.info-block .image-outline {
    width: 100%;
}

/*************************************************************/
/*************************************************************/
.form-inner h1 {
    font-family: "Rubik", sans-serif;
    font-size: 45px;
    line-height: 52px;
    font-weight: 300;
}

.form-inner p {
    text-align: left;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
}

.form-inner .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.form-inner .mt-20 {
    margin-top: 20px;
}

.form-inner .mb-20 {
    margin-bottom: 20px;
}

.form-inner input[type="text"],
.form-inner input[type="email"],
.form-inner input[type="url"],
.form-inner input[type="password"],
.form-inner input[type="search"],
.form-inner input[type="number"],
.form-inner input[type="tel"],
.form-inner input[type="range"],
.form-inner input[type="date"],
.form-inner input[type="month"],
.form-inner input[type="week"],
.form-inner input[type="time"],
.form-inner input[type="datetime"],
.form-inner input[type="datetime-local"],
.form-inner input[type="color"] {
    width: 100%;
}

.form-inner .row-check .check-left {
    width: 40px;
    float: left;
}

.form-inner .row {
    display: block;
}

.form-inner .row-check .check-right {
    width: calc(100% - 50px);
    float: left;
}

.form-inner .wpcf7 .wpcf7-submit:disabled {
    cursor: not-allowed;
}


.form-inner input[type="submit"] {
    border: 0;
    border-color: transparent;
    text-align: left;
    font: Bold 20px / 30px Rubik;
    letter-spacing: 0px;
    text-transform: uppercase;
    opacity: 1;
    cursor: pointer;
}

.form-inner input[type="submit"] {
    background: #CF0C29;
    color: #fff;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 0;
    border-radius: 10px;
}

.form-inner .datensch {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    line-height: 30px;

}

.form-inner .datensch b {
    font-weight: 300;
}

.form-inner .datensch span {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;
}

.form-inner textarea {
    color: #707070;
    border: 1px solid #707070;
    border-radius: 12px;
    padding: 7px;
    height: 380px;
}

.form-inner .frc-captcha b {
    font-weight: 700;
}

.form-inner .frc-captcha * {
    margin: 0;
    padding: 0;
    border: 0;
    text-align: initial;
    border-radius: px;
    filter: none !important;
    transition: none !important;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    background-color: initial;
    color: #222;
}

.form-inner .frc-banner * {
    font-size: 10px;
    opacity: .8;
    text-decoration: none;
}

.kontakt-page-form .col-12,
.kontakt-page-form .col-lg-6 {
    padding-left: 0 !important;
}

.kontakt-page-form .wpcf7-form-control.wpcf7-submit.has-spinner {
    display: flex;
    margin: 0 auto;
}

.form-inner .dodatno span {
    line-height: 2rem;
}

.form-inner p {
    text-align: left;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;
    letter-spacing: 0px;
    color: #000000;
    margin-bottom: 0;
    opacity: 1;
    width: 100%;
}

.kontakt-formular .row:has(.your-jobname) {
    display: none;
}

.kontakt-formular .form_top_wrapper {
    display: grid;
    grid-template-columns: 100%;
    margin-bottom: 50px;
}

.kontakt-formular .form_middle_wrapper,
.kontakt-formular .attachment_wrapper {
    display: grid;
    grid-template-columns: 100%;
}

.kontakt-formular .form-text {
    margin-block: 50px;
}

.kontakt-formular .form-text>p {
    margin-bottom: 1.5em;
}

.kontakt-formular .message_wrapper {
    width: 100%;
}

.kontakt-formular .attachment_wrapper .form_label {
    margin-bottom: 16px;
}

.kontakt-formular .anrede_wrapper {
    margin-block: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

h2.job-head {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 26px;
    font-weight: 700;
    color: #CF0C29;
    margin-top: 50px;
}

.dodatno {
    /* margin-top: 1.5rem; */
}

.livedemo-form .datensch {
    font: Lighter 16px / 26px Open Sans;
    text-align: left;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
}

.livedemo-form .col-12 {
    padding: 0;
}

.left-padding,
.livedemo-form .frc-icon {
    padding-left: 0 !important;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: none;
    overflow-y: scroll;
}

.modal-content {
    background: #fff;
    max-width: 600px;
    margin: 100px auto;
    padding: 30px;
    position: relative;
    z-index: 1001;
    border-radius: 8px;
}

.modal-content .row {
    display: block;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 1001;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.livedemo-form .datensch b {
    font-weight: bold;
}

.kontaktdugme {
    margin-bottom: 2.5rem;
    margin-top: 1rem;
}

.form-inner .wpcf7 form {
    text-align: left;
    font: Lighter 20px / 30px Open Sans;
    font: Lighter 16px / 24px Open Sans;
    letter-spacing: 0px;
    color: #000000;
    opacity: 1;
}

.form-inner .Anrede {
    padding: 0px;
    margin-top: 0px;
    margin-left: 0px;
    float: left;
}

.form-inner span.wpcf7-list-item {
    display: inline-block;
    margin: 0 15px 0 0em;
}

.form-inner .mb-50 {
    margin-bottom: 50px;
}

.form-inner .frc-captcha {
    position: relative;
    min-width: 250px;
    max-width: 312px;
    border: 1px solid #f4f4f4;
    padding-bottom: 12px;
    background-color: #fff;
}

.form-inner .col-lg-6 {
    padding: 0 1rem;
}

.form-inner .frc-button {
    cursor: pointer;
    padding: 2px 6px;
    background-color: #f1f1f1;
    border: 1px solid transparent;
    text-align: center;
    font-weight: 600;
    text-transform: none;
}

.form-inner .frc-icon {
    fill: #222;
    stroke: #222;
    flex-shrink: 0;
    margin: 8px 8px 0;
}

.form-inner .frc-container {
    display: flex;
    align-items: center;
    min-height: 52px;
}

.form-inner .frc-banner {
    position: absolute;
    bottom: 0;
    right: 6px;
    line-height: 1;
}

label.anrede {
    display: inline-block;
    margin-bottom: 15px;
    margin-left: 15px;
}

.anrede span {
    float: left;
}

span.wpcf7-list-item {
    display: inline-block;
    margin: 0 15px 0 0em;
}

.anrede input[type=radio] {
    box-sizing: border-box;
    padding: 16px;
    margin-left: 9px;
    margin-right: 40px;
}


/*************************************************************/
/*************************************************************/
.call-to-action-inner {
    display: grid;
    overflow-x: hidden;
    grid-template-columns: 100%;
    row-gap: 31px;
    position: relative;
}

.call-to-action-item-link .link {
    margin-top: 0;
}

.call-to-action-inner-right-images .call-to-action-item-link {
    order: 2;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/***********************/
/***********************/
.collage-inner-row-left-sq,
.collage-inner-row-right-sq {
    display: grid;
    gap: 10px;
    grid-template-columns: 100%;
}

.collage-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.collage-inner-item {
    height: 250px;
}

.collage-inner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}



.collage-info h2 {
    color: var(--white);
    margin-bottom: 0;
    font-weight: 300;
}

.collage-inner-item {
    position: relative;
    overflow: hidden;
}

.collage-inner-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    transition: background 0.3s linear;
    pointer-events: none;
}

.collage-inner-item:hover::after {
    background: linear-gradient(107deg, rgba(207, 12, 41, 0.7) 0%, rgba(49, 153, 204, 0.7) 100%);
}

.collage-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    padding-right: 20px;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.collage-inner-item:hover .collage-info {
    opacity: 1;
    transform: translateY(0);
}

/****************/
/****************/

.content-categories ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 100%;
    gap: 10px 8px;
}

.content-categories ul a {
    padding: 25px 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 15px;
}

.content-categories ul a {
    color: var(--black);
    font-size: 16px;
    font-family: "Rubik", sans-serif;
    font-weight: 300;
}

.content-categories ul a.active {
    font-weight: 500;
    background-color: var(--red);
    color: var(--white);
}

.category-posts {
    display: grid;
    grid-template-columns: 100%;
    gap: 61px 22px;
}

.news-page .hero-block-title {
    color: var(--red);
}

.page-id-479 .content-categories{
    display:none;
}
.content-categories .category-hide{
    display:none;
}
/******************************/
.benefits-inner {
    display: grid;
    grid-template-columns: 100%;
    gap: 20px 22px;
}

.benefits-item {
    position: relative;
    aspect-ratio: 1/1;
}

.benefits-item img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.benefits-item-title {
    display: flex;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    font-size: 15px;
    letter-spacing: 2px;
}

.benefits-item-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--red);
    color: #fff;
    margin-bottom: 0;
    display: flex;
    padding: 40px 26px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    border-radius: 12px;
    font: normal normal normal 16px / 26px "Open Sans", sans-serif;
}

.benefits-item:hover .benefits-item-text {
    opacity: 1;
}

.advantages-item {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.advantages-item img {
    max-height: 160px;
    height: 100%;
    text-align: center;
    margin: 0 auto;
    display: block;
    margin-bottom: 23px;
}

.advantages-item-title {
    text-align: center;
    font: normal normal bold 16px / 26px "Rubik", sans-serif;
    letter-spacing: 0px;
    color: #000000;
    text-transform: uppercase;
    max-width: 85%;
    margin: auto;
}

.advantages-item-text {
    text-align: center;
    font: normal normal 300 16px / 26px "Open Sans", sans-serif;
    letter-spacing: 0px;
    color: #000000;
}

/***********************************/
.values-block-inner {
    grid-template-columns: 100%;
    gap: 50px 30px;
    display: grid;
}

.values-block-inner .process-block-item img {
    max-height: none;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 0;
    aspect-ratio: 1 / 1.3;
}

.values-block-inner-special .process-block-item img {
    object-fit: contain;
}

.values-block-inner .process-block-item {
    border: 0;
    padding: 0;
    aspect-ratio: 0;
    align-items: flex-start;
    max-width: none;
}

.values-block-inner .process-block-item picture {
    display: block;
    width: 100%;
}

.values-block-inner .process-block-item-text,
.values-block-inner .process-block-item-title {
    text-align: left;
    width: 100%;
}

.values-block-inner .process-block-item-title {
    /*font-weight: bold;*/
    margin-top: 2.5rem;
    color: var(--black);
}

.values-block-inner-special .process-block-item-title {
    text-align: center;
}

.values-block-inner .process-block-item-text {
    padding: 40px 26px;
    font: normal normal normal 16px / 26px "Open Sans", sans-serif;
    letter-spacing: 0px;
    color: #fff;
    align-items: flex-start;
    margin-bottom: 0;
}


/********************************************/

.links-block-inner {
    display: grid;
    grid-template-columns: 100%;
    gap: 5px;
}

.links-block-inner .link {
    background-color: #F4F4F4;
    padding: 13px 13px 13px 16px;
    border-radius: 15px;
    min-height: 100px;
    font-size: 15px;
    color: #000;
    word-break: break-word;
    font-weight: 300;
    text-transform: none;
    margin-top: 0;
    line-height: 22px;
    hyphens: none;
    padding-right: 2rem;
}

.flexible-sections .layout-inner-left-image .layout-item.right-image {
    width: 100%;
    max-width: 434px;
}


.links-block-inner .link:after {
    right: 13px;
    margin-top: 0;
    bottom: 13px;
    width: 11.45px;
    height: 11.45px;
    background-size: contain;
}

/***********************************/
.careers-block-inner {
    background-color: #EDEBEC;
    padding: 30px 0 83px 0;
    border-radius: 12px;
}

.careers-block-wrapper {
    display: grid;
    grid-template-columns: 100%;
    gap: 30px;
}

.careers-block-links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: max-content;
}

.careers-block-links-wrapper .link {
    margin-top: 0;
    display: block;
}

.careers-block-wrapper .link p {
    color: #CF0C29;
    font-family: "Rubik", sans-serif;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 0;
    text-transform: uppercase;
}

.careers-block-wrapper .link::after {
    bottom: 0;
}

.careers-block-item-title {
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.careers-block-subtitle p {
    font-size: 16px;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;

}

.careers-block-subtitle {
    margin-bottom: 50px;
}

.careers-block-subtitle p a:hover {
    text-decoration: underline;
}

/************************************/
.wrap a div {
    height: 100%;
    background-size: cover;
    opacity: .5;
    transition: opacity .5s;
    border-radius: inherit;
    background-image: url('../img/essendi-z-scheibe2.jpeg');
}
.wrap a div.pill-class-en {
    background-image: url('../img/essendi-z-scheibe2_en.jpg');
}
.wrap a {
    position: absolute;
    left: 0;
    top: 0;
    width: 47.5%;
    height: 47.5%;
    overflow: hidden;
    transform: scale(.5) translateZ(0px);
    background: transparent;
}

.wrap a:nth-child(1).active {
    border-radius: 93vmin 0 0 0;
    transform-origin: 52% 116%;
    transition: transform .4s .15s;
    transition: 0.2s;
}

.wrap a:nth-child(1).active div,
.wrap a:nth-child(2).active div,
.wrap a:nth-child(3).active div,
.wrap a:nth-child(4).active div,
.wrap a:nth-child(5).active div,
.wrap a:nth-child(1):hover div,
.wrap a:nth-child(2):hover div,
.wrap a:nth-child(3):hover div,
.wrap a:nth-child(4):hover div,
.wrap a:nth-child(5):hover div  {
   opacity: 1;
}

.wrap a:nth-child(1) div {
    background-size: 207%;
    background-position-x: 0%;
    background-position-y: 0%;
    opacity: 0.5;
}

.wrap a:nth-child(1) {
    border-radius: 40vmin 0 0 0;
    transform-origin: 110% 110%;
    transition: transform .4s .15s;
    transition: 0.2s;
}

.wrap a:nth-child(2) {
    border-radius: 0 40vmin 0 0;
    left: 52.5%;
    transform-origin: -10% 110%;
    transition: transform .4s .2s;
    transition: 0.2s;
}

.wrap a:nth-child(2) div {
    background-size: 207%;
    background-position: 100% 0%;
    opacity: 0.5;
}

.wrap a:nth-child(3) {
    border-radius: 0 0 0 40vmin;
    top: 52.5%;
    transform-origin: 110% -10%;
    transition: transform .4s .25s;
    transition: 0.2s;
}

.wrap a:nth-child(3) div {
    background-size: 207%;
    background-position: 0% 100%;
    opacity: 0.5;
}

.wrap a:nth-child(4) {
    border-radius: 0 0 40vmin 0;
    top: 52.5%;
    left: 52.5%;
    transform-origin: -10% -10%;
    transition: transform .4s .3s;
}

.wrap a:nth-child(4) div {
    background-size: 207%;
    background-position: 100% 100%;
    opacity: 0.5;
}

.wrap a:nth-child(5) {
    width: 55%;
    height: 55%;
    left: 22.5%;
    top: 22.5%;
    border-radius: 50vmin;
    box-shadow: 0 0 0 0vmin #E3DFD2;
    transform: scale(1);
}

.wrap a:nth-child(5) div {
    background-size: auto;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-color: white;
    background-size: 207%;
}

div#pills-tab {
    margin-bottom: 50px;
}

.nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.wrap {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
    background: inherit;
    transform: scale(0.2) translatez(0px);
    opacity: 1;
    transition: transform .5s, opacity .5s;
}

span.krug+.wrap,
.wrap {
    transform: scale(.8) translateZ(0px);
    opacity: 1;
}

span.krug+.wrap a,
.wrap a {
    transform: scale(1) translatez(0px);
}



.feats {
    margin-top: 30px;
}


.wrap a div {
    opacity: 1;
    transform: translatez(0px);
}

.feats .tab-content {
    margin-top: -20px;
}

.tab-content>.tab-pane {
    display: none;
}

.fade:not(.show) {
    opacity: 0;
}

.text-center {
    text-align: center !important;
}

.fade {
    transition: opacity .15s linear;
}

.tab-content>.active {
    display: block;
}

.features-block .main-title {
    margin-bottom: 15px;
}

.features-block-text {
    font-family: "Open Sans";
    font-size: 16px;
    font-weight: bold;
}

.features-block .col-12 {
    padding-left: 0;
    padding-right: 0;
}



/***************************/
.modules-block .xc-circle .bigimage .svg {
    max-width: 100%;
    float: none;
    margin: 0 auto;
}

.modules-block .faq-acc h2 {
    margin-bottom: 0;
}

.modules-block .svg {
    position: relative;
    display: block;
    float: left;
}

.modules-block .svg a {
    width: 15.2%;
    height: 14.95%;
    z-index: 2;
    position: absolute;
    background: #ffffffb0;
    transition: 0.2s;
}
.modules-block .svg a:hover {
	background-color: transparent;
}
.modules-block .svg a[aria-expanded="true"] {
    background-color: transparent;
}

.modules-block .mainimg {
    margin-bottom: 110px;
}

.modules-block .faq-acc-title:not(.collapsed)::before {
    -webkit-transform: rotate(90deg);
    top: 25px;
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.modules-block .btn-link img {
    display: block;
    margin-top: 20px;
    margin-bottom: 18px;
    max-width: 152px;
    width: 150px;
}

.accordion .card:first-of-type {
    border-bottom: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #707070;
    opacity: 1;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}

.card-header:first-child {
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}

.card-header {
    padding: 0px 40px 0px 40px;
    margin-bottom: 0;
    background-color: transparent;
    border-bottom: 0px solid rgba(0, 0, 0, .125);
}

.collapse:not(.show) {
    display: none;
}

.btn-link.collapsed img {
    display: none;
}

.btn-link img {
    display: block;
    xmargin-top: 40px;
    xmargin-bottom: 36px;
    xmax-width: 96px;
    margin-top: 20px;
    margin-bottom: 18px;
    max-width: 152px;
    width: 150px;
}

.single-post-wrapper .hero-block-title {
    color: var(--red);
    /*color:#000000;*/
}

.flexible-sections .text-block h2,
.single-post-wrapper .text-block h2 {
    font-size: 25px;
    line-height: 140%;
    hyphens: none;
    font-weight: 300;
    margin-bottom: 31px;
    font-family: "Rubik", sans-serif;
}

.single-post-wrapper .text-block h2 {
    font-size: 25px !important;
}

.flexible-sections .text-block ol {
    /*margin: 0;*/
    padding-left: 18px;
}

.application-button .button_link {
    color: #CF0C29;
    font-family: "Rubik", sans-serif;
    font-size: 17px;
    line-height: 30px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 31px;
    position: relative;
    display: block;
    padding: 0px 60px 0 0;
    width: fit-content;
}

.application-button .button_link:hover {
    text-decoration: underline;
}

.application-button .button_link:after {
    content: '';
    width: 20px;
    position: absolute;
    height: 26px;
    background: url(../img/es-icons-07.svg);
    background-size: 18px;
    margin-top: 4px;
    background-repeat: no-repeat;
    right: 0;
}

/********************************/
.notice-block-inner {
    padding: 50px 107px 40px 62px;
    border-radius: 15px;
}

.notice-block-inner-border {
    border: 1px solid var(--red);
}

.notice-block-inner-red h2,
.notice-block-inner-red p {
    color: var(--white);
}

.text-block p:last-of-type,
.layout-block .layout-item-paragraph:last-of-type p:last-of-type,
.layout-block .layout-bottom:last-of-type p:last-of-type,
.layout-block .layout-bottom:last-of-type ul:last-of-type {
    margin-bottom: 0;
}

.layout-item-links:last-of-type .link:last-of-type {
    margin-bottom: 0;
}
/**************************Table******************************/
.table-block .two_columns, .table-block .three_columns, .table-block .four_columns{
    display: grid;
    grid-template-columns: 100%;
    gap: 22px;
}
.table-block .col_one, .table-block .col_two, .table-block .col_three, .table-block .col_four{
    border-radius: 15px;
    border:1px solid  #F4F4F4;

}
.table-block .col-header{
    background-color: #F4F4F4;
    padding: 1.5rem;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.table-block .col-header h4{
    font-weight: 600;
    margin-bottom: 0;
}

.table-block .col-row{
    border-bottom: 1px solid  #F4F4F4;
    padding: 1rem 1.5rem;
}
.table-block .col-row:last-child{
     border-bottom: none;
}
.table-block .col-row p{
   margin-bottom:0; 
}


@media (min-width: 475px) {
    .cards-item img {
        aspect-ratio: 4 / 3;
    }



}

@media (min-width: 576px) {
    .process-block-item{
        padding-top:90px;
        padding-bottom:59px;
    }
    .process-block-item img {
        max-height: 280px;
    }
    .links-block-inner {
        grid-template-columns: 1fr 1fr;
    }
    .text-block.text-mit-bild-block:not(:has(p))+.text-mit-bild-block {
        margin-top: 94px;
    }

    .link:after {
        bottom: auto;
    }

    .quote-block-text {
        font-size: 30px;
        line-height: 45px;
    }

    .faq-block-title {
        margin-bottom: 68px;
    }

    .hero-scrolldown {
        display: block;
    }

    .language-selector .arrow {
        font-size: 14px;
    }

    .process-block-item-text {
        font-size: 20px;
    }

    .slider-title,
    .slider-title-ref {
        width: 90%;
    }

    .layout-item-links.more-links {
        max-width: max-content;
    }

    .link {
        display: inline-block;
        padding-right: 60px;
        width: auto;
    }

    .layout-item-links.more-links .link {
        display: block;
    }

    .hero-block {
        margin-top: 125px;
    }

    .container,
    .container-md,
    .header .container-md {
        padding: 0 22px;
    }

    h2.main-title,
    .flexible-sections .text-block h2,
    .single-post-wrapper .text-block h2,
    .flexible-sections .text-block h1 {
        font-size: 45px;
    }

    .quote-image.layout-block h2 p {
        font-size: 21px;
        line-height: 28px;
    }

    .single-post-wrapper .text-block h2 {
        font-size: 45px !important;
    }

    section {
        margin-top: 94px;
    }

    section.application-button {
        margin-bottom: 150px;
    }

    .container {
        max-width: 640px;
    }

    .container-md {
        max-width: 671px;
    }

    .container-lg {
        max-width: 740px;
    }

    h1,
    h1 p,
    .main-title,
    h2.main-title,
    .flexible-sections .text-block h2,
    .single-post-wrapper .text-block h2,
    .flexible-sections .text-block h1 {
        font-size: 35px;
        line-height: 42px;
    }

    .quote-image.layout-block h2 p {
        font-size: 21px;
        line-height: 28px;
    }

    .single-post-wrapper .text-block h2 {
        font-size: 35px !important;
    }

    h4 {
        font-size: 14px;
        line-height: 25px;
    }

    .intro-inner {
        padding: 50px 60px 70px 50px;
    }

    .custom-play-btn {
        width: 108px;
    }

    .process-block-item-text {
        padding: 90px 30px 59px 30px;
    }

    .category-posts,
    .content-categories ul {
        grid-template-columns: 1fr 1fr;
    }

    .values-block-inner .process-block-item img {
        aspect-ratio: 0;
        height: 100%;
    }

    .wrap {
        width: 417px;
        height: 417px;
    }

    .feats {
        margin-top: 38px;
    }

    .text-block-text .liste-im-faq {
        font-size: 16px;
    }

    .links-block-item {
        padding: 22px 22px 22px 25px;
    }

    .links-block-item .link:after {
        right: 22px;
        bottom: 22px;
    }

    .links-block-inner {
        gap: 10px 8px;
    }
}

@media (min-width: 768px) {
    .process-block-item-text {
        padding: 50px;
    }
    .process-block-wrapper{
        gap:30px;
    }
    .process-block-item{
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .process-block-item img {
        max-height: 168px;
    }
    .table-block .two_columns{
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .table-block .four_columns{
        grid-template-columns: 1fr 1fr;
        gap: 22px 10px;
    }
    .table-block .three_columns{
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
    }
    .kontakt-formular .form_top_wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-bottom: 50px;
    }

    .kontakt-formular .form_middle_wrapper,
    .kontakt-formular .attachment_wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .process-block-item-text {
        font-size: 16px;
    }

    .hero-xc-animation-inner .hero-title {
        font-size: 38px;
    }

    .layout-block img {
        max-width: 434px;
    }

    .text-block .full-width img {
        aspect-ratio: auto;
    }

    .header-inner {
        display: flex;
        height: 97px;
    }

    .header_brand {
        width: 155px;
        height: 68px;
    }

    .container {
        max-width: 820px;
        padding: 0 50px;
    }

    .benefits-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .container-md {
        max-width: 851px;
    }


    .hero-block-title {
        padding: 33px 31px 33px 31px;
        position: absolute;
        top: 105px;
        background-color: var(--white);
        border-radius: 15px;
        max-width: 415px;
        left: calc((100% - min(100%, 820px)) / 2 + 29px);
        min-width: 420px;
        min-height: 220px;
    }

    .hero-with-gif-left-header h1 {
        order: 1;
    }

    .hero-with-gif-left-header img {
        order: 2;
    }



    .hero-block-without-image .hero-block-title {
        position: unset;
        max-width: unset;
        padding: 31px;
    }

    .container-lg {
        max-width: 920px;
    }


    .process-two-column .process-block-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .process-three-column .process-block-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .hero-with-gif {
        grid-template-columns: 1.5fr 1fr;
    }

    .hero-with-gif-right {
        grid-template-columns: 1fr 1.5fr;

    }

    .hero-block-bg img {
        aspect-ratio: 16 / 7.55;
    }

    .hero-scrolldown .arrow {
        width: 57px;
        height: 31px;
    }

    #mainmenu ul li a {
        font-size: 22px;
        line-height: 31px;
    }

    .layout-bottom {
        margin-top: 30px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        justify-items: start;
    }

    .toggle-icon {

        top: 12px;
    }

    /*.layout-bottom p {
        margin-bottom: 0;
    }*/

    .footer-item-logos {
        justify-content: start;
        width: calc(85% - 15px);
        border-top: 0;
        padding-top: 0;
    }

    .footer-item-links a {
        font-size: 16px;
    }

    .kontakt-buttons-bottom {
        display: none;
    }

    .layout-inner {
        grid-template-columns: 2fr 1fr;
    }

    .layout-inner.right-image-overlay-text {
        grid-template-columns: 1fr 2fr;
    }

    .layout-inner-left-image {
        grid-template-columns: 1fr 1fr;
        column-gap: 30px;
        align-items: center;
    }

    .layout-inner.right-image-overlay-text .layout-item-text {
        /*left: -31px;*/
        right: auto;
        height: 90%;
        order: 1;
        display: flex;
        flex-direction: column;
        padding-left: 31px;
        justify-content: center;
    }


    .layout-inner.right-image-overlay-text .layout-item {
        grid-column: 2;
        margin-left: auto;
    }


    .layout-item-text {
        position: absolute;
        right: 0;
        max-width: 450px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-radius: 15px;
        height: 90%;
        padding: 46px;
        z-index: 1;
        top: 50%;
        transform: translateY(-50%);
    }

    p {
        font-size: 15px;
    }

    .footer-item-end {
        justify-items: end;
    }
    .footer-item.bottom {
        grid-column: 1 /span 2;
    }
    .referenzen-inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .slick-next,
    .slick-prev {
        top: 61px;
    }

    .slick-next {
        right: -50px;
    }

    .slick-prev {
        left: -50px;
    }

    .cards-inner {
        display: flex;
        justify-content: space-between;
    }

    .cards-item img {
        aspect-ratio: 1 / 1;
        max-width: 295px;
    }

    .cards-item {
        position: relative;
        overflow: hidden;
        max-width: 295px;
    }

    .cards-item:hover .cards-item-back {
        opacity: 1;
    }

    .cards-item:hover img,
    .cards-item:hover .cards-item-title {
        opacity: 0;
    }

    .cards-item img,
    .cards-item .cards-item-title {
        transition: opacity 0.3s ease;
    }

    .careers-block-links-wrapper {
        display: block;
        max-width: max-content;
    }


    /*.cards-item-back-text {
        font-size: 16px;
    }*/

    .layout-inner+.layout-bottom {
        margin-top: 31px;
    }

    #sidebar-kontakt-open {
        width: 400px;
        top: 370px;
        top: 245px;
    }

    #sidebar-kontakt-open.sidebar-open {
        right: 0;
        right: 70px;
    }

    #sidebar-kontakt-open .side-inner,
    #sidebar-mail-open .side-inner {
        width: 400px;
    }

    .modal-open #sidebar-mail-open,
    .modal-open #sidebar-kontakt-open {
        display: none;
    }

    .header_menu_burger {
        margin-bottom: 20px;
        margin-right: 32px;
    }

    .text-block-text h3,
    .layout-bottom h3 {
        font: Lighter 24px / 30px Rubik;
        font-weight: 300;
    }

    header {
        padding: 15px 0 15px 0;
    }

    #sidebar-kontakt-right {
        display: block;
        top: 245px;
    }

    .swiper-slide:hover .tooltip-text p {
        visibility: visible;
        opacity: 1;
    }

    #sidebar-mail-open {
        top: auto;
        width: auto;
    }

    #sidebar-mail-open.sidebar-open {
        right: 70px;
    }

    .video-block-inner {
        width: 50%;
    }

    .info-block .main-title {
        margin-bottom: 83px;
    }

    .video-block-bg {
        background-color: #fff;
    }

    .layout-item-links-mobile {
        display: none;
    }

    .faq-content-inner {
        padding: 0 51px;
    }

    .layout-item-links-desc {
        display: flex;
    }

    .layout-item-links-desc.layout-item-links.more-links {
        display: block;
    }

    .layout-item-links-mobile.layout-item-links.more-links {
        display: none;
    }

    .layout-item-without-overlay {
        order: 0;
    }

    .layout-inner-left-image .layout-item.right-image {
        margin-left: auto;
    }

    .video-block-wrap {
        border-radius: 15px;
    }

    .info-block-inner {
        grid-template-columns: 1fr 1fr;
    }

    .info-block-inner-left {
        grid-template-columns: 1fr 1fr;
    }

    .call-to-action-inner {
        grid-template-columns: 1fr 1fr;
        gap: 11rem;
    }

    .call-to-action-item-link {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 105px;
    }

    .call-to-action-inner-right-images {
        grid-template-columns: 1fr 2fr;
        align-items: center;
    }

    .call-to-action-inner-right-images .call-to-action-item-link {
        position: relative;
        top: auto;
        transform: none;
        right: auto;
    }

    .call-to-action-inner-right-images .call-to-action-item-link {
        order: 0;
    }

    .careers-block-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .info-block-item-text {
        display: flex;
        flex-direction: column;
        font-size: 25px;
    }

    .text-block-text-wrapper {
        grid-template-columns: 1fr 1fr;

    }

    .collage-inner-row-left-sq {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
            "item1 item2 item2";
    }

    .collage-inner-row-right-sq {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
            "item1 item1 item2";
    }

    .collage-inner-item-1 {
        grid-area: item1;
    }

    .collage-inner-item-2 {
        grid-area: item2;
    }

    .category-posts,
    .content-categories ul {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-block-item {
        max-width: 434px;
    }

    .links-block-inner {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .links-arrow-top-desc {
        display: flex;
        position: fixed;
        bottom: 14px;
        border: none;
        cursor: pointer;
        z-index: 1000;
        transition: opacity 0.3s ease;
        right: 0;
        padding: 0;
        background-color: transparent;
        left: auto;
        width: 62px;
        height: 62px;
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
    }

    .contact-page #main .br_form_wrapper>div {
        flex: 0 0 48%;
    }
}

@media (min-width: 992px) {
    .process-block-item img {
        max-height: 185px;
    }
    .process-block-item-title{
        padding-right: 60px;
    }

    .values-block-inner {
        grid-template-columns: 1fr 1fr;
    }

    .values-block-inner .process-block-item img {
        max-height: 274px;
    }

    .values-block-inner-special .process-block-item img {
        max-height: 225px;
    }

    .layout-inner.right-image-overlay-text .layout-item-text,
    .layout-inner .layout-item-text {
        height: 80%;
    }

    .container {
        max-width: 960px;
    }

    .container-md {
        max-width: 991px;

    }

    .form-inner .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .benefits-inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .benefits-item img,
    .benefits-item-text {
        max-height: 274px;
    }

    .hero-xc-animation-inner .hero-title {
        padding-left: 28%;
    }

    .kontakt-page-form .wpcf7-form-control.wpcf7-submit.has-spinner {
        display: block;
        margin: inherit;

    }

    .info-block-item-text span,
    .info-block-item-text a {
        font-size: 25px;
    }

    .form-inner .row {
        display: flex;
    }

    .process-block-item-text {
        padding: 50px;
    }

    .container-lg {
        max-width: 1060px;
    }

    .hero-block-title {
        left: calc((100% - min(100%, 992px)) / 2 + 21px);
        /* max-width: 527px; */
    }

    h1,
    h1 p,
    .main-title,
    h2.main-title,
    .flexible-sections .text-block h2,
    .single-post-wrapper .text-block h2,
    .flexible-sections .text-block h1 {
        font-size: 45px;
        line-height: 52px;
    }

    .quote-image.layout-block h2 p {
        font-size: 21px;
        line-height: 28px;
    }

    .hero-xc-left img {
        width: 65%;
    }

    .single-post-wrapper .text-block h2 {
        font-size: 45px !important;
    }

    .hero-xc-right {
        position: absolute;
        align-self: center !important;
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
        padding-left: 5%;
        width: -webkit-fill-available;
        left: 33%;
    }

    .process-block-item-text {
        font-size: 20px;
    }

    h2 {
        font-size: 24px;
        line-height: 30px;
    }

    h3 {
        font-size: 20px;
        line-height: 30px;
    }

    h4 {
        font-size: 16px;
        line-height: 28px;
    }

    p {
        font-size: 16px;
        line-height: 175%;
    }

    .kontakt-page-form .dodatno {
        /* margin-top: -6.5rem; */
    }

    .hero-block-title,
    .hero-block-gradient .hero-block-title {
        padding: 33px 31px 33px 46px;
        min-height: 270px;
        min-width: 527px;
    }

    .slick-next,
    .slick-prev {
        top: 82px;
    }

    .collage-inner-item {
        height: 304px;
    }

    .content-categories ul {
        grid-template-columns: repeat(4, 1fr);
    }

    .call-to-action-inner {
        grid-template-columns: 2.9fr 1fr;
    }

    .modules-block .xc-circle .bigimage .svg {
        max-width: 80%;
    }
    .process-block-item{
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media (min-width: 1024px) {
    .cards-item-title {
        padding: 0 30px 30px 30px;
    }

    body>section.text-block:first-of-type {
        margin-top: 200px;
    }

    .contact-page {
        margin-top: 200px;
    }
    .process-block-item img {
        max-height: 185px;
    }
    .process-block-item{
        padding-top: 90px;
        padding-bottom: 59px;
    }
    .process-block-wrapper{
        gap: 30px;
    }
    .process-block-item-text {
        padding: 90px 73px 59px 73px;
    }

}

@media (min-width: 1200px) {
    .process-block-item-text {
        padding: 100px 73px 59px 73px;
    }
    .process-block-wrapper{
        gap: 65px;
    }
    .process-block-item img {
        max-height: 220px;
    }
    .table-block .four_columns{
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 10px;
    }
    .container {
        max-width: 960px;
        padding: 0 15px;
    }

    .container-md {
        max-width: 1036px;
    }

    .container-lg {
        max-width: 1128px;
    }

    .hero-block-title {
        left: calc((100% - min(100%, 1005px)) / 2 + -8px);
    }

    .slick-next,
    .slick-prev {
        top: 88px;
    }

    .language-dropdown {
        left: -100px;
    }

    .slick-next {
        right: -70px;
    }

    .slick-prev {
        left: -70px;
    }

    .info-block-item-text span,
    .info-block-item-text a {
        font-size: 28px;
    }

    .links-block-inner {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1980px) {
        #mainmenu ul li a {
        font-size: 26px;
        line-height: 36px;
    }
}