html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote {
    margin: 0;
    padding: 0;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
}

html {
    overflow: hidden;
}

/* 设置滚动条的样式 */

::-webkit-scrollbar {
    width: 6px;
}

/* 外层轨道 */

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

/* 滚动条滑块 */

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb:window-inactive {
    background: rgba(0, 0, 0, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimSun, sans-serif;
    font-size: 14px;
    line-height: 25px;
    color: #393838;
    position: relative;
    width: 100%;
}

table {
    margin: 10px 0 15px 0;
    border-collapse: collapse;
}

td,
th {
    border: 1px solid #ddd;
    padding: 3px 10px;
}

th {
    padding: 5px 10px;
}

a,
a:link,
a:visited {
    color: #34495e;
    text-decoration: none;
}

a:hover {
    color: #2c6eff;
    text-decoration: none;
}

a img {
    border: none;
}

p {
    padding-left: 10px;
    margin-bottom: 9px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #404040;
    line-height: 36px;
}

h1 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ddd;
    line-height: 50px;
}

h2 {
    font-size: 28px;
    padding-top: 10px;
    padding-bottom: 10px;
}

h3 {
    clear: both;
    font-weight: 400;
    margin-top: 20px;
    margin-bottom: 20px;
    border-left: 3px solid #2c6eff;
    padding-left: 8px;
    font-size: 18px;
}

h4 {
    font-size: 16px;
}

h5 {
    font-size: 14px;
}

h6 {
    font-size: 13px;
}

hr {
    margin: 0 0 19px;
    border: 0;
    border-bottom: 1px solid #ccc;
}

blockquote {
    padding: 13px 13px 21px 15px;
    margin-bottom: 18px;
    font-family: georgia, serif;
    font-style: italic;
}

blockquote:before {
    font-size: 40px;
    margin-left: -10px;
    font-family: georgia, serif;
    color: #eee;
}

blockquote p {
    font-size: 14px;
    font-weight: 300;
    line-height: 18px;
    margin-bottom: 0;
    font-style: italic;
}

code,
pre {
    font-family: Monaco, Andale Mono, Courier New, monospace;
}

code {
    background-color: #fee9cc;
    color: rgba(0, 0, 0, 0.75);
    padding: 1px 3px;
    font-size: 12px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

pre {
    display: block;
    padding: 14px;
    margin: 0 0 18px;
    line-height: 16px;
    font-size: 11px;
    border: 1px solid #d9d9d9;
    white-space: pre-wrap;
    word-wrap: break-word;
    background: #f6f6f6;
}

pre code {
    background-color: #f6f6f6;
    color: #737373;
    font-size: 11px;
    padding: 0;
}

sup {
    font-size: 0.83em;
    vertical-align: super;
    line-height: 0;
}

* {
    -webkit-print-color-adjust: exact;
}

@media print {

    body,
    code,
    pre code,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        color: black;
    }

    table,
    pre {
        page-break-inside: avoid;
    }
}

html,
body {
    height: 100%;
    display: flex;
}

.table-of-contents {
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    width: 260px;
}

.left-nav {
    width: 260px;
    overflow: hidden;
    box-sizing: border-box;
    border-right: 1px solid #ddd;
    background: #F3F3F3;
    position: relative;
}

.nav-list {
    width: 100%;
    height: 100vh;
}

.left-nav .doc_title,
.table-of-contents>ul>li>a {
    font-size: 14px;
    color: rgba(0, 0, 0, .7);
    font-weight: bold;
    line-height: 40px;
}

.left-nav .doc_title {
    margin-left: 20px;
    line-height: 50px;
    color: #1a1a1a;
}

.table-of-contents ul {
    overflow: auto;
    margin: 0px;
    height: 100%;
    padding: 0px 0px;
    box-sizing: border-box;
    list-style-type: none;
}

.table-of-contents>ul {
    height: calc(100vh - 160px);
}

ul ul {
    display: none;
}

.table-of-contents .doc_title,
.table-of-contents ul li {
    height: auto;
}

.table-of-contents a {
    line-height: 40px;
    padding: 2px 0px;
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.table-of-contents a.active {
    background: #e9e9ea;
}

.table-of-contents a:hover {
    background: #e9e9ea;
}

.content-right {
    max-width: 700px;
    margin-left: 290px;
    padding-left: 70px;
    flex-grow: 1;
}

.content-right h2:target {
    padding-top: 80px;
}

body>p {
    margin-left: 30px;
}

body>table {
    margin-left: 30px;
}

body>pre {
    margin-left: 30px;
}

.curProject {
    position: fixed;
    top: 20px;
    font-size: 25px;
    color: black;
    margin-left: -240px;
    width: 240px;
    padding: 5px;
    line-height: 25px;
    box-sizing: border-box;
}

.g-doc {
    margin-top: 56px;
    padding-top: 24px;
    display: flex;
}

.curproject-name {
    font-size: 42px;
}

.m-header {
    background: #32363a;
    height: 56px;
    line-height: 56px;
    padding-left: 60px;
    display: flex;
    align-items: center;
    position: fixed;
    z-index: 9;
    top: 0;
    left: 0;
    right: 0;
}

.m-header .title {
    font-size: 22px;
    color: #fff;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    margin-left: 16px;
    padding: 0;
    line-height: 56px;
    border: none;
}

.m-header .nav {
    color: #fff;
    font-size: 16px;
    position: absolute;
    right: 32px;
    top: 0;
}

.m-header .nav a {
    color: #fff;
    margin-left: 16px;
    padding: 8px;
    transition: color .2s;
}

.m-header .nav a:hover {
    color: #2c6eff;
}

.active {
    color: #2c6eff !important;
}

.m-footer {
    border-top: 1px solid #ddd;
    padding-top: 16px;
    padding-bottom: 16px;
}

.f-li {
    position: relative;
}


.f-li.active-a::after {
    transform: rotate(-90deg);
}

.f-li::after {
    content: '';
    position: absolute;
    right: 20px;
    height: 12px;
    width: 18px;
    top: 0;
    bottom: 0;
    margin: auto;
    background: url('./img/left.svg') no-repeat center right;
    transform: rotate(90deg);
    transition: transform .3s;
}

.frame-box {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.versionList {
    position: absolute;
    overflow-y: auto;
    top: 0;
    left: -230px;
    width: 230px;
    height: 100%;
    background-color: #ffffff;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.16);
    z-index: 100;
}

.mask {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 90;
    display: none;
    background: rgba(0, 0, 0, .1);
}

.version-item {
    padding: 20px;
    font-size: 16px;
    cursor: pointer;
    position: relative;
}

.version-item::after {
    position: absolute;
    content: '';
    width: 190px;
    height: 1px;
    background: #ddd;
    display: block;
    bottom: 0;
}

.version-item .version {
    font-weight: bold;
    color: #1a1a1a;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.version-item .describe {
    line-height: 24px;
    color: #1a1a1a;
    font-size: 12px;
}

.version-item .updateTime {
    color: #9b9ba3;
    font-size: 12px;
    line-height: 30px;
}

.select_version {
    background-color: rgba(44, 110, 255, 0.05);
    background-image: url('./img/choosed.png');
    background-repeat: no-repeat;
    background-position: top right;
}

.crumbs {
    height: 60px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1);
    display: flex;
    align-items: center;
    padding-left: 50px;
}

.crumbs span:not(:last-child)::after {
    content: ' ';
    width: 10px;
    height: 10px;
    display: inline-block;
    background: url('./img/left.svg') no-repeat;
    background-size: 100% 100%;
    margin: 0 10px;
}

.crumbs span:last-child {
    font-weight: bold;
}

.nav {
    position: absolute;
    width: 18px;
    height: 18px;
    right: 20px;
    top: 15px;
    cursor: pointer;
    background: url('./img/switch.png') no-repeat;
}

.navButton {
    position: absolute;
    height: 36px;
    width: 26px;
    background: url('./img/unfold.png') no-repeat left;
    left: 0;
    top: calc(50% - 40px);
    cursor: pointer;
    transition: background-image ease-in-out .1s .2s;
}
.navButton:hover {
    background-image: url('./img/unfold_h.png');
}

.fold {
    background-image: url('./img/fold.png');
}
.fold:hover {
    background-image: url('./img/fold_h.png');
}

.nav:hover {
    background: url('./img/switch_h.png') no-repeat;
}

.showNav {
    opacity: 0;
    z-index: 10;
    position: absolute;
    left: 20px;
    transform: rotate(180deg);
    transition: opacity .5s ease-in-out;
}

#f1 {
    margin-top: 4px;
    height: calc(100vh - 70px);
    width: 100%;
}

.myBtn {
    position: absolute;
    top: 9px;
    right: 20px;
    border-radius: 5px;
    line-height: 30px;
    border: 1px solid #dfdfdf;
    padding: 0 10px;
    cursor: pointer;
    /* display: none; */
}

.myBtn:hover {
    border: 1px solid #3598db;
    color: #3598db;
}

.crumbs-view {
    position: relative;
}

.tip-msg {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    margin: auto;
    background: #fff;
    color: rgba(0, 0, 0, .6);
    padding: 10px 16px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #fff;
    pointer-events: all;
    z-index: 101;
    width: auto;
}

.tip-success-icon {
    color: #52c41a;
    font-size: 16px;
    vertical-align: text-bottom;
    margin-right: 8px;
}

.tip-error-icon {
    color: #fd4545;
    font-size: 16px;
    vertical-align: text-bottom;
    margin-right: 8px;
}

.tip-warning-icon {
    color: #ffa302;
    font-size: 16px;
    vertical-align: bottom;
    margin-right: 2px;
}

/* 文档搜索逻辑的样式 */
.search-div {
    position: absolute;
    top: -8px;
    right: 120px;
    border-radius: 5px;
}
.search-input {
    width: 415px;
    height: 36px;
    margin: 20px;
    padding: 0 55px 0 10px;
    font-variant: tabular-nums;
    font-feature-settings: "tnum";
    color: #445160;
    line-height: 1.5715;
    background-color: #fff;
    background-image: none;
    border: 1px solid #c5cdd6;
    border-radius: 4px;
    transition: all .3s;
    outline: none;
}
.search-title {
    font-size: 15px;
    font-weight: bold;
    border: 1px solid #ddd;
    text-align: center;
}
.show-result {
    width: 480px;
    z-index: 99;
    max-height: 560px;
    margin-left: 20px;
    border: 1px solid #ddd;
    overflow: auto;
    display: none;
    position: absolute;
    top: 60px;
    background-color: #fff;
}
.show-ul {
    list-style: none;
    padding-inline-start: 10px;
    margin-block-start: 5px;    
}
/* .show-ul li {
    margin-bottom: 10px;
} */
.jump-title {
    font-size: 14px;
    font-weight: bold;
    line-height: 40px;
}
.jump-content {
    padding-left: 20px;
}
.search-icon {
    cursor: pointer;
    position: absolute;
    top: 28px;
    right: 32px;
}
.close-icon {
    cursor: pointer;
    position: absolute;
    top: 31px;
    right: 55px;
    display: none;
}