.content {
  /*overflow: hidden;*/
  margin: 10px auto 20px;
  width: 1200px;
}
.content .course {
  display: block;
  display: flex;
  background: #F5F5F5;
  position: relative;
}
.content .course .course-share {
  position: absolute;
  width: 72px;
  height: 27px;
  border: 1px solid #DCDCDC;
  border-radius: 4px;
  right: 7px;
  top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.content .course .course-share:hover .course-share-btns-container{
  display: block;
}
.content .course .course-share>img {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}
.course-share-btns-container{
  position: absolute;
  top: 25px;
  width: 208px;
  background: transparent;
  border-radius: 8px;
  display: block;
  padding-top: 10px;
  display:none;
}
.course-share-btns-container .course-share-btns{
  background: #fff;
  padding: 10px 20px;
  box-shadow: 0 15px 20px #0000001c;
}
.content .course .course-coll {
  position: absolute;
  width: 72px;
  height: 27px;
  border: 1px solid #DCDCDC;
  border-radius: 4px;
  right: 91px;
  top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content .course .course-coll span {
  background: url(../images/icon-collection1.png) no-repeat center;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  background-size: 16px;
}
.content .course .course-coll.active span {
  background: url(../images/icon-collection.png) no-repeat center;
  background-size: 16px;
}
.content .course .course-buy {
  position: absolute;
  right: 8px;
  bottom: 13px;
  display: flex;
  align-items: center;
  z-index: 99;
}
.content .course .course-buy button {
  outline: none;
  width: 88px;
  height: 27px;
  background: #BB2916;
  border: 1px solid #DCDCDC;
  border-radius: 4px;
  margin-left: 8px;
  text-align: center;
  line-height: 27px;
  font-size: 14px;
  color: #FFFFFF;
  cursor: pointer;
}
.content .course .course-buy .book-buy-wrap {
  position: relative;
}
.content .course .course-buy .book-buy-wrap .book-buy {
  display: none;
  position: absolute;
  bottom: 26px;
  right: -22px;
  height: 48px;
}
.content .course .course-buy .book-buy-wrap .book-buy ul {
  width: 135px;
  height: 36px;
  background: #FFFFFF;
  box-shadow: 0px 1px 3px 0px rgba(88, 11, 16, 0.34);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.content .course .course-buy .book-buy-wrap .book-buy ul::after {
  content: "";
  border-top: 8px solid #FFFFFF;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  z-index: 999;
}
.content .course .course-buy .book-buy-wrap .book-buy ul::before {
  content: "";
  border-top: 10px solid #D9CCCC;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -9px;
  z-index: -2;
}
.content .course .course-buy .book-buy-wrap .book-buy a {
  display: block;
}
.content .course .course-buy .book-buy-wrap .book-buy a img.con-tb {
  width: 30px;
}
.content .course .course-buy .book-buy-wrap .book-buy a img.con-dd {
  width: 60px;
  margin: 0 3px;
}
.content .course .course-buy .book-buy-wrap .book-buy a img.con-tm {
  width: 30px;
}
.content .course .course-buy .book-buy-wrap:hover .book-buy {
  display: block;
}
.content .course .course-buy .ebook-buy-wrap {
  position: relative;
}
.content .course .course-buy .ebook-buy-wrap .ebook-buy {
  position: absolute;
  bottom: 26px;
  right: -22px;
  height: 48px;
  display: none;
}
.content .course .course-buy .ebook-buy-wrap .ebook-buy ul {
  width: 135px;
  height: 36px;
  background: #FFFFFF;
  box-shadow: 0px 1px 3px 0px rgba(88, 11, 16, 0.34);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.content .course .course-buy .ebook-buy-wrap .ebook-buy ul::after {
  content: "";
  border-top: 8px solid #FFFFFF;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -8px;
  z-index: 999;
}
.content .course .course-buy .ebook-buy-wrap .ebook-buy ul::before {
  content: "";
  border-top: 10px solid #D9CCCC;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -9px;
  z-index: -2;
}
.content .course .course-buy .ebook-buy-wrap .ebook-buy ul li:first-child {
  margin-right: 15px;
}
.content .course .course-buy .ebook-buy-wrap .ebook-buy ul li a {
  font-size: 14px;
  display: block;
  color: #C94231;
}
.content .course .course-buy .ebook-buy-wrap:hover .ebook-buy {
  display: block;
}
.content .course img.course-cover {
  width: 203px;
  height: 273px;
  border-radius: 6px;
  margin-right: 6px;
  margin: 18px 29px 18px 13px;
}
.content .course .course-mes h3 {
  font-size: 26px;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 23px;
  margin-bottom: 6px;
}
.content .course .course-mes .course-item {
  display: flex;
  align-items: center;
  color: #666666;
  line-height: 28px;
}
.content .course .course-mes .course-item h6 {
  width: 66px;
  margin-right: 12px;
}
.content .course .course-mes .course-item span {
  flex: 1;
}
.content .author-intro {
  overflow: hidden;
  margin-top: 11px;
}
.content .author-intro .author-nav {
  height: 35px;
  background: #FAF0EF;
}
.content .author-intro .author-nav ul {
  overflow: hidden;
  display: flex;
  align-items: center;
  line-height: 35px;
}
.content .author-intro .author-nav ul li {
  width: 102px;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
}
.content .author-intro .author-nav ul li.active {
  background: #BB2916;
  color: #FFFFFF;
}
.content .author-catalogue {
  overflow: hidden;
  margin-top: 11px;
}
.content .author-catalogue .author-nav {
  height: 35px;
  background: #FAF0EF;
}
.content .author-catalogue .author-nav ul {
  overflow: hidden;
  display: flex;
  align-items: center;
  line-height: 35px;
}
.content .author-catalogue .author-nav ul li {
  width: 102px;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
}
.content .author-catalogue .author-nav ul li.active {
  background: #BB2916;
  color: #FFFFFF;
}
.content .author-catalogue .catalogue-list {
  border: 1px solid #E5E5E5;
  border-top: none;
  overflow: hidden;
  box-sizing: border-box;
  padding: 20px 0;
}
.content .author-catalogue .catalogue-list .cl-scroll {
  height: 150px;
  overflow: hidden;
}
.content .author-catalogue .catalogue-list ul {
  padding: 0 36px;
}
.content .author-catalogue .catalogue-list ul li {
  line-height: 30px;
  font-size: 14px;
}
.content .author-catalogue .catalogue-list ul li span {
  display: inline-block;
  /*margin-right: 15px;*/
}
.content .author-catalogue .catalogue-list ul li em {
  color: #BB2916;
}
.content .author-catalogue .catalogue-list ul li a {
  color: #92b1cb;
  display: inline-block;
  margin-left: 15px;
}
.content .author-box {
  border: 1px solid #E5E5E5;
  border-top: none;
  overflow: hidden;
  box-sizing: border-box;
  padding: 10px 20px;
  display: none;
}
.content .author-box:nth-child(2) {
  display: block;
}
.content .author-box p {
  font-size: 14px;
  line-height: 30px;
  white-space: break-spaces;
}
.content .comment-title {
  overflow: hidden;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 35px;
  background: #FAF0EF;
}
.content .comment-title h3 {
  width: 102px;
  height: 35px;
  background: #BB2916;
  text-align: center;
  line-height: 35px;
  font-size: 16px;
  color: #FFFFFF;
  font-weight: normal;
}
.content .comment-title button {
  width: 69px;
  height: 28px;
  border: 1px solid #BB2916;
  border-radius: 4px;
  color: #BB2916;
  font-size: 14px;
  margin-right: 7px;
  box-sizing: border-box;
  background: none;
  outline: none;
  cursor: pointer;
}
.content .comment-con {
  border: 1px solid #E5E5E5;
}
.content .comment-con .comment {
  overflow: hidden;
  margin-bottom: 10px;
}
.content .comment-con .comment .comment-input {
  width: 1129px;
  height: 36px;
  border: 1px solid #DCDCDC;
  border-radius: 4px;
  display: block;
  margin: 27px auto 12px;
  padding: 0 18px;
  box-sizing: border-box;
  font-size: 14px;
}
.content .comment-con .comment .comment-input::placeholder {
  color: #999999;
}
.content .comment-con .comment button {
  width: 51px;
  height: 36px;
  background: #BB2916;
  border: 1px solid #DCDCDC;
  border-radius: 4px;
  outline: none;
  float: right;
  margin-right: 33px;
  color: #FFFFFF;
  font-size: 14px;
}
.content .comment-con .comment-list .comment-mes {
  overflow: hidden;
  margin: 0 19px 8px 36px;
  border-bottom: 1px solid #eeeeee;
}
.content .comment-con .comment-list .comment-mes:last-child {
  border-bottom: none;
}
.content .comment-con .comment-list .comment-mes .photo {
  float: left;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  margin-right: 23px;
}
.content .comment-con .comment-list .comment-mes .photo img {
  display: block;
  width: 100%;
  height: 100%;
}
.content .comment-con .comment-list .comment-detail {
  width: 1078px;
  float: left;
}
.content .comment-con .comment-list .comment-detail h1 {
  line-height: 36px;
  font-size: 16px;
}
.content .comment-con .comment-list .comment-opt {
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 27px;
}
.content .comment-con .comment-list .comment-opt .time {
  color: #999999;
}
.content .comment-con .comment-list .comment-opt .opt {
  display: flex;
  color: #9C2731;
  font-size: 15px;
}
.content .comment-con .comment-list .comment-opt .opt .del {
  cursor: pointer;
}
.content .comment-con .comment-list .comment-opt .opt .zan {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-left: 26px;
  padding-left: 27px;
  background: url(../images/icon-zan.png) no-repeat left center;
  background-size: 20px;
}
.content .comment-con .comment-list .comment-opt .opt .zan.active {
  background: url(../images/icon-zan1.png) no-repeat left center;
  background-size: 20px;
}
.content .comment-con .comment-list .wrapper {
  display: flex;
  width: 1078px;
  overflow: hidden;
  border-radius: 8px;
}
.content .comment-con .comment-list .text {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 30px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  position: relative;
}
.content .comment-con .comment-list .text::before {
  content: '';
  height: calc(100% - 24px);
  float: right;
}
.content .comment-con .comment-list .text::after {
  content: '';
  width: 999vw;
  height: 999vw;
  position: absolute;
  box-shadow: inset calc(100px - 999vw) calc(30px - 999vw) 0 0 #fff;
  margin-left: -100px;
}
.content .comment-con .comment-list .btn {
  float: right;
  clear: both;
  margin-left: 10px;
  font-size: 14px;
  padding: 0 8px;
  line-height: 20px;
  border-radius: 4px;
  cursor: pointer;
  color: #B03934;
}
.content .comment-con .comment-list .btn::before {
  content: '展开';
}
.content .comment-con .comment-list .exp {
  display: none;
}
.content .comment-con .comment-list .exp:checked + .text {
  -webkit-line-clamp: 999;
}
.content .comment-con .comment-list .exp:checked + .text::after {
  visibility: hidden;
  margin-top: 30px;
}
.content .comment-con .comment-list .exp:checked + .text .btn::before {
  content: '收起';
}
.content .comment-con #coursePage {
  margin-left: 94px;
  margin-bottom: 59px;
}
.content .comment-con #coursePage .layui-laypage a:hover,
.content .comment-con #coursePage .layui-laypage span:hover {
  color: #BB2916;
}
.content .comment-con #coursePage .layui-laypage .layui-laypage-curr .layui-laypage-em {
  background-color: #BB2916;
  padding: 0;
}
.mCSB_scrollTools {
  z-index: 999 !important;
}
.mCSB_inside > .mCSB_container {
  margin-right: 0px !important;
}
.mCSB_scrollTools .mCSB_draggerRail {
  background-color: transparent !important;
}
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background: #DADFE5 !important;
  border-radius: 100px !important;
  width: 4px !important;
}
.mCSB_scrollTools {
  right: 6px !important;
}

@media only screen and (min-width: 1px) and (max-width: 926px) {
  body{
    background: #faf0ef;
  }
  .header-container .header-container,.content{
    width:100%;
  }

  .content .course img.course-cover{
    width:45%;
    height:calc( 45vw * 273 / 203);
    margin: 0;
    flex: 0 0 45%;
  }
  .content .course{
    justify-content: space-around;
    flex-wrap: wrap;
    background: #fff;
  }
  .content  .course-mes{
    flex: 0 0 45%;
    overflow: hidden;
  }
  .content .course .course-coll,.content .course .course-share{
    top:40px;
  }
  .content .course .course-mes h3{
    margin-top:0px;
    margin-bottom: 40px;
  }
  .content .course .course-buy{
    position: relative;
    bottom: auto;
    right: auto;
    margin: 1em 0;
  }
  .content .author-intro .author-nav ul li,.content .author-catalogue .author-nav ul li,.content .comment-title h3{
    width:auto;
    padding:0 1em;
  }
  .content .author-intro,.content .author-catalogue,.content .comment-title{
    margin-top:1.5em;
    background: #fff;
  }
  .content .comment-con{
    background: #fff;
  }
  .content .comment-con .comment{
    padding:1em;
  }
  .content .comment-con .comment .comment-input{
    width:100%;
  }
  .content .comment-con .comment-list .comment-mes{
    display:flex;
    margin: 0px;
    padding: 0 1em;
  }
  .content .comment-con .comment-list .comment-mes .photo{
    float:none;
    flex:0 0 36px;
    margin-top: 0.8em;
    margin-right: 1em;
  }
  .content .comment-con .comment-list .comment-detail{
    flex:1 1 auto;
    width:auto;
    float:none;

  }
  .content .comment-con .comment-list .wrapper{
    width:100%;
  }
  .content .comment-con #coursePage{
    width:100%;
    margin:0px;
    padding: 1em;
    box-sizing: border-box;
  }
}