@import "src/assets/css/variable";
#chatBtn {
  bottom: 60px !important;
}

.index-box {
  overflow: hidden;
  background-color: $bg_fff;

  .header {
    width: 100%;
    height: 44px;
    background-color: $bg_fff;
    padding: 10px 15px;
    position: fixed;
    z-index: 52;

    .logo {
      width: 78px;
      height: 20px;
    }

    .to-app {
      display: inline-block;
      text-align: center;
      margin-left: 10px;
      width: 88px;
      height: 22px;
      line-height: 22px;
      border: 1px solid $bg_active;
      border-radius: 11px;
      background-color: $bg_fff;
      font-size: 12px;
      color: $active;
      vertical-align: top;
    }

    .right {
      float: right;
      height: 100%;
    }

    .intelligent-recommend-entry {
      float: left;
      margin-right: 20px;
      font-size: 14px;
      color: #09f;
      line-height: 24px;

      .mind-icon {
        display: inline-block;
        width: 16px;
        height: 16px;
        margin-right: 4px;
        background: url("./image/mind-icon.png") no-repeat;
        background-size: contain;
        vertical-align: middle;
      }
    }

    .search {
      font-size: 22px !important;
      float: right;
      margin-top: -6px;
    }
  }

  .zw_height {
    height: 44px;
  }

  .index-swiper {
    height: 187px;

    .swiper-container {
      height: 100% !important;

      .swiper-slide {
        height: 187px !important;
        img {
          width: 100%;
          height: 187px;
          border-radius: 6px;
        }
      }
    }

    .swiper-pagination {
      width: 100%;
      left: 188px !important;
      text-align: right;
      padding-right: 55px;

      .pagination-item {
        width: 8px !important;
        height: 8px !important;
        background-color: $bg_fff !important;
        opacity: 0.5;
      }

      .active {
        width: 18px !important;
        height: 7px !important;
        border-radius: 4px !important;
        background-color: $bg_fff !important;
        opacity: 1;
      }
    }
  }

  /*热门推荐轮播*/
  .category {
    width: 100%;
    padding: 20px 15px 15px 15px;

    .swiper-container {
      height: 106px !important;
      margin-top: 15px;
      margin-bottom: 5px;
      touch-action: pan-y;
      border-radius: 3px;

      .swiper-pagination {
        bottom: 5px !important;

        .pagination-item {
          width: 8px !important;
          height: 8px !important;
          background-color: $bg_fff !important;
          opacity: 0.5;
        }

        .active {
          background-color: $bg_fff !important;
          opacity: 1;
        }
      }
    }
  }

  /*
  页面tab
  */
  .tabbox {
    width: 100%;
    height: 113px;
    padding: 20px 17px;

    ul {
      display: flex;
      justify-content: space-between;
      text-align: center;

      li {
        width: 64px;

        img {
          width: 40px;
          height: 40px;
          border-radius: 50%;
        }

        span {
          color: $color_525B69;
          font-size: 14px;
          display: block;
          margin-top: 5px;
        }
      }
    }
  }

  /*
  近期直播
  */
  .lives {
    width: 100%;
    padding: 20px 15px 0 15px;

    .title {
      font-size: 16px;
      color: $color_525B65;
      display: inline-block;
    }
  }
  /*
  会员广告位
  */
  .vip{
    height: 95px;
    padding-top: 15px;
    position: relative;
    .govip{
      position: absolute;
      display: block;
      width: 48px;
      height: 46px;
      right: 25px;
      bottom: 13px;
    }
  }
.teacher{
  padding: 15px 15px 40px 15px;
  .cont{
    font-size: 16px;
    color: #000000;
    font-weight: 400;
    padding: 6px 0 10px 0;
  }
  .teabox{
    // width: 167px;
    .tealist{
      display: flex;
      // height: 147px;
      border-bottom: 1px solid #F3F4F8;
      
      .pic{
        width: 30%;
        img{
          margin-top: 15%;
          width: 89px;
          height: 103px;  

          border-radius: 6px;
        }
      }
      .detail{
        flex: 1;
        .name{
          margin-top: 10px;
          display: flex;
          align-items: center;
          b{
            font-size: 18px;
          font-weight: 600;
          }
          
        }
        .title{

            background: #E2BA7E;
            line-height: 20px;
            padding: 2px 10px;
            color: #fff;
            border-radius: 3px;
          }
      }
      .desc{
        height:70px;
        word-break: break-all;
        text-overflow: ellipsis;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        margin-top: 8px;
        margin-bottom: 8px;
        color: $color_999;
       
      }
     
    }


  }
  .active1 {
    // height:200px;
    height: auto !important;
    .desc{
      height: auto !important;
      // word-break: break-all;
    text-overflow: 	clip !important;
    overflow: visible !important;
    display: 	inline-block !important;
    // margin-bottom: 8px;
    }
  }
  .consult{
height: 41px;
display: flex;
justify-content: center;
padding: 20px;

a{
  display: flex;
  width: 223px;
height: 41px;
background: linear-gradient(167deg, #E2BA7E 0%, #E1A64D 100%);
border-radius: 20px;
color: #fff;
font-size: 16px;
justify-content: center;
align-items: center;

}
  }
}
.teaching{
 
  .cont{
    font-size: 16px;
    color: #000000;
    font-weight: 400;
    padding: 10px 0;
    padding: 15px 0px 0 15px;
  }
  .scroll-box2 {
    padding: 0px 15px 60px 15px;
    width: 100%;
    overflow: auto;
    position: relative;
    margin-top: 15px;
  
    .scroll-list {
      height: 207px;
      margin: 5px 0;
      display: flex;
      overflow: hidden;
      position: absolute;
      padding: 5px;
  
      .scroll-item {
        display: inline-block;
        width: 153px;
        height: 100%;
        margin-right: 20px;
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
        background-color: $bg_fff;
        border-radius: 5px;
        div{
        margin-top: 55px;
        margin-left: 17px;
        margin-right: 16px;
        h2{
        font-weight: 600;
        line-height: 20px;
        }
        p{
          line-height: 20px;
          color: #525C65;
          }
        }
        
      }
      li:nth-child(1){
        background-image: url('https://julyedu-img.oss-cn-beijing.aliyuncs.com/sanbaiduomingai.png');
        background-size:cover;
      }
      li:nth-child(2){
        background-image: url('https://julyedu-img.oss-cn-beijing.aliyuncs.com/sanbaiduowanaixueyuan.png');
        background-size:cover;
        div{
          p:nth-of-type(1){
            display: flex;
              justify-content: space-between;
            
          }
          h2:nth-of-type(2){
            margin-top: 20px;
            
          }
          p:nth-of-type(2){
            span:nth-child(2){
            margin-left: 10px;
            }
          }
        }
      }
      li:nth-child(3){
        background-image: url('https://julyedu-img.oss-cn-beijing.aliyuncs.com/shierweibalabala.png');
        background-size:cover;
        div{
          p{
            display: flex;
            justify-content: space-between;
          }
        }
      }
      li:nth-child(4){
        background-image: url('https://julyedu-img.oss-cn-beijing.aliyuncs.com/wubaijiabalabala.png');
        background-size:cover;
      }
      li:nth-child(5){
        background-image: url('https://julyedu-img.oss-cn-beijing.aliyuncs.com/shuangyunbalabala.png');
        background-size:cover;
        p:nth-of-type(2){
          // margin-top: 10px;
        }
      }
      
      
    }
  }
  
  ::-webkit-scrollbar {
    display: none;
  }
  
  /*
  横向滚动
  */
  .scroll-box2 {
    height: 307px;
  }
}





  .scroll-box {
    width: 100%;
    overflow: auto;
    position: relative;
    margin-top: 15px;

    .scroll-list {
      height: 102px;
      margin: 5px 0;
      display: flex;
      overflow: hidden;
      position: absolute;
      padding: 5px;

      .scroll-item {
        display: inline-block;
        width: 301px;
        height: 100%;
        margin-right: 20px;
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
        background-color: $bg_fff;
        border-radius: 5px;

        .item-box {
          width: 100%;
          height: 100%;
          padding: 10px;
          display: flex;
          position: relative;

          .no-start,
          .start {
            display: inline-block;
            position: absolute;
            top: 15px;
            padding: 3px 8px;
            color: $white;
            font-size: 12px;
            text-align: center;
            border-radius: 0 20px 20px 0;
          }

          .no-start {
            background-color: $red;
          }

          .start {
            background-color: $bg_active;
          }

          .item-img {
            width: 100px;
            height: 72px;
            margin-right: 8px;
            border-radius: 3px;
          }

          .item-content .item-title,
          .item-teacher,
          .item-time {
            max-width: 173px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
          }

          .item-btn {
            padding: 0 12px;
            height: 20px;
            text-align: center;
            border: none;
            background: linear-gradient(60deg, $bg_active 0%, $bg_0080FF 100%);
            border-radius: 10px;
            font-size: 14px;
            color: $white;
            margin-top: 10px;
          }

          .item-title {
            font-size: 16px;
            color: $color_525B65;
            height: 16px;
            line-height: 16px;
          }

          .item-teacher {
            font-size: 12px;
            color: $color_525B65;
            margin-top: 6px;
          }

          .item-time {
            font-size: 12px;
            color: $color_525B65;
            margin-top: 11px;
          }
        }
      }
    }
  }

  ::-webkit-scrollbar {
    display: none;
  }

  /*
  横向滚动
  */
  .scroll-box {
    height: 112px;
  }

  /*
    直播间预约
  */
  .live-room-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 51;
    background-color: rgba(0, 0, 0, 0.6);

    .live-room-content {
      background-color: $bg_fff;
      width: 280px;
      border-radius: 10px;
      margin: 110px auto 0 auto;
      position: relative;
      padding-top: 20px;

      .course-banner {
        width: 100%;
        height: 118px;
        display: flex;
        justify-content: space-between;

        .left {
          width: 43px;
          height: 73px;
          background-color: #fdd9e9;
          border-radius: 0 10px 10px 0;
          margin-top: 22px;

          span {
            display: inline-block;
            width: 37px;
            height: 63px;
            background-color: #fcc2da;
            border-radius: 0 10px 10px 0;
            margin-top: 5px;
            margin-right: 6px;
          }
        }

        .right {
          width: 43px;
          height: 73px;
          background-color: #fce4c4;
          border-radius: 10px 0 0 10px;
          margin-top: 22px;

          span {
            display: inline-block;
            width: 37px;
            height: 63px;
            background-color: #fad29f;
            border-radius: 10px 0 0 10px;
            margin-top: 5px;
            margin-left: 6px;
          }
        }

        .center {
          img {
            width: 165px;
            height: 118px;
            border-radius: 10px;
          }
        }
      }

      .course-dec {
        text-align: center;
        padding: 0 10px;
        margin-top: 10px;

        .title {
          color: $color_333;
          font-size: 14px;
        }

        .teacher {
          color: $color_333;
          font-size: 16px;
          margin: 10px 0 5px 0;
        }

        .time {
          color: $active;
          font-size: 12px;
        }
      }

      .course-info {
        margin-top: 10px;
        height: 100px;
        padding: 13px 0;
        border-top: 1px solid $border_e7eaf1;
        border-bottom: 1px solid $border_e7eaf1;

        ul {
          margin: 0 auto;
          width: 195px;
          height: 90px;
          overflow: hidden;

          li {
            color: $color_666;
            font-size: 12px;
          }

          li:nth-child(1) {
            color: $color_333;
            font-size: 14px;
          }
        }
      }

      .course-subscribe {
        text-align: center;
        height: 47px;

        button,
        a {
          width: 60px;
          height: 27px;
          background-color: $bg_active;
          border-radius: 14px;
          font-size: 14px;
          color: $white;
          border: none;
          position: absolute;
          left: 50%;
          margin-left: -30px;
          bottom: 10px;
        }

        a {
          width: 90px;
          line-height: 27px;
          margin-left: -45px;
        }

        span {
          width: 220px;
          display: inline-block;
          margin-top: 12px;
          height: 27px;
          line-height: 27px;
          font-size: 16px;
          color: $redprice;
          position: absolute;
          margin-left: -110px;
          bottom: 10px;
        }
      }
    }

    .live-room-close {
      text-align: center;
      margin-top: 20px;

      .close {
        font-size: 22px !important;
        color: $white;
      }
    }
  }

  .subscribe-box {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2;

    .close-subscribe {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      opacity: 0;
    }

    .subscribe-content {
      width: 300px;
      height: 155px;
      background-color: $bg_fff;
      border-radius: 3px;
      position: absolute;
      top: 50%;
      margin-top: -150px;
      left: 50%;
      margin-left: -150px;
      text-align: center;
      padding-top: 20px;

      button {
        background-color: $bg_18B4ED;
        font-size: 16px;
        color: $white;
        padding: 0 15px;
        height: 30px;
        border-radius: 15px;
        border: none;
        display: block;
        margin: auto;
      }

      .title {
        font-size: 16px;
        color: $color_333;
        display: block;
        height: 15px;
        line-height: 15px;
      }

      .follow {
        margin-top: 20px;
      }

      .nofollow {
        margin-top: 15px;
      }

      .tips {
        font-size: 12px;
        color: $color_555;
        display: block;
        height: 12px;
        line-height: 12px;
        margin-top: 7px;
      }

      .iphone {
        margin-top: 15px;
      }
    }

    .iphone-content {
      width: 300px;
      height: 191px;
      background-color: $bg_fff;
      border-radius: 3px;
      position: absolute;
      top: 50%;
      margin-top: -150px;
      left: 50%;
      margin-left: -150px;
      text-align: center;
      padding: 15px 20px;

      .title {
        font-size: 16px;
        color: $color_333;
        display: block;
        height: 15px;
        line-height: 15px;
      }

      .dec {
        font-size: 14px;
        color: $color_666;
        display: block;
        margin-top: 15px;
        text-align: left;
        height: 33px;
        line-height: 18px;
      }

      input {
        width: 100%;
        height: 30px;
        padding-left: 15px;
        border: 1px solid $border_ccc;
        margin-top: 15px;
        font-size: 12px;
      }

      input:focus {
        border: 1px solid $bg_active;
      }

      .submit {
        width: 260px;
        height: 30px;
        background-color: $bg_18B4ED;
        border-radius: 3px;
        font-size: 16px;
        color: $white;
        border: none;
        margin-top: 20px;
      }
    }

    .server-content {
      height: 226px;
      padding: 20px;

      .title {
        font-size: 18px;
        color: $active;
        height: 24px;
        line-height: 24px;

        i {
          font-size: 24px;
          margin-right: 10px;
        }

        span {
          position: relative;
          top: -3px;
        }
      }

      .dec {
        height: 53px;
      }
    }
  }

  .success {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 32px;
    background-color: $bg_000;
    border-radius: 15px;
    margin-left: -50px;
    margin-top: -16px;
    opacity: 0.6;
    color: $white;
    font-size: 16px;
    text-align: center;
    line-height: 32px;
  }

  //.LazyLoad {
  //  //  width: 100%;
  //  //  min-height: 100px;
  //  //  background: url('http://img-public.julyedu.com/Public/img/index/logo.png') no-repeat;
  //  //  background-position: center;
  //  //}
  //  //.is-visible {
  //  //  background-image: none;
  //  //}

}

.borderTop {
  width: 100%;
  height: 8px;
  background-color: #f3f4f8;
}

.index-box ~ .year19-index {
  display: none;
}
.bq{
  display: flex;
  justify-content: center;
  padding: 10px 0;
.hot2{
  width:187px;
}
}
.fix{
  position: fixed;
  top: 70%;
    right: 10px;
    z-index: 9999;
  width: 60px;
  height: 60px;
  background: #0099FF;
  box-shadow: -3px 3px 13px 0px rgba(136, 205, 250, 0.64);
  border-radius: 50%;
  font-size: 16px;
color: #F3F4F8;
padding-top: 5px;
span{
  display: block;
  text-align: center;
}
}

