.quiqqer-tabsAdvanced-control {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.quiqqer-tabsAdvanced-nav-inner,
.quiqqer-tabsAdvanced-content-inner {
    list-style: none;
    padding: 0;
}

.quiqqer-tabsAdvanced-nav-item,
.quiqqer-tabsAdvanced-content-item {
    margin: 0;
    padding: 0;
}

/*******/
/* nav */
/*******/
.quiqqer-tabsAdvanced-nav-inner {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    position: relative;
    /*flex-grow: 1;*/

    gap: 1rem;
}

@media screen and (max-width: 767px) {
    .quiqqer-tabsAdvanced-nav-inner {
        overflow: scroll;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
    }

    .quiqqer-tabsAdvanced-nav-inner::-webkit-scrollbar { /* WebKit */
        width: 0;
        height: 0;
    }
}

.quiqqer-tabsAdvanced-nav-inner--navFillSpace {
    min-width: 100%;
}

.quiqqer-tabsAdvanced-nav-inner--navFillSpace .quiqqer-tabsAdvanced-nav-item {
    flex: 1;
    justify-content: center;
}

.quiqqer-tabsAdvanced-nav-inner--navFillSpace .quiqqer-tabsAdvanced-nav-link {
    justify-content: center;
}

.quiqqer-tabsAdvanced-nav {
    display: flex;
}

.quiqqer-tabsAdvanced-nav--center {
    justify-content: center;
}

.quiqqer-tabsAdvanced-nav-link {
    padding: 1rem;
    color: inherit;
    height: 100%;
    position: relative;
}

.quiqqer-tabsAdvanced-nav-link img {
    height: var(--_qui-menu-controls-tabs-navImgHeight, 20px);
    vertical-align: middle;
    display: block;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.quiqqer-tabsAdvanced-nav-link .fa {
    display: block;
    font-size: var(--_qui-menu-controls-tabs-navImgHeight, 20px);
}

.quiqqer-tabsAdvanced-nav-linkLabel.navText__noWrap {
    white-space: nowrap;
}

.active > .quiqqer-tabsAdvanced-nav-link {
    color: var(--_qui-menu-controls-tabs-accentColor, var(--qui-colors-primary));
}

/* progress bar */
.quiqqer-tabsAdvanced-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.06); /* Track */
    overflow: hidden;
}

.quiqqer-tabsAdvanced-progress__bar {
    display: block;
    width: 0%;
    height: 100%;
    background: var(--_qui-menu-controls-tabs-accentColor, var(--qui-colors-primary, #0a7));
}

@keyframes quiqqer-tab-progress {
    from { width: 0%; }
    to   { width: 100%; }
}

/* aktive Animation, wird per JS als Klasse gesetzt */
.quiqqer-tabsAdvanced-progress--active .quiqqer-tabsAdvanced-progress__bar {
    animation-name: quiqqer-tab-progress;
    animation-duration: var(--progress-duration, 5000ms);
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    animation-play-state: var(--progress-state, running); /* running|paused */
}

.quiqqer-tabsAdvanced-sliderControl {
    transition: var(--qui-transition);
    text-align: var(--_qui-menu-controls-tabs-controlsAlignment, left);
}

@media screen and (hover: hover) {
    .quiqqer-tabsAdvanced-sliderControl__btn {
        --_q-tabsAdvanced-sliderControl-btn-transition: var(--q-tabsAdvanced-sliderControl-btn-transition, 0.75s ease);
    }

    .quiqqer-tabsAdvanced-sliderControl__btn-label {
        max-width: 0;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        transition: var(--_q-tabsAdvanced-sliderControl-btn-transition);
    }

    .quiqqer-tabsAdvanced-sliderControl__btn:hover .quiqqer-tabsAdvanced-sliderControl__btn-label {
        max-width: 350px;
    }

    .quiqqer-tabsAdvanced-sliderControl__btn .icon {
        transition: var(--_q-tabsAdvanced-sliderControl-btn-transition);
        margin-left: 0;
    }

    .quiqqer-tabsAdvanced-sliderControl__btn:not(:hover) .icon {
        margin-left: -0.75em;
    }
}

/* Sichtbarkeit der Icons je nach Status */
.quiqqer-tabsAdvanced-sliderControl__btn.is-playing .fa-play { display: none; }
.quiqqer-tabsAdvanced-sliderControl__btn.is-playing .fa-stop { display: inline-block; }
.quiqqer-tabsAdvanced-sliderControl__btn.is-paused  .fa-play { display: inline-block; }
.quiqqer-tabsAdvanced-sliderControl__btn.is-paused  .fa-stop { display: none; }

/*************/
/* nav style */
/*************/
/* img left */
.navTabStyle__imgLeft.quiqqer-tabsAdvanced-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navTabStyle__imgLeft.quiqqer-tabsAdvanced-nav-link > picture {
    width: max-content;
    min-width: max-content;
}

/* img left and fill space*/
.quiqqer-tabsAdvanced-nav-item.navFillSpace > .navTabStyle__imgLeft.quiqqer-tabsAdvanced-nav-link {
    justify-content: center;
}

/* img top */
.navTabStyle__imgTop.quiqqer-tabsAdvanced-nav-link {
    display: block;
    text-align: center;
}

.navTabStyle__imgTop.quiqqer-tabsAdvanced-nav-link > picture {
    display: block;
    width: max-content;
    min-width: max-content;
    margin-inline: auto;
}

.navTabStyle__imgTop.quiqqer-tabsAdvanced-nav-linkLabel {
    margin-top: 0.5rem;
    display: block;
}

/* only img */
.navTabStyle__onlyImg.quiqqer-tabsAdvanced-nav-link {
    display: block;
    text-align: center;
}

/***********/
/* content */
/***********/
.quiqqer-tabsAdvanced-content {
    margin-top: var(--qui-spacing-2xl, 3rem);
}

.quiqqer-tabsAdvanced-content-itemWrapper {
    --min-image-container-width: 200px;
    display: grid;
    gap: var(--qui-spacing-xl, 2rem);
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
}

.quiqqer-tabsAdvanced-content-itemWrapper.no-image {
    gap: 0;
    grid-template-areas: "content";
}

@media screen and (min-width: 768px) {

    .quiqqer-tabsAdvanced-content-itemWrapper:not(.no-image).left {
        grid-template-areas: "image content";
        grid-template-columns: 1fr auto;
    }

    .quiqqer-tabsAdvanced-content-itemWrapper:not(.no-image).right {
        grid-template-areas: "content image";
        grid-template-columns: auto 1fr;
    }

    .quiqqer-tabsAdvanced-content-itemWrapper:not(.no-image).top {
        grid-template-areas: "image" "content";
        width: max-content;
        margin-inline: auto;
    }

    .quiqqer-tabsAdvanced-content-itemWrapper:not(.no-image).bottom {
        grid-template-areas: "content" "image";
        width: max-content;
        margin-inline: auto;
    }

    .quiqqer-tabsAdvanced-content-itemWrapper.top {
        width: max-content;
        margin-inline: auto;
    }

    .quiqqer-tabsAdvanced-content-itemWrapper.bottom {
        width: max-content;
        margin-inline: auto;
    }
}

.quiqqer-tabsAdvanced-content-image {
    grid-area: image;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quiqqer-tabsAdvanced-content-image-inner {
    min-width: max(var(--_qui-menu-controls-tabs-contentImgMinWidth, 200px), 100%);
    max-width: var(--_qui-menu-controls-tabs-contentImgMaxWidth, 400px);
}

.quiqqer-tabsAdvanced-content-image img {
    width: auto;
    height: auto;
    display: block;
}

.quiqqer-tabsAdvanced-content-body {
    grid-area: content;
    display: flex;
    align-items: var(--_qui-menu-controls-tabs-contentPos);
}

.quiqqer-tabsAdvanced-content-body-inner {
    max-width: var(--_qui-menu-controls-tabs-contentTextWidth, 600px);
    margin-inline: auto;
}

@media screen and (max-width: 767px) {
    .quiqqer-tabsAdvanced-content-itemWrapper {
        display: block;
    }

    .quiqqer-tabsAdvanced-content-image {
        margin-bottom: var(--qui-spacing-xl, 2rem);
    }

    .quiqqer-tabsAdvanced-content-image {
        text-align: center;
    }
}