:root {
    --table-of-contents-width: 240px;
    scroll-padding-top: 70px;
    --table-of-contents-offset-top: 100px;
}

.table-of-contents {
    max-width: var(--table-of-contents-width);
    position: sticky;
    top: var(--table-of-contents-offset-top);
    padding: 0 20px 0 0;
}
.table-of-contents li {
    list-style-type: none;
}
.table-of-contents-item {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;

    /* identical to box height, or 175% */
    text-transform: uppercase;
    display: inline-block;
    padding: 11px 15px;
}
.table-of-contents-item.active {
    background: var(--toc-active-item-color);
    border-radius: 20px;
}
.tv-explainer .table-of-contents-item.active {
    background: linear-gradient(180deg, #6E799C 0%, #3E4765 118.09%);
}
.toc-column-left {
    max-width: var(--table-of-contents-width);
    flex-shrink: 0;
}
.table-of-contents.stuck{

}
.toc-list {
    overflow: hidden;
    position: relative;
    padding: 0;
}

.table-of-contents-columns {
    display: flex;
}

.sentinel{
    height: 1px;
    background: none;
}

.game-rules .top{
    height: 240px;
}

.game-rules .oval-spacer {
    background: var(--tether-midnight);
}
.game-rules .email-signup {
    margin: 40px 0 150px 0;
}

h1.game-rules-header {
    margin: 8px;
}

img.askew {
    box-shadow: 0 5px 1px rgba(0,0,0,0.3), inset 0 -2px 2px rgba(0,0,0,0.1), inset 0 1px 2px rgba(255,255,255,0.8);
    border-radius: 50px;
    transform: rotate(-7.38deg) translateX(-50%);
    position: absolute;
    left: 50%;
    bottom: 40px;
    width: 190px;
}

.game-rules .header-left {
    background-position: right bottom;
}

.game-rules .header-background {
    background-position-y: bottom;
}

.game-rules .header-right {
    background-position: left bottom;
}

.toc-heading {
    background: var(--toc-active-item-color);
    /*extend to the sides of the page, counteracting the padding of the gutters class*/
    margin: 0 0 0 -16px;
    /*keep images in on the page from cloating over the headings*/
    z-index: 1;
    border-radius: 10px;
}

.table-of-contents-content h1 {
    font-family: Work Sans;
    font-style: normal;
    font-weight: bold;
    font-size: 20px;
    line-height: 28px;
    padding: 10px 0 10px 24px;

    /* identical to box height, or 220% */
    display: flex;
    align-items: center;
    text-transform: uppercase;
    text-shadow: none;

    color: #FFFFFF;
}

/*@media only screen and (min-width: 1024px) {*/
/*    .table-of-contents-content .fr-view img.fr-dib.fr-fil {*/
/*        float: right;*/
/*    }*/
/*}*/

@media only screen and (max-width: 1024px) {
    .mobile-hidden {
        display: none;
    }
    
    .toc-list {
        overflow: visible;
    }
    .table-of-contents-columns {
        flex-direction: column;
    }
    .table-of-contents {
        left: 0;
        max-width: 100vw;
        min-width: 100vw;
        display: block;
        /*don't allow headers to rise above the menu*/
        z-index: 2;
        position: fixed;
    }
    .toc-divider {
        border-top: 2px solid rgba(255, 255, 255, 0.5);
        position: fixed;
        top: var(--table-of-contents-offset-top);
        width: 100vw;
        left: 0;
        z-index: 2;
        display: block;
    }
    .table-of-contents.mobile-hidden {
        display: none;
    }
    .table-of-contents.mobile-hidden+.toc-divider {
        display: none;
    }
    .table-of-contents li {
        /*account for the li::marker*/
        padding-left: 10px;
        /*account for the padding*/
        width: calc(100% - 10px);
        background: var(--toc-active-item-color);

    }
    .table-of-contents li a{
        font-family: Work Sans;
        font-style: normal;
        font-weight: 800;
        font-size: 20px;
        line-height: 28px;

        /* identical to box height, or 140% */
        text-transform: uppercase;

        color: #FFFFFF;
        opacity: 0.7;
        width: calc(100% - 40px);
    }
    .table-of-contents li.is-active-li {
        list-style-type: disc;
        list-style-position: inside;
    }
    .table-of-contents li::marker {
        opacity: 1;
        color: white;
    }
    .table-of-contents li.is-active-li a {
        opacity: 1;
        padding-left: 0;
    }
    .table-of-contents > ol > li:not(:last-child){
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    .table-of-contents > ol > li > ol > li:not(:last-child){
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    .table-of-contents > ol > li:last-child {
        border-radius: 0px 0px 10px 10px;
        box-shadow: 0 8px 4px rgba(0,0,0,0.5);
    }

    .toc-column-left {
        width: 100%;
    }
    .toc-heading {
        position: sticky;
        top: var(--header-height);
        border-radius: unset;
        margin: 0 -16px 0 -16px;
        white-space: nowrap;
    }


    .toc-heading.stuck:after {
        content: '';
        background-image: url(https://di13jaefauupa.cloudfront.net/media/icons/arrowdown_icon24.png);
        background-size: 15px 15px;
        background-repeat: no-repeat;
        height: 20px;
        width: 100%;
        display: inline-block;
        background-position: right 20px center;
    }
    .toc-heading.stuck.extended:after {
        transform: rotate(180deg);
        background-position: left 20px center;
    }

    .table-of-contents-item.active {
        background: unset !important;
    }
}