/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

html .ie11 {
    margin-top: 12em;
}

body .buorg {
    position: fixed;
    z-index: 111111;
    width: 100% !important;
    left: 0px;
    min-height: 12em;
    border-bottom: 1px solid #A29330;
    text-align: center;
    color: #000;
    background-color: white !important;
    font: 18px Calibri, Helvetica, sans-serif;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    animation: 1s ease-out 0s buorgfly;
}

body .buorg-pad {
    padding: 40px;
    line-height: 1.7em;
}

.buorg-moremsg {
    display: block;
}

body .buorg-buttons {
    display: block;
    text-align: center;
}

body #buorgig,
#buorgul,
#buorgpermanent {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
    padding: 1px 10px;
    border-radius: 4px;
    font-weight: normal;
    background: white !important;
    white-space: nowrap;
    margin: 0 2px;
    display: inline-block;
}

#buorgul {
    background-color: #204085 !important;
    margin-top: 1em;
}

body #buorgig {
    background-color: #edbc68;
}


.emailReiter,
.emailSeite {
    display: none !important;
}

@media only screen and (max-width: 700px) {
    .buorg div {
        padding: 5px 12px 5px 9px;
        line-height: 1.3em;
    }
}

@keyframes buorgfly {
    from {
        opacity: 0;
        transform: translateY(-50px)
    }

    to {
        opacity: 1;
        transform: translateY(0px)
    }
}

.buorg-fadeout {
    transition: visibility 0s 8.5s, opacity 8s ease-out .5s;
}

.buorg-icon {
    width: 22px;
    height: 16px;
    vertical-align: middle;
    position: relative;
    top: -0.05em;
    display: inline-block;
    background: no-repeat 0px center;
}

/* ### ### ### ### ### GLOBALS ### ### ### ### ### */
body {
    font-family: 'PT sans';
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Arimo';
}

body {

    background-color: #eeeeee;
    background: -o-radial-gradient(circle, rgba(255, 255, 255, 1) 27%, rgba(170, 170, 170, 1) 100%) !important;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 27%, rgba(170, 170, 170, 1) 100%) !important;
    background-attachment: fixed !important;
    background-size: 100vh !important;
}

#mm-0 {
    background-image: url(/files/cto_layout/img/layout/noisy-net.png) !important;
    background-repeat: repeat;
}

.ce_text_extented.font_serif {
    font-family: 'PT sans';
}

.cta .cta-link {
    transition: 400ms;
    -webkit-transition: 400ms;
    -moz-transition: 400ms;
    -ms-transition: 400ms;
    -o-transition: 400ms;
}

.cta .cta-link a {
    color: #555 !important;
    font-size: 1.25rem;
}

.cta .ce_bgimage-inside {
    padding-bottom: 0px !important;
}

h1 {
    text-transform: uppercase;
    font-family: 'Arimo';
    font-weight: 700;
    color: black;
    width: 98%;
}

.ce_headline_extended {
    max-height: 8rem;
}

#fix-wrapper {
    z-index: 10;
}

/*
#main h1 span{
display: block;
 text-align: right !important;
 color: white;
 z-index: 999;
position: relative;
top: -27.2px;
right: 20px;
}*/
#main h1 span {
    display: block;
    text-align: left;
    color: white;
    z-index: 999;
    position: relative;
    top: -27.2px;
    left: 2px;
    display: table;
    position: relative;
    padding-left: 40px;
}

.h1_divider {
    display: none
}

#main h1 span::after {
    display: block;
    content: "";
    height: 31px;
    background: black;
    top: -45px !important;
    position: relative;
    z-index: -1;
    padding: 0px 20px 0px 20px;
    width: calc(100% + 40px);
    left: -40px;
}

/*
    .content_page .h1_divider{
        width: 65% !important;
        height: 31px !important;
margin-top: -112px !important;
right: -85;
margin-bottom: 50px !important;  
display: none;
    }
*/


h2 {
    text-transform: uppercase;
    font-family: 'PT sans';
    font-weight: 700;
    color: black;
    padding-bottom: 20px;
}

h2:after {
    display: block;
    content: "";
    background-color: black;
    width: 75%;
    height: 1px;
    top: -10px;
    position: relative;
    right: -2px;
}

.mt-default.mb-xxs.mt-default-s::after {
    width: 100% !important;
    background: black;
    color: white;
    font-family: pt sans;
    font-weight: 900;
    text-transform: uppercase;
    display: block;
}

.cta .cta-link:active {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
}

.ce_hyperlink-extended i {
    margin-right: 10px;
}

.ce_divider_extended.version1 {
    background: #555;
    width: 85px;
}

.ce_divider_extended {
    margin-top: 0px;
    margin-bottom: 15px;
}

.header.original {
    background: #fff;
}

.header.original .inside {
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}

#slider {
    padding-top: 75px;
}

.ce_hyperlink a,
a.btn {
    background: white;
    color: #2d2d2d;
    border-color: #2d2d2d;
    transform: scale(0.9);
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
}

.ce_hyperlink a:hover,
a.btn:hover {
    background: #2d2d2d;
    color: #fff;
    border-color: #2d2d2d;
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
}

.cta .ce_hyperlink-extended.large a {
    padding: 10px 30px 20px 30px;
    width: 100%;
}

.cta .hyperlink_txt .fa-phone.fa {
    font-size: 2.5rem !important;
    top: 10px !important;
    position: relative !important;
}

/* ############### Unterseiten ############### */
.img-leftside-33 .ce_bgimage-inside,
.img-rightside-33 .ce_bgimage-inside {
    background-color: #f9f9f9 !important;
    margin: 60px 0px;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    padding: 0px 5em;
}

.ce_bgimage.img-rightside-33 .ce_bgimage-outer {
    margin-right: 25%;
}

.ce_bgimage.img-leftside-33 .ce_bgimage-outer {
    margin-left: 25%;
}

/* ############### Teaserboxes ############### */

#article-12627,
#article-12628 {
    padding-bottom: unset !important;
}

#article-12580,
#article-12625 {
    padding-top: unset !important
}

#article-12627 .h1_divider,
#article-12628 .h1_divider {
    margin-bottom: 0px !important;
}

.ce_teaserbox {
    margin-bottom: 0px !important;
    padding: 7em 12em;
}

.teaserbox-gray {
    background-color: #f6f6f6;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}

.ce_teaserbox h2:after {
    width: calc(100% - 1em);
}

.leistungen-box {
    padding-left: 0px !important;
    padding-right: 0px !important;
    max-width: unset !important;
}

/* ############### Navigation ############### */
#nav-open-btn:before {
    background: black;
}

.vlist .a-level_1 span,
.vlist .a-level_2 span,
.vlist .a-level_3 span {
    width: 100%;
    display: block;
}

.vlist .a-level_1 span::after,
.vlist .a-level_2 span::after,
.vlist .a-level_3 span::after {
    border-bottom: 1px solid rgb(161, 161, 161) !important;
    ;
    width: 75%;
    height: 100%;
    position: absolute;
    display: block;
    content: "";
    top: -15px;
    right: 17.5px;
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    transition: 300ms;
    -webkit-transition: 300ms;
    -moz-transition: 300ms;
    -ms-transition: 300ms;
    -o-transition: 300ms;
}

.mainmenu ul li {
    margin-left: 13px;
}

.vlist .a-level_1 span::after {
    width: 100%;
    top: -30px;
    right: 0px;
}

.header.cloned .vlist .a-level_1 span::after {
    top: -15px;
}

.vlist .a-level_1 span:hover::after,
.vlist .a-level_2 span:hover::after,
.vlist .a-level_3 span:hover::after {

    transform: scaleX(1);
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);
}

.mainmenu ul li ul li a {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    border-bottom: unset !important;
}

.mainmenu ul ul {
    border-top: unset;
}

.mainmenu ul ul li a.submenu::after {
    color: #555;
    top: 10px;
}

.header .mainmenu ul ul li a:hover:not(.menuheader):not(.megamenu),
.header .mainmenu ul ul li a.active,
.header .mainmenu ul ul li a.trail:not(.megamenu) {
    color: rgb(161, 161, 161) !important;
}

.mainmenu ul ul li a:hover:not(.menuheader):not(.megamenu),
.mainmenu ul ul li a.active,
.mainmenu ul ul li a.trail:not(.megamenu) {
    background: #f4f4f4 !important
}

.mainmenu ul li a {
    font-size: 0.92rem;
    font-weight: 800;
}

.mainmenu ul li {
    margin-right: 5px;
}

.header .inside {
    padding-right: 20px;
    padding-left: 20px;
}

.header.original .inside {
    max-width: 1260px;
}


.ce_text p a {
    color: #555;
    font-weight: 600;
    text-decoration: underline !important;
}

.hundred-percent-box>div:nth-child(2) {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 40px;
}


.h1_narrow .mb-s {
    margin-bottom: 0px !important;
}

.hundred-percent-box .ce_bgimage-inside {
    background-color: #f9f9f9;
    padding: 60px !important;
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}

/* ############### sterbefall ############### */
.sterbefall-bg .mod_newslist .layout_full {
    padding: 0em;

}

.fa.fa-sort-down {
    position: relative;
    top: -1px;
    font-size: 1.3em;
    margin-right: 5px;
    transition: 400ms;
}

.open-buch {
    clear: both;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    transition: 300ms;
}

.open-buch:hover .fa.fa-sort-down,
.open-buch:active .fa.fa-sort-down {
    rotate: -90deg;
    top: 2px;
}

.sterbefall-bg .mod_newslist .layout_full p a {
    color: #555;
}

/*  .sterbefall-bg .layout_full{
        background: #fbfbfb;
    }

*/
.error {
    color: white;
    background: rgba(0, 0, 0, 0.9);
    font-size: 22px;
    text-align: center;
}

.sterbefall.odd {
    background: #fff;
    border-left: 0px solid #dbdbdb;
}

.sterbefaelle-liste .item {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    padding: 2vw 10vw 0vw 10vw;
    border: 0px;
}

.sterbefaelle-liste .ce_text .image_container img {
    width: 100%;
}

.sterbefaelle-liste .ce_text .image_container.float_right,
.sterbefaelle-liste .ce_text .image_container.float_left {
    width: auto;
    width: 27%;
}

/* Sterbefälle Neu */
.sterbefaelle {
    --fontColor: rgb(59, 60, 66);

    #sterbefaelle-suche {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 40px;

        .input-wrapper {
            position: relative;
            max-width: 600px;
            width: 100%;

            input {
                border: 1px solid var(--fontColor);
                float: none;
                margin: 0;
            }

            svg {
                position: absolute;
                right: 0;
                top: 0;
                height: 50px;
                width: 50px;
                padding: 12px;
                color: var(--fontColor);
                ;
                cursor: pointer;
            }

            input[value=""] svg {
                display: none;
            }
        }

        button {
            height: 50px;
            padding: 0 20px;
            font-size: 1rem;
            font-weight: bold;
            cursor: pointer;
            border: 1px solid var(--fontColor);
            background: #fff;
            color: var(--fontColor);
            transition: background 0.2s;

            &:hover {
                background: #000;
                color: #fff;
            }
        }
    }

    .sterbefaelle-liste-neu {
        position: static !important;
        height: auto !important;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
        gap: 40px;
        padding: 0 80px;

        /* Fix grid Problem IOS Chrome */
        display: flex;
        flex-wrap: wrap;

        @media (max-width: 730px) {
            padding: 0;
            gap: 12px;
        }

        >.item {
            position: static !important;
            box-shadow: 0 0 10px rgba(0, 0, 0, .1);
            padding: 1em 1em 0em 1em !important;
            transform: none !important;

            /* Fix grid Problem IOS Chrome */
            width: 100%;

            @media (min-width: 460px) {
                width: calc(100%/2 - 6px) !important;
            }

            @media (min-width: 731px) {
                width: calc(100%/2 - 20px) !important;
            }

            @media (min-width: 880px) {
                width: calc(100%/3 - 27px) !important;
            }

            @media (min-width: 1200px) {
                width: calc(100%/4 - 30px) !important;
            }

            &.dummy {
                box-shadow: none;
                padding: 0 !important;
            }

            .ce_text {
                display: flex;
                flex-direction: column;
                height: 100%;

                .text {
                    padding: 10px;
                    flex-grow: 1;
                    display: flex;
                    flex-direction: column;

                    h3 {
                        margin: 0;
                        font-size: 1.5rem;
                        color: rgb(59, 60, 66);
                    }

                    p {
                        flex-grow: 1;
                        color: rgb(59, 60, 66);
                    }

                    .kerzen-count {
                        margin: 0;
                    }
                }

                figure {
                    img {
                        width: 100%;
                        min-height: 50%;
                        height: auto !important;
                        object-fit: cover;
                        aspect-ratio: 6 / 6;
                    }
                }
            }
        }
    }

    .pagination {
        font-size: 1.3rem;
        display: flex;
        flex-direction: column;
        align-items: center;

        p,
        ul {
            float: none;
            text-align: center;
        }

        p {
            font-weight: bold;
        }

        ul {
            display: flex;
            justify-content: center;
            margin-bottom: 16px;
        }
    }
}

.sterbefall-zurueck {
    display: inline-block;
    padding: 10px 20px 10px 0;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    color: black;
    margin: 20px 0;
}

.mod_newsreader:has(.sterbefall-detail) {
    .back {
        display: none;
    }
}

/* Sterbefall Detailansicht */
.sterbefall-detail {
    --fontColor: rgb(59, 60, 66);

    .sterbefall-detail-header {
        display: flex;
        gap: 40px;
        margin-bottom: 80px;

        .image_container {
            flex: 0 0 250px;
            margin: 0;
            float: none;
            width: auto;

            img {
                width: 100%;
                height: auto;
            }
        }

        .sterbefall-detail-info {
            flex: 1;

            h1 {
                margin-top: 0;
                word-break: keep-all;
                hyphens: auto;
            }

            .enclosure {
                padding: 0;
                margin-top: 20px;
            }

            .enclosure p a {
                text-decoration: underline !important;
            }
        }

        .sterbefall-detail-pdf {
            flex: 0 0 250px;

            a {
                position: relative;
                display: block;
                text-decoration: none;
                border: 1px solid #ddd;
                overflow: hidden;
            }

            .pdf-thumbnail {
                width: 100%;
                height: auto;
                display: block;
            }

            .pdf-overlay-label {
                position: absolute;
                top: 0;
                left: 0;
                height: 100%;
                width: 100%;
                padding: 0 20px;
                font-size: 1rem;
                font-weight: bold;
                cursor: pointer;
                border: 1px solid var(--fontColor);
                background: #fff;
                color: var(--fontColor);
                opacity: 0;
                transition: opacity 0.2s;

                &:hover {
                    opacity: 1;
                }
            }
        }

        @media (max-width: 960px) {
            flex-direction: column;
            gap: 20px;

            .image_container {
                flex: none;
                max-width: 300px;
                margin: 0 auto;
            }

            .sterbefall-detail-pdf {
                flex: none;
                height: 400px;
                max-width: 300px;
                margin: 0 auto;
            }
        }

        @media (max-width: 400px) {
            // display: block;

            .sterbefall-detail-pdf {
                height: auto;
                width: 100%;

                .pdf-thumbnail {
                    max-width: 80vw;
                }
            }
        }
    }

    .pdf-lightbox-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 9999;
        align-items: center;
        justify-content: center;

        .pdf-lightbox-content {
            position: relative;
            width: 90%;
            max-width: 900px;
            height: 80vh;
            background: #fff;
            border-radius: 8px;
            display: flex;
            flex-direction: column;
            overflow: hidden;

            @media (max-width: 400px) {
                position: absolute;
                height: calc(90vh - 80px);
                width: 100%;
                top: 80px;
            }
        }

        .pdf-lightbox-close {
            position: absolute;
            top: 10px;
            right: 14px;
            background: none;
            border: none;
            font-size: 2rem;
            color: #333;
            cursor: pointer;
            z-index: 1;
            line-height: 1;

            &:hover {
                color: #000;
            }
        }

        .pdf-lightbox-viewer {
            flex: 1;
            width: 100%;
            overflow-y: auto;
            background: #888;
            text-align: center;

            canvas {
                display: block;
                margin: 0 auto;
                max-width: 100%;
            }
        }

        .pdf-lightbox-loading {
            padding: 40px;
            color: #fff;
            font-size: 1.1rem;
        }

        .pdf-lightbox-actions {
            padding: 12px 20px;
            text-align: center;
            background: #f5f5f5;
            border-top: 1px solid #ddd;
        }

        .pdf-lightbox-download {
            display: inline-block;
            padding: 10px 24px;
            background: #333;
            color: #fff;
            text-decoration: none;
            border-radius: 4px;
            font-size: 0.95rem;

            &:hover {
                background: #555;
            }
        }
    }

    .sterbefall-detail-forms {
        margin-bottom: 80px;

        .formnavigation {
            display: flex;
            gap: 0;
            margin-bottom: 0;

            button {
                flex: 1;
                padding: 12px 20px;
                font-size: 1rem;
                font-weight: bold;
                cursor: pointer;
                border: 1px solid var(--fontColor);
                background: #f0f0f0;
                color: var(--fontColor);
                height: 50px;
                transition: background 0.2s;


                &.active {
                    background: #000;
                    color: #fff;
                }
            }
        }

        .tabnavigation-forms {
            border: 1px solid var(--fontColor);
            border-top: none;
            padding: 20px;

            label {
                display: inline-block;
                margin: 0;
            }

            input,
            textarea {
                font-size: 1rem;
                color: var(--fontColor);
                float: none;
                border: 1px solid var(--fontColor);
            }

            .widget-submit button {
                cursor: pointer;
                height: 50px;
                padding: 0 20px;
                font-size: 1rem;
                font-weight: bold;
                cursor: pointer;
                border: 1px solid var(--fontColor);
                background: #fff;
                color: var(--fontColor);
                transition: background 0.2s;

                &:hover {
                    background: #000;
                    color: #fff;
                }
            }
        }
    }

    .sterbefall-detail-kerzen {
        margin-top: 40px;

        h2 {}

        .kerzen-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
        }

        .kerze-item {
            position: relative;
            padding: 0;
            padding-bottom: 70px;
            background: rgba(0, 0, 0, 1);
            text-align: center;

            .kerze {
                width: 100%;
                border: none;
            }

            .kerzenBeschreibung {
                position: absolute;
                bottom: 0;
                width: 100%;
                color: white;
                padding: 10px;
                font-size: 18px;
                line-height: 1.2;
                margin: 0;
                min-height: 3em;
            }
        }

        @media (max-width: 550px) {
            .kerzen-grid {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
                gap: 10px;
            }
        }
    }
}

body:has(.pdf-lightbox-overlay.open) #stickyheader {
    display: none;
}

/** Kleiner Fix für altes iOS16 */
@media (max-width: 400px) {
    .sterbefall-detail-pdf .pdf-thumbnail {
        max-width: 85vw !important;
    }
    .sterbefall-detail .pdf-lightbox-overlay  .pdf-lightbox-viewer canvas {
        max-width: 100vw !important;
    }
}

.pagination {
    max-width: 700px;
    margin: 0 auto;
}

.pagination li a:hover {
    color: #555;
}

.pagination li span.current {
    color: #555;
}

/*
.mod_newslist .layout_full .ce_text{
    padding: 2vw 10vw 0vw 10vw;
} 

*/
.mod_newslist .layout_full .ce_text>p:nth-child(1) {
    text-align: center;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
}

.mod_newslist .layout_full .ce_text>p:nth-child(1) {
    float: right !important;
    text-align: right;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    position: relative !important;
}


.mod_newslist .layout_full p {
    padding: 0em;
}

.mod_newslist .layout_full .kerzenliste p {
    padding: unset !important;
}

.kerzenliste li {
    margin: unset !important;
}

.enclosure span {
    display: none;
}

.enclosure {
    padding: 0em 2.5em;

}

.enclosure p a {
    font-weight: 400;
    text-decoration: none !important;
}

.sterbefall-bg .ce_bgimage-inside {
    padding: unset;
    max-width: unset;
}

.kerzenBeschreibung {
    font-family: 'PT sans', cursive;
}

.kerzenbild {
    background: url(https://hoppenberger.fm-media.at/files/cto_layout/img/layout/kerze1.gif);
    height: 200px;
    width: 200px;
}

/* ############### Sargseite und Urnenseite ############### */

.ce_gallery .borders li {
    border-right: 10px solid rgb(249, 249, 249);
    border-bottom: 10px solid rgb(249, 249, 249);
}

.ce_gallery .borders li.row_last {
    border-bottom: none !important;
}

.ce_gallery ul {
    display: flex;
    flex-wrap: wrap;
}

.image_container .caption {
    background: rgba(240, 240, 240, 0.7);
    color: #555;
    border-radius: 0px;
    margin-top: 0px;
}

figcaption {
    width: 100% !important;
    height: 4rem;
}

.ce_gallery.block .cols_3 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.ce_gallery.block .ce_gallery .cols_3 li {
    width: 33% !important;
}



/* ############### Sterbefaelle Filter ############### */


.mod_newscategories .level_1 {
    display: flex;
    flex-wrap: wrap;
}

.mod_newscategories .level_1 li {
    flex: 1;
    background: #e7e7e7;
    margin: 5px;
    display: block;

}

.mod_newscategories .level_1 li span,
.mod_newscategories .level_1 li a,
.mod_newscategories .level_1 li strong {
    display: block;
    text-align: center;
    padding: 5px;
}

.ce_portfoliofilter.default a.selected,
.ce_portfoliofilter.default a:hover {
    background: #b2b2b2;
}

/* ############### Sterbefaelle ############### */


.sterbefall-bg .mod_newslist.sterbefaelle-liste {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 100%;
    height: auto !important;
}

.sterbefall-bg .layout_full h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.ce_tabnavigation .tabnavigation-forms.active {
    margin-top: 50px;
    margin-left: 0px;
    margin-right: 0px;
    background: url(https://bestattung-hoppenberger.at/files/cto_layout/img/layout/kondolenzbuch_s.jpg);
    padding: 3em 2.5em;
    max-height: 100vh;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
    overflow-y: auto;
    height: 600px;
    /*margin: 0vw 10vw;*/
    margin-bottom: 35px;
}

@media screen and (min-width: 1024px) {
    .ce_tabnavigation .tabnavigation-forms.active {
        height: 900px;
    }
}


.mod_newslist .candles-list p {
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
    color: white;
}

.kerzenSeite {
    width: 100%;
    display: none;
}

.karteireiter {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 40px;
    font-size: 15px;
    margin-bottom: 30px;
    max-height: 15vh;
}

.kerzenSeite form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -ms-flex-preferred-size: 5;
    flex-basis: 5;
}

.kerzenSeite input[type=submit] {
    cursor: pointer;
    margin: 11px 0px 20px 10px;
    background: white;
    font-size: 13px;
    padding: 1px 10px;
    float: right;
    border: 1px solid black;
    width: 25%;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;

    -webkit-border-radius: 0px;
}

.kondolenzeintrag {
    font-size: 14px !important;
}

.emailReiter,
.kerzenReiter {
    height: 30px;
    background: #e1e1e1;
    float: left;
    text-align: center;
    padding-top: 9px;
    height: 50px;
    border: black 1px solid !important;
    margin-left: -1px;
}

.sterbefall .candles-list ul {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    grid-gap: 0.5em;
}

.mod_newslist .layout_full p {
    padding-bottom: 0.25em;
    font-size: 20px;
    padding-top: 1em;
    padding: 0em 0.5em;
}

.sterbefall .ce_tabnavigation.block {
    clear: both;
}

/*.emailReiter, .emailSeite {display: none !important;}*/

.emailSeite {
    width: 100%;
}

.aktiveTab {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;

    border: black 2px solid !important;

    background: #f9f9f9;

}

input::placeholder,
textarea::placeholder,
select::placeholder {
    color: #818181 !important
}

.inaktiveTab {
    width: 330px;
    background: #e1e1e1;
    border-bottom: 1px solid #fff;
    cursor: pointer;
    transition: background 300ms;
}

.inaktiveTab:hover {
    background: #2d2d2d;
    color: white !important;
    border: white 1px solid !important;
}

label {
    margin: 10px 10px 10px 30px;
    display: none;
}

input[type='text'] {
    border: 1px solid black;
    float: left;
    font-size: 16px;
    -webkit-box-flex: 3;
    -ms-flex: 3;
    flex: 3;
    margin: 10px 10px 20px 0px;
    width: 100%;
}

textarea {
    border: 1px solid black;
    margin: 10px 30px 10px 0px;
    width: 100%;
    height: 200px;
    font-size: 16px;
    font-family: arial;
}

input[type=submit] {
    cursor: pointer;
    margin: 11px 33px 10px 10px;
    background: #e1e1e1;
    font-size: 13px;
    padding: 1px 10px;
    float: right;
    width: 100%;
    padding: unset;
    margin: unset;
    line-height: 3.54rem !important;
    border: 1px solid black;
    margin-bottom: 10px;

}

input:hover:not([type="submit"]),
button:hover:not([type="submit"]),
textarea:hover {
    border: 0px solid black
}

input[type=submit]:hover {

    color: white !important;
    border: white 1px solid !important;

}

.tabnavigation-button button {
    font-size: 14px;
    background-color: #efefef;
    color: #555;
    padding: 10px;
    margin-bottom: 8px;
    cursor: grab;
}

.formnavigation button {
    font-size: 14px;
    background-color: transparent;
    color: #555;
    font-size: 14px;
    background-color: #efefef;
    color: #555;
    padding: 10px;
    cursor: grab;
}

.tabnavigation-forms .widget-submit button {
    font-size: 14px;
    background-color: #efefef;
    color: #555;
    padding: 10px;
    cursor: grab;
}


.kerzenliste {
    margin-left: unset;
    display: -ms-grid;
    display: grid;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-grid-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    padding: 0px;
    background: rgba(0, 0, 0, 0.0);
    margin-top: 15px;
    grid-gap: 5px 10px;
}

.kerzenliste li {

    margin-bottom: 10px;
    height: auto;
    border: unset;
    list-style-type: none !important;
    float: left;
    list-style: initial;
    text-align: center;
    opacity: 0.92;
    background: rgba(0, 0, 0, 1)
}

.kerzenliste p {
    font-size: 20px;
    padding: 10px !important;
    line-height: 1.2;
    color: white;
    margin: 10px;
    height: 100%;
    min-height: 4em;
}

.kerze {
    width: 100%;
    border: none !important;
}

.formContainer label {
    font-size: 15px;
}


#main .ce_text ol,
#main .ce_text ul {
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    flex-direction: column !important;
    -webkit-flex-direction: column !important;
}

.ce_text ul li,
.ce_list ul li {
    display: list-item;
}

/* ### ### ### ### ### Kontaktformular ### ### ### ### ### */
.kontaktform input[type="text"] {
    float: none;
}

.kontaktform form div.widget {
    margin-bottom: 0px;
}

.kontaktform form .widget.widget-submit {
    margin-top: 20px;
}

input {
    color: #555;
}

.kontaktform label {
    display: inline-block
}

.kontaktform input.submit,
button.submit {
    color: black;
    background: #f2f2f2 !important;
    transition: 300ms;
    border-radius: unset;
}

.kontaktform input.submit:hover,
button.submit:hover {
    background: #2d2d2d !important;
    color: white;
}

.mod_cookiebar_optin form div.widget label {
    display: inline-block;
    margin: unset;
}

/* ### ### ### ### ### Footer ### ### ### ### ### */
#footer {
    background-color: #060606;
}

#footer li {
    position: relative;
    position: inline;
    width: 100%;
    text-align: center;
    margin-bottom: 10px !important;
    padding-left: 0px !important;
}

#footer ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

#footer li::before {
    display: none;
}

#footer li::after {
    width: 33%;
    margin-left: 33%;
    transform: scaleX(0);
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    transition: 300ms;
    -webkit-transition: 300ms;
    -moz-transition: 300ms;
    -ms-transition: 300ms;
    -o-transition: 300ms;
}

#footer li:hover::after {
    width: 33%;
    transform: scaleX(1);
    -webkit-transform: scaleX(1);
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -o-transform: scaleX(1);

}



/*
.candles-list ul li:nth-child(3n+1) {
	width: 32%;
float: left;
margin-right: 2%;}


 
.candles-list ul li:nth-child(3n+2) {
	width: 32%;
float: left;
margin-right: 2%;}


 
.candles-list ul li:nth-child(3n+3) {
	width: 32%;
float: left;
margin-right: 0%;}

*/

@media screen and (orientation:landscape) and (max-device-width: 780px) {
    .kerzenliste {
        grid-template-columns: 25% 25% 25% 25% !important;

    }

    .header .inside {
        height: 54px !important;
    }

    .mod_newslist .layout_full .ce_text .image_container img {
        max-width: 14em !important;
    }

}

@media only screen and (max-width: 1110px) {

    .mainmenu ul li {
        margin-left: 5px;
    }

    .mainmenu ul li a {
        font-size: 0.82rem;
    }

    .header.cloned .logo {
        width: 170px;
    }

    .cta .ce_hyperlink-extended.large a {
        padding: 10px 5px 20px 5px;
        width: 100%;
        font-size: 1rem !important;
    }


    .sterbefall .candles-list ul {
        grid-template-columns: 33.333333% 33.333333% 33.333333% !important;
    }
}

@media only screen and (max-width: 768px) {

    body .mm-menu a:hover,
    body .mm-menu a.active,
    body .mm-menu a.trail,
    body .mm-menu .mm-listview>li.mm-selected>a:not(.mm-next),
    body .mm-menu .mm-listview>li.mm-selected>span,
    body .mm-menu .mm-listview>li.trail a {
        background: #2d2d2d;
        color: white;
    }

    #main h1 {

        padding-top: 1em;
    }

    .sterbefall .tabnavigation-button button {
        margin-right: auto;
        margin-left: auto;
        width: 100%;
        margin-top: 3em;

    }


    #main h1 span {
        top: -16.2px;
    }

    #main h1 span::after {
        height: 18px;
        top: -25px !important;
    }

    .kerzenSeite {
        width: 100%;
    }

    .sterbefall-bg .mod_newslist {
        -ms-grid-columns: 1fr;
        grid-template-columns: 100%;
    }

    .mod_portfoliolist_v7 .item {
        padding: 3em 1em 0em 1em;
    }

    .mod_newslist .layout_full .ce_text {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        /*padding: 3em 1em 0em 1em;*/
    }

    .enclosure {
        padding: 0em 0.75em;
        margin-bottom: 0.5em;
        position: relative;
        top: unset;
        order: 2;
    }

    .sterbefall-bg .layout_full h1 {
        font-size: 1.5rem;
        margin-bottom: 15px;
        text-align: center;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .mod_newslist .layout_full p {
        padding: 0em 0em;
        text-align: center;
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .mod_newslist .layout_full .ce_text>p:nth-child(1) {
        float: none !important;
        text-align: center;
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
        top: unset;
        position: relative;
    }

    .sterbefaelle-liste .ce_text .image_container.float_right,
    .sterbefaelle-liste .ce_text .image_container.float_left {
        width: 100%;
        text-align: center;
        padding: 0 10vw;
    }

    .mod_newslist .layout_full .ce_text .image_container img {
        width: 100%;
        /*padding: 0em 4em;*/
        text-align: center;
        margin: auto;
        max-width: 20em;
    }

    .sterbefall.odd {
        border-left: unset;
    }

    .kerzenliste {
        -ms-grid-columns: 50% 50%;
        grid-template-columns: 50% 50%;
    }

    .karteireiter {
        flex-direction: row;
        height: 80px;
        margin-bottom: 0px;
    }

    .inaktiveTab,
    .aktiveTab {
        width: 50%;
    }

    .formContainer {
        background-size: cover;
        padding: 3em 1em;
        width: calc(100vw - 4em);
        width: 100%;
        overflow-x: hidden;
        height: 73vh !important;
        margin: 0vw 0vw;
    }

    .ce_tabnavigation .tabnavigation-forms.active {
        padding: 3em 1em;
    }

    .kerzenSeite form {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .formContainer input[type=submit] {
        margin: 0px 0px 10px 0px !important;
        width: 100%;
        padding: 5px;
        -webkit-appearance: none !important;
    }

    #main .sterbefall-bg .ce_bgimage-outer .ce_bgimage-inside {
        padding-left: 1em !important;
        padding-right: 1em !important;
    }

    .karteireiter p {
        font-size: 3.6vw;
    }

    .hundred-percent-box>div:nth-child(2) {
        padding: 0em 1em;
    }

    h2:after {
        top: -7px;
    }

    #footer .one_fourth .ce_text:nth-child(2) {
        max-width: 250px;
        text-align: center;
        margin: auto;
    }

    .header.cloned .logo {
        width: 250px;
    }

    .ce_teaserbox {
        margin-bottom: 0px !important;
        padding: 4vw 4vw;
    }

    .ce_bgimage_92091 h1.mb-xxs {
        margin-bottom: unset !important;
    }

    .font-size-m,
    .font-size-m p {
        font-size: 2.2rem;
    }

    .ce_headerimage {
        height: 25vh !important;
    }

    .ce_portfoliofilter.mobile-filter-show .ce_portfoliofilter_content {
        opacity: 1 !important;
    }

    .mobile-filter-trigger {
        display: none !important;
    }

    .ce_portfoliofilter .ce_portfoliofilter_content {
        opacity: 1;
        visibility: visible;
        display: inline-table;
        width: 100%;
    }

    .ce_portfoliofilter {
        margin-top: 0px;
    }

    .sterbefall .candles-list ul {
        grid-template-columns: 50% 50% !important;
    }

}

@media only screen and (max-width: 550px) {
    .ce_gallery.block .cols_3 {
        flex-direction: column;
    }

    .ce_gallery .borders li,
    .ce_gallery .borders li.col_last {
        border: unset !important;
        width: 100%;
        margin: 2vh 0px;
    }

    .ce_gallery .cols_5.borders li {
        margin-bottom: 2em;
    }

    #footer ul {
        flex-direction: column;
    }

    .formContainer {
        padding: 3em 2vw;
    }

    .mod_newslist .layout_full .ce_text>p:nth-child(1) {
        top: unset;
    }

    .candles-list ul li {
        width: 99% !important;
        padding-bottom: 0.5em;
        height: min-content;
        margin-right: 1% !important;
    }

}

@media only screen and (max-width: 430px) {

    h1 {
        font-size: 1.38rem;
        margin-bottom: 15px;
    }

    #main h1 span {
        top: -12.2px;
    }

    #main h1 span::after {
        height: 14px;
        top: -20px !important;
    }

    .ce_bgimage_92621 h1 {
        font-size: 1.18rem;
        margin-bottom: 15px;
    }

    .ce_bgimage_92621 #main h1 span::after {
        height: 12px;
        top: -18px !important;
    }

    .header.cloned .logo {
        width: 200px;
    }

    .kerzenliste {
        grid-template-columns: 100%;
    }

    .kerzenliste li {
        display: flex;
        height: 6em !important
    }

    .kerze {
        max-width: 99%;
        height: 85%;
    }

    center {
        width: 100%;
        padding: 0em;
        margin-top: 1em;
    }


    .sterbefall .candles-list ul {
        grid-template-columns: 100% !important;
    }
}

/* ############### Print: Sterbefall Detailseite ############### */
@media print {

    .header,
    .header.cloned,
    #footer,
    .sterbefall-zurueck,
    .sterbefall-detail .sterbefall-detail-header,
    .sterbefall-detail .sterbefall-detail-forms,
    .sterbefall-detail .pdf-lightbox-overlay,
    .sterbefall-detail .sterbefall-detail-pdf {
        display: none !important;
    }

    .sterbefall-detail .sterbefall-detail-kerzen {
        margin: 0;

        h2 {
            text-align: left;
            font-size: 16pt;
        }

        .kerzen-grid {
            grid-template-columns: repeat(3, 1fr) !important;
            gap: 10px;
        }

        .kerze-item {
            break-inside: avoid;
            background: #000;

            .kerze {
                width: 100%;
            }

            .kerzenBeschreibung {
                position: static;
                color: #000;
                background: #f0f0f0;
                font-size: 11pt;
                padding: 8px;
                min-height: auto;
            }

            background: #fff;
            padding-bottom: 0;
        }
    }
}

.share-buttons {}

.share-button.whatsapp {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #25d366;
    background-color: #000;
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 10px;
    gap: 5px;
}