/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

/*
	Theme Name: Tifeplan Theme
	Description: Ein für Tifeplan angepasstes Theme
	Version: 1.0.0
	Author: COM.POSiTUM
	Author URI: https://compositum.de
*/

/*
  Es muss kein Child-Theme erstellt werden.
  Der Name "Empty Theme" kann auf den Namen des Kunden geändert werden.
  Die Beschreibung ist natürlich auch zu ändern.
  Dieser Kommentar kann anschließend gelöscht werden.
*/

/*
  Das Logo, Favicon und Startseiten-Hintergrundbild können im Backend
  gepflegt werden  unter Design -> Customizer.
*/

/*------------------------------------*\
    FONTS
\*------------------------------------*/

@font-face {
    font-family: 'M Plus Rounded 1C';
    src: url('./fonts/MPLUSRounded1c-Regular.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: 'M Plus Rounded 1C';
    src: url('./fonts/MPLUSRounded1c-Medium.ttf') format('truetype');
    font-weight: bold;
}

@font-face {
    font-family: 'M Plus 1P';
    src: url('./fonts/MPLUS1p-Thin.ttf') format('truetype');
    font-weight: 100;
}

@font-face {
    font-family: 'M Plus 1P';
    src: url('./fonts/MPLUS1p-Light.ttf') format('truetype');
    font-weight: 300;
}

@font-face {
    font-family: 'M Plus 1P';
    src: url('./fonts/MPLUS1p-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'M Plus 1P';
    src: url('./fonts/MPLUS1p-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'M Plus 1P';
    src: url('./fonts/MPLUS1p-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: 'M Plus 1P';
    src: url('./fonts/MPLUS1p-ExtraBold.ttf') format('truetype');
    font-weight: 800;
}

@font-face {
    font-family: 'M Plus 1P';
    src: url('./fonts/MPLUS1p-Black.ttf') format('truetype');
    font-weight: 900;
}

html,
body {
    font-family: 'M Plus 1P', sans-serif;
}

/*------------------------------------*\
    COLORS
\*------------------------------------*/

/*
  Die Farben sind vor Onlinegang im ganzen Dokument zu ersetzen.
*/

/* 3366FF blau */
/* FF0000 rot */

:root {
    --primary: #3366ff;
    --secondary: #ff0000;
    --textcolor: #707070;
    /* --textcolor: #1d1d1d; */
    /* --secondary-two: #6a6766; */
    --background-header: #ffffff;
}

html {
    color: #707070;
    font-size: 10px;
}

a {
    text-decoration: none;
}

nav a:hover {
    /* padding: 1rem 1rem; */
    color: #3366ff;
    /* background-color: #3366FF; */
}

.sub-menu a {
    color: #fff;
}

.sub-menu a:hover {
    color: #fff;
}

/* main.page > .col{
  padding: 0;
} */
main {
    width: 100%;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

.home .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.wrapper {
    min-height: 100vh;
}

.wrapper > * {
    width: 100%;
    display: inline-block;
}

header {
    background-color: #ffffff;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    padding: 3rem 7.5vw;

    position: -webkit-sticky;

    position: sticky;
    top: 0;
    z-index: 100;
}

footer,
aside {
    background-color: #ffffff;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    padding: 3rem 7.5vw;
    padding: 3rem calc(15vw - 5rem);
}

aside form {
    max-width: 30rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-left: auto;
}

section {
    padding-bottom: 3rem;
}

.logo a {
    display: block;
    margin: 0 0;
}

.logo img {
    max-width: 20rem;
    max-height: 5rem;
}

section {
    padding: 3rem 7.5vw;
    position: relative;
}

section#intro {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    text-align: center;
    color: #3366ff;
}

section#intro h1,
section#intro h2 {
    margin: 0;
}

section > h1 {
    border-bottom: 0.2rem solid #ff0000;
    margin-bottom: 3rem;
}

article:not(:last-child) {
    margin-bottom: 1rem;
}

.search article:not(:last-child) {
    margin-top: 3rem;
}

.search
    article.type-page
    > :not(.backgound-image):not(section):not(p):not(.hyphenate) {
    margin-left: 0;
    margin-right: 0;
}

.page_thumbnail {
    width: 100%;
    height: 25vh;
}

.breadcrumb {
    width: 100%;
    padding: 1rem 7.5vw;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.breadcrumb a {
    margin-right: 1rem;
    color: #ff0000;
}

.post_list {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.post_details:not(:first-child) {
    padding-left: 3rem;
}

.post_list h2 {
    margin-top: 0;
}

.py-4 {
    margin-bottom: 0;
    margin-top: 0;
}

.py-5 {
    margin-bottom: 0;
    margin-top: 0;
}

.wp-block-button {
    color: white;
    margin-top: 6rem;
}

.full-vp {
    min-height: 100vh;
}

.scroll-down {
    position: absolute;
    display: block;
    left: 50%;
    bottom: 5%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-image: url(img/arrow-down-black.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 4rem;
    height: 2rem;
    cursor: pointer;
}

/*------------------------------------*\
    CONTEACT FORM
\*------------------------------------*/

form {
    max-width: 80rem;
}

form .col {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

form p a {
    color: #3366ff;
}

fieldset {
    border: none;
    margin: 0;
    padding: 0;
    margin-bottom: 1rem;
}

form fieldset > span:first-of-type {
    min-width: 25%;
    padding-right: 2rem;
}

form fieldset > span:last-of-type {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.data-security {
    display: inline;
}

.data-security input {
    width: auto;
}

.data-security + p {
    display: inline-block;
}

.data-security .wpcf7-list-item {
    margin: 0;
}

input[type='submit'] {
    width: auto;
    display: block;
    margin: 1rem auto;
}

/*------------------------------------*\
    CUSTOM STYLES
\*------------------------------------*/

.wp-block-cover {
    padding: 0;
    color: #fff;
}

.wp-block-cover .wp-block-cover__inner-container {
    width: 100%;
}

.wp-block-cover h1,
.wp-block-cover h3 {
    background-color: #3366ff;
    min-width: 50vw;
    max-width: unset;
    padding: 1rem 7.5vw 1rem 3rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 5rem;
    border-bottom-left-radius: 5rem;
    text-transform: uppercase;
    line-height: 5rem;
}

.home .wp-block-cover h1,
.home .wp-block-cover h3 {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 5rem;
    border-bottom-right-radius: 5rem;
    padding: 1rem 3rem 1rem 15vw;
}

.wp-block-cover h3 {
    font-weight: normal;
    font-size: 2.25em;
}

.subpage-header {
    height: auto;
    min-height: 30vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-top: 10vh;
    padding-bottom: 2rem;
    margin: 0 5rem 10vh;
}

.subpage-header h1,
.subpage-header h3 {
    margin-right: -5rem;
    /* -webkit-transform: translateY(50%);
    -ms-transform: translateY(50%);
    transform: translateY(50%); */
    text-align: right;
    line-height: 1;
}

.wrapper-header {
    width: 50%;
    position: absolute;
    bottom: -2.5rem;
    right: 0;
}

.wrapper-header h1,
.wrapper-header h3 {
    width: 100%;
}

h2 {
    color: #3366ff;
    text-transform: uppercase;
}

h3 {
    padding: 0 0vw;
    margin-top: 1rem;
    margin-bottom: 0;
    color: #ff0000;
}

article.type-post > :not(.backgound-image):not(section):not(p):not(.hyphenate),
article.type-page > :not(.backgound-image):not(section):not(p):not(.hyphenate) {
    margin: 5rem 15vw;
}

article.type-post > p,
article.type-post > .hyphenate,
article.type-page > p,
article.type-page > .hyphenate {
    margin: 1rem 15vw 1rem 15vw;
}

article.type-page > .backgound-image {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.white.box {
    padding: 5rem;
    max-width: calc(100% - 15vw + 10rem);
    margin: auto;
    background-color: #fff;
}

.white.box > :first-child {
    margin-top: 0;
}

/* Start About Area */

section.accordion-section,
section.about-area,
section.jobs-section {
    padding: 5rem 15vw;
}

.about-area .col {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.about-area h2 {
    margin-top: 0;
}

.site-main .about-area .about-title h2 > span {
    display: block;
    letter-spacing: 0;
}

.com-name {
    color: #ff0000;
    font-size: 2rem;
}
.about-name {
    font-size: 3rem;
}

.site-main .about-area .about-title .paragraph > p {
    padding: 0.5rem 0;
}

.about-area p > strong:first-child,
.about-area p > br + strong {
    display: inline-block;
    min-width: 3rem;
    text-align: center;
    vertical-align: middle;
}

.has-drop-cap:not(:focus)::first-letter {
    font: inherit;
    float: none;
    margin: 0;
    text-transform: none;
}

.has-drop-cap {
    font-size: inherit;
    display: block;
    line-height: 1;
    margin: 0;
    color: #3366ff;
    opacity: 0;
}

.has-drop-cap.animation {
    -webkit-animation-name: dropcap;
    animation-name: dropcap;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    opacity: 1;
}

@-webkit-keyframes dropcap {
    from {
        opacity: 0;
        -webkit-transform: translateX(-3rem);
        transform: translateX(-3rem);
    }
    to {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes dropcap {
    from {
        opacity: 0;
        -webkit-transform: translateX(-3rem);
        transform: translateX(-3rem);
    }
    to {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

.has-drop-cap strong {
    font-size: 2em;
    line-height: 1;
    font-family: 'M Plus Rounded 1C', sans-serif;
    display: inline-block;
    min-width: 3rem;
    text-align: center;
    color: #ff0000;
    vertical-align: middle;
    margin-right: 3rem;
}
strong > span[style='color: #ff0000;'] {
    font-size: 2em;
    line-height: 1;
    font-family: 'M Plus Rounded 1C', sans-serif;
}

.text-uppercase {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: left;
    -ms-flex-pack: left;
    justify-content: left;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    width: 100%;
    text-transform: uppercase;
}
input[type='submit'],
.btn,
.button {
    background-color: #3366ff;
    color: #fff;
    border-radius: 5rem;
    border: none;
}
input[type='submit']:hover,
.btn:hover,
.button:hover {
    color: #fff;
    background-color: #ff0000;
}

.button {
    padding: 0.5rem 2rem;
    margin: 2rem 0;
    display: inline-block;
}

.view-article {
    display: none;
}

/* End About Area */

.header-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin: 0 7.5vw 5vh;
    min-height: 80vh;
}

.home .header-container > * {
    margin-left: -7.5vw;
}

.link {
    margin-top: 2rem;
}

footer {
    margin: 5vh 5rem 2.5rem;
    color: #323232;
}

.footer {
    position: relative;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.scroll-btn {
    position: fixed;
    right: 3rem;
    bottom: 1.5vh;
}

.scroll-btn .disabled {
    opacity: 0.5;
    pointer-events: none;
}

.footernav.col,
.two-col > div {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.two-col {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin: 1rem 0 0;
}

.two-col > div:not(:last-child) {
    margin-right: 5vw;
}

.widget_recent_entries > p {
    margin-bottom: 0.5rem;
}

#recent-posts-2 ul {
    list-style: none;
    margin: 0;
}
#recent-posts-2 ul li a {
    color: #3366ff;
}

/* background */
header .header-container::before {
    background-image: -webkit-gradient(
        linear,
        left top,
        right top,
        color-stop(10%, rgba(255, 255, 255, 1)),
        color-stop(70%, rgba(255, 255, 255, 0))
    );
    background-image: -o-linear-gradient(
        left,
        rgba(255, 255, 255, 1) 10%,
        rgba(255, 255, 255, 0) 70%
    );
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 1) 10%,
        rgba(255, 255, 255, 0) 70%
    );
}

/* accodion */
.accordion-section {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

@media screen and (min-width: 768px) {
    .accordion-section .lg_6:not(:first-child) {
        padding-left: 1.5rem;
    }
}

.accordion {
    max-width: 60rem;
    margin: 6rem auto 0;
}
.accordion__item {
    margin-bottom: 5px;
}
.accordion__title {
    padding: 0 0 1rem;
    border-radius: 4px;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-weight: bold;
}

.accordion__body {
    border-radius: 5px;
    height: 0;
    overflow: hidden;
    -webkit-transition: height 0.3s ease-in-out;
    -o-transition: height 0.3s ease-in-out;
    transition: height 0.3s ease-in-out;
}
.accordion__content {
    background: #fff;
    border-radius: 0;
    padding: 0 0 2rem;
    margin-top: 0;
}

.accordion__title::after {
    content: url(img/arrow-left-red.svg);
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    width: 25px;
    -webkit-transition: -webkit-transform 0.3s ease-in;
    transition: -webkit-transform 0.3s ease-in;
    -o-transition: transform 0.3s ease-in;
    transition: transform 0.3s ease-in;
    transition: transform 0.3s ease-in, -webkit-transform 0.3s ease-in;
}
.is-open .accordion__title::after {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}
.certifikate-section .white.box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.certifikate-section h2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: unset;
    text-transform: uppercase;
    margin-top: 0;
}

.certifikate a,
.certifikate {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    margin-top: 2rem;
}

.certifikate a {
    margin: 0;
}
.certifikate img:not(:only-child) {
    margin-bottom: 1rem;
}
section ul li {
    list-style-type: none;
}
section ul li::before {
    content: '\25A0';
    color: #ff0000;
    display: inline-block;
    width: 2rem;
    margin-left: -3rem;
    margin-right: 1rem;
}
.jobs-section a {
    color: #3366ff;
}
.jobs-section a:hover {
    color: #ff0000;
}
.background-image {
    width: 100%;
}

.white-box {
    padding: 4rem 4rem;
}
.tool-wrapper {
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    padding: 3rem 15vw;
}

.tool-section .text-uppercase {
    max-width: calc(100% - 30vw - 1rem);
}

.tools {
    background-color: #3366ff;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 5rem;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    width: calc(50% - 1rem);
    margin: 0.5rem;
    text-align: center;
    font-size: 2rem;
}

.square {
    width: 300px;
    height: 300px;
}

#hamburger span {
    background: #707070 !important;
}

.cp-container .background-image .bg-fix-height {
    height: 100%;
}
.archive-reference {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 1rem 0.5rem;
    width: calc(100% + 1rem);
}

.archive-reference .background-image {
    height: 100%;
}

.archive-reference h4 {
    font-size: 2rem;
}

.content-referenzen .content .more {
    text-transform: none;
}

body.archive section {
    padding-right: 15vw;
    padding-left: 15vw;
}

.content-referenzen {
    width: calc(100% / 3 - 1rem);
    margin: 0 0.5rem 1rem;
    display: block;
    background-color: #3366ff;
    /* background: #eee; */
    position: relative;
    text-transform: uppercase;
}
.content-referenzen .content {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    padding: 2rem;
    background-color: rgba(51, 102, 255, 0.6);
    /* opacity: .6; */
}

.content-referenzen a:only-child > .content {
    display: block !important;
}

.content-referenzen .content .more {
    position: absolute;
    bottom: 2rem;
    text-align: center;
    width: 100%;
    left: 0rem;
}
.content-referenzen .content h3 {
    color: #fff;
}
.content-reference {
    margin: 5rem 0;
}

.filter-list > div {
    color: #3366ff;
    padding: 0.5rem 1rem;
    border-radius: 5rem;
    margin: 0.5rem;
    border: 1px solid #3366ff;
    cursor: pointer;
}
.filter-list > div.active {
    background-color: #3366ff;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5rem;
    /* margin-right: .5rem; */
    border: 1px solid #3366ff;
}

.filter-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.filter {
    margin: 5rem 0 2rem;
}

.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
}

.pagination .pages:only-child {
    display: none;
}

.pagination .pagination-link {
    padding: 0.5rem 1rem;
    color: #ff0000;
    margin: 1rem;
    font-weight: bold;
}

.arrow-right,
.arrow-left {
    display: block;
    margin: 3rem auto;
    width: 1.5rem;
    height: 1.5rem;
    border-top: 2px solid #ff0000;
    border-left: 2px solid #ff0000;
    cursor: pointer;
}

.arrow-right {
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}

.arrow-left {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.single-referenzen section > article {
    padding-left: 7.5vw;
    padding-right: 7.5vw;
}

.single-referenzen section > article > .date + :not(.post-edit-link),
.single-referenzen section > article > .post-edit-link + * {
    margin-top: 3rem;
}

#call-to-action {
    position: fixed;
    right: 0;
    bottom: 20vh;
    padding: 1rem calc(5vw - 2rem) 1rem 1.5rem;
    background-color: #3366ff;
    z-index: 99;
    cursor: pointer;
    border-top-left-radius: 5rem;
    border-bottom-left-radius: 5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    width: auto;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

#call-to-action img {
    width: 2rem;
}

form.search {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* justify-content: center; */
    /* align-items: center; */
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

form .search-submit {
    background: #fff;
    border: none;
    color: #3366ff;
    margin: 0;
}
form .search-submit:hover {
    background: #ff0000;
    color: #fff;
}
form .search-input {
    border: 1px solid #3366ff;
    color: #707070;
    margin-left: 1rem;
    margin-right: 1rem;
    border-radius: 2rem;
}
.container .background-image-start {
    margin: 0 0 0 0;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center !important;
    max-width: calc(50% - 7.5vw);
}

.container .background-image-start.contain {
    background-size: contain !important;
    -ms-flex-item-align: normal;
    -ms-grid-row-align: normal;
    align-self: normal;
}

.container .background-image-start:first-child {
    margin-right: 7.5vw;
}

.container .background-image-start:last-child {
    margin-left: 7.5vw;
}

.content-referenzen .content {
    display: none;
    animation: fadeIn 1s;
    -webkit-animation: fadeIn 1s;
    -moz-animation: fadeIn 1s;
    -o-animation: fadeIn 1s;
    -ms-animation: fadeIn 1s;
}
.content a:hover {
    color: #fff;
}
.content h4 {
    margin-top: 1rem;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

iframe {
    width: 100%;
    max-width: 100%;
    margin: 3rem 0 !important;
}

.widget_nav_menu ul {
    margin: 0;
}

.widget_nav_menu li {
    margin: 0;
    list-style: none;
}

.widget_nav_menu a {
    color: #3366ff;
}

ul.blocks-gallery-grid li:before {
    list-style-type: none;
    content: '';
}
.blocks-gallery-grid,
.wp-block-gallery {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.is-cropped .blocks-gallery-grid,
.is-cropped .wp-block-gallery {
    align-items: stretch;
}

.referenzen p {
    width: 100%;
    max-width: unset;
}
.wp-block-table table {
    margin-top: 3rem;
}

.content-referenzen-link {
    width: 100%;
}
.content-referenzen-link a {
    /* font-weight:  */
    color: #3366ff;
}

.content-referenzen-link article:not(:last-child) {
    margin-bottom: 1.5rem;
}
.archive-reference h2 {
    width: 100%;
}
.content-referenzen-heading {
    width: 100%;
    display: block;
    background-color: unset;
    /* background: #eee; */
    position: relative;
    text-transform: uppercase;
}

.backpage {
    color: #fff;
    padding: 1rem 1.5rem;
    background-color: #3366ff;
    z-index: 99;
    cursor: pointer;
    border-radius: 5rem;
    text-align: center;
    display: inline-block;
}
.backpage:hover {
    color: #fff;
    padding: 1rem 1.5rem;
    background-color: #ff0000;
    z-index: 99;
    cursor: pointer;
    border-radius: 5rem;
    text-align: center;
}
.post-299 {
    width: 100%;
}

@media all and (-ms-high-contrast: none) {
    .home .wp-block-cover h1 {
        margin-top: 40vh;
    }
    .lg_9 {
        width: 75% !important;
    }
    .header {
        position: relative;
    }
}

.datenschutzerklaerung p,
.datenschutzerklaerung h1,
.datenschutzerklaerung h2,
.datenschutzerklaerung h3,
.datenschutzerklaerung h4 {
    max-width: unset;
    padding-top: 1rem;
}
.datenschutzerklaerung ul,
.datenschutzerklaerung ol {
    padding-left: 1.8rem;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.wpcf7-form-control-wrap label {
    display: flex;
    gap: 1em;
    align-items: baseline;
}

.wpcf7-form-control-wrap label input {
    flex-shrink: 0;
    width: auto;
}

.wpcf7-form-control-wrap .wpcf7-list-item {
    margin: 1em 0;
}

.wp-block-table + .wp-block-gallery {
    margin-top: 40px;
}

.wp-block-gallery figure {
    aspect-ratio: 16 / 9;
}
figure.wp-block-image.large-width,
.large-width > a > img,
.large-width > div > a > img,
.large-width figure {
    max-width: calc(
        50% - var(--wp--style--unstable-gallery-gap, 0.5em) * 0.5
    ) !important;
    aspect-ratio: 16 / 9;
}
figure.wp-block-image.large-height,
.large-height > a > img,
.large-height > div > a > img,
.large-height figure {
    max-width: calc(
        33.33% - var(--wp--style--unstable-gallery-gap, 0.5em) * 0.66667
    ) !important;
    aspect-ratio: 3 / 4;
}
.wp-block-gallery.large-width figure,
.wp-block-gallery.has-nested-images.columns-default.large-width
    > figure:only-child {
    max-width: calc(33.33% - var(--wp--style--unstable-gallery-gap, 0.5em) * .66667) !important;
}
.wp-block-gallery.large-height figure,
.wp-block-gallery.has-nested-images.columns-default.large-height
    > figure:only-child {
    max-width: calc(
        50% - var(--wp--style--unstable-gallery-gap, 0.5em) * 0.5
    ) !important;
}

.wp-block-gallery + .wp-block-gallery {
    margin: var(--wp--style--unstable-gallery-gap, 0.5em) 0 !important;
}
.wp-block-gallery + .backpage {
    margin-top: 2rem;
}

.wp-block-gallery.has-nested-images.columns-default.custom_gallery figure.wp-block-image.large-width:not(#individual-image) {
    width: calc(50% - var(--wp--style--unstable-gallery-gap, 0.5em) * .5);
}

.wp-block-gallery.has-nested-images.columns-default.custom_gallery figure.wp-block-image:not(#individual-image) {
    width: calc(33.33% - var(--wp--style--unstable-gallery-gap, 0.5em) * .66667);
}

@media screen and (max-width: 600px) {
    .wp-block-gallery.has-nested-images.columns-default figure.wp-block-image {
        max-width: 100%;
    }

    .large-height > a > img,
    .large-height figure {
        max-width: 100% !important;
        aspect-ratio: 3 / 4;
    }
    .wp-block-gallery:not(.large-height) figure {
        aspect-ratio: 16 / 9;
    }
}


.subpage-header {
	justify-content: center;
}

.custom_gallery.is-layout-flex {
    gap: var(--wp--style--unstable-gallery-gap, 0.5em);
}

.custom_gallery img {
    object-fit: cover;
}

.custom_gallery.wp-block-gallery.has-nested-images figure.wp-block-image {
    flex-grow: 0;
}