﻿.commiittee-manual {
    height: calc(100vh - 300px);
    padding:10px;
}
@media only screen and (max-width: 767px) {
    .commiittee-manual {
        height: 100%;
    }
    .commiittee-manual #Scrollspy{
        overflow:auto;
    }
}
.apa-manual-nav {
    height: 100%;
    position: relative;
    overflow-y: auto;
    scroll-behavior: smooth;
}
#Scrollspy {
    position: relative;
    overflow-y: scroll;
    height: 100%;
}

#Scrollspynested {
    height: 200px;
    overflow-y: scroll;
}
#container {
    overflow: hidden;
}

.topicref .active {
    color: red;
    transition: all 50ms ease-in-out; /* 💡 This small transition makes setting of the active state smooth */
}

.apa-manual-container {
    height: 100%;
}
    .apa-manual-nav .cmte-pdf {
        font-weight: bold;
    }

.apa-manual-nav #index {
    padding-right: 20px;
    width: 100%;
    z-index: 100;
    height: calc(100vh - 200px);
    padding-top: 0;
}

        .apa-manual-nav #index .title {
            font-size: 28px;
        }

.apa-manual-nav .bookmap {
    text-decoration: none;
    max-width: 100%;
    height: 100%;
    padding: 0;
}

        .apa-manual-nav .bookmap li {
            font-size: 16px;
            padding: 5px 0;
            list-style: none;
        }

        .apa-manual-nav .bookmap > li:first-child {
            display: none;
        }

        .apa-manual-nav li .active {
            color: red;
            text-decoration: underline;
            font-weight: bold; 
        }

    .apa-manual-nav #index .caret {
        font-family: 'FontAwesome';
        list-style: none;
        margin-left: -20px;
    }

        .apa-manual-nav #index .caret::before {
            content: attr(data-before);
            font-size: 12px;
            display: inline-block;
            margin-right: 10px;
        }

.apa-manual-nav #index .topicref a {
    font-family: Arial, Helvetica, sans-serif !important;
    padding: 0;
    color: #007bff;
    /*color: #2e78c7;*/
    /* color: var(--background-primary-accent-color); */
    filter: brightness(0.8);
}

    
    .cmte-manuals-content .cmte-content div:first-child {
        display: none;
    }

    .cmte-manuals-content .cmte-content .image {
        max-width: 100% !important;
        height: auto !important;
        padding: 10px;
    }
        .cmte-manuals-content .cmte-content .level-0 > h1 {
            font-size: 26px;
            font-weight: bold;
        }

        .cmte-manuals-content .cmte-content .level-1 > h1 {
            font-size: 24px;
        }

        .cmte-manuals-content .cmte-content .level-2 > h1 {
            font-size: 20px;
        }

        .cmte-manuals-content .cmte-content .level-3 {
            /*counter-reset: alpha;*/
        }

            .cmte-manuals-content .cmte-content .level-3 > h1 {
                font-size: 20px;
            }

            .cmte-manuals-content .cmte-content .level-3 > li {
                counter-increment: alpha;
                list-style-type: lower-alpha;
                list-style: none;
                position: relative;
            }
       
                .cmte-manuals-content .cmte-content .level-3 > li:before {
                    /*content: counter(alpha, lower-alpha)". "*/
                }

        .cmte-manuals-content .cmte-content .level-4 {
            counter-reset: alpha;
        }

            .cmte-manuals-content .cmte-content .level-4 > h1 {
                font-size: 18px;
            }

            .cmte-manuals-content .cmte-content .level-4 > li {
                counter-increment: list;
                list-style: none;
                position: relative;                                
            }

                .cmte-manuals-content .cmte-content .level-4 > li:before {
                    content: "(" counter(list, list)")";
                    display: inline;
                    margin-left: -25px;
                }

        .cmte-manuals-content .cmte-content .level-5 {
            counter-reset: alpha;
        }

            .cmte-manuals-content .cmte-content .level-5 > li {
                counter-increment: alpha;
                list-style: none;
                position: relative;
            }

                .cmte-manuals-content .cmte-content .level-5 > li:before {
                    content: "(" counter(alpha, lower-alpha)")";
                    margin-left: -30px;
                }

        .cmte-manuals-content .cmte-content .level-6 {
            counter-reset: roman;
        }

            .cmte-manuals-content .cmte-content .level-6 > li {
                counter-increment: roman;
                list-style: none;
                position: relative;
                margin-left: -35px;
            }

                .cmte-manuals-content .cmte-content .level-6 > li:before {
                    content: "(" counter(roman, lower-roman)") ";
                    width: 40px;
                    display: inline-block;
                }

    .cmte-manuals-content .cmte-content .table {
        table-layout: fixed;
        border: 2px solid;
        border-collapse: unset;
        height: auto;
        width: 100%;
        padding: 10px;
        display: block;
        overflow-x: auto;
    }

        .cmte-manuals-content .cmte-content .table thead {
            border: 2px solid;
            vertical-align: bottom;
        }

            .cmte-manuals-content .cmte-content .table thead tr.row {
                padding: 0;
                display: table-row;
            }

            .cmte-manuals-content .cmte-content .table thead tr th {
                border: none;
                vertical-align: bottom;
            }

        .cmte-manuals-content .cmte-content .table tbody {
            border: 2px solid;
        }

            .cmte-manuals-content .cmte-content .table tbody tr.row {
                padding: 0;
                display: table-row;
            }

    .cmte-manuals-content #return-to-top {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: rgb(0, 0, 0);
        background: rgba(0, 0, 0, 0.7);
        width: 50px;
        height: 50px;
        /*display: block;*/
        text-decoration: none;
        -webkit-border-radius: 35px;
        -moz-border-radius: 35px;
        border-radius: 35px;
        display: none;
        -webkit-transition: all 0.3s linear;
        -moz-transition: all 0.3s ease;
        -o-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

        .cmte-manuals-content #return-to-top i {
            color: #fff;
            margin: 0;
            position: relative;
            left: 16px;
            top: 13px;
            font-size: 20px;
            -webkit-transition: all 0.3s ease;
            -moz-transition: all 0.3s ease;
            -o-transition: all 0.3s ease;
            transition: all 0.3s ease;
        }

        .cmte-manuals-content #return-to-top:hover {
            background: rgba(0, 0, 0, 0.9);
        }

            .cmte-manuals-content #return-to-top:hover i {
                color: #fff;
                top: 5px;
            }
