/*!
Theme Name: Impuls Master Theme
Theme URI: https://www.werbeagentur-impuls.de/
Author: Impuls Werbeagentur <info@impuls-wa.de>
Author URI: https://www.werbeagentur-impuls.de/
Description: Das WordPress Theme Ihres Unternehmens. Speziell f�r Sie entwickelt.
Version: 1.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: impuls_theme

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

This theme is based on Underscores https://underscores.me/, (C) 2012-2017 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:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/


/* Variablen */

:root .editor-styles-wrapper .has-light-gray-background-color,
:root .has-light-gray-background-color {
    background-color: #d5d5d5;
}

:root .editor-styles-wrapper .has-dark-gray-background-color,
:root .has-dark-gray-background-color {
    background-color: #4e4e4e;
}

:root .editor-styles-wrapper .has-white-background-color,
:root .has-white-background-color {
    background-color: #ffffff;
}


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


/* normalize.css v8.0.0 | 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;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}


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


/**
 * Remove the margin in all browsers.
 */

body {
    margin: 0;
    font-family: oxygen;
}


/**
 * 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;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}


/**
 * 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, oxygen;
    /* 1 */
    font-size: 1em;
    /* 2 */
}


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


/**
 * Remove the gray background on active links in IE 10.
 */

a {
    background-color: transparent;
    transition: 0.3s linear;
    transition-property: color;
}


/**
 * 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;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */
}


/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
    font-weight: bolder;
}


/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
    font-family: monospace, monospace, oxygen;
    /* 1 */
    font-size: 1em;
    /* 2 */
}


/**
 * 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;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}


/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
    /* 1 */
    overflow: visible;
}


/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
    /* 1 */
    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;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}


/**
 * 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;
    /* 1 */
    padding: 0;
    /* 2 */
}


/**
 * 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;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}


/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

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


/**
****************************
* Search Lupe
****************************
*/

#searchform.active #searchbar {
    width: 222px;
    padding: 0 20px;
    margin-right: 1px;
    margin-top: 22px;
}

.scrolled #searchform #searchsubmit {
    top: -10px;
    transition: top 0.3s ease-in-out;
}

.scrolled #searchform #searchbar {
    top: -10px;
    transition: top 0.3s ease-in-out;
}

#searchform #searchsubmit {
    width: 25px;
    height: 100%;
    text-align: right;
    line-height: 55px;
    font-size: 22px;
    cursor: pointer;
    color: #fff;
    font-weight: lighter;
    position: relative;
    top: 0;
    transition-property: top;
    transition: 0.3s ease-in-out;
}

#searchform {
    position: relative;
    margin-left: unset;
}

#searchform #searchbar {
    width: 0;
    height: 46px;
    position: absolute;
    right: 0;
    padding: 0;
    border: none;
    margin-top: 7px;
    margin-right: 0;
    float: left;
    background: #f0f0f2;
    color: #404040;
    top: 20px;
    transition: .15s linear;
    transition-property: top, width, padding, margin-top, margin-right;
}


/**
 * 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;
    /* 1 */
    font: inherit;
    /* 2 */
}


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


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

body,
button,
input,
select,
optgroup,
textarea {
    color: #000;
    font-family: sans-serif, oxygen;
    font-size: 16px;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    color: #000;
    font-family: oxygen;
}

h2 a {
    color: #000;
}

p {
    margin-bottom: 1.5em;
    font-family: oxygen;
}

a {
    font-family: oxygen;
}

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, oxygen;
    font-size: 15px;
    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, oxygen;
    font-size: 15px;
}

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

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

big {
    font-size: 125%;
}


/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

body {
    background: #fff;
    /* Fallback for when there is no custom background color defined. */
}

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

ul,
ol {
    margin: 0 0 20px 0;
    padding: 0;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
    margin-left: 32px;
}

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

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto;
    /* Make sure images are scaled correctly. */
    max-width: 100%;
    /* Adhere to container width. */
}

figure {
    margin: 1em 0;
    /* Extra wide images within figure tags don't overflow the content area. */
}

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


/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: none;
    border-radius: 0;
    background: #af6f70;
    color: #FFF;
    line-height: 1;
    padding: 0;
    width: 100%;
    cursor: pointer;
    height: 50px;
    transition: 0.3s linear;
    transition-property: background, color;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background: #e7373a;
    color: #004d92;
}

button:disabled,
input[type="button"]:disabled,
input[type="reset"]:disabled,
input[type="submit"]:disabled {
    background: #8f8f8f;
    color: #FFF;
    cursor: not-allowed;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #000;
    border: 1px solid #000;
    border-radius: 0;
    padding: 0 10px;
    width: 100%;
}

span.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-bottom: 20px;
}

select {
    border: 1px solid #000;
}

select.wpcf7-form-control.wpcf7-select,
span.styleselect select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid #000;
    width: 100%;
    height: 50px;
    padding-left: 10px;
    background: #FFF;
    color: #000;
    outline: none;
    cursor: pointer;
}

.wpcf7-form-control-wrap.styleselect:before,
span.styleselect:before {
    content: '\FE40';
    font-size: 18px;
    position: absolute;
    right: 15px;
    top: 20px;
    color: #000;
    pointer-events: none;
}

select.wpcf7-form-control-wrap.wpcf7-select:focus::-ms-value {
    background-color: transparent;
}

select.wpcf7-form-control-wrap.wpcf7-select::-ms-expand {
    display: none;
}

span.wpcf7-list-item {
    display: block;
    margin-left: 0;
}

.wpcf7 .wpcf7-checkbox.stylecheckbox .wpcf7-list-item label input+span,
.wpcf7 .wpcf7-acceptance .wpcf7-list-item label input+span,
.suchleiste input.stylecheckbox+label {
    position: relative;
    padding-left: 26px;
    margin-right: 20px;
    display: block;
    line-height: 25px;
}

.wpcf7 .wpcf7-checkbox.stylecheckbox .wpcf7-list-item label input,
.wpcf7 .wpcf7-acceptance .wpcf7-list-item label input,
.suchleiste input.stylecheckbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    top: 5px;
    width: 16px;
    height: 16px;
}

.wpcf7 .wpcf7-checkbox.stylecheckbox .wpcf7-list-item label input+span:before,
.wpcf7 .wpcf7-acceptance .wpcf7-list-item label input+span:before,
.suchleiste input.stylecheckbox+label:before {
    display: block;
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    background-color: #f0f0f0;
    content: "";
    border-radius: 3px;
    margin-right: 10px;
    color: #004d92;
    top: 5px;
    line-height: 16px;
    text-align: center;
    font-size: 11px;
}

.wpcf7 .wpcf7-checkbox.stylecheckbox .wpcf7-list-item label input:checked+span:before,
.wpcf7 .wpcf7-acceptance .wpcf7-list-item label input:checked+span:before,
.suchleiste input.stylecheckbox:checked+label:before {
    background-color: #f0f0f0;
    content: '\2713';
}

textarea {
    height: 150px;
    padding-top: 5px;
}

span.wpcf7-not-valid-tip {
    display: none;
}

span.wpcf7-form-control-wrap input.wpcf7-not-valid,
input.wpcf7-not-valid,
select.wpcf7-not-valid,
textarea.wpcf7-not-valid,
.wpcf7-not-valid>.captcha-image .choices {
    border: 1px solid red;
}


/*--------------------------------------------------------------
# Default Element Styles
--------------------------------------------------------------*/

.wrapper {
    max-width: 1240px;
    margin: 0 auto;
}


/*--------------------------------------------------------------
# List Styles
--------------------------------------------------------------*/

#content ul li,
#colophon ul li,
#content ol li,
#colophon ol li {
    padding-left: 20px;
}

#content ul li,
#colophon ul li {
    list-style: none;
    position: relative;
}

#content ul li {
    list-style-type: square;
    padding-left: 0;
    /*line-height: 45px;*/
}

#content ul li::marker {
    color: #3E525D;
    font-size: 25px;
    /* content: ""; */
}
/* #content ul li::before {
	content: "";
	width: 10px;
	height: 10px;
	background: #3E525D;
	position: absolute;
	top: 22px;
	margin-left: -20px;
} */

/* #content ul {
    margin-left: 28px;
} */
.wp-block-gallery.has-nested-images.columns-default.is-cropped.wp-block-gallery-1.is-layout-flex.wp-block-gallery-is-layout-flex.slick-initialized.slick-slider {
	overflow: hidden;
}
#content ul li:not(.blocks-gallery-item)::before {
    display: block;
    left: 0;
    /* content: "\2022"; */
    color: #e7373a;
    position: absolute;
}


/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/


/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/

a {
    color: #004d92;
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    color: #e7373a;
}

a:focus {
    outline: none;
}

a:hover,
a:active {
    outline: none;
}


/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

#page_id {
    opacity: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
}

.menu-main_menu-container {
    margin-top: auto;
    margin-left: auto;
    height: max-content;
    width: max-content;
}

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

.main-navigation li {
    float: left;
    position: relative;
    height: 20px;
}
.main-navigation .sub-menu li {
    height: unset;
}

.main-navigation a {
    display: block;
    text-decoration: none;
    color: #000;
    font-size: 18px;
    margin-left: 26px;
}

.main-navigation a:hover {
    color: #004d92;
}

.menu-toggle {
    display: none;
}

.main-navigation {
    clear: both;
    display: block;
    float: left;
    width: 100%;
}

.main-navigation {
    position: relative;
    flex-basis: 70%;
    display: flex;
    height: 47px;
    transition: 0.3s linear;
    transition-property: height;
    align-items: flex-start;
    justify-content: flex-end;
    margin-top: 18px;
}

.scrolled .main-navigation {
    margin-top: 12px;
}

.single-post .post-wrapper .wrapper h1 {
    margin-top: 50px !important;
    margin-bottom: 30px !important;
    color: #515151;
    padding-left: 0 !important;
}

#primary-menu>.current-menu-item>a,
#primary-menu>.current-menu-ancestor>a,
#primary-menu .sub-menu>.current-menu-item>a,
#primary-menu .sub-menu>.current-menu-parent>a,
.single-post .current_page_parent>a,
.main-navigation a:hover,
.menu-item-has-children:hover>a {
    color: #D31320;
}
.parent-pageid-14 .menu-item-21 a {
    color: #D31320;
}

.category_list>h1 {
    padding-left: 0 !important;
    padding-top: 45px;
}

.entry-content>p,
.entry-content>h2 {
    padding: 20px;
}

#primary-menu>.menu-item>a {
    padding-bottom: 30px;
    transition: 0.3s linear;
    transition-property: padding-bottom, color;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
}

.main-navigation .menu .menu-item:hover>.sub-menu,
.main-navigation .menu .menu-item.focus>.sub-menu {
    left: auto;
}

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

.scrolled .main-navigation .menu .sub-menu {
    margin-top: 28px;
}

.main-navigation .menu .sub-menu li {
    margin-bottom: 15px;
}

.main-navigation .menu .sub-menu .menu-item:hover>.sub-menu,
.main-navigation .menu .sub-menu .menu-item.focus>.sub-menu {
    left: 100%;
}

.main-navigation .menu .sub-menu a {
    width: 220px;
    text-transform: uppercase;
    font-weight: 600;
    padding-right: 20px;
}

.sub-menu {
    background-color: rgba(255, 255, 255, .9);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s linear;
    transition-property: opacity, padding-top, visibility;
}

.menu-item-has-children:hover .sub-menu,
.sub-menu:hover {
    opacity: 1;
    visibility: visible;
}

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

.sub-menu .sub-menu {
    top: 0;
    margin-top: 0;
    padding-top: 0;
    transition: 0.3s linear;
    transition-property: top;
}

.sub-menu .sub-menu::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 10px;
    top: -10px;
    left: 0;
    background-color: #fff;
}

.sub-menu .sub-menu::after {
    content: "";
    position: absolute;
    height: calc(100% + 10px);
    width: 4px;
    left: 0px;
    top: -10px;
    background-color: #004d92;
}

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

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
    margin-left: 300px;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}

.dropdown-navigation {
    position: absolute;
    right: 0;
    top: 0;
    width: 50px;
    height: 50px;
}

.dropdown-navigation>div {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, #004d92, #004d92 20%, transparent 20%, transparent 40%, #004d92 40%, #004d92 60%, transparent 60%, transparent 80%, #004d92 80%, #004d92 100%);
}


/*--------------------------------------------------------------
# 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;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}


/* Do not show the outline on the skip link target. */

#content[tabindex="-1"]:focus {
    outline: 0;
}


/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after,
.wrapper:after,
.gallery:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after,
.wrapper:after,
.gallery:after {
    clear: both;
}


/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

.widget {
    margin: 0 0 20px 20px;
    float: left;
    width: calc((100% - 61px) / 4);
}

.widget:nth-child(4n + 1) {
    margin-left: 0;
    clear: both;
}

.widget select {
    max-width: 100%;
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

body .wp-block-columns {
    flex-wrap: nowrap;
}


/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

.sticky {
    display: block;
}

.hentry {
    margin: 0 0 0;
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 1.5em 0 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}


/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}


/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/


/* Globally hidden elements when Infinite Scroll is supported and in use. */

.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    /* Theme Footer (when set to scrolling) */
    display: none;
}


/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */

.infinity-end.neverending .site-footer {
    display: block;
}


/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}


/* Make sure embeds and iframes fit their containers. */

embed,
iframe,
object {
    max-width: 100%;
}


/* Make sure logo link wraps around logo image. */

.custom-logo-link {
    display: inline-block;
    width: 360px;
}


/**
****************************************
* Sticky Logo
****************************************
*/


/* .custom-logo-link {
  display: inline-block;
  width: 272px;
  height: 217px;
  padding: 35px 0 30px 30px;
  background-color: #fff;
  border: 6px solid #4687c7;
}
.scrolled .custom-logo-link {
  display: inline-block;
  width: 272px;
  height: 217px;
  padding:  40px ;
  background-color: #fff;
  border: 6px solid #4687c7;
}  */
/**
********************
* Logo
********************
*/


 .logo_wrapper {
    position: relative;
    bottom: 42px;
    flex-basis: 30%;
    max-height: 100px;
    transition: 0.2s linear;
    transition-property: bottom, max-height;
}
.custom-logo-link {
    display: inline-bloc;
    width: 100%;
    height: 100%;
}
.logo_wrapper img {
    transition: 0.s linear;
    transition-property: max-height;
    object-fit: contain;
    object-position: left;
    height: 100%;
}

.scrolled .custom-logo-link .custom-logo {
    /* display: none; */
    margin-top: -175px;
    opacity: 0;
}

.custom-logo-link .custom-logo_small {
    height: 0;
    display: none;
}

.scrolled .custom-logo-link .custom-logo_small {
    height: 63px;
    display: block;
}

.scrolled .logo_wrapper {
    height: 63px;
    max-height: 63px;
    bottom: 0;
}

.scrolled .custom-logo-link {
    border: none;
    height: 63px;
    padding-left: 0;
    
} 
/* .logo_wrapper {
	position: relative;
	flex-basis: 28%;
	transition: .3s linear;
	transition-property: bottom,max-height,height;
	height: 110px;
}
.scrolled .logo_wrapper {
	bottom: 10px;
	height: 60px;
}
.custom-logo-link {
	display: inline-block;
	width: 100%;
	height: 100%;
}
.logo_wrapper img {
	transition: .3s linear;
	transition-property: max-height;
	object-fit: contain;
	object-position: left;
}
.custom-logo-link img {
	pointer-events: none;
}
.custom-logo_small {
	opacity: 0;
	transition: .3s linear all !important;
	position: absolute;
	bottom: 90px;
}
.scrolled .custom-logo_small {
	opacity: 1;
	bottom: 0;
}
.custom-logo {
	width: 300px;
	height: 95px;
	transition: .3s linear all !important;
	opacity: 1;
	position: absolute;
	bottom: 8px;
}
.scrolled .logo_wrapper img {
	max-height: 60px;
}
.scrolled .custom-logo {
	opacity: 0;
	bottom: 140px;
} */

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

/* .scrolled .logo_wrapper {
  bottom: 5px;
  max-height: 50px;
}
.scrolled .logo_wrapper img {
  max-height: 50px;
}

.logo_wrapper {
  position: relative;
  bottom: 50px;
  flex-basis: 32%;
  max-height: 100px;
  transition: 0.3s linear;
  transition-property: bottom, max-height;
}
.logo_wrapper img {
  max-height: 100px;
  transition: 0.3s linear;
  transition-property: max-height;
  object-fit: contain;
  object-position: left;
} */

.entry-content .wp-block-video video,
.entry-content .wp-block-video video[poster] {
    object-fit: contain;
}




/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}


/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/

.gallery {
    margin-bottom: 20px;
}

.gallery-item {
    display: block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item,
.gallery-columns-4 .gallery-item,
.gallery-columns-5 .gallery-item,
.gallery-columns-6 .gallery-item {
    float: left;
    margin: 0 0 20px 20px;
}

.gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1),
.gallery-columns-5 .gallery-item:nth-child(5n+1),
.gallery-columns-6 .gallery-item:nth-child(6n+1) {
    clear: both;
    margin-left: 0;
}

.gallery-columns-2 .gallery-item {
    width: calc((100% - 21px) / 2);
}

.gallery-columns-3 .gallery-item {
    width: calc((100% - 41px) / 3);
}

.gallery-columns-4 .gallery-item {
    width: calc((100% - 61px) / 4);
}

.gallery-columns-5 .gallery-item {
    width: calc((100% - 81px) / 5);
}

.gallery-columns-6 .gallery-item {
    width: calc((100% - 101px) / 6);
}

.gallery-caption {
    display: block;
}


/*--------------------------------------------------------------
## Gutenberg
--------------------------------------------------------------*/

.entry-content>*:not(.alignfull),
.entry-content>div.wpcf7,
.post-wrapper>*:not(.alignfull),
.post-wrapper>div.wpcf7 {
    max-width: 1240px;
    margin: 70px auto;
}

.entry-header>* {
    max-width: 1240px;
    margin: 70px auto 0;
}

.entry-content>.alignfull,
.entry-header>.alignfull {
    max-width: none;
}

.post-wrapper> :not(.alignfull) {
    padding: 0 20px;
}

.alignfull>* {
    max-width: 1240px;
    padding: 0 20px;
    margin: auto;
}

#main ul.wp-block-gallery {
    list-style: none;
}

#main ul.wp-block-gallery li {
    padding: 0;
}

#main ul.wp-block-gallery li:before {
    display: none;
}

table {
    border-collapse: collapse;
}

table th,
table td {
    border: 1px solid #AFAFAF;
    padding: 3px 5px;
}

table tr:nth-child(odd) td {
    background: #EBEBEB;
}


/*--------------------------------------------------------------
## Gutenberg Media & Text Block Fallback for IE11
--------------------------------------------------------------*/

.wp-block-media-text:after {
    display: table;
    content: "";
    clear: both;
}

.wp-block-media-text figure {
    float: left;
    width: 50%;
}

.wp-block-media-text .wp-block-media-text__content {
    float: right;
    width: 50%;
}

.wp-block-media-text.has-media-on-the-right figure {
    float: right;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
    float: left;
}

@supports (display: grid) {
    .wp-block-media-text figure {
        float: none;
        width: inherit;
    }
    .wp-block-media-text .wp-block-media-text__content {
        float: none;
        width: inherit;
    }
    .wp-block-media-text.has-media-on-the-right figure {
        float: none;
    }
    .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
        float: none;
    }
}

.wp-block-image figcaption {
    text-align: center;
    color: gray;
}

.wp-block-image a::after,
.wp-block-gallery figure a::after {
    position: absolute;
    content: "\f179";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: .3s linear opacity;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 50px;
    font-family: 'dashicons' !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.post-7 .wp-block-image a::after,
.post-7 .wp-block-gallery figure a::after {
    content: "";
}

.wp-block-image a:hover::after,
.wp-block-gallery figure a:hover::after {
    opacity: 1;
}

.wp-block-image {
    position: relative;
    overflow: hidden;
}

.wp-block-image a {
    display: block;
    line-height: 0;
    position: relative;
}

.wp-block-gallery .blocks-gallery-item {
    flex-grow: unset;
}

.alignfull {
    padding: 50px 0;
}

#content {
    min-width: 1240px;
    overflow-x: hidden;
}

#masthead .wrapper,
.wrapper,
.alignfull>* {
    position: relative;
    max-width: 1240px;
    min-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

#masthead {
    position: fixed;
    width: 100%;
    background-color: #fff;
    z-index: 100;
    box-shadow: 0 0 0px #ccc;
    transition: 0.2s linear;
    /* transition-property: box-shadow, background-color; */
    height: 170px;
}

.scrolled #masthead {
    background-color: #fff;
    box-shadow: 0 0 10px #ccc;
}

.header_space {
    height: 102px;
    transition: 0.2s linear;
    /* transition-property: height; */
}
.scrolled .header_space {
    height: 0;
}
#masthead .wrapper {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 0px;
    transition: 0.2s linear;
}

#masthead .wrapper,
#colophon .wrapper:first-of-type {
    display: flex;
    flex-wrap: wrap;
    padding-top: 25px;
    padding-bottom: 0px;
    transition: 0.2s linear;
    /* transition-property: padding-top; */
}

.scrolled #masthead {
    background-color: #fff;
    box-shadow: 0 0 10px #ccc;
    height: 70px;
}

/* .scrolled .scrolled #primary-menu>.menu-item>a {
    padding-bottom: 5px;
} */

.scrolled #masthead .wrapper {
    padding-top: 25px;
}

.scrolled .header_space {
    height: 60px;
}

.scrolled #masthead .wrapper:first-of-type {
    margin-top: -85px;
    /* display: none; */
}

.breadcrumb,
.breadcrumb a {
    color: #9a9a9a;
    font-size: 15px;
    padding: 20px 0;
}

.breadcrumb a:hover {
    color: #1686C9;
}

.breadcrumb .delimiter.icon-arrow_right {
    position: relative;
    bottom: 1px;
    font-size: 11px;
    padding: 0 5px;
}


.entry-content> :first-of-type {
    margin-top: 20px !important;
    margin-bottom: 23px !important;
}


/* .home .entry-content> :first-of-type {
    margin-top: 70px;
} */

.header_slider_container {
    position: relative;
}

.header-slide-image::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, .6));
}

.header_slider_wrapper,
.header_slide,
.header_slider_container .slick-list.draggable,
.header_slider_container .slick-track {
    height: calc(100vh - 102px);
    min-width: 1240px;
}

.header_slider_container .slick-list.draggable {
    min-width: 1220px;
}

.header_slide {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.header_slider_wrapper .wrapper {
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9001;
}

.header_headline {
    position: relative;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-wrap: wrap;
    z-index: 2;
}

.header_headline_box {
    width: 100%;
    text-align: center;
}

.header-slide-image {
    height: 100%;
    width: 100%;
    background-position: center;
    background-size: cover;
    transition: transform 6s linear 0s !important;
}

.zoom-active .zoom {
    transform: scale(1.2);
}

.header_headline h3 {
    font-size: 60px !important;
    color: #fff;
    margin: 8px 0 10px 0 !important;
    background-color: unset;
    padding: unset;
    width: max-content;
    font-weight: bolder;
    line-height: 65px;
}

.scroll_down {
    position: absolute;
    bottom: 45px;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
}

.scroll_down a {
    color: #fff;
    font-size: 19px;
}

.header_slide::before {
    background: #000000;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 212, 255, 0) 100%);
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.header_banner {
    position: relative;
    height: 340px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.banner_text a {
    color: #fff;
}

.banner_text a:hover {
    color: #000;
}

.header_banner .wrapper {
    height: 100%;
}

.header_banner .wrapper>.wp-block-columns,
.header_banner .wrapper .wp-block-column {
    height: 100%;
    padding-right: 0;
    padding-left: 0;
}

.banner_text {
    position: relative;
    background-color: rgba(0, 77, 146, 0.5);
    color: #fff;
    padding: 40px;
    padding-top: 25px;
    top: 35%;
}

.banner_text h1 {
    color: #fff;
    font-size: 34px;
    margin-bottom: 0;
}

.projekt-content,
.home-slider-info-wrapper .category_list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.projekt-content .projekt-column {
    position: relative;
}

.projekt-content .projekt-column:first-of-type {
    flex-basis: 35%;
    padding-right: 66px;
}

.projekt-content .projekt-column:last-of-type {
    flex-basis: 65%;
    max-width: 65%;
}

.projekte-wrapper .projekt-column>p {
    margin-top: 0;
}

.projekt_category>.sort-button,
.category_list>.sort-button {
    border: 2px solid;
    width: max-content;
    padding: 5px 10px;
    border-radius: 15px;
    margin-right: 10px;
    margin-bottom: 10px;
    border-color: #004d92;
    background-color: #fff;
    color: #004d92;
    transition: 0.3s linear;
    transition-property: color, background-color;
}

.projekt_category>.sort-button.active,
.projekt_category>.sort-button:hover,
.category_list>.sort-button.active,
.category_list>.sort-button:hover {
    background-color: #004d92;
    color: #fff;
    cursor: pointer;
}

.projekt_category {
    display: flex;
    flex-wrap: wrap;
}

.projekt-post {
    position: relative;
    height: 253px;
    margin-bottom: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.projekt-post a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.projekt-block {
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 20px;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: 0.3s linear;
    transition-property: opacity, background-color;
    display: flex;
    justify-content: center;
    align-items: center;
}

.projekt-block:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.5);
}

.projekt-block p {
    color: #fff;
    text-align: center;
    margin-top: 35px;
}

.projekt-column .projekt_slider .slick-track .slick-slide:nth-child(1) .projekt-post {
    margin-bottom: 20px;
}

.projekte-wrapper .slick-arrow {
    position: absolute;
    left: 0;
    top: calc(50% - 20px);
    transform: translate(-50%, -50%);
    height: 50px;
    width: 50px;
    background-color: #004d92;
    z-index: 6;
    border-radius: 50px;
    border: 4px solid #fff;
    transition: 0.3s linear;
    transition-property: background-color;
}

.projekte-wrapper .slick-arrow:hover {
    background-color: #e7373a;
    cursor: pointer;
}

.arrow-right.slick-arrow {
    left: unset;
    right: 0;
    transform: translateY(-50%);
}

.projekte-wrapper .slick-arrow span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 20px;
}

@media (max-width: 1240px) {
    .projekte-wrapper .slick-arrow {
        left: 10px;
    }
    .arrow-right.slick-arrow {
        right: 10px;
        left: unset;
    }
}

.projekt_slider .slick-slide {
    padding: 0 10px;
    z-index: 4;
    min-width: 380px;
}

.projekt_slider .slick-list {
    padding: 0 !important;
    width: calc(100% + 20px);
    left: -10px;
    z-index: 3;
}

.projekt_slider .slick-list::before,
.projekt_slider .slick-list::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 10px;
    background-color: #fff;
    z-index: 5;
}

.projekt_slider .slick-list::after {
    right: 0;
    top: 0;
}

#home_slider {
    display: flex;
    flex-wrap: wrap;
}

.home-slider-frame {
    margin-top: 50px;
}

#home_slider .projekt-post {
    width: calc(100% / 3 - 5px);
    margin-left: 7px;
    margin-bottom: 7px;
}

#home_slider .projekt-post:nth-child(3n + 1) {
    margin-left: 0px;
}

.home_pagination {
    display: flex;
    flex-wrap: wrap;
}

.home_pagination>div:first-of-type {
    margin-left: auto;
}

.home_wrapper {
    display: flex;
    flex-wrap: wrap;
}

.home_pagination {
    position: absolute;
    right: 20px;
    display: flex;
}

.page-number,
.pagination-arrow {
    width: 34px;
    height: 34px;
    margin-left: 10px;
    background-color: #fff;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e7373a;
    opacity: 1;
    visibility: visible;
    transition: 0.3s linear;
    border: 2px solid;
    border-color: #3E525D;
}

.page-number:hover,
.pagination-arrow:hover,
.page-number.active {
    background-color: #3E525D;
    cursor: pointer;
    color: #fff;
}

.page-number.hidden_arrow,
.pagination-arrow.hidden_arrow {
    opacity: 0;
    visibility: hidden;
    width: 0;
    margin: 0;
}

.home-slider-frame {
    transition: 0.6s linear;
}

.page-number, .pagination-arrow {
    color: #3E525D;
}

#allgemein {
	display: none;
}

.blog .InnerContent.wrapper {
    padding-bottom: 120px;
}

.kontaktform {
    padding-top: 34px;
}

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 {
    border: 0;
    height: 40px;
    background-color: #f0f0f0;
}

.wpcf7-form-control.wpcf7-textarea {
    height: 200px;
    resize: none;
}

.kontaktform span.wpcf7-form-control-wrap {
    margin-bottom: 10px;
}

.captcha-wrap {
    display: flex;
    flex-wrap: wrap;
}

.captcha-img-wrap {
    flex-basis: 30%;
    height: 40px;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.captcha-img-wrap img {
    object-fit: contain;
    height: 40px;
}

.wpcf7-form-control-wrap.captcha-1 {
    flex-basis: calc(70% - 15px);
    margin-left: 15px;
}

.kontaktform input.wpcf7-not-valid,
.kontaktform select.wpcf7-not-valid,
.kontaktform textarea.wpcf7-not-valid {
    background-color: #e7373a;
    color: #fff;
}

#colophon {
    position: relative;
    min-width: 1240px;
    background-color: #555;
    z-index: 2;
}

#colophon,
#colophon a,
#colophon .widget-title,
#colophon .textwidget {
    color: #fff;
    font-size: 16px;
}

#colophon,
#colophon a {
    font-weight: 300;
}

#colophon .widget-title {
    margin-top: 0;
}

.site-info {
    padding-top: 35px;
    padding-bottom: 20px;
}

#colophon .sidebar-1 {
    width: calc(100% - 267px);
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.last_widget {
    position: relative;
    margin-left: auto;
    padding-right: 20px;
}

#colophon .sign,
#colophon .sign a {
    color: rgba(255, 255, 255, 0.7);
}

#colophon a:hover,
#colophon .sign a:hover {
    color: #000;
}

#colophon .menu-footer-menu-container .menu-item>a,
#colophon .mini_menu.menu>a {
    font-size: 17px;
}

.sign b {
    margin-bottom: -4px;
    display: block;
}

.sign {
    position: relative;
    margin-left: auto;
    padding-top: 50px;
}

#colophon ul li,
#colophon ol li {
    padding-left: 0;
}

#colophon ul li::before {
    display: none;
}

.site-info>.wrapper {
    z-index: 2;
}


/*
#/=============================================================/
#	header
#\=============================================================\
*/

.header-widget-box {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.header-widget-box p {
    margin: 0;
    color: #1686C9;
    margin-right: 18px;
    font-size: 17px;
    font-weight: inherit;
    letter-spacing: 0;
}

#masthead .wrapper:first-of-type {
    padding-top: 20px;
    display: flex;
    justify-content: end;
    height: 70px;
    transition: all .3s linear;
}
.icon-facebook::before,
.icon-instagram::before,
.icon-linkedin::before,
.icon-xing::before,
.icon-lupe::before {
    transition: .2s linear;
}
.header-widget-box .icon-facebook:hover::before,
.header-widget-box .icon-instagram:hover::before,
.header-widget-box .icon-linkedin:hover::before,
.header-widget-box .icon-xing:hover::before,
.header-widget-box .icon-lupe:hover::before,
.footer-socialmedia_wrapper .icon-facebook:hover::before,
.footer-socialmedia_wrapper .icon-instagram:hover::before,
.footer-socialmedia_wrapper .icon-linkedin:hover::before,
.footer-socialmedia_wrapper .icon-xing:hover::before  {
    color: #D31320;
}




#masthead .header-widget-box a
 {
    margin-top: 6px;
    margin-left: 7px;
}
#masthead .header-widget-box .icon-xing {
	margin-right: 3px;
}
#masthead .header-widget-box span.searchform {
  display: block;
  width: 30px;
  height: 30px;
}

.header_headline {
    top: 40%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header_headline_box {
    width: 46%;
    display: flex;
    flex-wrap: wrap;
    text-align: unset;
}

.header_headline h3 {
    font-size: 38px;
    color: #fff;
    margin: 0;
    background-color: unset;
    padding: unset;
    margin-bottom: 10px;
    width: max-content;
}

.header_headline p {
    color: #fff;
    margin-bottom: 0;
    margin-right: 45px;
    font-size: 25px;
}

.header_headline p:last-child {
    margin-top: 0;
}

.beitrag_grid_wrapper.type_2 {
    display: flex;
}

.beitrag_grid-post-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 250px;
    height: 170px;
    /* background: red; */
    align-items: center;
    padding-top: 20px;
    transition: all .5s ease-in-out;
}

.thumbnail-wrapper {
    width: 80px;
    height: 80px;
    justify-content: center;
    display: flex;
    align-items: flex-end;
}

.kachels {
    position: relative;
    background: rgba(62, 82, 93, .6);
    bottom: 30px;
    z-index: 1;
    width: 100%;
    height: 170px;
    margin-top: -139px;
}

.beitrag_grid-post-wrapper h3 {
    color: #fff;
}

.beitrag_grid-post-wrapper:hover {
    background: rgba(22, 134, 201, .7);
}

.header_slider_wrapper,
.header_slide,
.header_slider_container .slick-list.draggable,
.header_slider_container .slick-track {
    height: calc(100vh - 102px);
    min-width: 1240px;
}


/*
#/=============================================================/
#	Startseite
#\=============================================================\
*/

.hover_type_1 .icon-arrow_right::before {
    content: "\e909";
    font-size: 30px;
    position: absolute;
    z-index: 3;
    opacity: 0;
    transition: all .3s ease-in-out;
}

.hover_type_1:hover .icon-arrow_right::before {
    opacity: 1;
    transition: all .3s ease-in-out;
}
.home_pagination .icon-arrow_right {
	margin-top: -2px;
	margin-left: 1px;
}

.wp-block-buttons.is-layout-flex.wp-block-buttons-is-layout-flex {
    margin-top: 40px;
}

.wp-element-button,
.wp-block-button__link {
    background-color: #ffffff;
    border-width: 0;
    color: #3E525D;
    font-family: inherit;
    font-size: 21px;
    line-height: inherit;
    text-decoration: none;
    font-weight: 600;
    border: 3px solid #3E525D;
    border-radius: unset;
    padding: 10px 40px;
    transition: all .3s ease-in-out;
}

.wp-block-button__link.wp-element-button:hover {
    border: 3px solid #007cbf;
}

a:hover,
a:focus,
a:active {
    color: #1686C9;
}

.wp-block-image .wp-element-caption {
    /* color: #000000 !important; */
    /* 
    font-size: 20px;
    font-weight: 400; */
    font-size: 17px;
    line-height: 33px;
    /* font-weight: lighter; */
    letter-spacing: .5px;
    text-align: left;
    color: grey;
    opacity: .7;
}


/* .entry-content> :first-of-type {
    margin-top: 20px !important;
} */

/* .entry-content > *:not(.wp-block-columns),
.entry-content > *:not(.wp-block-group),
.entry-content > *:not(.wp-block-cover) {
    padding-left: 0;
} */
.wp-block-columns {
    padding: 0;
}
.wp-block-group {
    padding: 0;
}

.entry-content > .wp-block-group:first-of-type {
    padding-left: 20px;
    padding-right: 20px;
}

.entry-content > .wp-block-columns {
    padding-left: 20px;
    padding-right: 20px;
}
.wp-block-column:last-child {
    margin-left: 40px;
}
h1 {
    font-size: 39px;
    color: #515151;
    font-weight: 600;
    padding: 0 20px;
}

.wp-block-column h1,
.wp-block-column h1,
.wp-block-column h3,
.wp-block-column h4 {
    padding: 0;
}

h1:first-child,
h2:first-child,
h3:first-child {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

h1.wp-block-heading:not(first-child) {
    margin-top: 0;
}

p {
    font-size: 20px;
    line-height: 33px;
    font-weight: lighter;
    letter-spacing: .5px;
}

.wp-block-columns {
    padding: 0 20px;
}


/*
#/=============================================================/
#	Kontaktform
#\=============================================================\
*/

.form-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.links,
.rechts {
    width: 49%;
}

.rechts {
    margin-top: 100px;
}

.links-rechts-wrapper {
    display: flex;
    justify-content: space-between;
}

.links-links,
.links-rechts {
    width: 49.4%;
}

span.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.wpcf7-list-item-label a {
    color: #fff;
    font-weight: 900;
    font-size: 18px;
}

.wpcf7-list-item-label a:hover {
    color: #1686C9;
}

.wpcf7 .wpcf7-checkbox.stylecheckbox .wpcf7-list-item label input+span::before,
.wpcf7 .wpcf7-acceptance .wpcf7-list-item label input+span::before,
.suchleiste input.stylecheckbox+label::before {
    display: block;
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: #f0f0f0;
    content: "";
    border-radius: unset;
    margin-right: 10px;
    color: #004d92;
    top: 5px;
    line-height: 16px;
    text-align: center;
    font-size: 11px;
}

.image-captcha {
    display: flex;
}

.captcha-image,
.wpcf7-cf7ic {
    display: block;
    width: 93% !important;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    padding: 0;
    width: 45% !important;
    margin-top: 78px;
}

.captcha-image .choices {
    display: block;
    background: unset !important;
    border: unset !important;
    padding: 15px;
}

.captcha-image i {
    font-size: 40px !important;
    color: #ffffff !important;
    transition: all .3s ease-in-out;
}

.cf7ic_instructions {
    display: block;
    margin-left: 26px;
    font-size: 20px;
    font-weight: lighter;
    letter-spacing: .7px;
}

.wpcf7-list-item-label {
    font-size: 20px;
    font-weight: lighter;
    letter-spacing: .7px;
}

button:disabled,
input[type="button"]:disabled,
input[type="reset"]:disabled,
input[type="submit"]:disabled {
    background: #fff;
    color: #3E525D;
    cursor: not-allowed;
    font-size: 22px;
    font-family: oxygen;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: none;
    border-radius: 0;
    background: #1686C9;
    color: #FFF;
    font-size: 22px;
    line-height: 1;
    padding: 0;
    width: 100%;
    cursor: pointer;
    height: 50px;
    transition: 0.3s linear;
    transition-property: background, color;
    font-family: oxygen;
}

.captcha-image label>input+i:hover {
    cursor: pointer;
    color: #1686C9 !important;
}

body,
button,
input,
select,
optgroup,
textarea {
    font-family: oxygen;
}

.home .entry-content .wp-block-cover.alignfull h1.wp-block-heading.has-text-align-center {
    padding: 150px 0 40px 0;
}

.wp-block-cover.alignfull.has-parallax p {
    line-height: 50px !important;
}

/*
#/=============================================================/
#	Footer
#\=============================================================\
*/

#colophon {
    position: relative;
    min-width: 1240px;
    background-color: #3E525D;
    z-index: 2;
}

#colophon .sidebar-1 {
    width: 100%;
}

.sidebar-1 .widget {
    width: 23%;
}

.sidebar-1 .widget_nav_menu {
    margin-top: 18px;
}

.sidebar-1 .widget_nav_menu a {
    font-weight: bolder !important;
}

.sidebar-1 #nav_menu-2.widget_nav_menu {
    padding-left: 25px;
}

.sidebar-1 .widget_text p {
    font-size: 16px;
    line-height: 25px;
}

.sidebar-1 .widget_text:last-of-type p {
    font-size: 15px;
    font-family: oxygen;
    letter-spacing: .7px;
    opacity: 0.4;
    line-height: 25px;
}

#colophon a:hover,
#colophon .sign a:hover {
    color: #1686C9;
}

#colophon .footer-socialmedia {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: flex-end;
}
.footer-socialmedia_wrapper {
	width: 200px;
	display: flex;
	justify-content: end;
}
.footer-socialmedia_wrapper .icon-facebook::before,
.footer-socialmedia_wrapper .icon-instagram::before,
.footer-socialmedia_wrapper .icon-linkedin::before,
.footer-socialmedia_wrapper .icon-xing::before {
    color: #ffffff;
}
#colophon .footer-socialmedia a {
    margin-left: 7px;
}

#colophon .site-info {
    padding-top: 0px;
    padding-bottom: 20px;
}


/*
#/=============================================================/
#	Referenzen
#\=============================================================\
*/

.post-12 .beitrag_grid_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: 17px !important;
}

.post-12 .beitrag_grid-post-wrapper {
    padding-top: 0px;
    width: 390px;
    height: 350px;
    margin-bottom: 20px;
}

.post-12 .beitrag_grid-thumbnail {
    transition: all .3s ease-in-out;
    position: relative;
}

.post-12 .beitrag_grid-thumbnail::after {
    content: "";
    width: 390px;
    height: 350px;
    position: absolute;
    z-index: 1;
    background: rgba(22, 134, 201, 0);
    transition: all .3s ease-in-out;
    color: #FFF;
    line-height: 350px;
    text-align: center;
    text-align: center;
    font-size: 25px;
    font-weight: bold;
}

.post-12 .beitrag_grid-thumbnail h3 {
    position: absolute;
    transition: all .3s ease-in-out;
    color: #FFF;
    z-index: 2;
    text-align: center;
    /* line-height: 300px; */
    text-align: center;
    top: 45%;
    opacity: 0;
}

.title-h3 {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 10px;
}

.post-12 .beitrag_grid-thumbnail:hover h3 {
    opacity: 1;
}

.post-12 .beitrag_grid-thumbnail:hover::after {
    background: rgba(22, 134, 201, 0.7);
    /* content: attr(title); */
    transition: all .3s ease-in-out;
}

.post-12 .beitrag_grid-thumbnail {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100%;
    min-width: 100%;
}

.post-12 .beitrag_link {
    /* margin-bottom: 50px; */
}

.post-12 .beitrag_grid-post-wrapper:hover {
    background: none;
}

.post-12 .wp-block-group {
    margin-top: 40px !important;
}
/* .entry-content > *:not(.wp-block-columns):not(.wp-block-group):not(.wp-block-cover):not(.wp-block-impuls-additional-containers-section) {
    padding: 0 20px;
} */
.wp-block-group .wp-block-columns,
.wp-block-cover .wp-block-columns {
    padding: 0 !important; 
    /* margin: 0 !important; */
}
.wp-block-columns {
    padding: 0 20px;
}

.beitrag_grid-thumbnail img {
	width: 64px;
}


/*
#/=============================================================/
#	50% Imageblock
#\=============================================================\
*/


/* cover block */

.is-style-halfcover-block-right img {
    width: 50% !important;
    right: 0px !important;
    left: auto !important;
    min-width: unset !important;
}

.is-style-halfcover-block-right .wp-block-column:first-child {
    padding-right: 30px;
}

.is-style-halfcover-block-left img {
    width: 50% !important;
    right: auto !important;
    left: 0px !important;
    min-width: unset !important;
}

.is-style-halfcover-block-left .wp-block-column:nth-child(2) {
    padding-left: 30px;
}

.is-style-drittelcover-block-right img {
    width: 37% !important;
    right: 0px !important;
    left: auto !important;
    min-width: unset !important;
}

.is-style-drittelcover-block-right .wp-block-column:first-child {
    padding-right: 30px;
}

.is-style-drittelcover-block-left img {
    width: 37% !important;
    right: auto !important;
    left: 0px !important;
    min-width: unset !important;
}

.is-style-drittelcover-block-left .wp-block-column:nth-child(2) {
    padding-left: 30px;
}

.is-style-drittelcover-block-left-herausragend img {
    width: 37% !important;
    right: auto !important;
    left: 0px !important;
    min-width: unset !important;
    margin-top: -91px !important;
}

.is-style-drittelcover-block-left-herausragend .wp-block-column:nth-child(2) {
    padding-left: 30px;
}

.wp-block-cover>span.has-background-dim {
    max-width: 100% !important;
}

.home .entry-content .wp-block-cover>span.has-background-dim {
    height: 67%;
}

.home .entry-content .wp-block-group .wp-block-cover>span.has-background-dim {
    height: 100%;
}

#searchform {
    /* position: absolute; */
    margin-left: unset;
    top: -10px;
    bottom: 0;
    height: 20px;
    width: 18px;
    z-index: 9999;
}

#searchsubmit img {
    display: none;
}

.wp-block-gallery .wp-block-image {
    /*flex-basis: 32.8% !important;*/
    flex-grow: 0 !important;
    height: 300px;
}

.post-wrapper> :first-child {
    margin-top: 0;
}

.entry-content>h2:first-of-type {
    padding: 0 20px;
}

.entry-content li,
.post-wrapper li {
    font-size: 20px;
    font-weight: 300;
}

.pswp__counter {
    width: 50px !important;
}

.pswp__button.pswp__button--zoom {
    margin-top: 450px;
    margin-left: 10%;
    display: none;
}

.pswp__button.pswp__button--fullscreen-button {
    width: 50px !important;
}

.pswp__button.pswp__button--close {
    width: 50px !important;
}

/*
#/=============================================================/
#	Anchor Link
#\=============================================================\
*/
.scrolled #mechatroniker,
.scrolled #elektroniker,
.scrolled #buerokauffrau,
.scrolled #socialmediamanager{
    top: 100px;
    position: relative;

}
#mechatroniker {
    top: 0;
}
#socialmediamanager .wp-block-button  {
    padding: 0px 0 100px 0;
}
.wp-block-cover ul,
.wp-block-columns ul  {
    margin-left: 25px;
}
summary {
    font-size: 22px;
    transition: .2s linear;
    font-weight: 500;
    transition: .2s linear;
}
summary:hover {
    font-weight: 700;
}

#colophon a [class^="icon-"]::before {
    color: #fff;
}

a [class^="icon-"]::before {
	color:#1686C9;
    transition: color 0.3s ease-in-out;
}

#colophon a [class^="icon-"]:hover::before,a [class^="icon-"]:hover::before {
	color:#D31320;
}

/* Rest Kram */
.entry-footer {
    display: none;
}



/* cookies */
#icm_cookie_container button.icm_cookie_accept_all {
	display: inline;
    background-color: #D31320;
}

#icm_cookie_container button.icm_cookie_accept_all:hover {
	color: #bbb;
	background: #292929;
}

#icm_cookie_container button.icm_cookie_save_choices {
    display: inline;
    background-color: #D31320;
}


#icm_cookie_container button.icm_cookie_save_choices:hover {
    display: inline;
    background-color: #292929;
}

/* grid gallery fix */
.wp-block-gallery{display: flex;flex-wrap: wrap;}
.wp-block-group .wp-block-gallery{padding: 0px 20px;}


.no-desktop {
    display: none;
}