﻿/*===== Vendor style ======*/
.hljs {
    display: block;
    padding: .5em;
    color: #333;
    overflow-x: auto
}

.hljs-comment, .hljs-meta {
    color: #969896
}

.hljs-emphasis, .hljs-quote, .hljs-string, .hljs-strong, .hljs-template-variable, .hljs-variable {
    color: #df5000
}

.hljs-keyword, .hljs-selector-tag, .hljs-type {
    color: #a71d5d
}

.hljs-attribute, .hljs-bullet, .hljs-literal, .hljs-symbol {
    color: #0086b3
}

.hljs-name, .hljs-section {
    color: #63a35c
}

.hljs-tag {
    color: #333
}

.hljs-attr, .hljs-selector-attr, .hljs-selector-class, .hljs-selector-id, .hljs-selector-pseudo, .hljs-title {
    color: #795da3
}

.hljs-addition {
    color: #55a532;
    background-color: #eaffea
}

.hljs-deletion {
    color: #bd2c00;
    background-color: #ffecec
}

.hljs-link {
    text-decoration: underline
}


/*===== End Vendor =====*/
#version-select {
    position: fixed;
    top: 150px;
    width: 260px;
    background-color: #f1f1f1;
    padding: 10px 15px 0 15px;
    border-left: 1px solid #e7e7e7;
    border-right: 1px solid #e7e7e7;
    z-index: 2;
}

    #version-select select {
        text-align-last: right;
    }

    #version-select option {
        direction: rtl;
    }

#version-dd {
    border: none;
    border-radius: 5px;
    color: #666666;
    padding: 5px;
    width: 100%;
}


@media only screen and (max-width: 768px) {
    .toc-toggle {
        display: block !important;
    }

    article {
        padding: 0 1rem;
    }
}

@media only screen and (max-width: 991px) {
    #mobile-indicator {
        display: block;
    }
    /* TOC display for responsive */
    .article {
        margin-top: 30px !important;
    }

    header {
        position: static;
    }

    .topnav {
        text-align: center;
    }

    .sidenav {
        padding: 15px 0;
        margin-left: -15px;
        margin-right: -15px;
    }

    #version-select {
        position: static;
        width: auto;
        float: none;
        border: none;
    }

    .toc .nav > li, .toc .nav > li > a {
        display: inline-block;
    }

    .toc li:after {
        margin-left: -3px;
        margin-right: 5px;
        content: ", ";
        color: #666666;
    }

    .toc .level1 > li {
        display: block;
    }

        .toc .level1 > li:after {
            display: none;
        }

    .article.grid-right {
        margin-left: 0;
    }

    .grad-top,
    .grad-bottom {
        display: none;
    }

    .sidetoggle.ng-hide {
        display: none !important;
    }
    /*.expand-all {
    display: none;
  }*/
    .sideaffix {
        display: none;
    }

    .mobile-hide {
        display: none;
    }

    .breadcrumb {
        white-space: inherit;
    }

    /* workaround for #hashtag url is no longer needed*/
    h1:before,
    h2:before,
    h3:before,
    h4:before {
        content: '';
        display: none;
    }
}

html, body {
    font-family: Barlow, sans-serif;
    font-size: 1rem;
    word-break: break-word;
    color: #000;
}

button {
    color: #000;
}

.nav {
    display: block;
}

.navbar .navbar-nav {
    display: flex;
}

footer {
    position: fixed;
    bottom: 0;
}

.sidefilter {
    top: 196px;
}

.sidetoc {
    top: 262px;
}

.hide {
    display: none !important;
}

#breadcrumbs {
    display: none;
}

#main-menu .collapse.in {
    text-align: left;
}

#main-menu a {
    padding: .75rem
}

#main-menu .navbar-collapse {
    margin: 0;
}


.toc .nav > li > .expand-stub::before, .toc .nav > li.active > .expand-stub::before {
    content: "▸";
    font-size: 1.125rem;
}

.toc .nav > li.active.in > .expand-stub::before, .toc .nav > li.in > .expand-stub::before, .toc .nav > li.in.active > .expand-stub::before, .toc .nav > li.filtered > .expand-stub::before {
    content: "▾";
}

.sidenav .btn.focus, .sidenav .btn:focus {
    box-shadow: none;
}

.article {
    margin: 0 0 4rem;
}

.toc ul.level2 li, .sideaffix ul li {
    font-size: 1rem;
}

pre {
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.sideaffix ul li {
    font-size: .875rem;
    line-height: normal;
}

.affix > ul.level1 {
    height: 100%;
}

.affix > ul > li > a:before, .affix ul ul > li > a:before {
    top: auto;
}

th.selected {
    background: #bbb;
}
