/* 版心 */
.wrapper {
  margin: 0 auto;
  width: 1200px;
}

body {
  background-color: #f3f5f7;
}

/* 头部区域 */
.header {
  height: 100px;
  background-color: #fff;
}

.header .wrapper {
  padding-top: 29px;
  display: flex;
}

/* logo */
.logo a {
  display: block;
  width: 195px;
  height: 41px;
  background-image: url(../images/logo.png);
  font-size: 0;
}

/* 导航 */
.nav {
  margin-left: 102px;
}

.nav ul {
  display: flex;
}

.nav li {
  margin-right: 24px;
}

.nav li a {
  display: block;
  padding: 6px 8px;
  line-height: 27px;
  font-size: 19px;
}

/* active 类选择器，表示默认选中的a */
.nav li .active,
.nav li a:hover {
  border-bottom: 2px solid #00a4ff;
}

/*搜索*/
.search {
  margin-left: 64px;
  width: 412px;
  height: 40px;
  background-color: #f3f5f7;
  border-radius: 20px;
  padding-left: 19px;
  padding-right: 12px;
  display: flex;
}

.search input {
  flex: 1;
  border: none;
  background-color: transparent;
  outline: none;
}

.search input::placeholder {
  font-size: 14px;
  color: #999;
}

.search a {
  align-self: center;
  width: 16px;
  height: 16px;
  background-image: url(../images/search.png);
  font-size: 0;
}

/*用户区域*/
.user {
  margin-top: 4px;
  margin-left: 32px;
  display: flex;
  align-items: center;
}

.user img {
  vertical-align: middle;
}

.user span {
  font-size: 16px;
  color: #666;
}

/*banner海报区域*/
.banner {
  height: 420px;
  background-color: #0092cb;
}

.banner .wrapper {
  display: flex;
  justify-content: space-between;
  height: 420px;
  background-image: url(../uploads/banner.png);
}

.banner .wrapper .left {
  padding: 3px 20px;
  width: 191px;
  height: 420px;
  background-color: rgba(0, 0, 0, 0.42);
}

.banner .wrapper .left a {
  display: block;
  height: 46px;
  background-image: url(../images/right.png);
  background-repeat: no-repeat;
  background-position: center right;
  line-height: 46px;
  font-size: 16px;
  color: #fff;
}

.banner .wrapper .left a:hover {
  background-image: url(../images/right-hover.png);
  color: #00a4ff;
}

.banner .wrapper .right {
  width: 218px;
  height: 305px;
  background-color: #209dd5;
  margin-top: 60px;

  border-radius: 10px;
}

.banner .wrapper .right h3 {
  margin-left: 14px;
  height: 48px;
  line-height: 48px;
  font-size: 15px;
  color: #fff;
  font-weight: 400;
}

.banner .wrapper .right .content {
  height: 275px;
  background-color: #fff;
  padding: 14px;
  border-radius: 10px;
}

.banner .wrapper .right .content dl {
  margin-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.banner .wrapper .right .content dt {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

.banner .wrapper .right .content dd {
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 16px;
}

.banner .wrapper .right .content span {
  color: #00a4ff;
}

.banner .wrapper .right .content strong {
  color: #7d7d7d;
  font-weight: 400;
}

.banner .wrapper .right .content a {
  display: block;
  height: 32px;
  background-color: #00a4ff;
  text-align: center;
  line-height: 32px;
  font-size: 14px;
  color: #fff;
  border-radius: 15px;
}

/*精品推荐*/
.recommend {
  display: flex;

  margin-top: 11px;
  padding: 0 20px;
  height: 60px;
  background-color: #fff;
  box-shadow: 0px 1px 2px 0px rgba(211, 211, 211, 0.5);
  line-height: 60px;
}

.recommend h3 {
  font-size: 18px;
  color: #00a4ff;
  font-weight: 400;
}

.recommend ul {
  display: flex;
  flex: 1;
}

.recommend ul li a {
  padding: 0 24px;
  font-size: 18px;
  color: #333;
  border-right: 1px solid #e0e0e0;
}

.recommend ul li:last-child a {
  border-right: none;
}

.recommend .modify {
  font-size: 16px;
  color: #00a4ff;
}

/*精品推荐课程*/
.course .wrapper {
  margin-top: 16px;
}

/*多个内容版式*/
.hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 60px;
  height: 60px;
}

.hd h3 {
  font-size: 21px;
  font-weight: 400;
}

.hd .more {
  background-image: url(../images/more.png);
  font-size: 14px;
  color: #999;
  background-repeat: no-repeat;
  background-position: center right;
  padding-right: 16px;
}

.bd ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.bd ul li {
  margin-bottom: 14px;
  width: 228px;
  height: 271px;
  background-color: pink;
}

.bd ul li .pic {
  height: 156px;
}

.bd ul li .text {
  padding: 20px;
  height: 115px;
  background-color: #ffffff;
}

.bd ul li .text h4 {
  margin-bottom: 13px;
  height: 40px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.bd ul li .text h4:hover {
  color: #00a4ff;
}

.bd ul li .text p {
  font-size: 14px;
  line-height: 20px;
  color: #999;
}

.bd li .text p span {
  color: #fa6400;
}

.bd li .text p i {
  font-style: normal;
}

/*前端开发工程师*/
.hd ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 60px;
  height: 60px;
}

.hd li {
  margin-right: 60px;
  font-size: 16px;
}

.hd li .active {
  color: #00a4ff;
}

.hd li a:hover {
  color: #00a4ff;
}

.teacher .bd,
.python .bd {
  display: flex;
  justify-content: space-between;
}

.bd .left {
  width: 228px;
  /*background-color: pink;*/
}

.bd .right {
  width: 957px;
  /*background-color: pink;*/
}

.bd .right .top {
  margin-bottom: 15px;
  height: 100px;
}

/*版权*/
.footer {
  margin-top: 60px;
  padding-top: 60px;
  height: 273px;
  background-color: #fff;
}

.footer .wrapper {
  display: flex;
  justify-content: space-between;
}

.footer .left {
  width: 440px;
}

.footer .left .pic {
  background-image: url("../images/logo.png");
  width: 195px;
  height: 41px;
  font-size: 0;
  display: inline-block;
}

.footer .left p {
  margin-top: 24px;
  margin-bottom: 14px;
  font-size: 12px;
  line-height: 17px;
  color: #666;
}

.footer .left .download {
  width: 120px;
  height: 36px;
  border: 1px solid #00a4ff;
  background-color: #fff;
  display: inline-block;
  text-align: center;
  line-height: 36px;
}

.footer .left .download:hover {
  color: #00a4ff;
}

.footer .right {
  display: flex;
}

.footer .right dt {
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 23px;
}

.footer .right dl {
  margin-left: 130px;
}

.footer .right a {
  font-size: 14px;
  color: #666;
  line-height: 24px;
}
