help {
    color: black;
    line-height: normal;
    font-size: 16px;

    .burger-button {
        display: none
    }
    
    p {
        color: black
    }
    
    section.lightbox {
        z-index: 10002
    }
    
    #TOC {
        width: 20%;
        margin-right: 5%;
        float: left;
    
        ul {
            padding-left: 0;
            padding-top: 30px;

            li {
                list-style-type: none;
                padding-top: 3px;

                a {
                    background-image: linear-gradient($white, #e9ebef);
                    border-radius: 10px;
                    font-size: 1em;
                    border: 1px solid #e9ebef;
                    transition: background 250ms ease;
                    color: #000;
                    background: #f0f2f4;
                    border-radius: 10px;
                    border: 1px solid #e9ebef;
                    display: block;
                    margin: 5px;
                    line-height: 20px;
                    padding: 10px;

                    &.selected,
                    &:hover {
                        background-image: linear-gradient($blue, #43B9E7);
                        color: $white;
                    }
                    
                    &.selected:hover {
                        background: $blue;
                        color: $white;
                    }
                }
            }

            ul {
                &.selected {
                    transition: all 250ms ease-in-out
                }

                &.closed {
                    max-height: 0;
                    transition: all 250ms ease;
                    overflow: hidden
                }
            }
        }
        
       /*  ul a:hover {
            transition: background 250ms ease
        } */
    }
    
    div.figure {
        display: inline-block;

        img {
            max-width: 100%
        }
    }
    section.lightbox>div.content {
        > div {
            margin-top: 15px;
        }

        strong {
            font-size: initial
        }

        .cell {
            height: auto;
        }

        div.section {
            width: 70%;
            margin-left: 25%;

            h2 {
                width: 100%
            }

            li img {
                float: none
            }
        }
    }

    @media screen and (max-width: 800px) {
        #TOC {
            width: auto;
            margin: 20px;
            float: none;

            ul {
                display: none;
                position: absolute;
                background-color: white;
                box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.25);
                margin-left: -20px;
                margin-top: 40px;
                padding: 0;

                li {
                    padding: 0;

                    a {
                        border-radius: 0;
                        border-bottom: 1px solid #ddd;
                        padding: 15px;
                        margin: 0
                    }
                }
            }
        }

        .burger-button {
            display: block;
            width: 40px;
            height: 40px;
            line-height: 40px;
            text-align: center;
            color: white;
            position: absolute;
            cursor: pointer;
            padding: 0;

            .burger-icon::before {
                font-size: 18px;
                line-height: inherit
            }
        }

        .burger-menu {
            &.active {
                #TOC ul {
                    display: block
                }
            }
        }

        section.lightbox>div.content div.section {
            width: auto;
            margin: 25px 0 0;

            h2 {
                margin-left: 50px;
                width: auto
            }
        }
    }
}



@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    help div.figure {
        display: block
    }
}