/*header*/
.header {
  position: relative;
  height: 60px;
  border-bottom: 1px solid #ddd;
  line-height: 60px;
  background-color: #fff;
  z-index: 2;
  box-shadow: 0 0 4px rgba(137, 137, 137, 0.2);
  font-size: 14px;
}

.nav {
  float: left;
}

.nav a {
  float: left;
  margin-right: 22px;
  font-size: 14px;
}

.nav a:last-child {
  margin-right: 0;
}

.search {
  position: relative;
  float: right;
  margin-top: 18px;
}

.searchInp {
  float: left;
  width: 300px;
  height: 36px;
  border: 1px solid #d9dde1;
  border-right: none;
  border-radius: 40px 0 0 40px;
  text-indent: 2em;
  font-size: 16px;
}

.submit {
  float: left;
  width: 98px;
  height: 38px;
  padding-left: 20px;
  background-color: #ee3e32;
  border-radius: 0 40px 40px 0;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: opacity .5s ease;
  background-image: url(../images/search.png);
  background-repeat: no-repeat;
  background-position: 12px center;
}

.submit:hover {
  opacity: .9;
}

.login {
  float: right;
  margin-left: 70px;
}

.login {
  color: #f4f3f4;
}

.header a:hover {
  color: #ee3e32;
}

.project {
  height: 110px;
  background-image: url(../images/banner.png);
  background-repeat: no-repeat;
  background-position: center;
}

.project h1 {
  float: left;
  margin-top: 36px;
}

.project h1+p {
  float: left;
  margin-left: 26px;
  font-size: 32px;
  color: #fff;
  line-height: 110px;
  font-weight: bold;
}


/* 面授课程下拉 */

.slide-classnav {
	position: absolute;
	left: 0;
	right: 0;
	top: 60px;
	background: #fff;
	height: auto;
	overflow: hidden;
	padding: 20px 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	display: none;
	z-index: 9;
}

.slide-classnav.active {
	display: block;
	z-index: 999;
}

.slide-classnav dl {
	width: 50%;
	float: left;
	padding-right: 10px;
}

.slide-classnav dt {
	font-size: 18px;
	color: #333;
	margin-bottom: 5px;
}

.slide-classnav dd {
	display: inline-block;
	font-size: 16px;
	color: #333;
	margin: 6px 5px 6px 0;
}

.slide-classnav dd a {
	display: block;
	min-width: 110px;
	line-height: 35px;
	background: #f4f4f4;
	border-radius: 50px;
	text-align: center;
}

.slide-classnav dd a:hover {
	background: #0087bd;
	color: #fff;
}





/*筛选*/
.type {
  padding-top: 20px;
  padding-bottom: 8px;
  box-shadow:0px -6px 13px -6px rgba(40, 40, 40, 0.1);
}

.typeTitle {
  float: left;
  width: 40px;
  margin-top: 5px;
  margin-right: 26px;
  font-size: 18px;
}

.type li {
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 24px;
}

.type li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.typeList {
  float: left;
  width: calc(100% - 66px);
}

.type li a {
  float: left;
  padding: 6px 14px;
  margin-bottom: 12px;
  border-radius: 40px;
  transition: background-color .5s ease;
}

.type li a:hover {
  color: rgba(37, 120, 254, 1);
}

.type li a.active {
  background-color: #def0ff;
  color: rgba(37, 120, 254, 1);
}

.bread {
  margin-top: 36px;
  margin-bottom: 30px;
}

.bread a:hover {
  color: rgba(37, 120, 254, 1);
}

/*轮播*/
.today_live {
  float: left;
}

.today_live img {
  float: left;
}

.today_live p {
  float: left;
  margin-left: 10px;
  font-size: 30px;
  font-weight: bold;
  color: #277fcd;
}

.change_title {
  margin-bottom: 30px;
}

.change_tab {
  float: left;
  margin-top: 8px;
  margin-left: 120px;
}

.change_tab li {
  position: relative;
  float: left;
  border-bottom: 2px solid transparent;
  padding-bottom: 10px;
  margin-right: 130px;
  cursor: pointer;
}

.change_tab span {
  margin-right: 8px;
  font-size: 22px;
  font-weight: bold;
}

.change_tab li.active span {
  color: #277fcd;
}

.change_tab li b {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #277fcd;
  transition: width .5s ease;
}

.change_tab li.active b {
  width: 100%;
}

.live-slide {
  position: relative;
}

.live-list {
  box-sizing: border-box;
  float: left;
  width: 330px;
  height: 185px;
  padding-left: 26px;
  margin-right: 26px;
  background-image: url(../images/slide.png);
  background-repeat: no-repeat;
  transition: background-image .5s ease;
}

.live-list:hover {
  background-image: url(../images/slide_a.png);
}

.live-list:hover .live-back {
  background: linear-gradient(to right, #f66c3a, #fb9232);
}

.live-list:hover .live-time {
  color: #f66c3a;
}

.live-list:last-child {
  margin-right: 0;
}

.live-time {
  margin-top: 24px;
  margin-bottom: 5px;
  color: #2578fd;
  font-size: 18px;
}

.live-name {
  max-width: 100%;
  font-size: 22px;
  font-weight: bold;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.live-txt {
  margin-top: 5px;
  margin-bottom: 15px;
  font-size: 18px;
  color: #666;
}

.live-back {
  display: block;
  width: 101px;
  height: 32px;
  margin-top: 10px;
  background: linear-gradient(90deg, rgba(35, 118, 254, 1), rgba(84, 168, 248, 1));
  border-radius: 16px;
  text-align: center;
  line-height: 32px;
  color: #fff;
  transition: opacity .5s ease;
}

.live-back:hover {
  opacity: .9;
}

.prev, .next {
  position: absolute;
  top: 50%;
  left: -54px;
  width: 41px;
  height: 41px;
  margin-top: -20px;
  background-image: url(../images/arrow.png);
  background-repeat: no-repeat;
  background-size: 100%;
}

.next {
  left: auto;
  right: -54px;
  transform: rotate(180deg);
}

/*课程列表*/
.class_wrap {
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: #f5f5f5;
}

.sort {
  margin-bottom: 30px;
}

.sort_l {
  float: left;
}

.sort-btn {
  float: left;
  width: 62px;
  height: 26px;
  margin-right: 12px;
  line-height: 26px;
  text-align: center;
  border-radius: 40px;
  cursor: pointer;
  transition: background-color .5s ease;
}

.sort-btn.active {
  background-color: #545c64;
  color: #fff;
}

.sort-r {
  float: right;
}

.sortR-btn {
  position: relative;
  float: left;
  margin-right: 40px;
  cursor: pointer;
}

.sortR-btn::before {
  content: "";
  position: absolute;
  top: 3px;
  left: -28px;
  width: 18px;
  height: 18px;
  background-image: url('../images/choose.png');
  background-repeat: no-repeat;
}

.sortR-btn.active::before {
  background-image: url('../images/choose_a.png');
}

.sortR-btn:last-child {
  margin-right: 0;
}

.class-list li {
  position: relative;
  float: left;
  width: 265px;
  height: 350px;
  margin-right: 18px;
  margin-bottom: 30px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.class-list li:nth-child(5n) {
  margin-right: 0;
}

.imgWrap {
  position: relative;
  margin-bottom: 20px;
}

.imgWrap:hover img {
  transform: scale(1.02, 1.02);
}

.imgWrap img {
  width: 100%;
  height: 186px;
  border-radius: 10px;
  transition: transform 1s ease;
}
.imgWrap img:hover{
  cursor:pointer;
}

.tag {
  position: absolute;
  bottom: 14px;
  left: 14px;
}

.tag p {
  display: inline-block;
  height: 24px;
  padding: 0 6px;
  margin-right: 6px;
  line-height: 24px;
  color: #fff;
  background-color: rgba(0, 0, 0, .6);
  border-radius: 4px;
  font-size: 14px;
}

.class-info {
  margin: 0 14px;
  font-size: 14px;
}

.class-name {
  height: 55px;
  margin-bottom: 8px;
  line-height: 26px;
  font-size: 18px;
  font-weight: bold;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.class-name a:hover {
  text-decoration: underline;
  color: #ee3e32;
}

.class-time {
  margin-bottom: 16px;
  color: #666;
}

.price {
  float: left;
  margin-top: 4px;
  font-size: 20px;
  font-weight: bold;
  color: #ee3e32;
}

.class-btn {
  position: relative;
  float: right;
  width: 80px;
  height: 32px;
  border-radius: 4px;
  line-height: 32px;
  text-align: center;
  color: #fff;
  background: #ffae40;
  background: linear-gradient(-90deg, rgba(35, 118, 254, 1), rgba(84, 168, 248, 1));
  transition: opacity .5s ease;
  z-index: 0;
  cursor:pointer;
}

.class-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: 4px;
  background: linear-gradient(to right, #f66c3a, #fb9232);
  opacity: 0;
  transition: opacity 1s;
  z-index: -1;

}

.class-btn:hover::before {
  opacity: 1;
}

.class-btn.active {
  background: linear-gradient(to right, #a9aeb3, #a9aeb3, #a9aeb3);
  background-color: #a9aeb3;
}

.class-btn.active:hover::before {
  opacity: 0;
}

/*page*/
.page {
  position: relative;
  text-align: center;
}

.page a:hover {
  color: #2578fe;
}

.page a, .page span {
  display: inline-block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  margin-right: 10px;
  border-radius: 50%;
  text-align: center;
}

.page span.active {
  background-color: #2578fe;
  color: #fff;
}

/* footer*/
.g-ft {
  display: block;
  position: relative;
  padding: 35px 0 35px;
  line-height: 1.8;
  text-align: center;
  background: #3c3c3c;
  font-size: 14px;
  color: #797979;
}

.g-ft p {
  color: #797979;
  text-align: center;
}

.g-ft-02 {
  margin-top: -145px;
}

.g-ft .ft-nav ul {
  font-size: 0;
}

.g-ft .ft-nav li {
  display: inline-block;
  vertical-align: middle;
  font-size: 14px;
  color: #797979;
}

.g-ft .ft-nav a {
  display: inline-block;
  margin: 0 10px;
  color: #797979;
}

.g-ft .ft-nav a:hover {
  color: #ee3e32;
}

.heightWrap {
  height: 265px;
  margin-bottom: 40px;
  overflow: hidden;
}

@media only all and (max-width:1520px) {
  .Width {
    width: 1200px;
  }

  .change_tab li {
    margin-right: 100px;
  }

  .live-list {
    width: 280px;
    background-size: 100% 100%;
  }

  .class_wrap {
    padding-bottom: 30px;
  }

  .class-list li {
    width: 228px;
    height: 320px;
    margin-bottom: 20px;
    margin-right: 14px;
  }

  .imgWrap {
    margin-bottom: 14px;
  }

  .imgWrap img {
    height: 160px;
  }
  .imgWrap img:hover{
    cursor:pointer;
  }

  .prev, .next {
    width: 30px;
    height: 30px;
    left: 0;
    margin-top: -15px;
    background-image: url(../images/arrow_a.png);
  }

  .next {
    left: auto;
    right: 0;
  }
  .live-time{
    margin-top: 18px;
  }
}
