
    .toc {
      position: relative; 
      top: 0;
    }
    .fixed {
            position: fixed;
            top: 80px;
            z-index: 1000;
        }
    .dir {
      position: relative;
      box-sizing: border-box;
      margin-top: -0.5rem;
      margin-bottom: -0.5rem;
    }

    #toc {
      margin: 0;
      padding-left: 15px;
      box-sizing: border-box;
    }

    .sider {
      width: 1px;
      height: 100%;
      background: #eee;
      position: absolute;
      left: 0;
      top: 0;
      border-radius: 10px;
      margin: auto;
      bottom: 0;
    }

    .siderbar {
      display: flex;
      width: 2px;
      height: 20px;
      line-height: 2;
      background: #ffd100;
      transition: all 0.1s;
    }

    .toc li {
      box-sizing: border-box;
      list-style: none;
      height: 30px;
    }
    .toc li a {
    white-space: nowrap;          /* 不换行 */
    overflow: hidden;             /* 隐藏超出部分 */
    text-overflow: ellipsis;      /* 显示省略号 */
    width: 100%;
    display: block;
    color: #707981;
}

    .li-1 { 
      padding-left: 0px;
    }

    .li-2 {
      padding-left: 8px;
    }

    .li-3 {
      padding-left: 16px;
    }

    .li-4 {
      padding-left: 24px;
    }

    .li-5 {
      padding-left: 32px;
    }

    .li-6 {
      padding-left: 40px;
    }

    .li-active {
      color: #ffd100 !important;
    }
.sbtoc{
     display: none;
     width: 100%;
     overflow-y: auto;
}
    .sbtoc .dropdown-menu{
      width: 100%;
      overflow: hidden;
    }
.sbtoc-bookmark-btn{
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #bbbbbb;
  color: #bbbbbb;
  text-align: center;
  line-height: 1;
  font-size: 10px;
  -webkit-transition: all 0.25s ease-out;
        -o-transition: all 0.25s ease-out;
        transition: all 0.25s ease-out;
}
.show .sbtoc-bookmark-btn{color: #ffd100;border-color: #ffd100;margin-top: 0.5rem;}
.sbtoc-bookmark-btn i{
  display: block;
  font-size: 1rem;
  margin-bottom: 0.275rem;
}
.sbtoc .sbtoc-bookmark-title{
    color: rgba(0, 0, 0, .45);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1rem;
    padding-bottom: 1.5rem;
}
@media (max-width: 767.98px) {
  .sbtoc{
    position: fixed;
    bottom: 60px;
    right: 20px;
    width: 48px;
    top: auto;
    display: none;
    overflow: visible;
  }
    .sbtoc-bookmark-btn{
        display: block;
    }
    .sbtoc .dropdown-menu{
      width: 70vw;
      max-height: 70vh;
    overflow-y: scroll;
  }
  .sbtoc .sbtoc-bookmark-title{display:none}
   
}
@media (min-width: 768px) {
  .sbtoc .dropdown-menu{
    display: block;
    border: none;
  }
}


.el-image-viewer__canvas img,
.el-image-viewer__canvas video {
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: auto;
}

.el-image-viewer__wrapper {
    position: fixed;
  bottom: 0;
    left: 0;
    right: 0;
    top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}


.el-image-viewer__btn {
    align-items: center;
    border-radius: 50%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    opacity: .8;
    position: absolute;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    z-index: 1
}

.el-button,.el-checkbox,.el-checkbox-button__inner,.el-empty__image img,.el-radio {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none
}

.el-image-viewer__close {
    cursor: pointer;
    background-color: #606266;
    color: #fff;
    font-size: 24px;
    height: 40px;
    right: 40px;
    top: 40px;
    width: 40px
}

.el-image-viewer__canvas {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.el-image-viewer__actions {
    background-color: #606266;
    border-color: #fff;
    border-radius: 22px;
    bottom: 30px;
    height: 44px;
    left: 50%;
    padding: 0 23px;
    transform: translateX(-50%);
    width: 282px
}

.el-image-viewer__actions__inner {
    align-items: center;
    color: #fff;
    cursor: default;
    display: flex;
    font-size: 23px;
    height: 100%;
    justify-content: space-around;
    text-align: justify;
    width: 100%
}

.el-image-viewer__next,.el-image-viewer__prev {
    cursor: pointer;
    background-color: #606266;
    border-color: #fff;
    color: #fff;
    font-size: 24px;
    height: 44px;
    top: 50%;
    width: 44px
}

.el-image-viewer__prev {
    left: 40px;
    transform: translateY(-50%)
}

.el-image-viewer__next {
    right: 40px;
    text-indent: 2px;
    transform: translateY(-50%)
}

.el-image-viewer__mask {
    background: #000;
    height: 100%;
    left: 0;
    opacity: .5;
    position: absolute;
    top: 0;
    width: 100%
}

.viewer-fade-enter-active {
    animation: viewer-fade-in .3s
}

.viewer-fade-leave-active {
    animation: viewer-fade-out .3s
}

@keyframes viewer-fade-in {
    0% {
        opacity: 0;
        transform: translate3d(0,-20px,0)
    }

    to {
        opacity: 1;
        transform: translateZ(0)
    }
}

@keyframes viewer-fade-out {
    0% {
        opacity: 1;
        transform: translateZ(0)
    }

    to {
        opacity: 0;
        transform: translate3d(0,-20px,0)
    }
}