.page-header {
    max-width: 67rem;
    margin: 2.5rem auto;
    position: relative;
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
}

.page-header::after {
    content: '';
    display: block;
    width: 100vw;
    height: 100%;
    position: absolute;
    background-color: #F0FBFC;
    top: 0;
    left: 0;
    z-index: -2;
    left: calc(50% - 50vw);
}

.main-content {
    display: flex;
    flex-direction: row;
}

.main-content .local-toc-div {
    flex-shrink: 0;
}

.main-content .local-toc {
    width: 15rem;
    position: relative;
    max-height: calc(100vh - 50px);
    overflow-y: auto;
}

.page-header h1 {
    font-size: 2rem;
    line-height: 2rem;
    color: #1185A7;
}

.main-content h1 {
    font-size: 2rem;
    color: #1185A7;
    font-weight: bold;
}
.main-content h2 {
    font-size: 1.35rem;
    color: #1185A7;
    font-weight: bold;
    margin: 2rem 0;
    line-height: 1.6rem;
}
.main-content h3 {
    font-size: 1.215rem;
    color: #3A3B3C;
    line-height: 1.6rem;
    font-weight: bold;
    margin: 1.4rem 0;
}
.main-content h4 {
    font-size: 1.1rem;
    color: #3A3B3C;
    line-height: 1.6rem;
    font-weight: bold;
    margin: 1.2rem 0;
}
.main-content h5 {
    font-size: 1rem;
    color: #3A3B3C;
    line-height: 1.6rem;
    font-weight: bold;
    margin: 1rem 0;
}
.main-content {
    font-size: 0.89rem;
}

.main-content p {
    color: #3c3e3f;
    line-height: 1.8rem;
}

.main-content img {
    max-width: 100%;
}

.page-header p {
    font-size: 1rem;
    font-family: Alibaba-PuHuiTi-Light;
    color: #0F7390;
    letter-spacing: .04rem;
    line-height: 1.4rem;
}

.local-toc::before {
    content: "Shortcuts";
    display: block;
    font-size: 1.35rem;
    color: #1185A7;
    font-weight: bold;
    margin: 2rem 0;
    line-height: 1.6rem;
}

.local-toc > ul {
    list-style: none;
    padding-left: 0;
    font-size: .9rem;
    font-family: Alibaba-PuHuiTi-Light;
    color: #0F7390;
}

.local-toc > ul > li {
    margin-bottom: 1rem;
}

.local-toc > ul > li > ul {
    list-style: circle;
    padding-left: 2rem;
    font-size: .8rem;
}
.local-toc > ul > li > ul > li ul {
    display: none;
}
.main-content .body {
    overflow-x: hidden;
    flex-grow: 1;
    padding-bottom: 4rem;
}

.main-content .body table.highlighttable {
    box-sizing: content-box;
    min-width: 100%;
}

.main-content .body div[class^="highlight"] {
    overflow-x: auto;
    border: 1px solid #e1e4e5;
}


.main-content .body div[class^="highlight"] .highlight pre {
    padding: .6rem .6rem;
}


.main-content .body div[class^="highlight"] pre {
    padding: .6rem .3rem;
    margin-top: 0;
    font-family: monospace;
    margin-bottom: 0; /* Tianyu Gao suggested */
}

.main-content .body div[class^="highlight"] .linenos pre {
    text-align: center;
}

.main-content .body .highlight.view-source {
    padding-left: 4em;
}

.main-content .body .highlight.view-source .viewcode-block {
    position: relative;
}

.main-content .body .highlight.view-source .viewcode-back {
    position: absolute;
    left: -4em;
    color: #1185A7;
}

.main-content .body .viewcode-link {
    margin-left: 1rem;
    margin-right: .2rem;
}

.main-content .body hr {
    border-top: none;
    border-bottom: .1rem solid #ddd;
    margin: 1rem 0;
}

.main-content .body dl.py.class {
    margin-bottom: 3rem;
}

.main-content .body dl.py.class > dt {
    background-color: #F0FBFC;
    border-top: .2rem solid #92d592;
    padding: .55rem .85rem;
    margin-bottom: .5rem;
    font-size: 1rem;
}

.main-content .body dl.py.class > dt .property {
    color: #009000;
    padding: 0 .2rem;
}

.main-content .body dl.py.class > dt .sig-name.descname {
    font-weight: bold;
}

.main-content .body dl.py.class > dt .sig-param,
.main-content .body dl.py.class > dt .sig-paren {
    color: #009000;
}

.main-content .body dl.py.method {
    margin-bottom: 2rem;
}

.main-content .body dl.py.data > dt,
.main-content .body dl.py.method > dt {
    padding: .25rem .5rem;
    border-left: .2rem solid #f2ab6c;
    margin-bottom: .2rem;
}

.main-content .body dl.py.method > dt .property {
    padding: 0 .2rem;
    color: #ee7810;
    font-weight: normal;
}

.main-content .body dl.py.method > dt .sig-name.descname {
    font-weight: bold;
    padding: 0 .2rem;
}

.main-content .body dl.py > dd > dl > dt {
    font-weight: bold;
}
.main-content .body dl.py > dd > dl > dd {
    margin-bottom: .75rem;
}
.main-content .body dl.py > dd > dl > dd em {
    color: #009000;
    padding: 0 .1rem;
}
.main-content .body dl.py.class > dd > dl {
    margin-bottom: 2rem;
}
.main-content .body dl.py.method > dd > dl {
    margin-bottom: 1.5rem;
}

.main-content .body dl.py > dd > dl > dd p {
    margin: .2rem 0;
}

.main-content .body code.literal:not(.xref) {
    padding: .2rem .4rem;
    background-color: #eee;
    color: #5c5c5d;
}

.main-content .body dl.py .sig-param {
    font-weight: normal;
    font-family: monospace;
    padding: 0 .1rem;
}

.main-content .body dl.py .sig-param > .default_value {
    color: #424242;
}

.main-content table.docutils:not(.highlighttable) {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
    margin: 2rem 0;
}

.main-content table.docutils:not(.highlighttable) caption {
    text-align: left;
    font-size: .8rem;
    color: #828282;
}

.main-content table.docutils:not(.highlighttable) p {
    margin: 0;
    line-height: 1.2rem;
}

.main-content table.docutils:not(.highlighttable) thead {
    border-radius: .2rem;
    background: #E8F3F6;
    color: rgba(0, 0, 0, .85);
    font-weight: bold;
}

.main-content table.docutils:not(.highlighttable) tbody {
    font-weight: normal;
    color: rgba(0, 0, 0, .65);
}

.main-content table.docutils:not(.highlighttable) tr {
    border-bottom: .05rem solid #E8E8E8;
}

.main-content table.docutils:not(.highlighttable) th,
.main-content table.docutils:not(.highlighttable) td {
    padding: .8rem 1.4rem;
    font-size: .8rem;
    margin: 0;
    text-align: left;
}

.main-content blockquote {
    margin: 0;
    padding: .5rem 1.8rem;
    background-color: #E7F5F7;
    border-left: .25rem solid #1185A7;
    color: #565656;
    font-weight: normal;
}

.main-content blockquote p {
    line-height: 1.5rem;
}

.main-content strong,
.main-content em {
    color: #008000;
}

.main-content div.style-demo.topic .topic-title {
    display: none;
}


.main-content div.style-demo.topic  {
    border: .1rem solid #DDD;
    padding: 1rem;
    border-radius: .2rem;
}

.main-content .footnote-reference {
    font-size: .8em;
    position: relative;
    top: -.3em;
}

.main-content dl.footnote > dt {
    clear: left;
    float: left;
    position: relative;
    top: .15em;
    width: 2rem;
    text-align: center;
}

.main-content dl.footnote > dt > span.brackets {
    padding: 0 .1rem;
}

.main-content dl.footnote > dt::before {
    content: '[';
    color: #3A3B3C;
}

.main-content dl.footnote > dt::after {
    content: ']';
    color: #3A3B3C;
}

.main-content p.rubric {
    font-family: Alibaba-PuHuiTi-Light;
    font-size: 1rem;
    color: #3A3B3C;
    line-height: 1.6rem;
}

.main-content dl.footnote > dd {
    margin-left: 2.4rem;
}

.main-content dl.footnote > dd p {
    font-size: .8rem;
    color: #959595;
    line-height: 1.6rem;
}