/* override theme overflow:hidden so position:sticky works on this page */
.main-container,
section.feature-selector {
    overflow: visible;
}

/* selector tabs */

section.feature-selector {
    padding-top: 24px;
    padding-bottom: 40px;
}

.selector-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    border-bottom: 2px solid var(--light-grey);
    gap: 0;
}

.selector-tabs li {
    float: none;
    opacity: 1;
    padding: 10px 22px;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-grey);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
    text-align: left;
}

.selector-tabs li:hover {
    opacity: 1;
    color: var(--accent-color);
}

.selector-tabs li.active {
    opacity: 1;
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.selector-tabs li span {
    font-size: 14px;
    font-weight: 700;
    position: static;
    bottom: auto;
}

.selector-content > li {
    display: none;
}

.selector-content > li.active {
    display: block;
}

.selector-content {
    padding-top: 28px;
}

.selector-content .col-sm-12 {
    align-items: flex-start;
}

/* paragraphs */

.lead {
    display: flex;
    flex-direction: column;
    max-width: 72ch;
}

.lead p {
    font-size: 16px;
    line-height: 30px;
    font-weight: normal;
    text-align: left;
}

.font-weight-600 {
    font-weight: 600;
}

.lead ul,
.lead ol {
    padding-left: 2em;
}

.lead li {
    font-size: 16px;
    line-height: 30px;
    font-family: 'Open Sans', sans-serif;
    color: var(--text-grey);
    font-weight: normal;
}

.selector-content > li h1 {
    width: 100%;
    text-align: center;
}

/* table of contents sidebar */

.toc-layout-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.toc-layout-wrapper > .container {
    flex: 1;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
}

.toc-sidebar {
    position: sticky;
    top: calc(7vh + 20px);
    width: 200px;
    flex-shrink: 0;
    max-height: calc(100vh - 7vh - 40px);
    overflow-y: auto;
    margin-right: 24px;
    display: none;
}

@media (min-width: 1200px) {
    .toc-sidebar {
        display: block;
    }
}

.toc-nav {
    border-left: 2px solid var(--light-grey);
}

.toc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-nav ul li {
    margin-bottom: 4px;
}

.toc-nav ul li a {
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light-grey);
    text-decoration: none;
    display: block;
    line-height: 1.4;
    padding: 4px 8px 4px 14px;
    margin-left: -2px;
    border-left: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.toc-nav ul li a:hover {
    color: var(--accent-color);
    border-left-color: var(--light-grey);
    text-decoration: none;
}

.toc-nav ul li a.active {
    color: var(--accent-color);
    border-left-color: var(--accent-color);
    font-weight: 700;
}

.required-fields {
    list-style-type: disc !important;
    align-self: flex-start;
}