﻿/*------------------------------------------------------------------------
       New sidebar
-------------------------------------------------------------------------*/
.bd-content {
    -ms-flex-order: 1;
    order: 1;
}

.page-height {
    height: 100%;
    padding-top: 1.0rem;
    padding-bottom: 0px;
}

.page-container {
    min-height: calc(100vh - 100px);
}

.skippy {
    background-color: #563d7c
}

    .skippy a {
        color: #fff
    }

    .skippy:focus-within a {
        position: static !important;
        width: auto !important;
        height: auto !important;
        padding: .5rem !important;
        margin: .25rem !important;
        overflow: visible !important;
        clip: auto !important;
        white-space: normal !important
    }

.bd-sidebar {
    -ms-flex-order: 0;
    order: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1)
}

.bd-sidebar {
    -ms-flex-order: 0;
    order: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1)
}


@media (min-width: 992px) {
    .page-height {
        padding-top: 1.0rem;
        padding-bottom: 60px;
    }
    .bd-sidebar {
        border-right: 1px solid rgba(0, 0, 0, 0.1)
    }

    @supports ((position: -webkit-sticky) or(position: sticky)) {
        .bd-sidebar {
            position: -webkit-sticky;
            position: sticky;
            top: 4rem;
            z-index: 1000;
            height: calc(100vh - 4rem)
        }
    }

    @supports ((position: -webkit-sticky) or(position: sticky)) {
        .bd-links {
            max-height: calc(100vh - 220px);
            overflow-y: auto
        }
    }
}

@media (min-width: 1200px) {
    .bd-sidebar {
        -ms-flex: 0 1 320px;
        flex: 0 1 320px
    }
}

.bd-links {
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05)
}


.bd-search {
    position: relative;
    padding: 1rem 15px;
    margin-right: -15px;
    margin-left: -15px
}

    .bd-search .logo {
        max-height: 75px;
        max-width: 200px;
    }

@media (max-width: 992px) {
    .bd-search .logo {
        max-height: 45px;

    }
}

.bd-search .form-control:focus {
    border-color: #7952b3;
    box-shadow: 0 0 0 3px rgba(121, 82, 179, 0.25)
}

.bd-search-docs-toggle {
    color: #212529
}

.bd-sidenav {
    display: none;
    padding-left: 3.5rem;
}

.bd-toc-link {
    display: block;
    padding: .25rem 0.0rem .25rem 0.5rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.55)
}

    .bd-toc-link span, .bd-toc-link div {
        display: inline-block;
        vertical-align: middle;
        line-height: 36px;
    }
    .bd-toc-link span {
        font-size: 90%;
    }
        .bd-toc-link span.dropdown-toggle {
            margin-right: 0.5rem;
            float: right;
        }

    .bd-toc-link div {
        width: 36px;
        max-height: 36px;
        text-align: center;
    }

    .bd-toc-link:hover {
        color: rgba(0, 0, 0, 0.85);
        text-decoration: none
    }

.bd-toc-item.active {
    /*margin-bottom: 1rem*/
}

    .bd-toc-item.active:not(:first-child) {
        /*margin-top: 1rem*/
    }

    .bd-toc-item.active > .bd-toc-link {
        color: rgba(0, 0, 0, 0.85)
    }

        .bd-toc-item.active > .bd-toc-link:hover {
            background-color: transparent
        }

    .bd-toc-item.active > .bd-sidenav {
        display: block
    }

.bd-sidebar .nav > li > a {
    display: block;
    padding: .25rem 0.5rem;
    font-size: 90%;
    color: rgba(0, 0, 0, 0.65)
}

    .bd-sidebar .nav > li > a:hover {
        color: rgba(0, 0, 0, 0.85);
        text-decoration: none;
        background-color: transparent
    }

.bd-sidebar .nav > .active > a, .bd-sidebar .nav > .active:hover > a {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
    background-color: transparent
}

.bd-toc {
    -ms-flex-order: 2;
    order: 2;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    font-size: .875rem
}

@supports ((position: -webkit-sticky) or(position: sticky)) {
    .bd-toc {
        position: -webkit-sticky;
        position: sticky;
        top: 4rem;
        height: calc(100vh - 4rem);
        overflow-y: auto
    }
}

.bd-toc nav {
    padding-left: 0;
    border-left: 1px solid #eee
}

    .bd-toc nav ul {
        padding-left: 0
    }

        .bd-toc nav ul ul {
            padding-left: 1rem
        }

    .bd-toc nav a code {
        font: inherit
    }

    .bd-toc nav li {
        display: block
    }

        .bd-toc nav li ul li ul {
            padding-left: 1rem
        }

        .bd-toc nav li a {
            display: block;
            padding: .125rem 1.5rem;
            color: #77757a
        }

            .bd-toc nav li a:hover {
                color: #007bff;
                text-decoration: none
            }

.bd-footer {
    font-size: .875rem;
    text-align: center;
    background-color: #f7f7f7
}

    .bd-footer a {
        font-weight: 600;
        color: #495057
    }

        .bd-footer a:hover, .bd-footer a:focus {
            color: #007bff
        }

    .bd-footer p {
        margin-bottom: 0
    }

@media (min-width: 576px) {
    .bd-footer {
        text-align: left
    }
}

.bd-footer-links {
    padding-left: 0;
    margin-bottom: 1rem
}

    .bd-footer-links li {
        display: inline-block
    }

        .bd-footer-links li + li {
            margin-left: 1rem
        }
