/*
Theme Name:		STS
Theme URI: 		http://xeit.ch
Version: 		1.048
Author: 		Xeit GmbH
Author URI: 	http://xeit.ch
*/

/* import CSS for Modal (Tierhaltungsrechner) Added by GF 07/24 */
@import url("modal-thr.css");


html, body {
    overflow-x: hidden;
}


body {
    --wp--preset--font-size--medium: 14px;
    --logo-width: 10em;
    --entry-gap: 3em;
    --column-gap: 1.5em;
    --body-padding-top: 6.5em;
    padding-top: var(--body-padding-top) !important;
}

@media (min-width: 600px) {
    body {
        --wp--preset--font-size--medium: 15px;
    }
}

@media (min-width: 1000px) {
    body {
        --wp--preset--font-size--medium: 15px;
        --entry-gap: 8em;
        --column-gap: 2em;
        --body-padding-top: 6.5em;
    }
}

@media (min-width: 1200px) {
    body {
        --wp--preset--font-size--medium: 16px;
        --entry-gap: 8em;
        --column-gap: 3em;
    }
}

@media (min-width: 1400px) {
    body {
        --wp--preset--font-size--medium: 17px;
        --entry-gap: 8em;
        --column-gap: 3em;
    }
}

@media (min-width: 1600px) {
    body {
        --wp--preset--font-size--medium: 18px;
        --logo-width: 14.5em;
        --entry-gap: 8em;
    }
}

@media (min-width: 1900px) {
    body {
        --wp--preset--font-size--medium: 20px;
        --logo-width: 14.5em;
        --entry-gap: 8em;
    }
}

@media (max-width: 450px) {
    h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 350px) {
    h1 {
        font-size: 2.25em;
    }
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus:focus-visible {
    outline: 3px solid var(--wp--preset--color--secondary) !important;
    outline-offset: 2px;
}

.flickity-enabled.is-draggable:focus {
    outline: none !important
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99998;
    width: 100%;
}

.admin-bar header {
    top: 32px;
}
.admin-bar .anchor-bar.is-sticky {
    top: 124px !important;
}
.admin-bar.is-scrolling-up .anchor-bar.is-sticky {
    top: 165px !important;
}

header > .wp-block-group.has-background {
    padding-top: 1em !important;
    padding-bottom: 1em !important;
}

    .is-scrolling.is-scrolling-down header > .wp-block-group.has-background {
        padding-top: 0.5em !important;
        padding-bottom: 0.5em !important;
    }

    @media (min-width: 900px) {
        header > .wp-block-group.has-background {
            padding-bottom: 0 !important; /* set on menu ul li a */
        }

        .is-scrolling.is-scrolling-down header > .wp-block-group.has-background {
            padding-top: 0 !important;
            padding-bottom: 0 !important;
        }
    }

    header .wp-block-site-logo,
    header .logo {
        height: 4.5em;
        align-self: flex-start;
        transition: all 0.2s ease-out;
        margin-top: 0.2em;
    }

        .is-scrolling.is-scrolling-down header .wp-block-site-logo,
        .is-scrolling.is-scrolling-down header .logo {
            align-self: center;
            margin-top: 0;
        }

        @media (min-width. 850px) {
            .is-scrolling.is-scrolling-down header .wp-block-site-logo,
            .is-scrolling.is-scrolling-down header .logo {
                height: 2.75em;
            }
        }


    header .wp-block-site-logo a,
    header .logo a {
        display: block;
        width: 100%;
        height: 100%;
    }

    header .wp-block-site-logo img,
    header .logo img {
        max-width: 11em !important;
        width: auto;
        height: 100%;
        transition: all 0.2s ease-out;
        object-fit: contain;
        display: block;
    }

        @media (min-width: 400px) {
            header .wp-block-site-logo img,
            header .logo img {
                max-width: 13em !important;
            }
        }

        @media (min-width: 1000px) {
            header .wp-block-site-logo img,
            header .logo img {
                max-width: 17em !important;
            }
        }

        .is-scrolling.is-scrolling-down header .wp-block-site-logo img,
        .is-scrolling.is-scrolling-down header .logo img {
            max-width: 11em !important;
            width: auto;
            height: 100%;
        }


    header .wp-block-social-links {
        gap: 0.25em !important;
        font-size: 1.6em;
    }

        @media (max-width: 1300px) {
            header .wp-block-social-links {
                display: none;
            }

            header .wp-block-button .wp-block-button__link {
                padding-left: 1em;
                padding-right: 1em;
            }
        }

        @media (max-width: 900px) {
            header .wp-block-buttons {
                display: none;
            }
        }


    header .menu-holder {
        gap: 0 !important;
    }

    header .meta-holder {
        transition: all 0.2s ease-out;
        padding-bottom: 0;
        height: auto;
        font-size: 0.9em;
        line-height: 120%;
    }

        @media (max-width: 950px) {
            header .meta-holder {
                gap: 1.2em !important
            }

            header .meta-holder > * {
                gap: 0.75em !important
            }
        }

        @media (max-width: 950px) {
            header .meta-holder {
                gap: 0.5em !important
            }
        }

        @media (max-width: 850px) {
            .meta-holder .wp-block-buttons {
                display: none;
            }
        }

        @media (max-width: 600px) {
            .meta-holder .wp-block-social-links {
                display: none;
            }
        }

    header .nav-holder {
        transition: all 0.2s ease-out;
    }


    .is-scrolling.is-scrolling-down header .meta-holder {
        /* margin-top: -2em; */
        height: 0;
        /* opacity: 0; */
        transform: translateY(-5em);
        padding-bottom: 0;

    }

    header .meta-holder nav {
        color: #9A9A9A;
    }

        @media (max-width: 650px) {
            /* header .meta-holder nav {
                display: none;
            } */
            header .meta-holder nav {
                gap: 0.15em !important;
            }
        }
    

    .is-scrolling header {
        box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    }


    header .nav-holder nav > ul > li > a {
        font-weight: 600;
    }

    @media (min-width: 1200px) {
        header .nav-holder nav > ul > li > a {
            font-size: 1.1em;
            line-height: 120%;
        }
    }

main {
    margin-block-start: 0 !important
}

/* .frontend .wp-block-cover {
    overflow: hidden;
}
 */

@media (min-width: 500px) {
    .sts-adoptionen-grid-container .section-filters ul.taxonomy-list.style-buttons {
        justify-content: flex-start !important;
    }
    .sts-adoptionen-grid-container .section-filters ul.taxonomy-list.style-buttons li {
        margin: 10px !important;
    }
}

.wp-block-cover {
    overflow: visible;
}

.frontend .entry-content > .wp-block-cover:first-child {
    overflow: hidden;
}

/* added gf */
.exhibit-template-default .wp-block-cover {
    position: relative;
}
.exhibit-template-default .wp-block-cover:first-child .wp-block-cover__inner-container {
    transform: none !important;
}
.link-back a {
    background: url(assets/images/arrow-left.svg) no-repeat center left !important;
}
.wp-block-cover .taxonomy-category {
    display: inline-block;
    position: absolute;
    border-radius: 99px;
    top: 1.5em;
    right: 1.5em;
    background-color: var(--wp--preset--color--primary) !important
}
.wp-block-cover .taxonomy-category div {
    display: inline-block;
    padding: 0.4em 1.2em;
    font-weight: bold;
    color: #fff;
}
/* .frontend .entry-content > .wp-block-cover:first-child img.wp-block-cover__image-background {
    transform: scale(1.1);
    transition: all 3s ease-in-out;
}

.frontend .entry-content > .wp-block-cover.is-in-viewport img.wp-block-cover__image-background {
    transform: scale(1);
} */



.wp-block-cover h2 {
    font-size: 2.75em !important;
    line-height: 100%;
    font-weight: bold;
}

    @media (min-width: 500px) {
        .wp-block-cover h2 {
            font-size: 3em !important;
            line-height: 100%;
        }
    }

    @media (min-width: 700px) {
        .wp-block-cover h2 {
            font-size: 3.5em !important;
            line-height: 100%;
        }
    }

    @media (min-width: 1000px) {
        .wp-block-cover h2 {
            font-size: 4em !important;
            line-height: 100%;
        }
    }

    @media (min-width: 1200px) {
        .wp-block-cover h2 {
            font-size: 4.5em !important;
            line-height: 100%;
        }
    }

.entry-content > .wp-block-cover:first-child {
    height: calc(80vh - var(--body-padding-top)) !important;
    min-height: calc(80vh - var(--body-padding-top)) !important;
}

.home .entry-content > .wp-block-cover:first-child {
    height: calc(100vh - var(--body-padding-top)) !important;
    min-height: calc(100vh - var(--body-padding-top)) !important;
}

    .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container {
        transform: translateY(-3em);
    }

.entry-content > .wp-block-cover + .wp-block-group.has-background {
    margin-block-start: 0
}


* > *:first-child {
    margin-top: 0;
    margin-block-start: 0;
}

* > *:last-child {
    margin-bottom: 0;
    margin-block-end: 0;
}


h2 + h3 {
    margin-block-start: 0.25em
}

    @media (max-width: 500px) {
        h2 + h3 {
            margin-block-start: 0.25em
        }
    }


h2 + p.has-secondary-color,
h3 + p.has-secondary-color {
    margin-block-start: -1.5em
}

p.has-secondary-color + .wp-block-heading {
    margin-block-start: 0
}


.wp-block-media-text.is-style-shadow {
    box-shadow: 0 0.6em 1.5em rgba(0,0,0,0.2);
}

.wp-block-media-text.is-style-shadow.is-contact {
    max-width: 45em !important;
}

.wp-block-media-text.is-style-stacked,
.wp-block-media-text.is-style-stacked-shadow {
    display: block;
    box-shadow: none
}

    .wp-block-media-text.is-style-shadow .wp-block-media-text__content {
        padding: 2em 2.5em !important;
    }

    .wp-block-media-text.is-style-stacked .wp-block-media-text__content {
        padding: 0.8em 0;
    }

    .wp-block-media-text.is-style-stacked-shadow .wp-block-media-text__content {
        box-shadow: 0 0.6em 1.5em rgba(0,0,0,0.2);
        padding: 1.25em 1.75em;
        margin: -5em 1em 0 1em;
        z-index: 9;
        position: relative;
        background: #fff;
    }

        @media (min-width: 800px) {
            .wp-block-media-text.is-style-stacked-shadow .wp-block-media-text__content {
                margin: -7em 2em 0 2em;
                padding: 2em 2.5em;
            }
        }

    .wp-block-media-text.is-style-stacked-shadow.no-inset .wp-block-media-text__content {
        margin: 0 !important;
    }

    .wp-block-media-text.is-style-stacked figure img,
    .wp-block-media-text.is-style-stacked-shadow figure img {
        aspect-ratio: 16 / 9;
        object-fit: cover;
    }


.entry-content .wp-block-group.is-layout-flex {
    gap: var(--column-gap);
    /* align-items: flex-start; */
}


.wp-block-group.is-layout-flex > .wp-block-media-text.is-style-stacked,
.wp-block-group.is-layout-flex > .wp-block-media-text.is-style-stacked-shadow,
.wp-block-group.is-layout-flex > .wp-block-file-wrapper,
.entry-content .wp-block-group.is-layout-flex > .wp-block-group.is-style-shadow-box {
    width: 100% !important;
}

@media (min-width: 500px) {
    .wp-block-group.is-layout-flex > .wp-block-media-text.is-style-stacked,
    .wp-block-group.is-layout-flex > .wp-block-media-text.is-style-stacked-shadow,
    .wp-block-group.is-layout-flex > .wp-block-file-wrapper,
    .entry-content .wp-block-group.is-layout-flex > .wp-block-group.is-style-shadow-box {
        width: calc(50% - (var(--column-gap)*0.5)) !important;
    }
}

@media (min-width: 900px) {
    .wp-block-group.is-layout-flex > .wp-block-media-text.is-style-stacked,
    .wp-block-group.is-layout-flex > .wp-block-file-wrapper,
    .entry-content .wp-block-group.is-layout-flex.has-3-cols > .wp-block-group.is-style-shadow-box {
        width: calc(33.33% - (var(--column-gap)*0.67)) !important;
    }
}

/* added GF */
.entry-content .wp-block-group.is-layout-flex > .wp-block-group.is-style-shadow-box.width100,
.wp-block-group.is-layout-flex.width100 > .wp-block-file-wrapper {
    width: 100% !important;
}
.wp-block-group.dl-50.is-layout-flex > .wp-block-file-wrapper {
    width: calc(50% - (var(--column-gap)*0.5)) !important;
}

.wp-block-group.is-layout-flex .wp-block-group.is-style-shadow-box {
    width: 100%;
}
:where(.wp-block-group.has-background) {
    padding: 1.25em 1.75em;
}

.entry-content > .wp-block-group.has-background {
    padding: 1em;
}

    @media (min-width: 600px) {
        :where(.wp-block-group.has-background) {
            padding: 2em 2.5em;
        }

        .entry-content > .wp-block-group.has-background {
            padding: 2em 2.5em;
        }

    }

.is-style-shadow-box {
    box-shadow: 0 0.6em 1.5em rgba(0,0,0,0.2);
    position: relative;
}

.wp-block-cover .wp-block-cover__inner-container {
    margin: 0 auto !important;
    width: var(--wp--style--global--content-size) !important
}

.wp-block-cover.is-position-bottom-left .wp-block-cover__inner-container > .wp-block-group,
.wp-block-cover.is-position-bottom-center .wp-block-cover__inner-container > .wp-block-group,
.wp-block-cover.is-position-bottom-right .wp-block-cover__inner-container > .wp-block-group {
    width: 80%;
    transform: translateY(6em);
}

    @media (min-width: 600px) {
        .wp-block-cover.is-position-bottom-left .wp-block-cover__inner-container > .wp-block-group,
        .wp-block-cover.is-position-bottom-center .wp-block-cover__inner-container > .wp-block-group,
        .wp-block-cover.is-position-bottom-right .wp-block-cover__inner-container > .wp-block-group {
            width: 50%;
        }
    }

    @media (min-width: 1000px) {
        .wp-block-cover.is-position-bottom-left .wp-block-cover__inner-container > .wp-block-group,
        .wp-block-cover.is-position-bottom-center .wp-block-cover__inner-container > .wp-block-group,
        .wp-block-cover.is-position-bottom-right .wp-block-cover__inner-container > .wp-block-group {
            width: 33.33%;
        }
    }

.wp-block-cover.is-position-bottom-center .wp-block-cover__inner-container > .wp-block-group {
    margin-left: auto;
    margin-right: auto;
}

.wp-block-cover.is-position-bottom-right .wp-block-cover__inner-container > .wp-block-group {
    margin-left: auto;
}

.wp-block-cover.is-position-bottom-left,
.wp-block-cover.is-position-bottom-center,
.wp-block-cover.is-position-bottom-right {
    margin-block-end: 7em !important
}


@media (max-width: 600px) {
    .wp-block-cover.is-position-bottom-left,
    .wp-block-cover.is-position-bottom-center,
    .wp-block-cover.is-position-bottom-right {
        margin-block-end: 0 !important;
        padding-top: 0 !important
    }

    .wp-block-cover.is-position-bottom-left img.wp-block-cover__image-background,
    .wp-block-cover.is-position-bottom-center img.wp-block-cover__image-background,
    .wp-block-cover.is-position-bottom-right img.wp-block-cover__image-background {
        height: 70vw;
        min-height: 70vw;
    }

    .wp-block-cover.is-position-bottom-left .wp-block-cover__inner-container,
    .wp-block-cover.is-position-bottom-center .wp-block-cover__inner-container,
    .wp-block-cover.is-position-bottom-right .wp-block-cover__inner-container {
        position: relative;
        margin-top: calc(70vw - 5em) !important;
    }

    .wp-block-cover.is-position-bottom-left .wp-block-cover__inner-container > .wp-block-group,
    .wp-block-cover.is-position-bottom-center .wp-block-cover__inner-container > .wp-block-group,
    .wp-block-cover.is-position-bottom-right .wp-block-cover__inner-container > .wp-block-group {
        width: 100%;
        transform: translateY(0) !important;
    }
}


/* Quote */
.is-style-quote-image img {
    aspect-ratio: 1 / 1;
    width: 6em;
    height: 6em;
    object-fit: cover;
    border-radius: 9999px;
}

    @media (min-width: 1200px) {
        .is-style-quote-image img {
            width: 8em;
            height: 8em;
        }
    }

.frontend .is-style-quote-image img {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%) translateY(-50%);
}

blockquote.wp-block-quote {
    border-left: 0;
    padding: 0;
    font-style: italic;
    position: relative;
    margin-block-start: 2em;
}

    footer blockquote.wp-block-quote {
        font-style: normal;
        margin-top: 2.25em !important;
    }

    blockquote.wp-block-quote::before {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        top: -2.25em;
        width: 2.5em;
        height: 1.5em;
        background: url(assets/images/quote.svg) no-repeat center;
        background-size: contain;
    }

    footer blockquote.wp-block-quote::before {
        background-image: url(assets/images/quote-orange.svg)
    }

    .is-style-quote-image + blockquote.wp-block-quote {
        margin-block-start: 3.5em;
    }

    blockquote.wp-block-quote cite {
        font-size: 0.8em;
        line-height: 120%;
    }

    blockquote.wp-block-quote cite > strong:first-child {
        font-size: 1.375em;
        line-height: 120%;
    }



/* Media Text horizontal */
.entry-content > .wp-block-media-text {
    position: relative;
}

    .entry-content > .wp-block-media-text:not(.is-style-shadow):not(.is-style-stacked):not(.is-style-stacked-shadow) .wp-block-media-text__content {
        padding: 0 !important;
        position: relative;
        z-index: 9;
        margin-right: calc(var(--column-gap) / 2);
        margin-left: calc(var(--column-gap) / 2);
        margin-top: -7em;
    }

        @media (min-width: 601px) {
            .entry-content > .wp-block-media-text:not(.is-style-shadow):not(.is-style-stacked):not(.is-style-stacked-shadow) .wp-block-media-text__content {
                margin-right: 2.5em;
                margin-top: 0;
            }
        }

    .entry-content > .wp-block-media-text:not(.is-style-shadow):not(.is-style-stacked):not(.is-style-stacked-shadow) .wp-block-media-text__media {
        z-index: 0;
        width: calc(100% + 10em);
        transform: translateX(-5em);
    }

    .frontend .entry-content > .wp-block-media-text:not(.is-style-shadow):not(.is-style-stacked):not(.is-style-stacked-shadow) .wp-block-media-text__media {
        transform: translateX(-15em);
        transition: all 1s ease-out;
        opacity: 0;
    }

    .frontend .entry-content > .wp-block-media-text:not(.is-style-shadow):not(.is-style-stacked):not(.is-style-stacked-shadow).is-in-viewport .wp-block-media-text__media {
        transform: translateX(-5em);
        opacity: 1
    }

    .frontend .entry-content > .wp-block-media-text:not(.is-style-shadow):not(.is-style-stacked):not(.is-style-stacked-shadow) .wp-block-media-text__content {
        transform: translateX(5em);
        transition: all 1s ease-out;
        opacity: 0;
    }

    .frontend .entry-content > .wp-block-media-text:not(.is-style-shadow):not(.is-style-stacked):not(.is-style-stacked-shadow).is-in-viewport .wp-block-media-text__content {
        transform: translateX(0);
        opacity: 1;
    }

    @media (min-width: 1600px) {
        .entry-content > .wp-block-media-text:not(.is-style-shadow):not(.is-style-stacked):not(.is-style-stacked-shadow) .wp-block-media-text__content {
            margin-right: 200px;
            margin-left: calc(var(--column-gap) / 2)
        }
    }

    .entry-content > .wp-block-media-text.is-vertically-aligned-top .wp-block-media-text__content {
        padding-top: 2.5em !important;
    }


/* Query */
.wp-block-query .wp-block-post-template.is-flex-container {
        gap: var(--column-gap);
}

.wp-block-query.is-style-slider ul {
    grid: none !important
}

    @media (max-width: 1600px) {
        .is-style-slider .flickity-enabled {
            margin-left: 2em;
            margin-right: 2em;
        }
    }

    .wp-block-query.is-style-slider .flickity-viewport {
        width: 100%;
    }

    .wp-block-query.is-style-slider .flickity-slider {
        width: 100%;
    }

    .wp-block-query.is-style-slider .flickity-slider > * {
        box-sizing: border-box;
        width: 100%;
        padding: 0;
        margin: 0 calc(var(--column-gap) / 2) !important
    }

        .wp-block-query.is-style-slider .flickity-slider > li::before,
        .wp-block-query li.wp-block-post::before {
            display: none;
        }


        @media (min-width: 500px) {
            .wp-block-query.is-style-slider .flickity-slider > * {
                width: calc(50% - var(--column-gap) * 0.5);
            }
        }

        @media (min-width: 1000px) {
            .wp-block-query.is-style-slider .flickity-slider > * {
                width: calc(33.33% - var(--column-gap) * 0.667);
            }
        }


.wp-block-query .wp-block-post-template.is-flex-container > li {
    width: 100% !important;
    padding: 0;
}

@media (min-width: 500px) {
    .wp-block-query .wp-block-post-template.is-flex-container > li {
        width: calc(50% - (var(--column-gap)*0.5)) !important;
    }
}

@media (min-width: 900px) {
    .wp-block-query .wp-block-post-template.is-flex-container > li {
        width: calc(33.33% - (var(--column-gap)*0.67)) !important;
    }
}


    .wp-block-query .wp-block-post-template .wp-block-post-featured-image img {
        aspect-ratio: 16 / 9;
        object-fit: cover;
        object-position: center;
    }


    .wp-block-query .wp-block-post-template .wp-block-post-title {
        font-weight: bold;
    }

        .wp-block-query .wp-block-post-template .wp-block-post-title a {
            text-decoration: none;
        }

    .wp-block-query .wp-block-post-template .wp-block-post-title + .wp-block-post-date {
        margin-top: -1.2em;
    }

    .wp-block-query .wp-block-post-template li {
        padding-bottom: 4em !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: relative;
        margin-top: 0.8em !important;
    }

    .wp-block-query .wp-block-post-template li.type-event {
        padding-bottom: 0 !important;
        //min-height: 100%;
        display: flex;
    }

    .wp-block-post-excerpt__more-text {
        position: absolute;
        bottom: 0;
    }

    .wp-block-post-excerpt__more-text a {
        display: inline-block;
        background-color: var(--wp--preset--color--primary);
        border-radius: 999px;
        border-color: var(--wp--preset--color--primary);
        border-width: 0.12em;
        border-style: solid;
        color: var(--wp--preset--color--background) !important;
        text-decoration: none;
        font-family: var(--wp--preset--font-family--ui);
        font-size: var(--wp--preset--font-size--medium);
        font-weight: 700;
        padding-top: 0.33em;
        padding-right: 2em;
        padding-bottom: 0.33em;
        padding-left: 2em;
    }

    .wp-block-query .taxonomy-category:first-child,
    .wp-block-query figure:first-child + .taxonomy-category {
        display: inline-block;
        position: absolute;
        border-radius: 99px;
        top: 0.5em;
        right: 0.5em;
    }

        .wp-block-query .wp-block-post-terms * {
            color: inherit;
            text-decoration: none;
            display: none;
        }


        .wp-block-query .wp-block-post-terms:first-child *,
        .wp-block-query figure:first-child + .wp-block-post-terms * {
            color: inherit;
            text-decoration: none;
            display: none;
            padding: 0.4em 1.2em;
        }

        .wp-block-query .wp-block-post-terms *:first-child {
            display: inline-block;
        }

        .wp-block-query .wp-block-post-terms:first-child *:first-child,
        .wp-block-query figure:first-child + .wp-block-post-terms *:first-child {
            display: inline-block;
        }
        .wp-block-post-template-is-layout-grid .wp-block-group.is-style-shadow-box {}


/* Accordion */
.wp-block-columns.is-style-accordion {
    display: block;
    background: #fff;
    padding: 0;

	box-sizing: border-box;
}

    .wp-block-columns.is-style-accordion .wp-block-column {
		box-sizing: border-box;
        width: 100%;
        padding: 0.75em 3em 0.75em 1.5em !important;
        margin: 0 !important;
    }

        @media (min-width: 800px) {
            .wp-block-columns.is-style-accordion .wp-block-column {
                padding: 0.75em 3em 0.75em 1.5em !important;
            }
            .petition .wp-block-columns.is-style-accordion .wp-block-column::nth-child(1) {
              padding: 0.75em 3em 0.75em 1.5em !important;
            }
        }

    .wp-block-columns.is-style-accordion .wp-block-column:nth-child(1) {
        cursor: pointer;
        position: relative;
        box-shadow: 0 0.6em 1.5em rgba(0,0,0,0.2);
    }

		.wp-block-columns.is-style-accordion .wp-block-column:nth-child(1) h2 {
			font-size: 1.5em !important;
			line-height: 100% !important;
		}


        .wp-block-columns.is-style-accordion .wp-block-column:nth-child(1)::before {
            content: "";
            display: block;
            width: 1.25em;
            height: 1.25em;
            background: url(assets/images/accordion-open.svg) no-repeat center;
            background-size: 100% auto;
            position: absolute;
            right: 1em;
            top: 50%;
            transform: translateY(-50%);
            transition: all 0.2s ease-in-out;
        }

            @media (min-width: 800px) {
                .wp-block-columns.is-style-accordion .wp-block-column:nth-child(1)::before {
                    right: 1em;
                }
            }

        .wp-block-columns.is-style-accordion.is-open .wp-block-column:nth-child(1)::before {
            transform: translateY(-50%) rotate(135deg);
        }

		.wp-block-columns.is-style-accordion .wp-block-column:nth-child(1) > *:first-child {
			margin-top: 0 !important;
			margin-bottom: 0 !important
		}

    .wp-block-columns.is-style-accordion .wp-block-column:nth-child(2) {
        box-shadow: 0 0.6em 1.5em rgba(0,0,0,0.2);
        padding: 0 1.5em !important;
        background: #F5F5F5;
        margin: 0 auto !important;
        width: calc(100% - 2em);
        border-radius: 0 0 1em 1em;
        overflow: hidden;
    }

        @media (min-width: 800px) {
            .wp-block-columns.is-style-accordion .wp-block-column:nth-child(2) {
                padding: 0 2.5em !important;
                width: calc(100% - 4em);
                border-radius: 0 0 2em 2em;
            }
        }

	.frontend .wp-block-columns.is-style-accordion .wp-block-column:nth-child(2) {
        display: none;
    }

    .wp-block-columns.is-style-accordion .wp-block-column:nth-child(2) > *:first-child {
        margin-top: 1.5em !important;
    }

    .wp-block-columns.is-style-accordion .wp-block-column:nth-child(2) > *:last-child {
        margin-bottom: 1.5em !important;
    }

    .wp-block-columns.is-style-accordion+.wp-block-columns.is-style-accordion {
        margin-top: 1.25em;
    }

    .top-flop .wp-block-columns.is-style-accordion h3 {
        word-break: keep-all;
    }


/* Lists */
.entry-content ul {
    padding: 0;
}

.entry-content ul li {
    list-style-type: none;
    padding-left: 2em;
    position: relative;
}
.entry-content ul.condensed li {
    padding-left: 1.5em;
}
    .entry-content ul li+li,
    .entry-content ul ul {
        margin-top: 0.8em;
    }

.entry-content ul.condensed li+li,
.entry-content ul.condensed ul {
    margin-top: 0.1em;
}
.entry-content ul li::before {
    content: "";
    display: block;
    width: 1.5em;
    height: 1.5em;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url(assets/images/dot.svg);
    background-size: 40% auto;
    background-position: center;
    background-repeat: no-repeat;
}
.entry-content ul.condensed li::before {
    width: 1.3em;
    height: 1.3em;
    background-size: 38% auto;
}


.entry-content li.is-style-cross::before {
    background-image: url(assets/images/cross.svg);
    background-size: 80% auto;
}

.entry-content li.is-style-check::before {
    background-image: url(assets/images/check.svg);
    background-size: contain;
}


.wp-block-gallery {
    gap: var(--column-gap) !important;
}


.wp-block-gallery > figure {
    width: 100% !important;
    aspect-ratio: 16 / 9
}

@media (min-width: 500px) {
    .wp-block-gallery > figure {
        width: calc(50% - (var(--column-gap)*0.5)) !important;
    }
}

@media (min-width: 900px) {
    .wp-block-gallery > figure {
        width: calc(33.33% - (var(--column-gap)*0.67)) !important;
    }
}

.anchor-bar_placeholder {
    margin-block-start: 0 !important
}

.wp-block-group.anchor-bar {
    padding-top: 1.25em !important;
    padding-bottom: 1.25em !important;
}

.anchor-bar .has-large-font-size {
    font-size: 1.1em !important;
    line-height: 100%;
}

.anchor-bar {
    overflow: auto;
}
.anchor-bar > .wp-block-group {
    flex-flow: row;
}

.anchor-bar a {
    text-decoration: none;
    padding-left: 1.5em;
    display: block;
    background: url(assets/images/arrow-right.svg) no-repeat center left;
    background-size: 0.6em auto;
    white-space: nowrap;
}


.wp-block-file-wrapper {
    display: flex;
    flex-flow: row wrap;
    box-sizing: border-box;
    padding: 1.5em 2em 4.5em 2em;
    background: #fff;
    box-shadow: 0 0.6em 1.5em rgba(0,0,0,0.2);
    align-self: flex-start;
    height: 100%;
    position: relative;
}

    .wp-block-file-wrapper.is-pdf::after {
        content: "";
        display: block;
        position: absolute;
        height: 2em;
        width: 1.5em;
        bottom: 1.5em;
        right: 1.5em;
        background: url(assets/images/pdf.svg) no-repeat center;
        background-size: contain;
    }

    .wp-block-file-wrapper .wp-block-file {
        font-size: 1em;
        line-height: 120%;
        display: block;
        width: 100%;
        position: static;
    }

    .wp-block-file-wrapper a:not(.wp-element-button) {
        display: block;
        font-size: 1.4em;
        font-weight: bold;
        line-height: 120%;
        text-decoration: none;
        margin: 0 0 1em 0;
        min-height: 2.4em;
    }

    .wp-block-file-wrapper a.wp-element-button {
        display: inline-block;
        margin: 0 !important;
        position: absolute;
        bottom: 1.5em;
        left: 2em;
    }

footer > .wp-block-group:first-child {
    padding-top: 4em;
    padding-bottom: 4em;
}

.otgs-development-site-front-end {
    display: none;
}


/* Mega Menu */
.nav-holder nav > ul {
    gap: 0 !important
}
.nav-holder nav > ul ul {
    display: none !important;
}

.nav-holder nav > ul >li > a {
    display: block;
    padding-top: 1em !important;
    padding-bottom: 1em !important;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

    @media (min-width: 900px) {
        .is-scrolling.is-scrolling-down .nav-holder nav > ul >li > a {
            padding-top: 1.5em !important;
            padding-bottom: 1.5em !important;
        }
    }

    .nav-holder nav > ul >li:first-child > a { padding-left: 0 }
    .nav-holder nav > ul >li:last-child > a { padding-right: 0 }

    @media (min-width: 1200px) {
        .lang-de .nav-holder nav > ul >li > a {
            padding-left: 1em;
            padding-right: 1em;
        }

    }

    @media (min-width: 900px) and (max-width: 1299px) {
        .lang-fr .nav-holder,
        .lang-it .nav-holder {
            height: 3em;
            margin-top: 1em;
        }

        .lang-fr .nav-holder nav,
        .lang-it .nav-holder nav {
            position: absolute;
        }
    }

    .nav-holder nav > ul >li > a::before {
        content: "";
        display: block;
        position: absolute;
        left: 50%;
        width: calc(100% - 2em);
        height: 0.25em;
        bottom: 0;
        background: var(--wp--preset--color--primary);
        transition: all 0.2s ease-out;
        transform: translateX(-50%) scaleX(0);
    }

        .nav-holder nav > ul >li:hover > a::before,
        .nav-holder nav > ul >li.is-hover > a::before,
        .nav-holder nav > ul >li.current-menu-item > a::before,
        .nav-holder nav > ul >li.is-current-ancestor > a::before {
            transform: translateX(-50%) scaleX(1);
        }

header > .wp-block-group:first-child {
    z-index: 9;
    position: relative;
}

    @media (max-width: 599px) {
        header > .wp-block-group {
            padding-left: 1em !important;
            padding-right: 1em !important;
        }
    }

header > .wp-block-group.has-background.mega-menu {
    position: absolute;
    width: 100%;
    display: block;
    padding-top: 2em !important;
    padding-bottom: 2em !important;
    /* display: none; */
    opacity: 1;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.25s ease-out;
}

.is-scrolling.is-scrolling-down header > .wp-block-group.has-background.mega-menu {
    padding-top: 2em !important;
    padding-bottom: 2em !important;
}

header > .wp-block-group.has-background.mega-menu.is-open {
    display: block !important;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    opacity: 1;
    pointer-events: all;
    visibility: visible;
    transform: translateY(0%);
}

    .mega-menu button,
    .nav-holder button:not(.nav-toggle) {
        display: none !important;
    }

    .mega-menu ul {
        padding: 0;
    }

    .mega-menu li {
        list-style-type: none;
    }

    .mega-menu a {
        text-decoration: none;
        transition: color 0.1s ease-out;
    }

    .mega-menu a:hover,
    .mega-menu li.current-menu-item > a {
        color: var(--wp--preset--color--primary);
    }

    .mega-menu > ul {
        display: flex;
        flex-flow: row wrap;
    }

        .mega-menu > ul > li > a {
            font-weight: 600;
            font-size: 1.1em;
            line-height: 120%;
            margin-bottom: 1em !important;
            display: inline-block;
        }

        .mega-menu > ul > li {
            flex: 1;
            display: block;
            border-left: 1px solid #707070;
            padding-left: 2em;
        }

            .mega-menu > ul > li:nth-child(1) {
                border-left: 0;
                padding-left: 0;
            }

        .mega-menu > ul ul {
            display: block;
            padding: 0 !important;
        }

        .mega-menu > ul ul li {
            margin-bottom: 0.5em;
        }

            /* .mega-menu > ul > li  */


/*
.nav-holder nav > ul > li > ul {
    display: block !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    visibility: visible !important;
    width: 100% !important;
} */

/* Pull up */
.pull-up {
    position: relative;
    z-index: 9;
    margin-top: -6em !important;
}

    @media (min-width: 850px) {
        .pull-up {
            margin-top: clamp(-20rem, -25vh, -25vh) !important;
        }
    }

    .pull-up .wp-block-column > .wp-block-group:first-child {
        height: 100%;
        padding-bottom: 6em
    }

    .pull-up .wp-block-column > .wp-block-group:first-child .wp-block-buttons:last-child {
        position: absolute;
        bottom: 2em;
    }


ol.flickity-page-dots {
    position: relative;
    margin-block-start: 0em;
    margin-block-end: 1.5em;
}

    ol.flickity-page-dots li.dot::before {
        display: none !important;
    }

    ol.flickity-page-dots li.dot {
        width: 0.85em !important;
        height: 0.85em !important;
        padding: 0 !important;
        background: none !important;
        border: 1px solid var(--wp--preset--color--secondary) !important;
        opacity: 1 !important;
        margin: 0.4em;
    }

        ol.flickity-page-dots li.dot.is-selected {
            background: var(--wp--preset--color--secondary) !important;
        }


.wpml-ls-statics-footer {
    display: none;
}

.is-contact a[href^='tel'],
.is-contact a[href^='mailto'],
.is-contact a[href*='google'][href*='maps'],
footer a[href^='tel'],
footer a[href^='mailto'],
footer a[href*='google'][href*='maps'] {
    display: inline-block;
    padding: 0.25em 0 0.25em 1.75em;
    text-decoration-line: underline;
    text-decoration-color: var(--wp--preset--color--primary);
    position: relative;
}

    .is-contact a[href^='tel']::before,
    .is-contact a[href^='mailto']::before,
    .is-contact a[href*='google'][href*='maps']::before,
    footer a[href^='tel']::before,
    footer a[href^='mailto']::before,
    footer a[href*='google'][href*='maps']::before {
        content: "";
        display: block;
        width: 1em;
        height: 1em;
        background: url(assets/images/phone.svg) no-repeat left center;
        background-size: 90% auto;
        position: absolute;
        left: 0;
    }

    .is-contact a[href^='mailto']::before,
    footer a[href^='mailto']::before {
        background-image: url(assets/images/mail.svg);
        background-size: 80% auto;
    }

    .is-contact a[href*='google'][href*='maps']::before,
    footer a[href*='google'][href*='maps']::before {
        background-image: url(assets/images/marker.svg);
        background-size: contain;
    }

    footer a {
        text-decoration: none !important;
    }


.js-scroll-up {
    position: fixed;
    bottom: 5em;
    right: 0;
    background: #fff url(assets/images/scroll-up.svg) no-repeat center;
    background-size: 40% auto;
    width: 4em;
    height: 4em;
    box-shadow: 0 0.5em 1em rgba(0,0,0,0.2);
    transform: translateX(110%);
    transition: all 0.2s ease-out;
    z-index: 99999;
    cursor: pointer;
}

    .is-scrolling.is-scrolling-down .js-scroll-up {
        transform: translateX(0%);
    }


/* Logo Slider */
.frontend .wp-block-gallery.is-style-logo-slider {
    display: block;
}

p + .wp-block-gallery.is-style-logo-slider {
    margin-block-start: 0;
}

    .wp-block-gallery.is-style-logo-slider .wp-block-image {
        box-sizing: border-box !important;
        padding: calc(var(--column-gap) / 2);
        width: 50% !important;
        display: inline-block !important;
    }


    @media (min-width: 500px) {
        .wp-block-gallery.is-style-logo-slider .wp-block-image {
            width: 33.33% !important;
            padding: var(--column-gap);
        }
    }

    @media (min-width: 800px) {
        .wp-block-gallery.is-style-logo-slider .wp-block-image { width: 25% !important; }
    }

    @media (min-width: 1000px) {
        .wp-block-gallery.is-style-logo-slider .wp-block-image { width: 20% !important; }
    }

        .wp-block-gallery.is-style-logo-slider .wp-block-image img {
            aspect-ratio: 16 / 9;
            object-fit: contain !important;
            object-position: center;
            width: 100%;
            height: auto;
        }


/* Magazine Slider */
.frontend .wp-block-gallery.is-style-magazine-slider {
    display: block;
}

p + .wp-block-gallery.is-style-magazine-slider {
    margin-block-start: 0;
}

    .wp-block-gallery.is-style-magazine-slider .wp-block-image {
        width: 33.33% !important;
        padding: 0;
        display: inline-block !important;
        padding: 1em 0;
    }


    .wp-block-gallery.is-style-magazine-slider .wp-block-image img {
        aspect-ratio: 1 / 1.4;
        object-fit: contain !important;
        object-position: center;
        width: 100%;
        height: auto;
        transform: scale(0.7);
        position: relative;
    }

    .wp-block-gallery.is-style-magazine-slider .wp-block-image img {
        transition: all 0.5s ease-in-out;
        transform: scale(0.75);
    }

    .wp-block-gallery.is-style-magazine-slider .wp-block-image {
        z-index: 1
    }

    .wp-block-gallery.is-style-magazine-slider .wp-block-image.is-next,
    .wp-block-gallery.is-style-magazine-slider .wp-block-image.is-previous {
        z-index: 9
    }

    .wp-block-gallery.is-style-magazine-slider .wp-block-image.is-selected {
        z-index: 99;
    }

    .wp-block-gallery.is-style-magazine-slider .wp-block-image.is-selected a {
        position: relative;
    }

    .wp-block-gallery.is-style-magazine-slider .wp-block-image.is-selected a:hover img {
        transform: scale(0.95);
    }

    .wp-block-gallery.is-style-magazine-slider .wp-block-image.is-selected a::before {
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        position: absolute;
        background: var(--wp--preset--color--primary);
        z-index: 99;
        opacity: 0;
        transition: all 0.1s ease-in-out;
    }

        .wp-block-gallery.is-style-magazine-slider .wp-block-image.is-selected a:hover::before {
            opacity: 0.4;
            transform: scale(0.95);
        }

    .wp-block-gallery.is-style-magazine-slider .wp-block-image.is-selected img {
        transform: scale(1);
        box-shadow: 0 0.2em 1em rgba(0,0,0,0.7);
    }

    .wp-block-gallery.is-style-magazine-slider .wp-block-image.is-next img {
        transform: scale(0.75) translateX(-50%);
        box-shadow: 0 0.2em 0.5em rgba(0,0,0,0.4);
    }

    .wp-block-gallery.is-style-magazine-slider .wp-block-image.is-previous img {
        transform: scale(0.75) translateX(50%);
        box-shadow: 0 0.2em 0.5em rgba(0,0,0,0.4);
    }


/* CF7 */
.wpcf7 {
	max-width: 30em !important;
    margin: 0 auto !important;
}


.wpcf7 input[type='text'],
.wpcf7 input[type='email'],
.wpcf7 input[type='phone'],
.wpcf7 input[type='tel'],
.wpcf7 input[type='date'],
.wpcf7 input[type='number'],
.wpcf7 input[type='password'],
.wpcf7 input[type='submit'],
.wpcf7 select,
.wpcf7 textarea,
#mc_embed_signup .mc-field-group input {
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
	border: 1px solid #707070;
	border-radius: 0;
	font-family: var(--wp--preset--font-family--ui);
	font-size: 1em;
	line-height: 120%;
	padding: 0.5em 0.5em;
	width: 100%;
	margin: 0 0 0.5em 0;
}

.wpcf7 input[type='submit'] {
    box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	outline: none;
    background: var(--wp--preset--color--primary);
    color: #fff;
    border: 0;
    font: inherit;
    width: auto;
    background-color: var(--wp--preset--color--primary);
    border-radius: 999px;
    border-color: var(--wp--preset--color--primary);
    border-width: 0.12em;
    border-style: solid;
    color: var(--wp--preset--color--background);
    font-family: var(--wp--preset--font-family--ui);
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 700;
    padding-top: 0.33em;
    padding-right: 2em;
    padding-bottom: 0.33em;
    padding-left: 2em;
}

.wpcf7 input[type='text']:focus,
.wpcf7 input[type='email']:focus,
.wpcf7 input[type='phone']:focus,
.wpcf7 input[type='tel']:focus,
.wpcf7 input[type='date']:focus,
.wpcf7 input[type='number']:focus,
.wpcf7 input[type='password']:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus
#mc_embed_signup .mc-field-group input:focus {
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary)
}

.wpcf7 input[type='text']:focus::placeholder,
.wpcf7 input[type='email']:focus::placeholder,
.wpcf7 input[type='phone']:focus::placeholder,
.wpcf7 input[type='tel']:focus::placeholder,
.wpcf7 input[type='date']:focus::placeholder,
.wpcf7 input[type='number']:focus::placeholder,
.wpcf7 input[type='password']:focus::placeholder,
.wpcf7 textarea:focus::placeholder,
#mc_embed_signup .mc-field-group input:focus::placeholder {
	color: var(--wp--preset--color--primary)
}

/* .wpcf7 input[type='submit'],
#mc_embed_signup .button {
	background: #000;
	color: #fff;
	border-width: 0;
	font-weight: 600;
	width: auto;
	padding: 0.75em 2em;
	margin-top: 2em
} */

.wpcf7 label,
#mc_embed_signup .mc-field-group label {
	font-family: var(--wp--preset--font-family--ui);
	font-size: 1em;
	line-height: 120%;
	font-weight: 400;
}

.wpcf7-list-item {
	margin: 0 1em 0 0
}

.wpcf7 p {
	margin: 0 0 0.5em 0 !important
}

.wpcf7-not-valid-tip {
	font-family: var(--wp--preset--font-family--ui);
	margin-top: -0.5em;
	padding: 0.5em 1em;
	background: #eee;
	margin-bottom: 0.5em;
	font-size: 0.8em;
	line-height: 120%;
}

.wpcf7-form-control-wrap .wpcf7-not-valid-tip {
	display: none;
}

	.wpcf7-not-valid {
		border-left: 0.25em solid #c75c5c !important;
		padding-left: 0.75em !important;
	}


	.wpcf7-response-output {
		border: 0 !important;
		border-left: 0.5em solid #dfbd29 !important;
		padding: 2em !important;
		background: #fff;
		box-shadow: 0 0 0.5em rgba(0,0,0,0.1);
		font-family: var(--wp--preset--font-family--ui);
	}

	.sent .wpcf7-response-output {
		border-left-color: var(--wp--preset--color--primary) !important;
	}

/* Forms widths */
.wpcf7-form .width-30 {
	max-width: 9em;	
}
.wpcf7-form .width-70 {
	max-width: 20.5em;
	margin-left: 0.5em !important;
}
.wpcf7-form .width-50 {
	max-width: calc(50% - 0.25em);
	margin-right: 0.5em !important;
}
.wpcf7-select {
	padding-right: 20px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2224%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23666%22%20points%3D%2212%201%209%206%2015%206%22%20%2F%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23666%22%20points%3D%2212%2013%209%208%2015%208%22%20%2F%3E%0A%3C%2Fsvg%3E%0A");
    background-repeat: no-repeat;
    background-position: 100% 50%
}
@media (max-width: 540px) {
	.wpcf7-form .width-30 {
		max-width: 30%;
	}
	.wpcf7-form .width-70 {
		max-width: calc(70% - 0.5em);
	}
}	
	
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next,
.page-numbers {
    display: inline-block;
    background-color: var(--wp--preset--color--lightgray);
    border-radius: 999px;
    border-color: var(--wp--preset--color--lightgray);
    border-width: 0.12em;
    border-style: solid;
    color: var(--wp--preset--color--foreground) !important;
    text-decoration: none;
    font-family: var(--wp--preset--font-family--ui);
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 700;
    padding-top: 0.33em;
    padding-right: 2em;
    padding-bottom: 0.33em;
    padding-left: 2em;
    transition: all 0.75s;
}
.page-numbers {
    padding-left: 0.75em;
    padding-right: 0.75em;

}
    .page-numbers:hover,
    .page-numbers.current {
     background-color: var(--wp--preset--color--secondary);
     color: #FFF !important;
}


ul.taxonomy-list.style-buttons {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
}

    ul.taxonomy-list.style-buttons li {
        margin: calc(var(--column-gap) / 2) !important;
        background-color: var(--wp--preset--color--background);
        border-radius: 999px;
        border-color: var(--wp--preset--color--primary);
        border-width: 0.12em;
        border-style: solid;
        color: var(--wp--preset--color--foreground);
        text-decoration: none;
        font-family: var(--wp--preset--font-family--ui);
        font-size: var(--wp--preset--font-size--medium);
        font-weight: 700;
        padding-top: 0.33em;
        padding-right: 2em;
        padding-bottom: 0.33em;
        padding-left: 2em;
        transition: all 0.2s ease-out;
        cursor: pointer;
    }

        @media (max-width: 600px) {
            ul.taxonomy-list.style-buttons li {
                margin: calc(var(--column-gap) / 4) !important;
            }
        }

        ul.taxonomy-list.style-buttons li::before {
            display: none;
        }

        ul.taxonomy-list.style-buttons li:hover {
            color: var(--wp--preset--color--primary);
        }

        ul.taxonomy-list.style-buttons li.is-active {
            background-color: var(--wp--preset--color--primary);
            color: var(--wp--preset--color--background) !important;
        }


ul.taxonomy-list.style-list {
    display: block;
    list-style-type: none;
}

    ul.taxonomy-list.style-list li {
        display: block;
        cursor: pointer;
    }

    ul.taxonomy-list.style-list li::after {
            content: "";
            box-sizing: border-box;
            display: block;
            border-radius: 0 !important;
            width: 1.1em;
            height: 1.1em;
            border: 1px solid #222222;
            left: 0;
            top: 0;
            position: absolute;
            background: #fff;
            z-index: 0;
    }

    ul.taxonomy-list.style-list li::before {
        display: none;
        transition: all 0.2s ease-out;
        transform: scale(0)
    }

    ul.taxonomy-list.style-list li.is-active::before {
        display: block;
        z-index: 9;
        width: 1.1em;
        height: 1.1em;
        background-size: 50% auto;
        transform: scale(1)
    }

.nav-toggle {
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    border: 0;
    background: none;
    display: block;
    width: 2.7em;
    height: 2.7em;
    cursor: pointer;
    padding: 0;
    padding-top: 0.4em;
    box-sizing: border-box;
    transform: scale(0.8);
    margin: 0.5em 0 -0.5em 0 !important;
    transition: margin 0.1s ease-out;
}

    .is-scrolling.is-scrolling-down .nav-toggle {
        margin: 0 !important
    }

    @media (min-width: 900px) {
        .nav-toggle {
            display: none;
        }
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 0.2em;
        background: var(--wp--preset--color--primary);
        border-radius: 99px;
        margin: 0.6em auto
    }

     .nav-toggle span {
        transition: all 0.3s ease-out;
    }

    .nav-toggle span:nth-child(1) {
        margin-top: 0;
    }

     .nav-toggle span:nth-child(2) {
        transition: all 0.2s ease-out;
    }

     .nav-toggle span:nth-child(3) {
        transition: all 0.4s ease-out;
        margin-bottom: 0
    }

    .nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(0.65em) rotate(225deg);
    }

    .nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
        transform: translateY(0.9em) rotate(225deg);
    }

    .nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-0.9em) rotate(135deg);
    }

/* Mobile Menu */
@media (max-width: 899px) {
    .nav-holder nav {
        display: none;
        position: absolute;
        background: #fff;
        border-top: 1px solid #eee;
        left: 0;
        top: 100%;
        width: 100%;
        padding: 2em 2.5em 6em 2.5em !important;
        box-sizing: border-box;
        box-shadow: 0 3px 6px rgba(0,0,0,0.2);
        height: calc(100vh - 6em) !important;
        overflow-y: scroll;
    }

    .nav-open .nav-holder nav,
    .noip-88-21-210-162 .nav-holder nav {
        display: block;
    }

    .nav-holder nav ul {
        display: block !important;
    }

    .nav-holder nav > ul > li {
        font-size: 1.4em;
        line-height: 120%;
        /* display: block !important; */
        flex-flow: row wrap;
        justify-content: space-between;
        border-bottom: 1px solid #ccc
    }

    .nav-holder nav > ul > li > a {
        padding: 0.75em 0 !important;
    }

    .nav-holder nav > ul > li > a::before {
        display: none;
    }

    .nav-holder nav > ul > li > ul {
        position:static !important;
        display: block !important;
        border: 0 !important;
        /* display: flex;
        flex-flow: row wrap; */
    }

        .nav-holder nav > ul > li > button[aria-expanded='true']~ul {
            background: #eee !important;
            padding: 0.5em 1em !important;
            border-radius: 0.5em !important;
            margin-bottom: 1em !important;
            margin-left: -1em !important;
            margin-right: -1em !important;
            width: calc(100% + 2em) !important;
            max-width: calc(100% + 2em) !important;
            box-sizing: border-box !important;
        }

        .nav-holder nav > ul > li > ul > li {
            /* display: block !important; */
            flex-flow: row wrap !important;
            justify-content: flex-start !important;
        }

        .nav-holder nav > ul ul {
            width: 100% !important;
        }

        .nav-holder nav > ul > li > ul > li > ul {
            position:static !important;
            display: block !important;
            border: 0 !important;

        }


        .nav-holder nav ul ul ul {
            /* padding-left: 1.5em; */
            background: none !important;
        }

        .nav-holder nav ul ul li {
            font-size: 0.9em;
            line-height: 120%;
        }

        .nav-holder nav ul ul ul li {
            font-size: 0.8em;
            line-height: 120%;
        }

        .nav-holder nav ul ul li a {
            padding-left: 0 !important;
            padding-right: 0 !important;
            font-weight: bold;
            /* flex-grow: 0 !important */
        }

        .nav-holder nav ul ul ul li a {
            font-weight: normal;
        }

        .nav-holder nav ul button:not(.nav-toggle) {
            box-sizing: border-box !important;
            display: block !important;
            border: 1px solid #999 !important;
            border-radius: 0.25rem !important;
            width: 1.4em !important;
            height: 1.4em !important;
            color: #999 !important;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 0 0 0.5em !important;
            position: relative;
        }

            .nav-holder nav ul ul button {

            }

        .nav-holder nav ul button[aria-expanded=true] {
            border: 1px solid var(--wp--preset--color--primary) !important;
            color: var(--wp--preset--color--primary) !important;
        }

            .nav-holder nav ul button svg {
                position: absolute;
                top: 15% !important;
                left: 15% !important;
                width: 70% !important;
                height: 70% !important;
                margin: 0 !important;

            }

        .wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container {
            display: none !important;
        }

        .wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container {
            display: block !important;
            opacity: 1 !important;
            height: auto !important;
            visibility: visible !important;
        }

        .nav-holder nav ul li.current-menu-item > a,
        .nav-holder nav ul li.is-current-ancestor > a {
            color: var(--wp--preset--color--primary) !important;
        }

        /* .nav-holder nav ul li.current-menu-item > button,
        .nav-holder nav ul li.is-current-ancestor > button {
            border: 1px solid var(--wp--preset--color--primary) !important;
            color: var(--wp--preset--color--primary) !important;
        } */

    .mega-menu {
        z-index: -1;
        width: 50%;
        left: 50%;
        display: none !important;
    }

        .mega-menu ul {
            display: block !important;
        }

        .mega-menu ul li {
            padding: 0 !important;
            border: 0 !important;
        }

        .mega-menu ul li ul {
            display: none !important;
        }
}

@media (max-width: 599px) {
    .nav-holder nav {
        padding: 1.25em 1.75em !important;
    }

}


header .meta-holder .lang-switcher,
header .meta-holder .fontsize-switcher {
	margin-top: 0 !important;
	text-transform: uppercase;
	position: relative;
	width: 4em;
    min-width: 4em;
	height: 2.2em;
	z-index: 999;
	cursor: pointer;
	box-sizing: border-box;
	margin-top: -2px !important;
}

header .meta-holder .fontsize-switcher + .lang-switcher {
	margin-left: 0 !important;
}

header .meta-holder .lang-switcher::after,
header .meta-holder .fontsize-switcher::after {
	content: "";
	display: block;
	z-index: 99;
	position: absolute;
	width: 0.5rem;
	height: 0.5rem;
	top: 50%;
	right: 0.4rem;
	transform: translateY(-30%);
	background: url(assets/images/accordion-arrow.svg) no-repeat center;
	background-size: contain;
    opacity: 0.5;
}

	header .meta-holder .lang-switcher .lang-switcher-items,
	header .meta-holder .fontsize-switcher .fontsize-switcher-items {
		position: absolute;
		background: #fff;
		border: 2px solid #fff;
		box-sizing: border-box;
		width: 100%;
        color: #9A9A9A;
        border-radius: 0.5em !important;
        overflow: hidden;
	}

		header .meta-holder .lang-switcher:hover .lang-switcher-items,
		header .meta-holder .fontsize-switcher:hover .fontsize-switcher-items {
			border-color: var(--wp--preset--color--primary);
			background-color: #fff;
            box-shadow: 0 3px 6px rgba(0,0,0,0.2);
		}

	header .meta-holder .lang-switcher .lang-switcher-items > *,
	header .meta-holder .fontsize-switcher .fontsize-switcher-items > * {
		box-sizing: border-box;
		width: 100%;
		display: block;
		padding: 0.5em 1em;
		text-decoration: none;
	}

	header .meta-holder .lang-switcher .lang-switcher-items a,
	header .meta-holder .fontsize-switcher .fontsize-switcher-items a {
		display: none;
	}

	header .meta-holder .lang-switcher:hover .lang-switcher-items a,
	header .meta-holder .fontsize-switcher:hover .fontsize-switcher-items a {
		display: block;
	}

	header .meta-holder .lang-switcher .lang-switcher-items a:hover,
	header .meta-holder .fontsize-switcher .fontsize-switcher-items a:hover {
		background: #eee
	}


footer .wp-block-social-links {
    justify-content: flex-start !important;
    gap: 0.5em !important
}


footer a:hover {
    color: var(--wp--preset--color--primary);

}

.wp-block-search {

}

    header .wp-block-search {
        max-width: 12em;
    }

    header .wp-block-search  {
        margin: 0 !important;
    }

header .wp-block-search  p:empty {display: none; }

        @media (max-width: 950px) {
            header .wp-block-search {
                max-width: 10em;
            }
        }

    :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
        border: 1px solid #333;
        border-radius: 999px;
        overflow: hidden;
        padding: 0 !important
    }

    .wp-block-search input[type='search'] {
        font: inherit;
        padding-left: 1em !important;
    }

        @media (max-width: 500px) {
            header .wp-block-search input[type='search'] {
                display: none !important;
            }
        }

    .wp-block-search button[type='submit'] {
        font: inherit;
        padding-left: 0.5em !important;
        padding-right: 0.5em !important;
        color: #000;
        background: #fff !important;
        border: 0 !important;
        margin: 0 !important
    }

.wp-block-button .wp-block-button__link,
.wp-block-post-excerpt__more-text a,
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
    transition: 0.2s ease-out;
}

.wp-block-button .wp-block-button__link:hover,
.wp-block-post-excerpt__more-text a:hover,
.wp-block-query-pagination-previous:hover,
.wp-block-query-pagination-next:hover {
    background: var(--wp--preset--color--secondary) !important;
    border-color: var(--wp--preset--color--secondary) !important;
    color: #fff !important
}


.wp-block-table.is-style-transparent td,
.wp-block-table.is-style-transparent th {
    border: 0 !important;
    padding: 0 !important;
    padding-right: 1em !important

}
.wp-block-table.is-style-transparent td:last-child,
.wp-block-table.is-style-transparent th:last-child {
    padding-right: 0 !important
}

.wp-block-table.is-style-stripes {
    margin-block-start: 1.5em;
}
.wp-block-table.is-style-stripes td,
.wp-block-table.is-style-stripes th {
    vertical-align: top;
}

.wp-block-column > .wp-block-group.is-style-shadow-box {
    height: 100%;
}


p img {
    height: 1em !important;
    width: auto !important;
    margin-right: 1em;
    position: relative;
    transform-origin: center left;
    transform: scale(1.3);
}


.is-counted {
    counter-reset: section;
}

.is-counted > * {
    position: relative;
}

.is-counted > *::before {
    counter-increment: section;
    content: counters(section,".") " ";
    position: absolute;
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--background);
    font-size: 1.4em;
    line-height: 100%;
    font-weight: bold;
    width: 1.6em;
    height: 1.6em;
    justify-content: center;
    display: flex;
    align-items: center;
    text-align: center;
    border-radius: 100%;
    top: 0;
    left: 0;
    transform: translateX(-50%) translateY(-50%);
    z-index: 99;
}


.loading-loader {
    margin: 2em auto !important;
    aspect-ratio: 1 / 1;
    max-width: 10em;
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    background: url(assets/images/loading.svg) no-repeat center;
    background-size: contain;
}


.noclick {
    pointer-events: none !important
}

.noclick a {
    text-decoration: none;
    color: inherit;
}


.is-section {
    align-self: stretch;
    padding-bottom: 5em;
}

    .is-section .wp-block-buttons:last-child {
        position: absolute;
        bottom: 2em;
    }

    .is-section::after {
        content: "";
        display: block;
        width: 1.5em;
        height: 1.5em;
        position: absolute;
        bottom: 1em;
        right: 1em;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }

        .is-section[data-animals="cats-dogs"]::after { background-image: url(assets/images/icon-cats-dogs.svg); }
        .is-section[data-animals="cats"]::after { background-image: url(assets/images/icon-cats.svg); }
        .is-section[data-animals="dogs"]::after { background-image: url(assets/images/icon-dogs.svg); }
        .is-section[data-animals="animals"]::after { background-image: url(assets/images/icon-animals.svg); }


.section-filters {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 2em;
    align-items: center;
    margin-bottom: 3em !important;
}

.section-filters .js-section-canton-filter,
.section-filters .js-section-search-filter {
    box-sizing: border-box;
    padding: 1em 2em;
    border-radius: 999px;
    border: 1px solid var(--wp--preset--color--primary);
    background: var(--wp--preset--color--background) url(assets/images/accordion-arrow.svg) no-repeat center right 1.2em;
    background-size: 0.9em auto;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    font-weight: bold;
}

.section-filters .js-section-search-filter {
    background-image: none;
}

.section-filters .js-section-shelter-filter {
    padding-left: 2em;
    position: relative;
    cursor: pointer;
}

    .section-filters .js-section-shelter-filter::before {
        content: "";
        box-sizing: border-box;
        display: block;
        border: 1px solid #707070;
        position: absolute;
        width: 1.3em;
        height: 1.3em;
        left: 0;
        top: 0;
    }

    .section-filters .js-section-shelter-filter::after {
        content: "";
        box-sizing: border-box;
        display: block;
        border-radius: 100%;
        position: absolute;
        width: 1.3em;
        height: 1.3em;
        left: 0;
        top: 0;
        background: var(--wp--preset--color--secondary);
        transform: scale(0);
        transition: all 0.2s ease-out;
    }

    .section-filters .js-section-shelter-filter:hover::after {
        transform: scale(0.3);
        opacity: 0.7;
    }

    .section-filters .js-section-shelter-filter.is-active::after {
        transform: scale(0.5);
        opacity: 1;
    }


.lightboxOverlay,
.lightbox {
    z-index: 99999999;
}

.lightboxOverlay {
    background: rgba(255,255,255,0.5);
    opacity: 1;
    backdrop-filter: blur(0.6em) brightness(1.2)
}


/* Micro Animations */
.frontend .wp-block-media-text.is-style-stacked,
.frontend .wp-block-media-text.is-style-stacked-shadow {
    opacity: 0;
    transform: translateY(3em);
    transition: all 1s ease-out;
}

    .frontend .wp-block-media-text.is-style-stacked.is-in-viewport,
    .frontend .wp-block-media-text.is-style-stacked-shadow.is-in-viewport {
        opacity: 1;
        transform: translateY(0);
    }

    .frontend .wp-block-media-text.is-style-stacked .wp-block-media-text__media,
    .frontend .wp-block-media-text.is-style-stacked-shadow .wp-block-media-text__media {
        opacity: 0;
        transform: scale(0.8);
        transition: all 1s ease-out;

    }

    .frontend .wp-block-media-text.is-style-stacked.is-in-viewport .wp-block-media-text__media,
    .frontend .wp-block-media-text.is-style-stacked-shadow.is-in-viewport .wp-block-media-text__media {
        opacity: 1;
        transform: scale(1);
    }


.px-modal-backdrop {
    z-index: 9999999 !important;
}

#payrexx-modal.px-modal {
    z-index: 99999999 !important
}

.yoast-breadcrumbs {
    font-size: 0.9em;
    line-height: 120%;
}

.breadcrumb_last {
    color: var(--wp--preset--color--secondary);
}



.flickity-prev-next-button.previous {
    left: 0;
    transform: translateX(-100%);
}

.flickity-prev-next-button.next {
    right: 0;
    transform: translateX(100%);
}


.wp-block-columns.is-stoerer {
    position: absolute;
    z-index: 9999;
    top: 9em;
    right: 0;
    display: block;
    width: 4.5em;
}

    @media (min-width: 800px) {
        .wp-block-columns.is-stoerer {
            position: fixed;
        }
    }

.wp-block-columns.is-stoerer:hover {

    width: auto;
}

.is-stoerer .wp-block-column:nth-child(1) {
    background: #fff;
    padding: 1.25em 0 1.25em 4.5em;
    border-radius: 3em 0 0 3em;
    box-shadow: 0 1em 2em rgba(0,0,0,0.1);
    z-index: 9;
    position: relative;
    cursor: pointer;
    height: 1.2em;
}

    .is-stoerer:hover .wp-block-column:nth-child(1) {
        padding-right: 2em;
    }

    .is-stoerer .wp-block-column:nth-child(1)::before {
        content: "";
        display: block;
        width: 2em;
        height: 2em;
        background: url(assets/images/heart.svg) no-repeat center;
        background-size: contain;
        position: absolute;
        left: 1.5em;
        top: 50%;
        transform: translateY(-50%);
    }

    .is-stoerer .wp-block-column:nth-child(1) p {
        display: none;
    }

    .is-stoerer:hover .wp-block-column:nth-child(1) p {
        display: block;
    }

.is-stoerer .wp-block-column:nth-child(2) {
    background: #F0F0F0;
    border-radius: 0 0 0 3em;
    padding: 1em 2em;
    margin-left: 2.5em;
    z-index: 1;
    transition: all 0.3s ease-out;
    display: none;
}

.is-stoerer {
    transform: translateX(calc(100% - 4.5em));
    transition: all 0.3s ease-out;
}

.is-stoerer:hover {
    transform: translateX(0);
}

.is-stoerer .wp-block-column:nth-child(2) {
    transform: translateX(4em);
}

.is-stoerer:hover .wp-block-column:nth-child(2) {
    transform: translateX(0);
    display: block;
}

.skip-link:focus {
    position: absolute;
    z-index: 99999999999 !important;
}


/* Brevo */

@media (min-width: 600px) {
.is-newsletter-form-holder {
    padding-right: 12em !important;
}

    .is-newsletter-form-holder::before {
        content: "";
        display: block;
        width: 6em;
        height: 6em;
        background: url(assets/images/letter.svg) no-repeat center;
        background-size: contain;
        top: 2em;
        right: 2em;
        position: absolute;
    }
}

.sib-form,
.bexio-nl {
    background: none !important;
    padding: 0 !important;
    margin: 1em 0 0 0 !important
}

    .sib-form p:empty,
    .bexio-nl p:empty {
        display: none;
    }

    .sib-form p,
    .bexio-nl p {
        margin-block-start: 0 !important;
    }




#sib-container,
.bexio-nl {
    border: 0 !important;
    padding: 0 !important;
    max-width: 100% !important
}

    #sib-container form > *,
    .bexio-nl form > *,
    .sib-form-block {
        padding: 0 !important
    }

    .sib-form .entry__field,
    .bexio-nl .entry__field {
        border: 0 !important;
        margin: 0 !important
    }

    #sib-container form > p:last-child,
    .bexio-nl form > p:last-child,
    .bexio-nl > p:first-of-type {
        display: none;
    }

    #sib-container form + p,
    .bexio-nl form + p,
    .is-newsletter-form-holder > p:last-child {
        display: none;
    }

    #sib-container form input,
    #sib-container form textarea,
    #sib-container form select,
    .bexio-nl form input,
    .bexio-nl form textarea,
    .bexio-nl form select {
        all: unset;
        font: inherit;
        background: #EFEFEF;
        border: 2px solid #efefef !important;
        padding: 0.5em 1em;
        width: 100%;
    }

    #sib-container form select,
    .bexio-nl form select {
        width: auto;
        padding-right: 3em;
        background-image: url(assets/images/accordion-arrow.svg);
        background-position: center right 1em;
        background-size: 0.8em auto;
        background-repeat: no-repeat;
    }

    #sib-container form input::placeholder,
    #sib-container form textarea::placeholder,
    #sib-container form select::placeholder,
    .bexio-nl form input::placeholder,
    .bexio-nl form textarea::placeholder ,
    .bexio-nl form select::placeholder {
        color: #777;
    }

    #sib-container form .entry_errored input,
    #sib-container form .entry_errored textarea,
    #sib-container form .entry_errored select {
        border: 2px solid #c43131 !important;
    }

    label.entry__error {
        display: none !important;
    }

    #sib-container form,
    .bexio-nl form > div {
        display: flex;
        flex-flow: row wrap;
        gap: 0.4em 0.4em;
    }

        #sib-container form > div,
        .bexio-nl form div > div {
            width: 100%;
        }

        @media (min-width: 400px) {
            #sib-container form > div:nth-child(2),
            #sib-container form > div:nth-child(3),
            .bexio-nl form div + div:nth-child(3),
            .bexio-nl form div + div:nth-child(4) {
                width: calc(50% - 0.2em);
            }
        }
        .bexio-nl .entry_block {
            display: flex;
            flex-direction: column;
            justify-content: stretch;
        }
        .bexio-nl .entry__field {
            align-items: center;
            display: inline-flex;
            max-width: 100%;
        }
    .bexio-nl form > p:first-of-type {
        display: none;
    }

    .sib-form-block__button {
        margin-top: 2em;
        font-family: inherit !important;
        font-weight: bold;
        padding-left: 1.5em;
        padding-right: 1.5em;
    }

        .sib-form-block__button br,
        .sib-form-block__button svg {
            display: none;
        }

    #sib-container form p:empty
    .bexio-nl form p:empty {
        display: none;
    }
    
    .bexio-nl form label {
        display: none;
    }
    .bexio-nl form [type="checkbox"] {
        padding: 0;
        border: 1px solid #999 !important;
        width: 0.75em;
        height: 0.75em;
        display: inline-block;
        margin-right: .5em;
    }
    .bexio-nl form {
        font: 16px / 19px Roboto, Arial, sans-serif;
    }
    .bexio-nl form span.checked input[type="checkbox"] {
        border: 1px solid #ff7b00 !important;
        background: center no-repeat #ff7b00 url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2211%22%20viewBox%3D%220%200%2014%2011%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23fff%22%20points%3D%2212%201%205%207.5%202%205%201%205.5%205%2010%2013%201.5%22%20%2F%3E%0A%3C%2Fsvg%3E%0A") !important;
    }
    p.bexio-nl {
        display: none;
    }
    .bexio-nl p {
        margin-top: 0.5em;
        margin-bottom: 0.5em;
    }
    .bexio-nl p a {
        text-decoration: underline !important;
    }
    .bexio-nl .sib-multi-lists-area label {
        display: block;
        margin-top: 0.75em;
        margin-bottom: 0.5em;
    }
    .bexio-nl .sid-default-btn {
        color: #fff;
        font: 16px / 22px Roboto, Arial, sans-serif;
        border: 0;
        border-radius: 999px;
        display: inline-block;
        background: #ff7b00;
        font-weight: 700;
        padding-top: 0.5em;
        padding-right: 2em;
        padding-bottom: 0.5em;
        padding-left: 2em;
        margin-top: 1em;
    }
    .bexio-nl .sid-default-btn:hover {
        background: rgb(95, 75, 182);
    }
    /*.bexio-nl input:invalid {
      border: 2px solid #c43131 !important;
    }*/


/* ANIMAL SHELTER SHARING */
.sts-animal-shelter-share p {
    font-size: 18px;
}
.sts-animal-shelter-share  > .is-layout-flex {
    align-items: center !important;
}
.sts-animal-shelter-share .is-layout-flex {
    gap: 15px !important;
}
.sts-animal-shelter-share .wp-block-image a,
.sts-animal-shelter-share .wp-block-image > div {
    display: block;
    background-color: #bdbdbd;
    padding: 10px;
    border-radius: 50%;
    height: fit-content !important;
    width: fit-content !important;
}
.sts-animal-shelter-share .wp-block-image img {
    height: 25px !important;
    width: 25px !important;
}


/* CSS for responsive iframes */

.container16-9 {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
}
.container4-3 {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 75%;
}
.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}




/* Contatc Form 7 CSS */

/* Checkboxes und Radios */
.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] {
    display: inline-block;
    height: 16px;
    width: 16px;
    overflow: hidden;
    margin-top: -4px;
    vertical-align: middle;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    border: 1px solid #333;
    transition: .2s ease-in-out;
    transition-property: background-color,border;
}
.wpcf7 .checked input[type="radio"],
.wpcf7 .checked input[type="checkbox"] {
    background-color: #5F4BB6;
    border-color: transparent;
}

.wpcf7 input[type="radio"] {
    border-radius: 50%;
}
.wpcf7 .checked input[type="radio"] {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Ccircle%20fill%3D%22%23fff%22%20cx%3D%228%22%20cy%3D%228%22%20r%3D%222%22%20%2F%3E%0A%3C%2Fsvg%3E")
}
.wpcf7 .checked input[type="checkbox"] {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2211%22%20viewBox%3D%220%200%2014%2011%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23fff%22%20points%3D%2212%201%205%207.5%202%205%201%205.5%205%2010%2013%201.5%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")
}

/* Checkboxen und Radios volle Breite */
.wpcf7 .width100 .wpcf7-list-item {
    width: 100%;
}
.wpcf7 .width100 span {
    display: inline-block;
    vertical-align: top;
}
.wpcf7 .width100 .wpcf7-list-item-label {
    width: calc(100% - 30px);
    margin-left: 5px;
}

.wpcf7 .wpcf7-checkbox .last,
.wpcf7 .wpcf7-radio .last {
    margin-bottom:10px !important;
}

/* Validierung */
.wpcf7-radio.wpcf7-not-valid,
.wpcf7-checkbox.wpcf7-not-valid,
.wpcf7-acceptance.wpcf7-not-valid {
    border-left: none !important;
    padding-left: 0 !important;
}
.wpcf7-radio.wpcf7-not-valid input[type="radio"],
.wpcf7-acceptance.wpcf7-not-valid input[type="checkbox"],
.wpcf7-checkbox.wpcf7-not-valid input[type="checkbox"] {
    border: 1px solid #c75c5c;
    background-color: #f4dfdf;
}
.wpcf7 .wpcf7-radio.wpcf7-not-valid .checked input[type="radio"] {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Ccircle%20fill%3D%22%23c75c5c%22%20cx%3D%228%22%20cy%3D%228%22%20r%3D%222%22%20%2F%3E%0A%3C%2Fsvg%3E")
}
.wpcf7 .wpcf7-acceptance.wpcf7-not-valid .checked input[type="checkbox"],
.wpcf7 .wpcf7-checkbox.wpcf7-not-valid .checked input[type="checkbox"] {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%2211%22%20viewBox%3D%220%200%2014%2011%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23c75c5c%22%20points%3D%2212%201%205%207.5%202%205%201%205.5%205%2010%2013%201.5%22%20%2F%3E%0A%3C%2Fsvg%3E%0A")
}


.wpcf7-not-valid-tip {
    display: none;
    margin-top: 0.25em !important;
    border-radius: 3px !important;
    background: #f9f2f2 !important;
    border: 1px solid #c75c5c !important;
    color: #c75c5c !important;
    font-weight: bold !important;
}



/* Adopt a pet */
body.single-adoptapet .wp-block-table td,
body.single-adoptapet .wp-block-table th {
    padding-left: 0 !important;
    border: 0 !important
}


/* Adopt a pet card */
.wp-block-post.adoptapet {
    -webkit-box-shadow: 0px 0px 25px 5px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 25px 5px rgba(0,0,0,0.1);
    padding-left: 0px !important;
}
.wp-block-post.adoptapet .wp-block-post-terms {
    display: flex !important;
    justify-content: flex-end !important;
    position: relative !important;
    top: 40px !important;
    z-index: 1 !important;
    margin-top: -32px !important;
}
.wp-block-post.adoptapet .wp-block-post-terms a {
    padding: 7px 15px !important;
    background: white !important;
    margin-right: 10px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    pointer-events: none;
}
.wp-block-post.adoptapet .wp-block-post-excerpt,
.wp-block-post.adoptapet .wp-block-post-title {
    padding-left: 20px;
    padding-right: 20px;
}
.wp-block-post.adoptapet .wp-block-post-excerpt__excerpt {
    margin-bottom: 10px;
}
.wp-block-post.adoptapet .wp-block-post-excerpt__more-text {
    margin-bottom: 20px;
}

.wp-block-acf-animal-shelter .acf-block-body::after {
    padding: 10px;
    border: 1px solid #e37575;
    background: #fce7e7;
    display: block;
    content: "Bitte hier klicken und dann das Tierheim in der rechten Spalte auswählen!";
    font-weight: bold;
    color: #e37575;
}

/* gf */
.haspadding {
    padding: 1em 1.5em;
}
@media (min-width: 600px) {
    .haspadding {
        padding: 2em 2.5em;
    }
}

.grecaptcha-badge { visibility: hidden; }


/* Password-form for Articles */
.post-password-form {
    max-width: 38em;
    margin: 5em auto !important;
    padding: 1.5em 2em;
    background: #ffefd4;
    border: 1px solid #ff7b00;
    box-shadow: 0 0.6em 1.5em rgba(0,0,0,0.2);
}
.post-password-form p {
    font-weight: 700;
}
.post-password-form p label{
    font-weight: 400;
}
.post-password-form input[type='password'] {
    all: unset;
    font: inherit;
    background: #fff;
    border: 1px solid #ff7b00 !important;
    padding: 0.2em 1em;
    margin: 0 0.4em;
}
.post-password-form input[type='submit'] {
    color: #fff;
    font: 16px / 22px Roboto, Arial, sans-serif;
    border: 0;
    border-radius: 999px;
    display: inline-block;
    background: #ff7b00;
    font-weight: 700;
    padding: 0.5em 2em;
}
.post-password-form input[type='submit']:hover,
.post-password-form input[type='submit']:active {
    background: rgb(95, 75, 182);
}



.wp-block-query .wp-block-post-template li.type-event > .wp-block-group.has-background:first-child {
    padding-bottom: 5em;
    align-self: stretch;
}

.wp-block-query .wp-block-post-template li.type-event > .wp-block-group.has-background:first-child > .wp-block-group {
    position: static;
}

.wp-block-query .wp-block-post-template li.type-event > .wp-block-group.has-background:first-child .wp-block-post-excerpt__more-text {
    bottom: 2em;
}



.wp-block-query .wp-block-post-template li.type-event > .wp-block-group.has-background:first-child > .wp-block-post-featured-image:first-child {
    margin-top: -1.25em !important;
    margin-left: -1.75em !important;
    width: calc(100% + 3.5em) !important;
}

    @media (min-width: 600px) {
        .wp-block-query .wp-block-post-template li.type-event > .wp-block-group.has-background:first-child > .wp-block-post-featured-image:first-child {
            margin-top: -2em !important;
            margin-left: -2.5em !important;
            width: calc(100% + 5em) !important;
        }
    }

.event-date,
.event-location {
    color: var(--wp--preset--color--primary);
}

.event-date + .event-location {
    margin-top: 0.5em;
}

.event-date,
.event-location {
    padding-left: 1.8em;
    position: relative;
}

.event-date::before,
.event-location::before {
    content: "";
    display: block;
    width: 1.1em;
    height: 1.1em;
    background: url(assets/images/calendar.svg) no-repeat center;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 0;
}

.event-location::before {
    background: url(assets/images/event-marker.svg) no-repeat center;
    background-size: contain;
}



/* Downloads */
.wp-block-query .wp-block-post-template li.type-download {
    padding-bottom: 0 !important
}

.wp-block-query .wp-block-post-template li.type-download > .wp-block-group.has-background:first-child {
    min-height: 100%;
    padding: 0 !important;
    position: relative;
    gap: 0;
}

    .wp-block-query .wp-block-post-template li.type-download > .wp-block-group.has-background:first-child > .wp-block-post-featured-image {
        aspect-ratio: 2 / 3;
        width: 30%;
        align-self: stretch;
        line-height: 0;
    }

    .wp-block-query .wp-block-post-template li.type-download > .wp-block-group.has-background:first-child > .wp-block-post-featured-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

        .wp-block-query .wp-block-post-template li.type-download > .wp-block-group.has-background:first-child > .wp-block-post-featured-image::before {
            content: "";
            display: block;
            position: absolute;
            bottom: 1.5em;
            right: 1.5em;
            width: 2em;
            height: 3em;
            background: url(assets/images/pdf-file.svg) no-repeat bottom right;
            background-size: contain;
        }

        .wp-block-query .wp-block-post-template li.type-download > .wp-block-group.has-background:first-child > .wp-block-group:first-child {
            position: static;
            padding: 2em 2em 4em 2em;
            flex: 1;
            align-self: stretch;
        }

        .wp-block-query .wp-block-post-template li.type-download > .wp-block-group.has-background:first-child > .wp-block-group:first-child> .wp-block-group:first-child {
            position: static;
        }

        .wp-block-query .wp-block-post-template li.type-download > .wp-block-group.has-background:first-child > .wp-block-group:first-child .wp-block-buttons {
            position: absolute;
            bottom: 2em;
            left: 2em;
        }


    .download-category-topic {
        gap: 0 !important;
    }

        .download-category-topic a {
            padding: 0 !important;
            pointer-events: none;
        }

        .download-category-topic .taxonomy-download-category + .taxonomy-download-topic::before {
            content: ", ";
        }

    .wp-block-query .wp-block-post-template li.type-download h3.wp-block-post-title {
        margin-top: 0.25em !important
    }


li.type-download .download-popup {
    display: none;
}


.download-popup.is-clone {
    position: fixed;
    top: 50%;
    left: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    padding: 2em;
    box-shadow: 0 0 1em rgba(0,0,0,0.2);
    z-index: 99999;
    width: 50%;
    max-width: 30em;
    padding-right: 15em;
}

    .download-popup.is-clone::after {
        content: "";
        display: block;
        position: absolute;
        top: 2em;
        right: 2em;
        width: 5.5em;
        height: 5.5em;
        background: url(assets/images/download-cloud.svg) no-repeat center;
        background-position: top right;
        background-size: contain;
    }

        .download-popup.is-clone.is-print-popup::after {
            background-image: url(assets/images/download-book.svg)
        }

    .download-popup.is-clone .wpcf7 {
        max-width: 100% !important;
        margin-top: 2em !important;
    }

        .download-popup.is-clone .wpcf7 .double > p {
            display: flex;
            flex-flow: row wrap;
            gap: 1em;
        }

            .download-popup.is-clone .wpcf7 .double > p > * {
                flex: 1;
            }

            .download-popup.is-clone .wpcf7 .double br {
                display: none;
            }

            .download-popup.is-clone .wpcf7 .wpcf7-submit {
                margin-top: 2em !important
            }

            .download-popup input[type='text'],
            .download-popup input[type='number'],
            .download-popup input[type='email'] {
                background: #EFEFEF;
                border-color: #EFEFEF;
            }

            .download-popup input[type='text']::placeholder,
            .download-popup input[type='number']::placeholder,
            .download-popup input[type='email']::placeholder {
                color: #848484;
            }

    .download-popup.is-clone .download-title {
        margin-top: -1em !important
    }

    .download-popup .inline p {
        display: flex;
        align-items: center;
        gap: 0.5em;
    }

.popup-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    z-index: 9999;
    transition: all 0.2s ease-out;
}


.document-filters {
    max-width: 70em !important;
    margin: 0 auto 7em auto;
}

    .document-filters h3:not(:first-child) {
        margin-top: 0.5em !important;
    }

    .document-filters ul.taxonomy-list.style-buttons {
        justify-content: flex-start;
        margin-top: 0 !important
    }

        .document-filters ul.taxonomy-list.style-buttons li {
            margin-left: 0 !important
        }

    .document-filters ul.taxonomy-list.style-list {
        display: flex;
        flex-flow: row wrap;
        gap: 2em;
    }

        .document-filters ul.taxonomy-list.style-list li {
            margin: 0 !important;
        }

    .document-filters input.tax-search {
        color: #1C1C1C;
        font: inherit;
        border-radius: 99px;
        appearance: none;
        -webkit-appearance: none;
        border: 1px solid #707070;
        width: 100%;
        max-width: 40em;
        background: url(assets/images/document-search.svg) no-repeat center left 1em;
        background-size: 1em auto;
        padding: 0.7em 1em 0.7em 2.7em;
        margin: 0 0 1em 0;
    }

        .document-filters input.tax-search::placeholder {
            font-weight: bold;
            color: #1C1C1C;
        }

/* Category- and Searchresults */

.category .wp-site-blocks,
.search-results .wp-block-query {
    max-width: 1600px;
    margin: 0 auto;
}
.category h1 {
    font: 700 60px / 67.800003px Roboto, Arial, sans-serif;
}
.category li.wp-block-post,
.search-results .wp-block-query li.wp-block-post {
    padding: 0 !important;
    box-shadow: 0 0.6em 1.5em rgba(0,0,0,0.2);
}
.category .wp-block-post-title {
    margin: 1em;
}
.category .wp-block-post figure {
    margin-top: 0 !important;
}
.category .wp-block-post .wp-block-spacer {
    display: none;
}
.category .wp-block-columns.is-layout-flex {
    margin: 1em;
    display: block !important;
}
.category .wp-block-post-date.has-small-font-size a {
    text-decoration: none;
    color: var(--wp--preset--color--secondary) !important;
    font: 20px / 25.4px Roboto, Arial, sans-serif;  
}
.search-results .wp-block-query div.wp-block-group {
    height: 100%;
    padding-bottom: 5em;
    position: relative;
}
.search-results .wp-block-query .wp-block-group .wp-block-post-excerpt__more-text {
    bottom: 2em;
}
.search-results .wp-block-query .wp-block-group .wp-block-post-title {
    font-size: 28px;
    line-height: 31px;
}


/* Stelleninserate Ostendis */
.entry-content .ost-jobs ul li::before {
    background-image: none;
}
.entry-content .ost-jobs ul.ost-list > li {
    padding-left: 0 !important;
}
.entry-content .ost-jobs ul li+li {
    margin-top: 0 !important;
}
.ost-jobs .ost-job .ost-row {
    border-bottom: 1px solid #efefef;    
}
.ost-jobs .ost-job .published {
    font-size: inherit;
    color: var(--wp--preset--color--secondary) !important;
    opacity: 1;
    margin-bottom: 0.5em;
}
.ost-jobs h4 {
    font-size: 1.4em;
}
.ost-jobs button,
.ost-jobs .action {
    background-color: var(--wp--preset--color--primary) !important;
    border-radius: 999px;
    border-color: var(--wp--preset--color--primary);
    border-width: 0.12em;
    border-style: solid;
    color: var(--wp--preset--color--background) !important;
    font-family: var(--wp--preset--font-family--ui);
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 700;
    padding-top: 0.33em;
    padding-right: 2em;
    padding-bottom: 0.33em;
    padding-left: 2em;
}
.ost-jobs button:hover {
    background: var(--wp--preset--color--secondary) !important;
    border-color: var(--wp--preset--color--secondary) !important;
    color: #fff !important;
}

/* WP-Forms Fixes */

.wpforms-form ul li::before {
	background: none;
}
.wpforms-form ul li .wpforms-field-label-inline {
	margin-left: 5px;
}
