.tabsboost {
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 1.228em;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tabsboost.tabs-vertical { flex-direction: row; }

.tabs-nav {
    order: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: var(--bdr-main);
}

.tabs-items {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 0.228em;
}

.tabs-bottom > .tabs-nav {
    order: 2;
    border-width: 1px 0 0 0;
}

.tabs-vertical > .tabs-nav,
.tabs-vertical > .tabs-nav > .tabs-items {
    flex-direction: column;
}

.tabs-left > .tabs-nav { border-width: 0 1px 0 0; }

.tabs-right > .tabs-nav {
    order: 2;
    border-width: 0 0 0 1px;
}

.tab-item {
    padding: 0.309em 0.618em;
    margin: 0;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 0.309em 0.309em 0 0;
    background-color: var(--bgc-sub);
    border-width: 1px 1px 0;
    border-style: solid;
    border-color: var(--bdr-main);
    color: var(--txt-sub);
}

.tabs-bottom > .tabs-nav > .tabs-items .tab-item {
    border-width: 0 1px 1px;
    border-radius: 0 0 0.309em 0.309em;
}

.tabs-left > .tabs-nav > .tabs-items .tab-item {
    border-width: 1px 0 1px 1px;
    border-radius: 0.309em 0 0 0.309em;
}

.tabs-right > .tabs-nav > .tabs-items .tab-item {
    border-width: 1px 1px 1px 0;
    border-radius: 0 0.309em 0.309em 0;
}

.tab-item.current-tab {
    margin: 1px 0 -1px;
    border-width: 1px 1px 0 1px;
    background-color: var(--bgc-main);
    color: var(--txt-main);
}

.tabs-bottom > .tabs-nav > .tabs-items .tab-item.current-tab {
    margin: -1px 0 1px;
}

.tabs-left > .tabs-nav > .tabs-items .tab-item.current-tab {
    margin: 0 -1px 0 1px;
    border-radius: 0.309em 0 0 0.309em;
    border-width: 1px 0 1px 1px;
}

.tabs-right > .tabs-nav > .tabs-items .tab-item.current-tab {
    margin: 0 1px 0 -1px;
    border-radius: 0 0.309em 0.309em 0;
    border-width: 1px 1px 1px 0;
}

.tabs-container {
    order: 2;
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-color: var(--bdr-main);
    padding: 1.228em;
}

.tabs-bottom > .tabs-container {
    order: 1;
    border-width: 1px 1px 0 1px;
}

.tabs-left > .tabs-container {
    border-width: 1px 1px 1px 0;
}

.tabs-right > .tabs-container {
    order: 1;
    border-width: 1px 0 1px 1px;
}

.tab-content {
    opacity: 0;
    visibility: hidden;
    height: 0;
}

.tab-content:not(.current-tab) .current-tab { display: none; }

.tab-content.current-tab {
    opacity: 1;
    visibility: visible;
    height: auto;
}