/* Navigazione */

.tabs-nav {
    width: 100%;
    height: 40px;
    overflow: hidden;
}

.tabs-nav ul::-webkit-scrollbar {
    display: none;
}

.tabs-nav ul {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    border-radius: 25px;
    background-color: rgba(245, 245, 245, 1);
    width: 100%;
    height: 100%;
    margin-right: auto;
    margin-left: auto;
    padding: 4px;
    overflow-y: hidden;
    overflow-x: auto;
}

.tabs-nav ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 25px;
    border: 0;
    height: 100%;
    margin-right: 5px;
    margin-left: 5px;
    padding-right: 15px;
    padding-left: 15px;
    text-align: center;
    cursor: pointer;
}

.tabs-nav.two ul li {
    width: calc((100% - 10px) / 2);
    padding-right: 0;
    padding-left: 0;
}

.tabs-nav.three ul li {
    width: calc((100% - 20px) / 3);
    padding-right: 0;
    padding-left: 0;
}

.tabs-nav ul li:first-child {
    margin-left: 0;
}

.tabs-nav ul li:last-child {
    margin-right: 0;
}

.tabs-nav ul li.current-active-tab {
    border-radius: 25px;
    background-color: rgba(50, 52, 55, 1);
}

.tabs-nav ul li {
    width: 100%;
    margin-bottom: 0;
}

.tabs-nav ul li span {
    color: rgba(149, 149, 149, 1);
}

.tabs-nav ul li.current-active-tab span {
    background: none;
    color: rgba(255, 255, 255, 1);
}

.tabs-nav ul li span:first-child {
    font-size: 0.9em;
}

.tabs-nav ul li span:last-child {
    font-size: 0.9em;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.tabs-nav ul li span i {
    color: rgba(149, 149, 149, 1);
}

.tabs-nav ul li.current-active-tab span i {
    background: none;
    color: rgba(255, 255, 255, 1);
}

/* Contenuto */

.tabs-tabs {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.tabs-tabs .scrollable {
    height: 100%;
}

.tabs-tabs.two .scrollable {
    width: 200%;
}

.tabs-tabs.three .scrollable {
    width: 300%;
}

.tabs-tabs.four .scrollable {
    width: 400%;
}

.tabs-tabs.five .scrollable {
    width: 500%;
}

.tabs-tabs.six .scrollable {
    width: 600%;
}

.tabs-tabs.seven .scrollable {
    width: 700%;
}

.tabs-tabs.eight .scrollable {
    width: 800%;
}

.tabs-tabs.nine .scrollable {
    width: 900%;
}

.tabs-tabs.ten .scrollable {
    width: 1000%;
}

.tabs-tabs.eleven .scrollable {
    width: 1100%;
}

.tabs-tabs .tabs-tab {
    height: 100%;
    overflow: overlay;
    float: left;
}

.tabs-tabs.two .tabs-tab {
    width: calc(100% / 2);
}

.tabs-tabs.three .tabs-tab {
    width: calc(100% / 3);
}

.tabs-tabs.four .tabs-tab {
    width: calc(100% / 4);
}

.tabs-tabs.five .tabs-tab {
    width: calc(100% / 5);
}

.tabs-tabs.six .tabs-tab {
    width: calc(100% / 6);
}

.tabs-tabs.seven .tabs-tab {
    width: calc(100% / 7);
}

.tabs-tabs.eight .tabs-tab {
    width: calc(100% / 8);
}

.tabs-tabs.nine .tabs-tab {
    width: calc(100% / 9);
}

.tabs-tabs.ten .tabs-tab {
    width: calc(100% / 10);
}

.tabs-tabs.eleven .tabs-tab {
    width: calc(100% / 11);
}


/* ASPETTO */

/* Navigazione */

#appearance #themes .tabs-nav {
    height: 80px;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
}

#appearance #themes .tabs-nav ul li[data-tab=pro-tab].current-active-tab {
    background-color: rgba(255, 0, 110, 1);
}

/* --- */

#customize .tabs-nav.editor {
    height: 54px;
}

#customize .tabs-nav.editor ul {
    border-radius: 0;
    background: none;
    padding: 0;
}

#customize .tabs-nav.editor ul li {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 0;
    border-radius: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 1);
    width: 80px;
    margin-right: 0;
    margin-left: 0;
}

#customize .tabs-nav.editor ul li.current-active-tab {
    border-radius: 0;
    border-bottom: 2px solid rgba(255, 0, 110, 1);
    background: none;
}

#customize .tabs-nav.editor ul li i {
    font-size: 1.4em;
    color: rgba(149, 149, 149, 0.8);
}

#customize .tabs-nav.editor ul li span {
    display: block;
    padding-top: 5px;
    font-size: 0.6em;
    color: rgba(149, 149, 149, 0.8)
}

#customize .tabs-nav.editor ul li:active span,
#customize .tabs-nav.editor ul li:active i {
    color: rgba(255, 0, 110, 1);
}

#customize .tabs-nav.editor ul li.current-active-tab {
    border-bottom: 2px solid rgba(255, 0, 110, 1);
}

#customize .tabs-nav.editor ul li.current-active-tab i {
    color: rgba(48, 53, 62, 1);
}

#customize .tabs-nav.editor ul li.current-active-tab span {
    background-color: rgba(255, 255, 255, 1);
    color: rgba(48, 53, 62, 1);
}

/* --- */

#element-tab .tabs-nav,
#elements-tab .tabs-nav {
    margin-top: 20px;
}

#element-tab .tabs-nav ul,
#elements-tab .tabs-nav ul {
    width: calc(100% - 40px);
}

/* --- */

#select-font .tabs-nav {
    margin-bottom: 20px;
    padding-right: 20px;
    padding-left: 20px;
}

/* Contenuto */

#appearance #themes .tabs-tabs {
    height: calc(100% - 80px);
}

#appearance #themes .tabs-tabs .tabs-tab {
    padding-top: 3px;
    padding-right: 20px;
    padding-bottom: calc(100px + var(--safe-area-inset-bottom));
    padding-left: 20px;
}

.iphone #appearance #themes .tabs-tabs .tabs-tab {
    padding-bottom: calc(90px + var(--safe-area-inset-bottom));
}

/* --- */

#customize-form .tabs-tabs,
#customize-form .tabs-tabs .scrollable {
    margin-bottom: 0;
}

#customize-form .tabs-tabs .tabs-tab {
    margin-bottom: 0;
    overflow: hidden;
}

#pages .cubeverse-page #customize.inner .contents #customize-form .tabs-tabs .tabs-tab .contents {
    height: 100%;
    margin-bottom: 0;
    padding-bottom: calc(80px + var(--safe-area-inset-bottom));
    overflow: overlay;
}

.iphone #pages .cubeverse-page #customize.inner .contents #customize-form .tabs-tabs .tabs-tab .contents {
    padding-bottom: calc(60px + var(--safe-area-inset-bottom));
}

/* --- */

#element-tab .tabs-tabs,
#elements-tab .tabs-tabs {
    height: calc(100% - 80px);
}

#element-tab .tabs-tabs .scrollable {
    width: 400%;
}

#elements-tab .tabs-tabs .scrollable {
    width: 500%;
}

#element-tab .tabs-tabs #element-form,
#elements-tab .tabs-tabs #elements-form {
    height: 100%;
}

#element-tab .tabs-tabs .tabs-tab {
    width: calc(100% / 4);
    height: 100%;
}

#elements-tab .tabs-tabs .tabs-tab {
    width: calc(100% / 5);
    height: 100%;
}

#element-tab .tabs-tabs .tabs-tab .contents,
#elements-tab .tabs-tabs .tabs-tab .contents {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

/* --- */

#select-font .tabs-tabs {
    margin-bottom: 0;
}

#select-font .tabs-tabs .tabs-tab .contents {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-content: start;
    gap: 10px;
    height: auto !important;
    margin-bottom: 0;
    padding-bottom: var(--safe-area-inset-bottom) !important;
    padding-right: 20px;
    padding-bottom: 20px !important;
    padding-left: 20px;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}


/* LISTINO */

/* Navigazione */

#menu .tabs-nav {
    height: 60px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
}

/* --- */

#show-product #gallery-tabs .tabs-nav,
#preview-product #gallery-tabs .tabs-nav {
    height: 12px;
    margin: 0 auto;
    padding-top: 2px;
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
}

#show-product #gallery-tabs .tabs-nav ul,
#preview-product #gallery-tabs .tabs-nav ul {
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 0;
    background: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#show-product #gallery-tabs .tabs-nav ul li,
#preview-product #gallery-tabs .tabs-nav ul li {
    border-radius: 50%;
    background: no-repeat;
    width: auto;
    height: 100%;
    margin: 0;
    padding: 0;
}

#show-product #gallery-tabs .tabs-nav ul li span,
#preview-product #gallery-tabs .tabs-nav ul li span {
    display: block;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 1);
    width: 8px;
    height: 8px;
    margin: 0 auto;
    opacity: 0.5;
}

#show-product #gallery-tabs .tabs-nav ul li.current-active-tab span,
#preview-product #gallery-tabs .tabs-nav ul li.current-active-tab span {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.25);
    opacity: 1;
}

/* Contenuto */

#menu .tabs-tabs {
    height: calc(100% - 120px);
}

#menu .tabs-tabs .tabs-tab .contents {
    background: none;
    height: 100% !important;
    margin-bottom: 0 !important;
    padding-right: 20px;
    padding-bottom: calc(20px + var(--safe-area-inset-bottom));
    padding-left: 20px;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}


/* SCHEDA PRODOTTO */

#show-product #gallery-tabs .tabs-tabs,
#preview-product #gallery-tabs .tabs-tabs {
    position: absolute;
    top: 0;
}


/* IMPOSTAZIONI */

/* Navigazione */

#edit-contacts .tabs-nav ul {
    width: calc(100% - 40px);
}

/* Contenuto */

#edit-contacts .tabs-tabs {
    margin-bottom: 0;
    height: calc(100% - 60px);
}

#edit-contacts .tabs-tabs .scrollable {
    height: 100%;
    margin-bottom: 0;
    overflow: hidden;
}

#pages .cubeverse-page #edit-contacts.inner .contents #edit-contacts-form .tabs-tabs .tabs-tab .contents {
    height: auto;
    margin-bottom: 0;
    padding-bottom: var(--safe-area-inset-bottom);
}


@media screen and (min-width: 600px) {
    /* ASPETTO */

    /* Navigazione */

    #customize .tabs-nav.editor ul {
        width: 100%;
    }

    #customize .tabs-nav.editor ul li {
        width: calc(100% / 7);
    }
}