html {
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    width: 100%;
    min-width: 320px;
    min-height: 100vh;
    line-height: 1.4;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    direction: ltr;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color .2s;
    font-family: Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,\5fae\8f6f\96c5\9ed1,Arial,sans-serif;
}

a {
    text-decoration: none;
}

.navbar {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 55px;
    border-bottom: 1px solid #dcdfe6;
    background-image: radial-gradient(transparent 1px,#FFF 1px);
    background-size: 4px 4px;
    backdrop-filter: saturate(50%) blur(4px);
    -webkit-backdrop-filter: saturate(50%) blur(4px);
    z-index: 99;
}
.navbar-body {
    width: 1362px;
    margin: 0 auto;
    height: 55px;
    background-color: rgba(0,0,0,0);
}

.navbar-logo {
    float: left;
    color: #409eff;
    font-size: 20px;
    font-weight: bold;
    line-height: 55px;
}

.navbar-right {
    float: right;
    line-height: 55px;
    height: 55px;
}

.navbar-item {
    color: #333;
    display: block;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 500;
    transition: color .2s;
    border-bottom: 2px solid transparent;
    float: left;
}

.navbar-item:hover, .navbar-item.active {
    color: #409eff;
    font-weight: bold;
    border-color: #409eff;
}

.switch {
    width: 2.3rem;
    height: 1.2rem;
    position: relative;
    vertical-align: top;
    border: 1px solid #dddddd;
    background-color: #dddddd;
    border-radius: 0.6rem;
    background-clip: content-box;
    display: inline-block;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    -webkit-transition: all 0.2s linear;
    transition: all 0.2s linear;
    margin-top: 19px;
}

.switch:checked {
    border-color: #03a9f4;
    background-color: #03a9f4;
}

.switch:before {
    width: 1.1rem;
    height: 1.1rem;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0.6rem;
    background-color: #fff;
    content: '';
    -webkit-transition: left 0.2s;
    transition: left 0.2s;
}
.switch:checked:before {
    left: 1.1rem;
}

.footer {
    width: 100%;
    height: 80px;
    padding-top: 20px;
    text-align: center;
    border-top: 1px solid #dcdfe6;
    margin-top: 50px;
    color: #8D8D8D;
    font-size: 14px;
    font-weight: 400;
    line-height: 30px;
}

.footer a {
    color: #1E9FFF;
}

.body-nav {
    position: fixed;
    left: 0;
    top: 56px;
    bottom: 0;
    z-index: 88;
    background-color: #FFF;
    width: 200px;
    padding: 48px 32px 96px 39px;
    overflow: auto;
}

.page-content {
    position: absolute;
    left: 272px;
    top: 56px;
    right: 0;
    bottom: 0;
    z-index: 66;
    padding: 64px 64px 96px 64px;
    color: #333;
    font-weight: 400;
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    line-height: 1.8;
}

.nav-item {
    font-size: 1rem;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 10px;
    margin-top: 20px;
}

.nav-subitem {
    display: block;
    padding: 10px 16px;
    line-height: 1.5;
    font-size: .9rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: inherit;
    color: #666;
}

.nav-subitem.active {
    background-color: rgba(64,158,255,0.1);
    color: #409eff;
}

.page-content h1 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 600;
    line-height: 1.25;
    color: #666;
}

.page-content h2 {
    margin-top: 2.25rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.3rem;
    line-height: 1.25;
    font-size: 1.65rem;
    font-weight: 600;
    color: #666;
}

.page-content h3 {
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    line-height: 1.05;
    font-size: 1.05rem;
    font-weight: 600;
    color: #666;
}

.page-content a {
    color: #409eff;
    display: inline-block;
    font-weight: 500;
    text-decoration: inherit;
    font-size: 16px;
    line-height: 1.25rem;
}

.page-content-footer {
    width: 800px;
    border-top: 1px solid #dcdcdc;
    margin-top: 20px;
    padding-top: 20px;
}

.page-content-footer a {
    font-size: 14px;
}

.page-content-footer a:hover {
    font-weight: bold;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

code {
    margin: 0;
    border-radius: 4px;
    font-family: "JetBrains Mono", source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
    font-size: 14px;
    padding: 2px 4px;
    color: #c7254e;
    background-color: #f9f2f4;
}

.page-content-body {
    width: 800px;
    overflow: hidden;
}

pre {
    width: 100%;
    background-color: #efefef;
    border-radius: 3px;
    padding: 20px;
}

pre code {
    background-color: #efefef;
    padding-left: 0;
}

pre.hljs {
    overflow-x: auto;
    overflow-y: hidden;
}

.page-mini-content-body {
    width: 600px;
}
.page-mini-content-body .page-content-footer {
    width: 640px;
}

.phone {
    position: fixed;
    top: 80px;
    right: 50px;
    background-image: url("/static/img/phone.png");
    background-repeat: no-repeat;
    background-size: 100%;
    width: 375px;
    bottom: 0;
    overflow: hidden;
    user-select: none;
}

.dociframe {
    width: 375px;
    margin-top: 65px;
    height: 90%;
}

.custom-block.tip {
    padding: 8px 16px;
    background-color: rgba(64, 158, 255, .1);
    border-radius: 4px;
    border-left: 5px solid #409eff;
    margin: 20px 0;
}

.custom-block.warning {
    padding: 8px 16px;
    background-color: rgba(245, 108, 108, .1);
    border-radius: 4px;
    border-left: 5px solid #f56c6c;
    margin: 20px 0;
}

.custom-block-title {
    font-weight: 700;
    margin-top: 0;
}

.custom-block p {
    margin-bottom: 6px;
    margin-top: 0;
}

.mobile-qrcode-preview {
    position: absolute;
    right: 45px;
    top: 33px;
    width: 20px;
    cursor: pointer;
}

.mobile-refresh {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 15px;
    top: 33px;
    background-color: rgba(0,0,0,0);
    cursor: pointer;
}

.mobile-qrcode-preview-dialog-mask {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    background-color: rgba(0,0,0,.8);
}

.mobile-qrcode-preview-dialog {
    width: 300px;
    height: 365px;
    background-color: #FFF;
    border-radius: 6px;
    margin: 100px auto;
    text-align: center;
}

.mobile-qrcode-preview-img {
    width: 300px;
    margin-top: 6px;
}

.mobile-qrcode-preview-tips {
    font-size: 14px;
    color: #333;
    margin-top: -30px;
}

.mobile-qrcode-preview-close {
    width: 100%;
    height: 40px;
    border-top: 1px solid #EFEFEF;
    margin-top: 10px;
    line-height: 40px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

.mobile-keepout {
    position: absolute;
    left: 20px;
    top: 25px;
    background-color: #E8E8E8;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: block;
}

.table, tr, td, th {
    border-spacing: 0;/*把单元格间隙设置为0*/
    border-collapse: collapse;/*设置单元格的边框合并为1*/
    border: 1px solid #E8E8E8;
    text-align: left;
    padding: 8px;
    font-size: 14px;
}
