.quiqqer-tabsAdvanced-control {
    --_buttonBar-borderWidth: var(--qui-menu-controls-tabs-buttonBar-borderWidth, 1px);
    --_buttonBar-borderColor: var(--qui-menu-controls-tabs-buttonBar-borderColor, color-mix(in srgb, currentColor 12%, transparent));
    --_buttonBar-radius: var(--qui-menu-controls-tabs-buttonBar-radius, var(--qui-btn-border-radius, 0.5rem));
    --_tabular-borderWidth: var(--qui-menu-controls-tabs-tabular-borderWidth, 1px);
    --_tabular-borderColor: var(--qui-menu-controls-tabs-tabular-borderColor, color-mix(in srgb, currentColor 12%, transparent));
    --_tabular-radius: var(--qui-menu-controls-tabs-tabular-radius, var(--qui-btn-border-radius, 0.5rem));
    --_tabular-contentPadding: var(--qui-menu-controls-tabs-tabular-contentPadding, 2rem);

    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.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;
    margin: 0;
    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--center {
    justify-content: center;
    display: flex;
}

.quiqqer-tabsAdvanced-nav-link {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.quiqqer-tabsAdvanced-nav-linkContent {
    display: flex;
    gap: 0.75em;
    align-items: center;
}

.quiqqer-tabsAdvanced-nav-linkContent 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-linkContent .fa {
    display: block;
    font-size: var(--_qui-menu-controls-tabs-navImgHeight, 20px);
}

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

/* progress bar */
.quiqqer-tabsAdvanced-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    border-radius: 2px;
    background-color: color-mix(in srgb, var(--qui-colors-body, rgb(0 0 0)) 8%, transparent); /* Track */
    overflow: hidden;
}

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

@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);
    padding-block: 1rem;
}

@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-linkContent > picture {
    width: max-content;
    min-width: max-content;
}

/* img top */
.navTabStyle__imgTop.quiqqer-tabsAdvanced-nav-linkContent {
    flex-direction: column;
    gap: 0.25em;
}

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

/***********/
/* content */
/***********/
.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;
    }
}

/**
 * Layout: tabular
 */
.quiqqer-tabsAdvanced-control--tabular {
    border: var(--_tabular-borderWidth) solid var(--_tabular-borderColor);
    border-radius: var(--_tabular-radius);
    gap: 0;
    overflow: hidden;
}

.quiqqer-tabsAdvanced-control--tabular .quiqqer-tabsAdvanced-content-item {
    padding: var(--_tabular-contentPadding);
}