/*手机端*/
@media (max-width: 767px) {
  body {
    min-width: inherit;
    overflow-x: hidden;
  }
  .no-data img{
    width: 40%;
  }
  .no-data-text{
    font-size: 14px;
  }
  .fixed-login {
    position: fixed;
    top: inherit;
    bottom: 15%;
    right: 0px;
    z-index: 99999;
    background: linear-gradient(#4ebaf2,#2782b7);
    color: #fff;
    border-radius: 4px;
    padding: 5px;
    width: auto;
  }
  .fixed-login h2 {
    margin-top: 3px;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 5px;
    line-height: 22px;
    white-space: pre-line;
  }
  .fixed-login .login-btn{
    background: #fff;
    padding: 5px;
    border-radius: 4px;
    display: block;
  }
  .fixed-login .mt-10px{
    margin-top: 5px;
  }
  .footer{
    padding: 16px 0 0 0;
  }
  .footer-cont{
    display: block;
    padding: 0 28px;
  }
  .footer-cont-code{
    padding: 0;
  }
  .footer-cont-code img{
    width: 112px;
    height: 112px;
    display: block;
    margin: 0;
  }
  .footer-cont-tip{
    text-align: left;
  }
  .footer-cont-contact{
    padding: 0;
    text-align: center;
    width: 100%;
    padding: 16px 0;
  }
  .footer-cont-item{
    width: 100%;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 20px;
    margin-top: 8px;
    text-align: left;
  }
  .footer-cont-title{
    text-align: left;
  }
  .footer-beian{
    margin-top: 0;
  }
  .index-swiper-item{
    height: 125px;
    display: block;
  }
  .index-swiper-item img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }
  .index-cont1{
    padding: 0 16px;
    background: none;
  }
  .index-title{
    padding: 16px 0 12px 0;
    margin-bottom: 0;
  }
  .index-title-ico{
    height: 27px;
  }
  .index-title-more{
    font-size: 12px;
    padding: 4px 6px;
    line-height: 17px;
  }
  .index-title-line{
    right: 70px;
    top: 29px;
    width: calc(100% - 185px);
  }
  .index-title-line.width-more{
    width: calc(100% - 228px);
  }
  .index-consult-cont,.index-activity-cont,.index-works-cont{
    padding-bottom: 16px;
    display: block;
  }
  .index-consult-l,.index-activity-l{
    width: 100%;
    height: 180px;
  }
  .index-works-l{
    width: 100%;
  }
  .index-consult-big-title,.index-activity-big-title{
    font-size: 14px;
    padding: 38px 12px 10px 12px;
    background: linear-gradient(0deg, #000000 0%, rgba(0,0,0,0) 100%);
  }
  .index-activity-big-title span{
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    line-height: 17px;
  }
  .index-activity-big-title span:first-child{
    font-size: 14px;
    color: #FFFFFF;
    line-height: 20px;
    margin-bottom: 5px;
  }
  .index-consult-r,.index-activity-r{
    width: 100%;
  }
  .index-consult-list,.index-activity-list,.index-works-list{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .index-consult-item,.index-activity-item,.index-works-item{
    width: calc(50% - 4px)!important;
    margin-top: 8px;
    margin-bottom: 0;
    display: block;
  }
  .index-consult-pic,.index-activity-pic{
    width: 100%;
  }
  .index-consult-desc,.index-activity-desc{
    width: 100%;
  }
  .index-consult-title,.index-activity-title{
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    line-height: 20px;
    margin-top: 8px;
  }
  .index-consult-text,.index-activity-time{
    font-size: 12px;
    font-weight: 400;
    color: #999999;
    line-height: 17px;
    margin-top: 6px;
  }
  .index-course-list{
    padding-bottom: 8px;
  }
  .single .index-works-item{
    width: calc(50% - 4px)!important;
    margin-right: 8px!important;
  }
  .single .index-works-item:nth-child(2n){
    margin-right: 0!important;
  }
  .index-course-item{
    width: calc(50% - 4px)!important;
    margin-right: 8px!important;
    margin-bottom: 8px;
  }
  .index-course-item:nth-child(2n){
    margin-right: 0!important;
  }
  .index-course-pic{
    height: 107px;
  }
  .index-course-desc{
    padding: 8px;
  }
  .index-course-title{
    font-size: 14px;
    font-weight: bold;
    color: #333333;
    line-height: 20px;
  }
  .index-course-type{
    padding: 5px 0 9px 0;
  }
  .index-course-type span{
    font-size: 12px;
  }
  .index-course-grass{
    font-size: 12px;
    color: #666666;
    line-height: 17px;
  }
  .index-cont2{
    padding: 0 16px;
  }
  .index-works-item{
    height: 108px;
    margin-right: 8px;
    margin-top: 0;
    margin-bottom: 8px;
  }
  .index-works-r{
    width: 100%;
    margin-bottom: 0;
  }

  .index-teacher-grass,.index-teacher-text{
    font-size: 12px;
    line-height: 17px;

  }
  .index-teacher{
    padding-bottom: 30px;
  }
  .index-works-r{
    height: 217px;
  }
  .index-works-r .index-works-item{
    margin-right: 0;
    margin-bottom: 0;
    height: 217px;
  }
  .index-teacher-item{
    width: 100%;
    margin-right: 0;
    margin-bottom: 0;
    margin-top: 12px;
  }
  .index-teacher-name{
    font-size: 16px;
  }
  .index-teacher-name{
    padding: 13px 20px;
  }
  .index-teacher-c{
    height: 120px;
    padding: 12px;
  }

  .consult-swiper-item{
    height: 120px;
  }
  .consult-swiper-item img{
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .course-list,.works-list,.teacher-list{
    padding: 0 16px;
  }
  .course-list-item,.works-list-item,.teacher-item{
    width: calc(50% - 4px);
    margin-right: 8px;
    margin-bottom: 8px;
  }
  .course-labal-item{
    width: 100%;
    margin-right: 0;
    margin-bottom: 8px;
    padding: 16px;
  }
  .course-labal-title{
    font-size: 16px;
  }
  .course-labal-c span{
    font-size: 12px;
  }
  .course-list-item:nth-child(2n),.works-list-item:nth-child(2n),.teacher-item:nth-child(2n){
    margin-right: 0;
  }
  .course-item-pic,.works-item-pic{
    height: 107px;
  }
  .course-item-cont,.works-item-cont{
    padding: 8px;
  }
  .course-item-title,.works-item-title,.teacher-item-title{
    font-size: 14px;
    color: #333333;
    line-height: 20px;
  }
  .course-item-type,.teacher-item-type{
    padding: 5px 0 10px 0;
  }
  .course-item-type span,.teacher-item-type span{
    font-size: 12px;
    color: #A77B0B;
    line-height: 17px;
  }
  .course-item-grass,.teacher-item-grass{
    font-size: 12px;
    color: #666666;
    line-height: 17px;
  }
  .paging-cont{
    padding: 8px 0;
  }
  .paging-prev,.paging-next{
    margin: 0 24px;
  }
  .course-wap-nav,.course-wap-nav{
    padding: 0 16px;
    box-sizing: border-box;
    border-bottom: 1px solid #E8E8E8;
    overflow-x: scroll;
    overflow-y: hidden;
  }
  .course-wap-list{
    width: 400px;
  }
  .course-wap-item{
    display: inline-block;
    vertical-align: middle;
    padding: 11px 0;
    margin-right: 32px;
    font-size: 14px;
    color: #666666;
    line-height: 22px;
    border-bottom: 2px solid #fff;
    box-sizing: border-box;
  }
  .course-wap-item:last-child{
    margin-right: 0;
  }
  .course-wap-active{
    color: #59B663;
    border-bottom: 2px solid #59B663;
  }
  /*隐藏掉滚动条*/
  .course-wap-nav::-webkit-scrollbar {
    display: none;
  }
  .activity-list{
    padding: 0 16px;
  }
  .activity-list-item{
    width: 100%;
    margin-right: 0;
    padding: 12px;
    margin-bottom: 12px;
  }
  .activity-item-pic{
    width: 114px;
    height: 72px;
    border-radius: 4px;
    margin-right: 8px;
  }
  .activity-item-cont{
    width: calc(100% - 119px);
  }
  .activity-item-title{
    font-size: 14px;
    color: #333333;
    line-height: 20px;
    font-weight: bold;
  }
  .activity-item-grass,.course-item-time{
    font-size: 12px;
    color: #666666;
    line-height: 17px;
    margin-top: 8px;
  }
  .activity-item-grass p,.course-item-time p{
    display: none;
  }
  .consult-wap-list{
    box-sizing: border-box;
    border-bottom: 1px solid #fff;
  }
  .consult-wap-item{
    display: inline-block;
    vertical-align: middle;
    padding: 11px 0;
    font-size: 14px;
    color: #666666;
    line-height: 22px;
    border-bottom: 2px solid #fff;
    box-sizing: border-box;
  }
  .consult-wap-item:last-child{
    margin-right: 0;
  }
  .consult-wap-active{
    color: #59B663;
    border-bottom: 2px solid #59B663;
  }
  .consult-list{
    margin-top: 0;
  }
  .consult-r{
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
  }
  .consult-r-item{
    padding: 12px 0;
    display: block!important;
  }
  .consult-r-item-c{
    display: block!important;
  }
  .consult-r-pic{
    width: 100%;
    height: 180px;
  }
  .consult-r-cont{
    width: 100%;
  }
  .consult-r-title{
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    line-height: 22px;
    margin-top: 10px;
  }
  .consult-r-text{
    font-size: 12px;
    color: #666666;
    line-height: 18px;
    margin-top: 8px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .detail-nav{
    padding: 12px 16px;
    font-size: 12px;
    color: #666666;
    line-height: 17px;
  }
  .detail-ico:after{
    width: 6px;
    height: 6px;
  }
  .works-detail-cont{
    display: block;
    padding: 0 16px;
  }
  .works-detail-l{
    width: 100%;
    height: 450px;
  }
  .works-detail-r{
    width: 100%;
    margin-top: 16px;
  }
  .swiper-button-prev{
    opacity: 1;
    transform: translateX(0px);
    width: 20px;
    height: 55px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    margin-top: -30px;
  }
  .swiper-button-next{
    opacity: 1;
    transform: translateX(0px);
    width: 20px;
    height: 55px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    margin-top: -30px;
  }
  .works-detail-name{
    font-size: 16px;
    padding-bottom: 8px;
    font-weight: bold;
    color: #333333;
    line-height: 22px;
  }
  .works-detail-title{
    font-size: 14px;
    color: #999999;
    line-height: 20px;
    margin-bottom: 8px;
  }
  .works-other-title{
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    line-height: 22px;
  }
  .works-other-item{
    height: 197px;
  }
  .works-item-grass{
    font-size: 12px;
    color: #999999;
    line-height: 17px;
    width: 75%;
  }
  .works-item-text{
    margin-top: 8px;
  }
  .works-item-grass span:first-child{
    font-size: 14px;
    color: #333333;
    line-height: 20px;
    margin-bottom: 2px;
  }
  .teacher-item-text{
    font-size: 14px;
  }
  .detail-cont{
    padding: 0 16px;
  }
  .detail-title{
    font-size: 20px;
  }
  .activity-info{
    width: calc( 100% - 32px);
    padding: 12px;
  }
  .activity-info-cont{
    display: block;
  }
  .activity-info-pic,.teacher-info-pic{
    width: 100%;
    margin-right: 0;
    height: 201px;
  }
  .activity-info-title{
    font-size: 16px;
    color: #333333;
    line-height: 22px;
    margin-top: 8px;
    padding-bottom: 0;
    padding-top: 0;
  }
  .teacher-c{
    display: block;
  }
  .activity-info-time img{
    width: 16px;
    height: 16px;
    margin-top: 3px;
  }
  .activity-info-time,.activity-info-grass{
    align-items: flex-start;
    margin-top: 8px;
    margin-right: 0px;
  }
  .activity-detail{
    width: calc( 100% - 32px);
    padding: 16px 12px;
    margin-top: 12px;
  }
  .activity-detail-title{
    font-size: 18px;
    line-height: 25px;
    margin-bottom: 16px;
  }
  .activity-detail-html{
    font-size: 14px;
    color: #333333;
    line-height: 24px;
  }
  .teacher-item{
    width: 100%;
    margin-right: 0;
    box-shadow: none;
  }
  .teacher-item-title{
    padding: 12px 20px;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 22px;
  }
  .teacher-item-cont{
    padding: 12px ;
    height: 150px;
  }
  .teacher-item-type{
    padding: 0;
  }
  .teacher-item-grass,.teacher-item-text{
    margin-top: 8px;
  }
  .teacher-analysis-row{
    font-size: 14px;
  }
  #teacher-main{
    margin-top: 0;
    width: 100%;
    height: 250px;
  }
  .paging{
    min-height: auto;
  }

  .school-list-total{
    display: none;
  }
  .school-list{
    padding: 16px;
  }
  .index-school-list{
    padding: 0;
  }
  .school-list-item {
    margin-right: 0;
    width: 100%;
    display: flex;
    border: none;
    box-shadow: 0 4px 10px 0 rgba(155, 155, 155, 0.1);
  }
  .school-item-pic{
    width: 100px;
    height: 100px;
    flex-shrink: 0;
  }
  .school-item-title{
    height: 60px;
  }
  .school-item-cont{
    flex:1;
    width: 100px;
    padding-left: 12px;
    padding-top: 0;
  }
  .address-tip{
    display: block;
  }
  .school-item-address{
    margin-top: 0;
    padding-left: 0;
    background: none;
    color: #666666;
  }

}

/*iPad*/
@media (min-width:768px) and (max-width:991px)  {
  body {
    min-width: inherit;
  }
  .course-wap-nav,.course-wap-nav{
    border-bottom: 1px solid #E8E8E8;
  }
  .header-logo img{
    width: 60px;
    height: 60px;
  }
  .header-title{
    font-size: 22px;
    color: #333333;
    line-height: 22px;
  }
  .header-item{
    font-size: 16px;
    margin-left: 20px;
  }
  .index-cont1{
    padding: 0 16px;
    box-sizing: border-box;
    width: 100%;
  }
  .index-title{
   padding-top: 30px;
  }
  .index-title-line{
    top: 52px;
  }

  .index-consult-cont,.index-activity-cont,.index-works-cont{
    padding-bottom: 20px;
    display: block;
  }
  .index-consult-l,.index-consult-r,.index-activity-l,.index-activity-r,.index-works-l,.index-works-r{
    width: 100%;
  }
  .index-consult-item,.index-activity-item{
    margin-top: 20px;
    margin-bottom: 0;
  }
  .index-course-list,.index-activity-list{
    padding-bottom: 10px;
  }
  .index-cont2{
    padding: 0 16px;
  }

  .index-course-item{
    width: calc(50% - 10px);
  }
  .index-course-item:nth-child(2n){
    margin-right: 0;
  }
  .index-teacher-list{
    display: block;
  }

  .consult-wap-list{
    box-sizing: border-box;
    border-bottom: 1px solid #fff;
    padding: 0 30px;
    justify-content: center;
  }
  .consult-wap-item{
    display: inline-block;
    vertical-align: middle;
    padding: 18px 0;
    font-size: 18px;
    color: #666666;
    line-height: 22px;
    border-bottom: 2px solid #fff;
    box-sizing: border-box;
    margin: 0 30px;
  }
  .consult-wap-item:last-child{
    margin-right: 0;
  }
  .consult-wap-active{
    color: #59B663;
    border-bottom: 2px solid #59B663;
  }

  .consult-r-first-pic{
    height: 355px;
  }
  .consult-r-btn{
    transform: translateX(0);
    opacity: 1;
  }

  .course-list-item,.works-list-item,.teacher-item,.course-labal-item{
    width: calc(50% - 10px);
    margin-right: 20px;
  }
  .course-list-item:nth-child(2n), .works-list-item:nth-child(2n), .teacher-item:nth-child(2n), .course-labal-item:nth-child(2n){
    margin-right: 0;
  }
  .course-item-pic,.works-item-pic{
    height: 240px;
  }
  .course-type-title{
    width: 15%;
  }
  .activity-list{
    padding: 0 16px;
  }
  .activity-list-item{
    width: 100%;
    margin-right: 0;
    padding: 12px;
  }
  .course-nav-cont{
    display: block;
  }
  .course-nav-l{
    justify-content: center;
  }
  .course-nav-r{
    margin: 20px 0;
  }
  .course-nav-item{
    margin: 0 30px;
  }
}

/*ipad pro*/
@media (min-width: 769px) and (max-width: 1024px) {
  body {
    min-width: inherit;
  }
  .header-logo img{
    width: 40px;
    height: 40px;
  }
  .header-title{
    font-size: 18px;
    color: #333333;
    line-height: 22px;
  }
  .header-item{
    font-size: 16px;
    margin-left: 30px;
  }
  .course-nav-item{
    margin-right: 30px;
  }
  .school-list-item {
    width: calc(25% - 12px);
    margin-right: 15px;
  }
  .school-list-item:nth-child(5n){
    margin-right: 15px;
  }
  .school-list-item:nth-child(4n){
    margin-right: 0;
  }
}

