/*
Theme Name: Vorlage
Version: 3.3.0.1
Author: SiMedia GmbH
Text Domain: SiMedia
Domain Path: /assets/languages
*/
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    text-size-adjust: none;
}

p {
    margin-top: 0;
}

img, video {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    min-height: 1px;
}

video {
    width: 100%;
}

.center {
    text-align: center;
}

/*Wrapper Width Styles*/
.fullWidth {
    width: 100%;
}

.widthWrapper, .contentWrapper, .sc-header {
    margin-left: auto;
    margin-right: auto;
}

/*BoxLayout Styles*/
.boxLayout {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.change-order .boxLayout .box:nth-child(1) {
    order: 2;
}

.change-order-m .boxLayout .box:nth-child(1) {
    order: 2;
}

/*Slick Styles*/
.sc-slideshow > img:not(:first-child) {
    display: none;
}

.sc-slideshow > picture:not(:first-child) img {
    display: none;
}

.slick-arrow:focus, ul.slick-dots li button:focus {
    outline: 0
}

/* Swiper – Reset only theme declarations from site.css that would override Swiper.
Reset site.css "button, .button" (background, padding, font, text-transform, etc.) */
.swiper .swiper-button-prev, .swiper .swiper-button-next {
    background: transparent;
    padding: 0;
    font-size: 0;
    text-transform: none;
    letter-spacing: normal;
    border-radius: 0;
    font-family: inherit;
    text-decoration: none;
    border: none;
}

/* Reset site.css ul/li for pagination */
.swiper .swiper-pagination {
    list-style: none;
    padding: 0;
    margin: 0;
}

.swiper .swiper-pagination-bullet {
    list-style: none;
    margin: 0;
    padding: 0;
}

/*Lightcase Styles*/
[data-sigallery] img:hover {
    cursor: pointer;
}

/*Accordion Styles*/
[data-accordion] [data-control] {
    cursor: pointer;
}

/*Tabs Styles*/
.tabs > [data-control] button {
    cursor: pointer;
}

.tabs > [data-control] button:focus {
    outline: none;
}

/* Lazyload styles (slideshows) header */
header .sc-slideshow img.lazyloaded {
    animation: none;
}

header .sc-slideshow.slick-initialized img.lazyloaded {
    animation: lazyloadFadeIn 1s;
}

@media (min-width: 994px) {
    .boxLayout {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .boxLayout .box {
        width: 50%;
    }

    .change-order-d .boxLayout .box:nth-child(1), .change-order-m .boxLayout .box:nth-child(2) {
        order: 2;
    }
}

/* >> Native lazy images: fade-in + preloader */
.swiper .swiper-wrapper, .swiper .swiper-slide {
    height: initial;
}

img.SiAutoSizes {
    opacity: 0;
    transition: opacity .75s;
}

img.SiAutoSizes.lazyloaded {
    opacity: 1;
}

:has(> .SiImagePreloader) {
    position: relative;
    display: block;
}

.SiImagePreloader.loaded {
    display: none;
}

.SiImagePreloader {
    border: 4px solid var(--SiImagePreloader-color);
    border-radius: 50%;
    border-top: 4px solid transparent;
    box-sizing: border-box;
    height: 42px;
    left: 50%;
    margin-left: -21px;
    margin-top: -21px;
    position: absolute;
    top: 50%;
    transform-origin: 50%;
    width: 42px;
    z-index: 10;
    animation: SiImagePreloaderSpin 1s linear infinite;
}

@keyframes SiImagePreloaderSpin {
    0% {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(1turn);
    }
}

/*LightGallery*/
a[data-rel="lightGallery"][data-video] {
    display: block;
    cursor: pointer;
}

:root {
    --lightgallery-backdrop-opacity: .75;
}

.lg-container .lg-backdrop.in {
    opacity: var(--lightgallery-backdrop-opacity);
}

a[data-rel="lightGallery"] video {
    pointer-events: none;
}