#nprogress .bar {
    background: #5856D6!important;
}
#nprogress .peg {
    box-shadow: 0 0 10px #5856D6, 0 0 5px #5856D6!important;
}
#nprogress .spinner-icon {
    border-top-color: #5856D6!important;
    border-left-color: #5856D6!important;
}
body {
    margin: 0;
    color: #333333;
    font-size: 1rem;
    font-family: Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
    background-color: #fff;
    line-height: 1.7;
}
a {
    text-decoration: none;
}
*, :after, :before {
    box-sizing: border-box;
}
.doc-header {
    display: flex;
    padding: 0 35px;
    font-size:0.95rem;
    font-family: Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
    background-color: #fff;
    box-shadow: 0 2px 8px #f0f1f2;
    transition: padding .3s;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
}

.doc-header .doc-logo {
    color: #333333;
    font-size: 1.25rem;
    line-height: 64px;
    padding-left: calc(32px + 12px);
    background-image: url("../images/logo.png");
    background-position: 0 calc(64px / 2 - 32px / 2);
    background-size: 32px;
    background-repeat: no-repeat;
    font-weight: 500;
}
.doc-header .doc-header-left {
    flex: 1;
}
.doc-header .doc-nav-group {
    position: relative;
}
.doc-header .doc-nav-group .doc-nav-toggle{
    width: 34px;
    height: 32px;
    padding-top: calc((32px - 12px) / 2);
    cursor: pointer;
    display: none;
}
.doc-header .doc-nav-group .doc-nav-toggle:before{
    margin-top: 0;
}
.doc-header .doc-nav-group .doc-nav-toggle:after, .doc-header .doc-nav-group .doc-nav-toggle:before, .doc-header .doc-nav-group .doc-nav-toggle>i {
    content: "";
    width: 16px;
    height: 2px;
    background-color: #666666;
    margin-top: 3px;
    margin-right: auto;
    margin-left: auto;
    display: block;
}

.doc-header .doc-nav {
    margin: 0;
    display: flex;
    justify-content: flex-end;
    list-style: none;
}

.doc-header .doc-nav .doc-nav-item {
    margin: 0 12px;
    position: relative;
}

.doc-header .doc-nav .doc-nav-item a {
    padding: 0 6px;
    color: #333333;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    line-height: calc(64px - 3px* 2);
    transition: color .3s, border-top-color .3s, border-bottom-color .3s, background-color .3s;
    position: relative;
    cursor: pointer;
    display: block;
}

.doc-header .doc-nav-item:not(.doc-nav-sub).doc-active>a,
.doc-header .doc-nav-item:not(.doc-nav-sub):hover>a {
    color: #5856D6;
    border-top-color:  transparent;
    border-bottom-color: #5856D6;
}

.doc-header .doc-nav .doc-nav-item.doc-nav-sub>a {
    padding-right: 13px;
}
.doc-header .doc-nav .doc-nav-item.doc-nav-sub>a:after {
    content: "";
    width: 12px;
    height: 6px;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -2px;
    background-size: 12px 6px;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11.2' height='7' viewBox='0 0 11.2 7'%3E%3Cpath d='M1.5 1.5l4.1 4 4.1-4' stroke-width='1.5' stroke='rgb%28102, 102, 102%29' fill='none' stroke-linecap='square' stroke-linejoin='miter' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

.doc-header .doc-nav-child {
    position: absolute;
    right: -5px;
    top: 100%;
    padding: 5px 0;
    margin: -5px 0 0 0;
    min-width: max-content;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);;
    border-radius: 2px;
    transition: all .2s;
    transition-delay: .3s;
    transform-origin: 0 0;
    transform: scaleY(.8);
    pointer-events: none;
    opacity: 0;
}

.doc-header .doc-nav-sub.doc-nav-item:hover>.doc-nav-child {
    transition-delay: 0s;
    transform: scaleY(1);
    pointer-events: auto;
    opacity: 1;
    z-index: 1;
}
.doc-header .doc-nav-child>dd {
    margin: 0;
}
.doc-header .doc-nav .doc-nav-item .doc-nav-child>dd>a {
    border: none;
    line-height: 1;
    padding: 10px 20px;
}

/* ---------------------------主体start---------------------------*/
main {
    display: block;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}
.sidebar-toggle {
    position: fixed;
    top: calc(64px + 40px - (32px/2));
    left: 0;
    background: 0 0;
    outline: 0;
    border: none;
    padding: 0;
    z-index: 9;
}
@media (min-width: 48em) {
    .sidebar, .sidebar-toggle {
        transform: translateX(20rem);
    }
    body.close .sidebar, body.close .sidebar+.content, body.close .sidebar-toggle {
        margin-left: 0;
        transform: translateX(0);
    }
}
@media (max-width: 47.99em) {
    body.close .sidebar, body.close .sidebar+.content, body.close .sidebar-toggle {
        transform: translateX(20rem);
    }
}
.sidebar, .sidebar+.content, .sidebar-toggle {
    transition: transform 0.2s ease-out, margin-left 0.2s ease-out;
}
.sidebar-toggle .sidebar-toggle-button {
    width: 34px;
    height: 32px;
    border-width: 0;
    border-style: solid;
    border-radius: 0 2px 2px 0;
    padding-top: calc((32px - 12px) / 2);
    background: var(#fff, transparent);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}
.sidebar-toggle span:first-child {
    margin-top: 0;
}
.sidebar-toggle span {
    width: 16px;
    height: 2px;
    background-color: #666666;
    margin-top: 3px;
    margin-right: auto;
    margin-left: auto;
    display: block;
}
.sidebar {
    display: flex;
    box-sizing: border-box;
    position: fixed;
    right: 100%;
    top: 64px;
    width: 20rem;
    height: calc(100vh - 64px);
    border-width: 0 1px 0 0;
    border-color: #f0f0f0;
    background: #fff;
    padding: 0;
    flex-direction: column;
    border-style: solid;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 10;
}
.sidebar {
    padding-top: 0;
}
.sidebar .search {
    padding: 0;
    border: none;
    margin: 1.2rem 0 0;
    order: 0;
}
.search .input-wrap {
    display: flex;
    align-items: center;
}
.sidebar .search .input-wrap {
    margin: 0 12px;
    position: relative;
    display: block;
}
.search input {
    outline: none;
    border: none;
    width: 100%;
    padding: 0 7px;
    line-height: 36px;
    font-size: 14px;
    border: 1px solid transparent;
}
.search input::-webkit-search-decoration, .search input::-webkit-search-cancel-button, .search input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.sidebar .search input[type=search] {
    line-height: 1;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg height='20px' width='20px' viewBox='0 0 24 24' fill='none' stroke='hsla(0, 0%, 60%, .35)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' preserveAspectRatio='xMidYMid meet' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10.5' cy='10.5' r='7.5' vector-effect='non-scaling-stroke'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='15.8' y2='15.8' vector-effect='non-scaling-stroke'%3E%3C/line%3E%3C/svg%3E");
    background-position: 10px 9px;
    background-repeat: no-repeat;
    border-style: solid;
    border-radius: 2px;
    border-color: #e9e9e9;
    border-width: 1px;
    padding: 0.8em 30px 0.8em 38px;
    color: #333333;
    transition: all .3s;
}
.sidebar .search input[type=search]:focus {
    border-color: #5856D6;
    box-shadow: 0 0 0 3px #eeeefb;
}
.search .results-panel {
    display: none;
}
.sidebar .search .results-panel {
    margin-top: 8px;
}
.sidebar-nav {
    order: 1;
    margin: 1.2rem 0 0;;
}
.sidebar-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.sidebar-nav>:last-child {
    margin-bottom: 2rem;
}
.sidebar-nav a {
    display: block;
    position: relative;
    transition: all .3s;
    color: #333333;
    height: 38px;
    line-height: 38px;
    font-size: 0.95rem;
    border-color: transparent;
    border-style: solid;
    border-width: 0 3px 0 0;
    padding-right: 0;
    padding-left: 20px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}
.sidebar-nav a:hover {
    color: #5856D6;
}
.sidebar-nav li.active>a {
    color: #5856D6;
    border-color: transparent;
}
.sidebar-nav li.active>a {
    background: #eeeefb;
}
.sidebar-nav li>a:not(.section-link):not([data-url^="/"]):after {
    content: "";
    position: absolute;
    top: 50%;
    width: 10px;
    height: 5px;
    right: 12px;
    margin-top: -2.5px;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11.2' height='7' viewBox='0 0 11.2 7'%3E%3Cpath d='M1.5 1.5l4.1 4 4.1-4' stroke-width='1.5' stroke='rgb%28102, 102, 102%29' fill='none' stroke-linecap='square' stroke-linejoin='miter' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
    background-size: 10px 5px;
    transition: transform .2s ease-in-out;
    transform: rotate(180deg);
    transform-origin: center;
}
.sidebar-nav li.collapse>a:after {
    transform: rotate(0) !important;
}
.sidebar-nav li .app-sub-sidebar {
    overflow: hidden;
    transition: height .2s ease-in-out;
}
.sidebar-nav li.collapse>.app-sub-sidebar {
    height: 0 !important;
}
.sidebar-nav li>.app-sub-sidebar>li>a {
    padding-left: calc(20px + 1.5em);
}
.sidebar-nav li>.app-sub-sidebar>li>.app-sub-sidebar>li>a{
    padding-left: calc(20px + 3em);
}
@media screen and (max-width: 1150px) {
    .doc-header {
        padding: 0 15px;
    }
    .doc-header .doc-nav {
        position: absolute;
        right: 0;
        top: 100%;
        padding: 5px 0;
        min-width: 150px;
        width: max-content;
        margin: -2px 0 0 0;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        border-radius: 2px;
        transition: all .2s;
        transition-delay: .3s;
        transform-origin: 0 0;
        transform: scaleY(.8);
        pointer-events: none;
        display: block;
        opacity: 0;
    }
    .doc-header .doc-nav-group {
        order: 1;
        margin-left: 10px;
    }
    .doc-header .doc-nav-group .doc-nav-toggle {
        display: block;
    }
    .doc-header .doc-nav-group:hover .doc-nav {
        transition-delay: 0s;
        transform: scaleY(1);
        pointer-events: auto;
        opacity: 1;
    }
    .doc-header .doc-nav .doc-nav-item {
        margin: 0;
    }
    .doc-header .doc-nav .doc-nav-item a {
        border: none;
        line-height: 1;
        padding: 10px 20px;
        transition: color .3s, background-color .3s;
    }
    .doc-header .doc-nav .doc-nav-item:not(.doc-nav-sub).doc-active>a {
        background: #eeeefb;
    }
}


@media (min-width: 48em) {
    .sidebar+.content {
        margin-left: 20rem;
        /*margin-right: 18rem;*/
    }
}
.markdown-section img {
    max-width: 100%;
    filter: none;
}
@media (max-width: 69em) {
    .markdown-section img {
        height: auto !important;
    }
}
@media only screen and (max-width: 768px) {
    .markdown-section table {
        display: block;
    }
    .ne-doc-major-viewer .ne-viewer-layout-mode-adapt {
         margin-right: 0!important;
         padding: 0 20px 0 50px!important;
    }
    .ne-viewer-toc-visible .ne-viewer-toc-sidebar{
        display: none!important;
    }
}
.ne-doc-major-viewer .ne-viewer-layout-mode-adapt{
    margin-right: 305px;
}
.markdown-section {
    margin: 0 auto;
    padding: calc(64px + 1.25rem) 15px 2rem 15px;
    /*max-width: 80em;*/
    position: relative;
}
.ne-viewer-toc-sidebar {
    top: 80px!important;
}
/*.ne-toc-normal-view, .ne-toc-small-view:hover, .ne-viewer-toc-sidebar-hover .ne-toc-view, .ne-toc-sidebar-hover .ne-toc-view{*/
/*    width: 220px!important;*/
/*}*/
/*.ne-toc-normal-view[ne-viewer-toc-pin="false"] {*/
/*    margin-right: 0;*/
/*}*/

.ne-doc-major-viewer .ne-viewer-layout-mode-adapt[ne-viewer-toc-pin="false"]{
    margin-right: 5px;
}

.ne-viewer-toc-sidebar {
    z-index: 1!important;
}

.doc-nav-item-btn {
    position: relative;
    display: inline-block;
    margin-top: 0;
    list-style: none;
    vertical-align: middle;
    line-height: 60px;
}
.doc-nav-item-btn>a:hover {
    color: #666;
    background-color: rgba(0, 0, 0, .15);
}
.doc-nav-item-btn>a {
    margin-left: 15px;
    color: #666;
    font-size: 16px;
    position: relative;
    cursor: pointer;
    padding: 0 15px;
    height: 30px;
    line-height: 30px;
    border-radius: 35px;
    display: inline-block;
    vertical-align: middle;
    background-color: rgba(0, 0, 0, .08);
}
