body {
  margin: 0;
  padding: 0;
  background: #f5f7fa;
}

a {
  color: #666;
  text-decoration: none;
  background-color: transparent;
  outline: none;
  cursor: pointer;
  -webkit-transition: color .3s;
  -o-transition: color .3s;
  -moz-transition: color .3s;
  transition: color .3s;
  -webkit-text-decoration-skip: objects;
}

/* 头部样式*/
.el-header {
  background: #fff;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
}

.heart {
  height: 60px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.heart .logo {
  width: 230px;
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.heart .custom-menu {
  position: relative;
  right: 0px;
  border-right: none;
  border-bottom: none;
}

.el-menu--horizontal>.el-menu-item.is-active {
  border-bottom: none
}

.custom-menu .title-item.is-active .title-item-font {
  font-weight: 500;
  color: #409EFF;
}

.custom-menu .title-item .title-item-font {
  font-size: 16px;
  font-weight: 400;
  color: #0f0f0f;
}

.search {
  width: 300px;
  height: 60px;
  line-height: 60px;
}

.search .el-input__inner {
  height: 33px;
  line-height: 33px;
  -webkit-border-radius: 0px !important;
  -moz-border-radius: 0px !important;
  border-radius: 0px !important;
}

.search .el-button {
  width: 60px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  height: 33px;
  padding: 0;
  margin-left: -5px;
}

.user-info {
  font-size: 14px;
  font-weight: 400;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.user-info .flex-align-center {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.user-info .flex {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: -moz-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

.user-info .portrait {
  width: 30px;
  height: 30px;
}

.user-info .cursor-pointer {
  cursor: pointer;
}

/* 内容部分*/
.el-main {
  margin-top: 60px;
  padding: 0;
  min-height: 70vh;
}

.content {
  padding-top: 30px;
  padding-bottom: 30px;
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.el-row {
  width: 100%;
}

.box-card {
  width: 100%;
  height: 320px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.banner {
  width: -webkit-calc(100% - 20px);
  width: -moz-calc(100% - 20px);
  width: calc(100% - 20px);
  height: 320px;
  margin-left: 20px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.banner .el-carousel__container {
  height: 320px;
}

.join-exam {
  width: 100%;
  margin: 20px 0;
  margin-top: 30px;
  background: #fff;
  height: 50px;
  line-height: 50px !important;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

.join-exam-num {
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  line-height: 30px;
  letter-spacing: 2px;
  text-align: center;
}

.join-exam .join-exam-num {
  font-size: 16px;
  text-align: left;
  padding-left: 20px;
  color: #000;
  line-height: 16px !important;
}

.join-exam img {
  width: 20px;
  height: 20px;
  margin-top: 15px;
  padding-right: 5px;
}

.home-learn {
  width: 100%;
  margin: 10px 0;
}

.home-learn .el-button--text {
  color: #666 !important;
}

.home-online {
  width: 100%;
  margin-bottom: 30px;
}

.home-online .el-button--text {
  color: #666 !important;
}

.home-class .home-online-contain-card-item {
  width: 292px !important;
  height: 328px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  background: #fff;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  -webkit-box-align: normal !important;
  -webkit-align-items: normal !important;
  -moz-box-align: normal !important;
  -ms-flex-align: normal !important;
  align-items: normal !important;
  margin-top: 20px !important;
}

.home-class .home-online-contain-card-item:hover {
  border-color: #fff;
  -webkit-box-shadow: 0 0 8px rgb(0 0 0 / 10%);
  -moz-box-shadow: 0 0 8px rgb(0 0 0 / 10%);
  box-shadow: 0 0 8px rgb(0 0 0 / 10%);
  -webkit-transition: .3s;
  -o-transition: .3s;
  -moz-transition: .3s;
  transition: .3s;
  -webkit-transform: translateY(-5px);
  -moz-transform: translateY(-5px);
  -ms-transform: translateY(-5px);
  -o-transform: translateY(-5px);
  transform: translateY(-5px);
}

.home-class .home-online-contain-card-item .el-card__body {
  padding: 0;
}

.home-class .home-online-contain-card-item img {
  width: 292px !important;
  height: 150px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
}

.home-class .home-online-contain-card-item .course-card_content {
  padding: 12px;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-font-smoothing: subpixel-antialiased;
}

.home-class .home-online-contain-card-item .course-card_content .lesson {
  height: 48px;
  line-height: 24px;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 16px;
  color: #333;
  margin-bottom: 12px;
  text-align: left !important;
}

.home-class .home-online-contain-card-item .course-card_content .lesson b {
  height: 17px;
  line-height: 17px;
  font-size: 12px;
  display: inline-block;
  padding: 0 4px;
  margin-right: 6px;
  color: #fff;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background: rgba(255, 63, 41, .8);
}

.home-class .home-online-contain-card-item .course-card_content .course-card_info {
  height: 17px;
  font-size: 12px;
  line-height: 17px;
  color: #666;
  margin-bottom: 4px;
  overflow: hidden;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}

.home-class .home-online-contain-card-item .course-card_content .bottom_p {
  border-top: 0.5px solid hsla(0, 0%, 60%, .15);
  padding-top: 14px;
  height: 35px;
  position: relative;
}

.home-class .home-online-contain-card-item .course-card_content .bottom_p .bottom_p_left {
  overflow: hidden;
  font-size: 12px;
  position: absolute;
  bottom: 0;
}

.home-class .home-online-contain-card-item .btn {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 124px;
  height: 32px;
  opacity: 1;
  background: #f3f3f3;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 18px;
  font-family: PingFangSC, PingFangSC-Regular;
  font-weight: 400;
  text-align: center;
  color: #424242;
  line-height: 25px;
  margin-top: 24px;
  cursor: pointer;
}

.class-type {
  width: 100%;
  height: 80px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  line-height: 80px;
  color: #7f7f7f;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  background: #fff;
}

.class-type:hover {
  color: #fff;
  background: #409EFF;
}

.type-next-page {
  line-height: 80px;
}

.type-next-page .el-button {
  border: none;
  color: #fff;
  background: rgba(31, 45, 61, .23);
}

.type-next-page .el-button:hover {
  background: #409EFF;
}

/*尾部样式*/
.el-footer {
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -ms-flex-negative: 0;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  background: #fff;
  height: 158px !important;
  position: relative;
  z-index: 100;
}

.footer-content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  width: 1200px;
  margin-left: auto;
  margin-right: auto;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  height: 158px;
}

.footer-content .footer-left {
  height: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -moz-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.footer-content .footer-left .footer-logo {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 10px 0;
}

.footer-content .footer-left .footer-logo .logo {
  width: 230px;
}

.footer-content .footer-left .footer-copyright {
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  color: #0f0f0f;
  padding: 6px 0;
}

.footer-content .footer-left .footer-other {
  font-size: 10px;
  font-weight: 400;
  text-align: left;
  color: #7f7f7f;
  display: block;
  line-height: 18px;
}

.footer-content .footer-left .footer-other img {
  width: 17px;
  height: 17px;
  vertical-align: middle;
  border-style: none;
  border: none;
}

.bei {
  width: auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}

.bei span {
  display: inline-block;
  margin-right: 10px;
}

.footer-content .footer-right {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
}

.upload_app {
  text-align: center;
}

.upload_app img {
  width: 100px;
  height: 100px;
  margin-top: 15px;
}

.upload_app p {
  margin-top: 5px;
}

* {
  word-break: break-all;
  word-wrap: break-word;
}

/* 定位条 */
.pos_menu {
  font-size: 14px;
  margin-bottom: 30px;
}

.pos_menu :last-child {
  color: #409EFF;
}
