/*
 Theme Name:   Strau&szlig; & Fliege
 Description:  Das Strau&szlig; & Fliege Wordpress-Theme 2019
 Author:       Marin Zec
 Author URI:   http://www.marinzec.de
 Template:     anima-plus
 Version:      1.9
 Text Domain:  anima-sf-child
*/

:root {
    --primary-color: #084b5a;
    --secondary-color: #ed6b6c; /*#999999;*/

    --cta-button-bordercolor: #084b5a;
    --cta-button-backgroundcolor: #084b5a;
    --cta-button-backgroundcolor-hovered: #063944;
    --cta-button-border-backgroundcolor-hovered: #063944;

    --cta-button-secondary-backgroundcolor: #ed6b6c;
    --cta-button-secondary-backgroundcolor-hovered: #D66061;

}
/* arbutus-slab-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Arbutus Slab';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/arbutus-slab-v16-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('fonts/arbutus-slab-v16-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/arbutus-slab-v16-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/arbutus-slab-v16-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/arbutus-slab-v16-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/arbutus-slab-v16-latin-regular.svg#ArbutusSlab') format('svg'); /* Legacy iOS */
}

/* raleway-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 100;
  src: url('fonts/raleway-v28-latin-100.eot'); /* IE9 Compat Modes */
  src: url('fonts/raleway-v28-latin-100.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/raleway-v28-latin-100.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/raleway-v28-latin-100.woff') format('woff'), /* Modern Browsers */
       url('fonts/raleway-v28-latin-100.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/raleway-v28-latin-100.svg#Raleway') format('svg'); /* Legacy iOS */
}
/* raleway-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 200;
  src: url('fonts/raleway-v28-latin-200.eot'); /* IE9 Compat Modes */
  src: url('fonts/raleway-v28-latin-200.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/raleway-v28-latin-200.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/raleway-v28-latin-200.woff') format('woff'), /* Modern Browsers */
       url('fonts/raleway-v28-latin-200.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/raleway-v28-latin-200.svg#Raleway') format('svg'); /* Legacy iOS */
}
/* raleway-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/raleway-v28-latin-300.eot'); /* IE9 Compat Modes */
  src: url('fonts/raleway-v28-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/raleway-v28-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/raleway-v28-latin-300.woff') format('woff'), /* Modern Browsers */
       url('fonts/raleway-v28-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/raleway-v28-latin-300.svg#Raleway') format('svg'); /* Legacy iOS */
}
/* raleway-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/raleway-v28-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('fonts/raleway-v28-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/raleway-v28-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/raleway-v28-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/raleway-v28-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/raleway-v28-latin-regular.svg#Raleway') format('svg'); /* Legacy iOS */
}
/* raleway-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/raleway-v28-latin-500.eot'); /* IE9 Compat Modes */
  src: url('fonts/raleway-v28-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/raleway-v28-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/raleway-v28-latin-500.woff') format('woff'), /* Modern Browsers */
       url('fonts/raleway-v28-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/raleway-v28-latin-500.svg#Raleway') format('svg'); /* Legacy iOS */
}
/* raleway-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/raleway-v28-latin-600.eot'); /* IE9 Compat Modes */
  src: url('fonts/raleway-v28-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/raleway-v28-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/raleway-v28-latin-600.woff') format('woff'), /* Modern Browsers */
       url('fonts/raleway-v28-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/raleway-v28-latin-600.svg#Raleway') format('svg'); /* Legacy iOS */
}
/* raleway-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/raleway-v28-latin-700.eot'); /* IE9 Compat Modes */
  src: url('fonts/raleway-v28-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/raleway-v28-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/raleway-v28-latin-700.woff') format('woff'), /* Modern Browsers */
       url('fonts/raleway-v28-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/raleway-v28-latin-700.svg#Raleway') format('svg'); /* Legacy iOS */
}
/* raleway-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/raleway-v28-latin-800.eot'); /* IE9 Compat Modes */
  src: url('fonts/raleway-v28-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/raleway-v28-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/raleway-v28-latin-800.woff') format('woff'), /* Modern Browsers */
       url('fonts/raleway-v28-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/raleway-v28-latin-800.svg#Raleway') format('svg'); /* Legacy iOS */
}
/* raleway-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 900;
  src: url('fonts/raleway-v28-latin-900.eot'); /* IE9 Compat Modes */
  src: url('fonts/raleway-v28-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/raleway-v28-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/raleway-v28-latin-900.woff') format('woff'), /* Modern Browsers */
       url('fonts/raleway-v28-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/raleway-v28-latin-900.svg#Raleway') format('svg'); /* Legacy iOS */
}

html, body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    margin-top: 0px;
}

footer {
    padding-bottom: 100px;
}

h1 {
    line-height: 1.15em;
}

h1, h2 {
    color: var(--primary-color);
}

h2 {
    font-size: 1.52em !important;
    font-weight: 500 !important;
}

h3 {
    font-family: Raleway !important;
    font-weight: 500 !important;
    font-size: 1.25em !important;
}

h3.widget-title span {
    line-height: 1.25em !important;
}


h1, h2, h3, h4, h5, h6 {
    line-height: 1.15em;
}

.panel h4.panel-title a {
    font-size: 1.6em;
    font-weight: normal;
    color: var(--primary-color);
}

a {
    line-height: 1.15em;
}

article a:link,
article a:visited {
    text-decoration: underline !important;
}

input[type="checkbox"],
input[type="radio"] {
    width: auto !important;
}

input[type="datetime"], input[type="datetime-local"], input[type="month"], input[type="number"], input[type="range"], input[type="search"], input[type="tel"], input[type="time"], input[type="url"], input[type="week"], input[type="text"], input[type="password"], input[type="email"], input[type="color"], input[type="date"], select, textarea {
    padding: 0.5em;
}

.main p {
    line-height: 1.4em;
}

ul#prime_nav > li > a {
    padding: 0;
    padding-left: 0.2em;
    padding-right: 1.5em;
}

ul#prime_nav > li.sf-cta-top-menu > a {
    padding: 0;
    padding-left: 0.2em;
    padding-right: 0.5em;
}

div.shariff {
    margin-top: 36px;
    padding: 1em 0px;
    border-top: 1px solid #ccc;
}

.redner-profil h3,
.referenz-titel h4 {
    color: #333;
}

.lp-blocks img {
    border-radius: 12px;
}

#access ul.sub-menu li a {
    line-height: 2.5em;
}

article.hentry .post-thumbnail-container {
    margin-bottom: 0.5em;
}

.redner-bottom ul.menu {
    margin-left: 0;
    padding: 0em 0.2em;
}

img.alignright {
    margin-bottom: 0.5em;
}

.wp-block-image img {
    border-radius: 6px;
}

figure.blocks-gallery-grid, figure.wp-block-gallery {
    margin-bottom: 1.75em;
}

figcaption,
.wp-block-image figcaption,
figcaption.wp-caption-text {
    font-size: 0.8em !important;
    font-style: normal !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    line-height: 1em !important;
    text-align: left !important;
    color: #aaa !important;
    margin-top: .5em;
}

.blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
    padding-left: 6px !important;
}

@media only screen and (max-width: 767px) {
    .wp-block-image .alignright {
        float: none;
    }
}

.related-thumbnail figure figcaption {
    margin-top: 1em !important;
}

.redner-steckbrief figcaption,
.partner-steckbrief figcaption {
    margin-bottom: 0;
    padding-left: 6px !important;
}

.anima-landing-page .main h1 {
    line-height: 1.15em;
}

.staticslider-caption-text {
    opacity: 1;
    font-size: 18px;
}

.lp-boxes-static .lp-box-title {
    font-family: 'Raleway';
}

body:not(.anima-landing-page) #site-wrapper {
    margin-top: 0px !important;
}

h4.lp-block-title {
    color: var(--primary-color);
    font-weight: 500;
    text-align: center;
}

.anima-responsive-headerimage #masthead #header-image-main-inside {
    max-height: 1400px !important;
}

#header-image-main {
    margin-top: 0px !important;
}

#header-page-title-inside {
    background-color: transparent !important;
}

.sf-cta-top-menu a span {
    background-color: var(--cta-button-secondary-backgroundcolor);
    padding: 0px 6px;
    border-radius: 3px;
    color: white;
}

.sf-cta-top-menu a:hover span {
    background-color: var(--cta-button-secondary-backgroundcolor-hovered);
}

.sf-cta-button-primary,
.sf-cta-button-secondary {
    list-style-type: none;
    margin-bottom: 6px;
    text-shadow: none !important;
}

#sf-cta-button {
    margin-top: 12px !important;
}


#sf-cta-button,
#header-sf-intro a.sf-cta-button-primary,
#header-sf-intro a.sf-cta-button-secondary,
.sf-cta-button-primary a,
.sf-cta-button-secondary a {
    display: inline-block;
    margin: 0 auto;
    background-color: var(--cta-button-backgroundcolor) !important;
    color: #ffffff;
    border-radius: 6px;
    text-align: center;
    padding: 8px 16px;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: normal !important;
}

#sf-cta-button:hover,
#header-sf-intro a.sf-cta-button-primary:hover,
#header-sf-intro a.sf-cta-button-secondary:hover,
.sf-cta-button-primary a:hover,
.sf-cta-button-secondary a:hover {
    opacity: 1;
    color: white;
    background-color: var(--cta-button-backgroundcolor-hovered) !important;
    border-bottom: 3px solid var(--cta-button-border-backgroundcolor-hovered) !important;
}

.sf-cta-button-secondary a {
    background-color: var(--cta-button-secondary-backgroundcolor) !important;
}

.sf-cta-button-secondary a:hover {
    background-color: var(--cta-button-secondary-backgroundcolor-hovered) !important;
}


.seo-page blockquote {
    display: table;
    float: none;
    clear: both;
    position: relative;
    width: auto;
    margin: 0 auto;
    padding: 0em 0em 0em 5em;
    font-style: italic;
    font-weight: 400;
    border: 1px solid #eee;
    padding: 1em 1em 1em 5em;
    border-width: 1px 0px;
}

.seo-page.headline {
    font-weight: 500;
    font-size: 2.5em;
    font-family: 'Arbutus Slab';
    line-height: 1.25em;
    margin-bottom: 0.2em;
    padding-top: 0.5em;
}

.page-template-template-blank h1,
.page-template-template-blank h2,
.page-template-template-blank h3 {
    color: var(--primary-color) !important;
}

.page-template-template-blank .wp-block-button {
    word-break: break-word;
}

.seo-page.wp-block-pullquote {
    padding-top: 0;
}

.seo-page blockquote p {
    font-size: 1em !important;
}

.seo-page blockquote cite {
    color: #333;
    font-style: normal;
    font-weight: bold;
    padding-top: 1em;
    display: block;
}

.redner-profil .entry-content,
.partner-profil .entry-content {
    display: flex;

}

.redner-profil .redner-text,
.partner-profil .partner-text {
    flex: 2;
    padding: 0em 2em;
}


.redner-steckbrief,
.partner-steckbrief {
    flex: 0;
    width: 300px;
    font-size: 0.9em;
}

.redner-steckbrief figure,
.partner-steckbrief figure {
    background-color: #eeeeee;
    max-height: 400px;
    position: relative;
    border-radius: 6px 6px 0 0;
}

.redner-steckbrief figure img,
.partner-steckbrief figure img {
    width: 100%;
    border-radius: 6px 6px 0 0;
}

.redner-steckbrief #steckbrief,
.partner-steckbrief #steckbrief {
    display: block;
    background-color: #eeeeee;
    padding: 1em;
    width: 300px;
    border-radius: 0 0 6px 6px;
}


#site-header-main,
#site-header-main.header-fixed {
    background-color: rgb(255, 255, 255) !important;
}

#header-image-main-inside {
    /*background-image: url('strauss-und-fliege-hochzeitsredner.jpg');	*/
    background-image: url('https://www.straussundfliege.de/wp-content/uploads/2021/06/freie-trauung-tegernsee-mokati-fotos-film.jpg');
    background-size: cover;
    background-position: center top 80px !important;
    -height: 40vh !important;
    background-repeat: no-repeat;
}

#header-sf-intro {
    text-align: center;
    visibility: hidden;
    position: absolute;
    top: 100px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    max-width: 960px;
}

.anima-landing-page #header-sf-intro {
    visibility: visible;
}


#header-sf-intro h2 {
    font-size: 2em !important;
    font-size: 3em !important;
    line-height: 1.15em;
    padding: 16px 3px;
    /*background-color: rgba(255,255,255,0.85);
    display: block;*/
    /*text-shadow: black 2px 2px 3px !important;*/
    color: white !important;
    font-weight: bold !important;
    font-size: 14px;
}

#header-sf-intro a {
    display: block;
    padding: 12px 12px 8px 12px !important;
    margin: 6px 6px !important;
    max-width: 250px;
}

#sf-cta-button, #header-sf-intro a.sf-cta-button-primary, #header-sf-intro a.sf-cta-button-secondary, .sf-cta-button-primary a, .sf-cta-button-secondary a {
    font-size: 14px;
}

.anima-landing-page #header-image-main-inside {
    height: 100vh !important;
}

@media only screen and (max-width: 767px) {
    #header-image-main-inside {
        background-position: center top 40px !important;
        background-size: 550px;
    }

    #header-sf-intro {
        top: 125px;
    }

    #header-sf-intro h2 {
        font-size: 2em !important;
    }

    .anima-landing-page #header-image-main-inside {
        height: 470px !important;
    }
}


.lp-text {
    background-repeat: no-repeat;

}

#lp-text-zero,
#lp-text-two,
#lp-text-three,
#lp-text-four,
#lp-text-six {
    height: 400px;
}

#lp-text-zero h2.lp-text-title,
#lp-text-two h2.lp-text-title,
#lp-text-three h2.lp-text-title,
#lp-text-four h2.lp-text-title,
#lp-text-six h2.lp-text-title {
    display: none;
}

.anima-over-menu .staticslider-caption-container {
    padding: 0 !important;
}

.header-image {
    display: none;
}

#site-description {
    color: #111;
    font-weight: 500;
    font-size: 0.7em;
}

/* Call to Action fixiert */

a.cta-fixed {
    display: none;
    text-align: center;
    border: 3px solid var(--cta-button-bordercolor);
}

a.cta-fixed:hover {
    opacity: 1;
    color: var(--primary-color);
    background-color: white;
    border: 3px solid var(--primary-color);
}

body:not(.page-id-1699) a.cta-fixed {
    display: inline-block;
    position: fixed;
    left: 3%;
    bottom: 3%;
    padding: 8px 16px;
    border-radius: 100px;
    border: 3px solid var(--cta-button-secondary-backgroundcolor);
    background-color: var(--cta-button-secondary-backgroundcolor);
    border-color: var(--cta-button-secondary-backgroundcolor);
    color: white;
    opacity: 0.9;
    z-index: 1000;
}

body:not(.page-id-1699) a.cta-fixed:hover {
    background-color: var(--cta-button-secondary-backgroundcolor-hovered);
}

body.page-id-1699 a.cta-fixed {
    display: none !important;
}


.wpcf7 input,
.wpcf7 textarea {
    width: 100%;
    max-width: 600px;
}

.wpcf7 .narrow {
    width: 100%;
    max-width: 180px;
}

.wpcf7 .medium {
    width: 100%;
    max-width: 350px;
}

#access li.menu-main-search {
    padding: 0;
}

a#logo > img {
    max-height: 80%;
}

body:not(.anima-landing-page) #container .main {
    padding-top: 120px;
}

@media only screen and (max-width: 1300px) {
    #site-text {
        display: none;
    }

    ul#prime_nav > li > a {
        padding: 0;
        padding-left: 0.2em;
        padding-right: 1.3em;
    }

    ul#prime_nav > li.sf-cta-top-menu > a {
        padding-right: 1em;
    }

}

@media only screen and (max-width: 420px) {
    #site-text {
        display: none !important;
    }

    #header-image-main {
        display: normal !important;
    }

    #header-sf-intro {
        margin-top: 2em;
    }

}


@media (min-width: 1152px) {
    body:not(.anima-landing-page) .anima-fixed-menu #header-image-main {
        margin-top: 0px;
    }
}


@media only screen and (max-width: 1140px) {
    #site-header-main {
        position: fixed !important;
        background-color: white !important;
    }

    #header-sf-intro {
        max-width: none;
        margin-left: 10%;
        margin-right: 10%;
    }
}

@media only screen and (max-width: 1060px) {

    #site-text {
        display: block;
    }

    h2, h2.lp-text-title, h2.staticslider-caption-title {
        font-size: 1.8em !important;
        line-height: 1.15em !important;
    }

    h4.lp-block-title {
        text-align: center;
    }

    body {
        font-size: .90em;
    }

    .anima-magazine-three .cryout #content-masonry article.hentry,
    .anima-magazine-two .cryout #content-masonry article.hentry {
        width: 94%;
    }

    .cryout #site-title a span {
        padding-right: 0;
    }

    .cryout #footer-inside > * {
        display: table;
        float: none;
        text-align: center;
        margin: 1em auto;
        width: 100%;
    }

    .cryout #footer-inside #toTop {
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        width: 90%;
        display: block;
        margin: 0 auto;
    }

    .cryout #footer-inside nav {
        width: auto;
    }

    .cryout #nav-toggle {
        display: block;
    }

    .cryout #site-header-main-inside {
        display: block;
    }

    .cryout #branding {
        margin-right: 3em;
    }

    #masthead.cryout #access {
        display: none;
    }

    .cryout #sheader-container {
        margin-left: 0;
        margin-right: 3em;
    }

}


@media (max-width: 600px) {
    .redner-profil .entry-content,
    .partner-profil .entry-content {
        display: inline;
    }

    .wp-block-spacer {
        max-height: 800px;
    }

    bak.cta-fixed {
        width: 75%;
        left: 50%;
        margin-left: -37.5%;
    }

    .entry-title {
        font-size: 2em !important;
    }

    .cryout #content-masonry article.hentry {
        width: 44% !important;
    }

    .cryout #content-masonry article.hentry:nth-child(3n+1) {
        clear: unset;
    }

    .cryout #content-masonry article.hentry:nth-child(3n+1) {
        clear: unset;
    }

    .cryout #content-masonry article.hentry:nth-child(2n+1) {
        clear: both;
    }

    #lp-text-zero,
    #lp-text-two,
    #lp-text-three,
    #lp-text-four,
    #lp-text-six {
        height: 350px;
    }

}

@media (max-width: 415px) {
    .cryout #content-masonry article.hentry {
        width: 94% !important;
    }

    #site-header-main,
    #sheader-container,
    #nav-toggle,
    #branding,
    .identity {
        height: 90px !important;
        line-height: 90px !important;
    }

    .searchform input[type="search"],
    .searchform .searchsubmit {
        height: 2.6em;
    }

}

@media (max-width: 768px) {
    .anima-cropped-headerimage #header-image-main #header-image-main-inside {
        height: 150px !important;
    }
}


@media (max-width: 1024px) {

    #primary {
        width: 100% !important;
        padding-left: 2em;
        padding-right: 2em;
    }

    #access ul li a {
        font-size: 80% !important;
    }

    .anima-magazine-three .cryout #content-masonry article.hentry {
        width: 27.33333333%;
    }

}

.staticslider-caption-container .staticslider-caption {
    width: 90%;
    max-width: 1000px;
}

.staticslider-caption-text p,
.lp-text p {
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 1em;
}

#masthead .wp-custom-header {
    text-align: center;
}

#masthead video {
    max-height: 300px;
}

#masthead .header-image {
    background-position: 0% 60%;
    background-attachment: unset;
}

#footer a, #colophon a {
    color: #ffffff !important;
}


.sf-lp-referenz-bild {
    height: 250px !important;
    border-radius: 6px;
    overflow: hidden;
}

.sf-lp-referenz-bild img {
    width: 100%;
}

.sf-lp-referenz-bild:hover {
    border-bottom: 12px solid var(--primary-color);
}

.sf-lp-referenz-bild:hover img {
    -webkit-transition: .3s all ease-out;
    transition: .3s all ease-out;
}

.sf-lp-referenz-bild:hover img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);;
}

.lp-boxes-animated .lp-box-image {
    border-radius: 0;
}

.lp-box-content {
    text-align: center;
}

.redner-top ul li {
    display: inline;
    margin-right: 1em;
}

.redner-top ul li {
    display: inline;
    margin-right: 1em;
}

.redner-top ul li.sf-cta-button-primary {
    margin: 0 auto;
    max-width: 350px;
    display: inherit;
}

.redner-top ul li.sf-cta-button-primary a {
    padding: 8px 16px;
}

.redner-steckbrief ul,
.partner-steckbrief ul {
    list-style-type: circle;
    list-style-position: outside;
    margin-left: 8px;
}

.redner-top ul li.current-menu-item a {
    font-weight: bold;
    color: #666666;
}

#redner-locations {
    font-weight: bold;
    margin-bottom: 12px;
}

ul#redner-referenzen {
    margin: 0;
    list-style-type: none;
}

ul#redner-referenzen li {
    padding-bottom: 6px;
    display: block;
    border-top: 1px solid var(--secondary-color);
}

ul#redner-referenzen li:first-child {
    border-top: none;
}

ul#redner-referenzen .referenz-text {
    flex: 3;
}

ul#redner-referenzen .referenz-bild {
    float: right;
    display: inline-block;
}

ul#redner-referenzen .referenz-inhalt:after {
    content: '';
    display: block;
    height: 0;
    clear: both;
}

aside {
    margin-top: 32px;
}

.sidey {
    padding-top: 0;
}


#primary.redner-left-sidebar {
    padding-left: 2em;
    padding-right: 0;
}

#primary.redner-left-sidebar h3,
#primary.redner-steckbrief h3,
#primary.partner-steckbrief h3 {
    line-height: 1.2em;
    margin-bottom: 12px;
}

#primary .menu {
    margin-bottom: 1em;
}

/* Gutenberg Text Colors */
.has-primary-color {
    color: #6592a7;
}

.has-accent-color
color: #f0f0f0

;
}

/* Gutenberg Background Colors */
.has-primary-background-color {
    background-color: #6592a7;
}

.has-accent-background-color {
    background-color: #f0f0f0;
}

.menu-sidebar-menue-container a {
    display: block;
}


h3.lp-block-title {
    color: var(--primary-color);
    font-weight: 500;
    text-align: center;
}

h3.lp-box-title {
    font-weight: bold !important;
}

body.safari, .safari #masthead .header-image, .safari .lp-text {
    background-attachment: fixed;
}

#container {
    max-width: 1450px;
    margin: 0 auto;
}


/* instagrid */

.wp-block-cover, .wp-block-cover-image {
    aspect-ratio: 1 / 1;
    min-height: auto !important;
    justify-content: flex-start;
    align-items: flex-end;
}

.wp-block-cover p.has-text-align-center.has-large-font-size {
    display: block;
    padding: 0;
    text-align: left;
    font-size: 12px !important;
    color: #fff;
    margin: 0;
}

@media (max-width: 781px) {
    .wp-block-columns.mobile-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: var(--wp--style--block-gap, 1em);

    }

    .wp-block-columns.mobile-grid:not(.is-not-stacked-on-mobile) > .wp-block-column:nth-child(2n) {
        margin: 0;
    }

    .wp-block-columns.mobile-grid:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:only-child) {
        margin: 0;
    }

    .wp-block-columns.mobile-grid:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex-basis: 0;
        flex-grow: 1;
    }

    .wp-block-cover, .wp-block-cover-image {
        aspect-ratio: 1 / 1;
        min-height: auto !important;
    }

    .wp-block-cover[data-alt]:before {
        display: none;
    }
}

.main ul.regionen-auswahl {
    margin: 0;
}

.regionen-auswahl a {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 15px;
    display: inline-block;
    margin-bottom: 1em;
}

.regionen-auswahl a:hover {
    background: var(--cta-button-border-backgroundcolor-hovered);
    color: #fff;
}

.referenz-filter {
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 0 0 20px;
}

.referenz-filter form:first-child {
    flex: 1 1 auto;
}

.referenz-filter select {
    width: 100%;
}

.referenz-filter button {
    flex: 0 0 auto;
    cursor: pointer;
}


.post-type-archive-referenz .responsive-featured-image.square-image picture {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    max-height: 350px;
    margin: 0 auto;
}

.post-continue-container-extend {
    display: flex;
    gap: 1rem;
}

.post-continue-container-extend a,
.post-continue-container-extend a:link,
.post-continue-container-extend a:visited {
    text-decoration: none !important;
}

@media (min-width: 782px) {
    .wp-block-columns.teaser-row {
        gap: 20px;
    }
}

