p,
div,
span,
li,
ul,
html,
body,
i {
  margin: 0;
  padding: 0;
}
#ChapterDetails {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
#ChapterDetails div,
#ChapterDetails li,
#ChapterDetails ul,
#ChapterDetails p,
#ChapterDetails input {
  box-sizing: border-box;
}
#ChapterDetails p,
#ChapterDetails span,
#ChapterDetails li {
  font-family: 'PingFang SC';
  font-style: normal;
  line-height: 1.6em;
}
#ChapterDetails .left-nav,
#ChapterDetails .right-nav {
  width: 320px;
  height: 100%;
  border-right: 1px solid #F2F2F2;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.06);
  display: flex;
  background: #ffffff;
  flex-direction: column;
  position: fixed;
  left: 0;
  z-index: 2;
}
#ChapterDetails .left-nav .chapterInfo,
#ChapterDetails .right-nav .chapterInfo {
  width: calc(100% - 40px);
  height: 160px;
  margin: 20px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  flex-grow: 0;
}
#ChapterDetails .left-nav .chapterInfo > img,
#ChapterDetails .right-nav .chapterInfo > img {
  width: 100%;
  height: 100%;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
#ChapterDetails .left-nav .chapterInfo > .chapterName,
#ChapterDetails .right-nav .chapterInfo > .chapterName {
  padding: 10px 14px;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  background: rgba(23, 29, 38, 0.4);
  font-weight: 400;
  font-size: 16px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#ChapterDetails .left-nav .chapterInfo > .chapterName > p,
#ChapterDetails .right-nav .chapterInfo > .chapterName > p {
  font-size: 16px;
}
#ChapterDetails .left-nav .chapterInfo > .chapterName > span,
#ChapterDetails .right-nav .chapterInfo > .chapterName > span {
  font-size: 12px;
}
#ChapterDetails .left-nav .chapterCatalogue,
#ChapterDetails .right-nav .chapterCatalogue {
  background-color: #F2F4F7;
  width: 100%;
  height: 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0 20px;
}
#ChapterDetails .left-nav .chapterCatalogue > p,
#ChapterDetails .right-nav .chapterCatalogue > p {
  display: inline-block;
  width: 50px;
  height: 100%;
  font-weight: 500;
  font-size: 18px;
  text-align: center;
  color: #3A8BFF;
  position: relative;
  overflow: hidden;
  line-height: 52px;
  margin-left: 3px;
}
#ChapterDetails .left-nav .chapterCatalogue > p > i,
#ChapterDetails .right-nav .chapterCatalogue > p > i {
  display: inline-block;
  width: 50px;
  height: 8px;
  background-color: #3A8BFF;
  border-radius: 8px;
  position: absolute;
  bottom: -4px;
  left: 0;
}

#ChapterDetails .left-nav .chapterCatalogue > .hideCatalogue {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(../../images/course/toggle.png) no-repeat center center;
  background-size: 16px 16px;
  background-clip: content-box;
  cursor: pointer;
  box-sizing: content-box;
  padding: 10px;
  margin-right: -10px;
}

#ChapterDetails .right-nav .chapterCatalogue > .hideCatalogue {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(../../images/course/toggle.png) no-repeat center center;
  background-size: 16px 16px;
  background-clip: content-box;
  cursor: pointer;
  box-sizing: content-box;
  padding: 10px;
  margin-right: -10px;
  transform: rotate(180deg);
}
#ChapterDetails .left-nav .chapterSearch,
#ChapterDetails .right-nav .chapterSearch {
  padding: 10px 20px;
  position: relative;
}
#ChapterDetails .left-nav .chapterSearch > input,
#ChapterDetails .right-nav .chapterSearch > input {
  border: none;
  outline: none;
  width: 100%;
  height: 36px;
  line-height: 36px;
  background: #F7F8FA;
  border-radius: 28px;
  padding: 0 40px 0 14px;
}
#ChapterDetails .left-nav .chapterSearch > input::placeholder,
#ChapterDetails .right-nav .chapterSearch > input::placeholder {
  font-weight: 400;
  font-size: 14px;
  color: #ACB4BF;
}

#ChapterDetails .left-nav .chapterSearch > input:focus,
#ChapterDetails .right-nav .chapterSearch > input:focus {
  outline:none;border:1px solid #3a8bff;
}

#ChapterDetails .left-nav .chapterSearch > .searchIcon,
#ChapterDetails .right-nav .chapterSearch > .searchIcon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url('../../images/course/search.png') no-repeat 100% 100%;
  background-size: 100% 100%;
  position: absolute;
  top: 50%;
  right: 34px;
  transform: translate(0, -50%);
  cursor: pointer;
}
#ChapterDetails .left-nav .chapterList,
#ChapterDetails .right-nav .chapterList {
  width: 320px;
  height: auto;
  flex-grow: 1;
  overflow-x: hidden;
  overflow-y: auto;
}
#ChapterDetails .left-nav .chapterList ul li,
#ChapterDetails .right-nav .chapterList ul li {
  min-height: 40px;
  line-height: 40px;
  white-space: nowrap;
  text-overflow: ellipsis;
  list-style-type: none;
  font-weight: 400;
  font-size: 14px;
}
#ChapterDetails .left-nav .chapterList ul li > div,
#ChapterDetails .right-nav .chapterList ul li > div {
  height: 40px;
  line-height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /*border-top: 1px solid #ffffff;*/
  /*border-bottom: 1px solid #ffffff;*/
}
#ChapterDetails .left-nav .chapterList ul li > div i,
#ChapterDetails .right-nav .chapterList ul li > div i {
  display: none;
}
#ChapterDetails .left-nav .chapterList ul li > div:hover,
#ChapterDetails .right-nav .chapterList ul li > div:hover {
  background: #F0F6FF;
  border-top: 1px solid #F0F6FF;
  border-bottom: 1px solid #F0F6FF;
}
#ChapterDetails .left-nav .chapterList ul li > div.show,
#ChapterDetails .right-nav .chapterList ul li > div.show {
  background: #F0F6FF;
  border-top: 1px solid #D6E8FF;
  border-bottom: 1px solid #D6E8FF;
}
#ChapterDetails .left-nav .chapterList > ul > li,
#ChapterDetails .right-nav .chapterList > ul > li {
  display: block;
}
#ChapterDetails .left-nav .chapterList > ul > li > div > span,
#ChapterDetails .right-nav .chapterList > ul > li > div > span {
  font-weight: 600;
}
#ChapterDetails .left-nav .chapterList > ul > li > div > i,
#ChapterDetails .right-nav .chapterList > ul > li > div > i {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 10px 0 0;
  background: url('../../images/course/arrow.png') no-repeat 100% 100%;
  background-size: 100% 100%;
  cursor: pointer;
  transition: transform 0.5s;
}
#ChapterDetails .left-nav .chapterList > ul > li.active > div > i,
#ChapterDetails .right-nav .chapterList > ul > li.active > div > i {
  transform: rotate(90deg);
}
#ChapterDetails .left-nav .chapterList::-webkit-scrollbar,
#ChapterDetails .right-nav .chapterList::-webkit-scrollbar {
  width: 8px;
}
#ChapterDetails .left-nav .chapterList::-webkit-scrollbar-thumb,
#ChapterDetails .right-nav .chapterList::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background-color: #cfd8e6;
}
#ChapterDetails .left-nav .chapterList::-webkit-scrollbar-track,
#ChapterDetails .right-nav .chapterList::-webkit-scrollbar-track {
  background: #ffffff;
}
#ChapterDetails .right-nav {
  border-left: 1px solid #F2F2F2;
  border-right: none;
  left: unset;
  right: 0;
}
#ChapterDetails .right-nav .floatIcon {
  right: auto;
  left: -32px;
  transform: rotate(0);
}
#ChapterDetails .container {
  height: auto;
  flex-grow: 1;
  overflow: auto;
  position: relative;
  padding: 30px 400px;
  z-index: 1;
}
#ChapterDetails .container .content > .tips {
  display: flex;
  align-items: center;
  padding: 0 30px;
  width: 100%;
  height: 48px;
  background: #FFFDE7;
  border: 1px solid #FFE58F;
  border-radius: 8px;
}
#ChapterDetails .container .content > .tips > i {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url('../../images/course/warn.png') no-repeat 100% 100%;
  background-size: 100% 100%;
  margin-right: 10px;
}
#ChapterDetails .container .content > .tips > span {
  font-weight: 400;
  font-size: 14px;
  color: #131B26;
}
#ChapterDetails .container .content > .tips > a {
  font-weight: 400;
  font-size: 14px;
  color: #3A8BFF;
  text-decoration: none;
  display: flex;
  align-items: center;
}
#ChapterDetails .container .content > .tips > a > i {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url('../../images/course/arrow-line.png') no-repeat 100% 100%;
  background-size: 100% 100%;
}
#ChapterDetails .floatIcon {
  width: 32px;
  height: 40px;
  background-color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: -32px;
  top: 214px;
  background: #FFFFFF;
  border-width: 1px 0px 1px 1px;
  border-style: solid;
  border-color: #E1E7EF;
  box-shadow: 0px 2px 17px rgba(211, 211, 211, 0.5);
  border-radius: 6px 0px 0px 6px;
  transform: rotate(180deg);
  cursor: pointer;
  display: none;
}
#ChapterDetails .floatIcon > i {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('../../images/course/toggle.png') no-repeat 100% 100%;
  background-size: 100% 100%;
}
.cursorC{
  cursor: pointer;
}

.sp_function{
  display: none;
}

#ChapterDetails .left-nav .chapterList > ul > li > div,
#ChapterDetails .right-nav .chapterList > ul > li > div {
  background: linear-gradient(180deg, #FCFDFE 0%, #F8F9FA 100%);
}

#ChapterDetails .left-nav .chapterList > ul > li.active > div,
#ChapterDetails .right-nav .chapterList > ul > li.active > div {
  background: #ffffff;
}
.highlight-text{background: #FFC3C3;}

.labelsCon {
    position: absolute;
    left: -20px;
    padding: 34px;
    top: -40px;
    min-width: 40px;
    padding: 8px;
    line-height: 20px;
    background: #F53F3F;
    border-radius: 8px;
    opacity: 1;
    -webkit-transition: opacity 0.1s 1s, visibility 0s 0.3s;
    transition: opacity 0.1s 1s, visibility 0s 0.3s;
    text-align: left;
    color: #fff;
    font-size: 12px;
    box-sizing: border-box;
    z-index:10;
}

.labelsCon::after {
    content: '';
    position: absolute;
    width: 0px;
    height: 0px;
    border: solid rgba(24, 30, 51, 0.80) 4px;
    position: absolute;
    left: 50%;
    margin-left: -4px;
    bottom: -8px;
    top: auto;
    border-color: rgba(245, 63, 63, 1) transparent transparent transparent;
}