* {
    box-sizing: border-box;
}

*:active {
    outline: none;
}

*:focus {
    outline: none;
    box-shadow: var(--const-global-focus);
}

input,
button {
    font-family: inherit;
    font-size: inherit;
}

.sr,
.sr button {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
}

.hidden,
[hidden] {
    display: none;
}

.invisible {
    visibility: hidden;
}


.tab-list {
    padding: 0;
    display: flex;
    margin: 0;
    list-style: none;
    border-bottom: 1px solid
        var(--tct-tab-container-border-color, var(--tct-gray-l1, var(--app-gray-l1, #cccccc)));
    white-space: nowrap;
    overflow-x: auto;
}

.tab-list a {
    text-decoration: none;
    padding: var(--tct-scale-2, var(--app-scale-2, 10px));
    margin: var(--tct-scale-1, var(--app-scale-1, 5px)) var(--tct-scale-1, var(--app-scale-1, 5px))
        0;
    color: var(--tct-tab-inactive-color, var(--t-tab-inactive, inherit));
    font-size: var(--tct-tab-font-size, var(--t-tab-font-size, 17px));
    border-bottom: 3px solid transparent;
    display: block;
    transition: color var(--tct-tween-2, var(--app-tween-2, 0.4s ease)),
        border-color var(--tct-tween-1, var(--app-tween-1, 0.2s ease));
}

:host([type='section']) .tab-list a {
    font-size: inherit;
    padding: var(--tct-scale-2, var(--app-scale-2, 10px))
        var(--tct-scale-1, var(--app-scale-1, 5px));
}

@media screen and (max-width: 767px) {
    .tab-list a {
        font-size: inherit;
        padding: var(--tct-scale-2, var(--app-scale-2, 10px))
            var(--tct-scale-1, var(--app-scale-1, 5px));
    }
}

.tab-list a:hover {
    color: var(--tct-tab-active-color, var(--t-tab-active, #2e2e2e));
}

.tab-list a[aria-selected='true'] {
    color: var(--tct-tab-active-color, var(--t-tab-active, #2e2e2e));
    border-color: currentColor;
}

:host([color='alt']) .tab-list a {
    color: var(--tct-tab-alt-inactive-color, var(--t-tab-alt-inactive, inherit));
}

:host([color='alt']) .tab-list a:hover,
:host([color='alt']) .tab-list a[aria-selected='true'] {
    color: var(--tct-tab-alt-active-color, var(--t-tab-alt-active, inherit));
}

.tab-content {
    padding: var(--tct-scale-2, var(--app-scale-2, 10px)) 0;
}
