* {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
a {
	text-decoration: none; /* 去除默认的下划线 */
	outline: none;	/* 去除旧版浏览器的点击后的外虚线框 */
	color: #fff;	/* 去除默认的颜色和点击后变化的颜色 */ 
}



/*header头部的样式*/  
.mainHeader {
  /* width: 100%; */
  height: 100px;
  background-color: #fff;
  box-shadow: 0 5px 6px rgb(0 0 0 / 16%);
}

.header {
  width: 1140px;
  height: 100px;
  margin: 0 auto;
}
.headerLogo {
  float: left;
  width: 140px;
  padding: 22px 0;
}
.header ul {
  position: relative;
  float: left;
  width: 480px;
  height: 100px;
  margin-left: 30px;
}
.header>ul li {
  position: relative;
  float: left;
  width: 80px;
  text-align: center;
  line-height: 100px;
  cursor: pointer;
}
.header>ul li a {
  color: black;
}
.liActive {
  color: #388fff;
}
.liActive::before {
  position: absolute;
  bottom: 0;
  right: 10px;
  content: '';
  width: 60px;
  height: 5px;
  background-color: #388fff;
}
.headerSearch {
  position: relative;
  float: left;
  width: 200px;
  height: 40px;
  margin: 30px 30px;
  background-color: #F0F2F4;
  border-radius: 5px;
}
.headerSearch input {
  width: 160px;
  height: 30px;
  outline: none;
  border: none;
  background-color: #F0F2F4;
  margin: 5px 0px 5px 10px;
}
.headerSearch img {
  position: absolute;
  right: 5px;
  top: 10px;
  width: 20px;
  height: 20px;
}
.headerUser {
  float: right;
  height: 100px;
}
.headerUser>div {
  float: left;
}
.headerUser .headerUserPhotoImg {
  width: 60px;
  height: 60px;
  margin: 20px 0;
}
.headerUser .headerUserCurse {
  height: 40px;
  line-height: 40px;
  margin: 30px 30px;
}
.headerUser .headerUserCarImg {
  width: 22px;
  height: 22px;
  margin: 39px 0;
}
.headerUser img {
  width: 100%;
  height: 100%;
}


/*首页banner部分*/
/*banner顶部*/
.bodyBanner {
  width: 1140px;
  margin: 30px auto;
}
.bodyBanner .bodyBannerTop {
  height: 400px;
  width: 100%;
  border-radius: 10px 10px 0 0 ;
  overflow: hidden;
}
.bodyBannerTop ul {
  float: left;
  height: 400px;
  width: 280px;
  padding: 1px 0;
  background-color: #2b283d;
}
.bodyBannerTop ul li {
  position: relative;
  height: 24px;
  line-height: 24px;
  color: #fff;
  padding: 10px 0 10px 10px;
}
.bodyBannerTop ul li::after {
  position: absolute;
  top: 17px;
  right: 10px;
  content: '';
  border: 5px solid transparent;
  border-left: 5px solid #fff;
}
.bodyBannerTop ul li:hover {
  background: linear-gradient(90deg,rgb(63,229,255),transparent);
}
.bodyBannerTop .bodyBannerTopImg {
  float: right;
  height: 400px;
  width: 860px;
}
.bodyBannerTop .bodyBannerTopImg img {
  height: 100%;
  width: 100%;
}


/*banner底部*/
.bodyBanner>ul {
  height: 100px;
  width: 100%;
  box-shadow: 0 55px 25px -25px #d3defb;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow: hidden;
}
.bodyBanner>ul li {
  position: relative;
  float: left;
  width: 228px;
  height: 100px;
}
.bodyBanner>ul li .bodyBannerBotImg {
  position: absolute;
  top: 25px;
  left: 35px;
  float: left;
  height: 50px;
  width: 50px;
}
.bodyBanner>ul li .bodyBannerBotImg img {
  width: 100%;
  height: 100%;
}
.bodyBanner>ul li .bodyBannerBotText {
  position: absolute;
  top: 25px;
  left: 90px;
  float: left;
}
.bodyBanner>ul li h2 {
  height: 27px;
  font-size: 18px;
}
.bodyBanner>ul li h4 {
  height: 21px;
  font-size: 14px;
  color: #999;;
}


.mainBody div:nth-child(2)::after {
  content:"";
  display:table;
  clear:both;
}

/*新上好课部分*/
.newCourse {
  width: 1140px;
  margin: 30px auto;
  margin-top: 50px;
}

.newCourse::after {
  content:"";
  display:table;
  clear:both;
}

.newCourseTitle div {
  display: inline-block;
  height: 38px;
  line-height: 38px;
}
.newCourseTitle div:first-child {
  position: relative;
  color: #fff;
  font-size: 20px;
  padding: 0 10px;
  border-radius: 8px 0 8px 8px;
  background: linear-gradient(90deg, #ff727f 0%, #fc685c 100%);
}
.newCourseTitle div:first-child::after {
  position: absolute;
  top: 0;
  right: -12px;
  content: '';
  border: 6px solid transparent;
  border-left: 6px solid #fc685c;
  border-top: 6px solid #fc685c;
}
.newCourseTitle div:nth-child(2) {
  position: relative;
  color: #333333;
  font-size: 24px;
  font-weight: 700;
  margin-left: 15px;
}
.newCourseTitle div:nth-child(2)::after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: '';
  width: 100%;
  height: 13px;
  background: linear-gradient(90deg, #fbf84f 0%, #fea935 100%);
  border-radius: 7px;
  z-index: -1;
}
.newCourseCon {
  float: left;
  width: 1140px;
  height: auto;
}
.newCourseCon ul {
  margin-top: 20px;
  width: 1140px;
}
.newCourseCon ul li {
  float: left;
  width: 270px;
  height: 275px;
  box-shadow: 1px 1px 10px rgb(27 39 94 / 40%);
  border-radius: 8px;
  margin-left: 20px;
  overflow: hidden;
}
.newCourseCon ul li:nth-child(4n+1) {
  margin-left: 0px;
}
.newCourseCon ul li:nth-child(n+5) {
  margin-top: 20px;
}
.newCourseConImg {
  width: 270px;
  height: 165px;
}
.newCourseConImg img {
  width: 100%;
  height: 100%;
}
.newCourseConTex {
  padding-left: 10px;
}
.newCourseConTex h1 {
  font-weight: 700;
  font-size: 16px;
  margin: 10px 0;
}
.newCourseConTex h2 {
  color: #808080;
  font-size: 12px;
  margin: 15px 0;
}
.newCourseConTex h3 {
  color: #fe7062;
  font-weight: bold;
  font-size: 16px;
  margin: 10px 0;
}



/*推荐好课*/
.goodCourse {
  width: 1140px;
  margin: 30px auto;
}
.goodCourseConPush {
  float: left;
  width: 270px;
  height: 570px;
  margin-top: 20px;
}
.goodCourseConPush img {
  width: 100%;
  height: 100%;
}

.goodCourseConList {
  float: right;
  width: 870px;
  margin-top: 20px;
}

.goodCourseConList ul li {
  float: left;
  position: relative;
  width: 270px;
  height: 275px;
  margin-left: 20px;
  box-shadow: 1px 1px 10px rgb(27 39 94 / 40%);
  border-radius: 8px;
  overflow: hidden;
}
.goodCourseConList ul li:nth-child(n+4) {
  margin-top: 20px;
}
.goodCourseConList ul li .vipLogo {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 52px;
  height: 23px;
  border-radius: 8px;
}
.newCourseConTex div span {
  color: #fe7062;
  font-weight: bold;
  font-size: 16px;
  margin: 10px 0;
}
.newCourseConTex div .courseVIP {
  width: 80px;
  padding: 2px 10px;
  height: 20px;
  color: #fff;
  font-size: 12px;
  background: linear-gradient(90deg,#ff928e,#fe7062 99%);
  border-radius: 24px 0 24px 0;
}


/*页脚部分*/
.mainFooter {
  height: 150px;
  background-color: #3483FF;
}
.footerCon {
  width: 1140px;
  margin: 0 auto;
}
.footerCon ul {
  display: inline-block;
  width: 1140px;
}
.footerCon ul li {
  float: left;
  font-size: 12px;
  color: #fff;
  text-align: center;
  line-height: 20px;
}
.footerCon ul li img {
  width: 100%;
  height: 100%;
}
.footerCon ul li:nth-child(1) {
  width: 110px;
  height: 44px;
  margin-top: 53px;
}
.footerCon ul li:nth-child(2) {
  width: 130px;
  height: 110px;
  margin: 20px 50px;
}

.footerCon ul li:nth-child(3) {
  margin: 35px 30.725px;
  /* margin: 35px 0;
  overflow: hidden;
  float: none; */
}
.footerCon ul li:nth-child(3) div {
  height: 20px;
  color: #fff;
}
.footerCon ul li:nth-child(3) div:nth-child(2) {
  margin: 10px 0;
}
.footerCon ul li:nth-child(3) span {
  font-size: 14px;
  padding: 0 15px;
}
.footerCon ul li:nth-child(3) span+span {
  border-left: 2px solid #fff;
}
.footerCon ul li:nth-child(n+4) {
  float: right;
  width: 80px;
  height: 100px;
  margin: 25px 0 25px 50px;
  
}
.footerCon ul li:nth-child(n+4) img {
  width: 80px;
  height: 80px;
}