.main-top {
  height: 273px;
  background-image: url('/learn/static/imgs/huashi/banner.png');
  background-position: center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
.main-top-search {
  width: 40%;
}
.main-top-search .el-input__inner {
  border-radius: 20px;
  border: none;
}
.main-top-search-btn {
  margin-right: -6px;
}
.container {
  margin-bottom: 40px;
}
.container .coursemap_wrap:last-child {
  margin-bottom: 50px;
}
.container .coursemap_wrap {
  margin-top: 25px;
}
.container .coursemap_wrap .title_wrap {
  width: 100%;
  height: 33px;
  font-size: 24px;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 600;
  color: #2e2e2e;
  line-height: 33px;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
}
.container .coursemap_wrap .title_wrap:before {
  content: "";
  width: 4px;
  height: 30px;
  background-color: var(--color-primary);
  margin-right: 10px;
}
.container .coursemap_wrap .title_wrap .tags {
  margin: 0 40px;
  width: auto;
  display: flex;
  white-space: nowrap;
  overflow-x: auto;
}
.container .coursemap_wrap .title_wrap .tags::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.container .coursemap_wrap .title_wrap .tags .tag {
  display: inline-block;
  height: 34px;
  background: #ffffff;
  box-shadow: 0px 2px 8px 2px rgba(129, 129, 129, 0.06);
  border-radius: 17px;
  border: 1px solid #f1f1f1;
  padding: 0 24px;
  font-size: 14px;
  cursor: pointer;
}
.container .coursemap_wrap .title_wrap .tags .tag + .tag {
  margin-left: 16px;
}
.container .coursemap_wrap .title_wrap .tags:first-child {
  margin-left: 24px;
}
.container .coursemap_wrap .title_wrap .more_btn {
  font-size: 12px;
  font-weight: 400;
  color: #2e2e2e;
  line-height: 17px;
  margin-left: auto;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.container .coursemap_wrap .title_wrap .more_btn:after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1px solid #2e2e2e;
  border-bottom: 1px solid #2e2e2e;
  transform: rotate(-45deg);
  margin-left: 2px;
}
.container .coursemap_wrap .title_wrap .more_btn:hover {
  color: var(--color-primary);
}
.container .coursemap_wrap .title_wrap .more_btn:hover::after {
  border-color: var(--color-primary);
}
.container .coursemap_wrap .title_wrap .num_wrap {
  font-size: 12px;
  margin-left: auto;
  color: #2e2e2e;
  line-height: 17px;
  font-weight: normal;
}
.container .coursemap_wrap .title_wrap .num_wrap + .more_btn {
  margin-left: 20px;
}
.media_card {
  width: 100%;
  height: 211px;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #f1f1f1;
  display: flex;
  flex-direction: column;
  margin-top: 25px;
  overflow: hidden;
}
.media_card .cover {
  height: 150px;
  position: relative;
}
.media_card .cover .file-type {
  position: absolute;
  top: 0;
  left: 0;
}
.media_card .cover:hover .mask {
  opacity: 1;
}
.media_card .cover .mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.3s;
  gap: 16px;
}
.media_card .cover .mask .btn {
  height: 34px;
  width: 34px;
  background: var(--color-primary);
  border-radius: 18px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.media_card .cover .mask .btn[data-collect="true"] .collect {
  display: none;
}
.media_card .cover .mask .btn[data-collect="false"] .uncollect {
  display: none;
}
.media_card .cover .mask .btn[data-like="true"] .like {
  display: none;
}
.media_card .cover .mask .btn[data-like="false"] .unlike {
  display: none;
}
.media_card .cover .tag {
  position: absolute;
  border-radius: 6px 0 6px 0;
  display: inline-block;
  left: 0;
  top: 0;
  background-color: #62738a;
  padding: 0 10px;
  color: #fff;
}
.media_card .cover .tag[type="MP4"] {
  background-color: #8183f0;
}
.media_card .cover .tag[type="MP3"] {
  background-color: #25af20;
}
.media_card .cover .tag[type="DOC"] {
  background-color: #59b6fd;
}
.media_card .cover .tag[type="XLS"] {
  background-color: #59b6fd;
}
.media_card .cover .tag[type="PPTX"] {
  background-color: #59b6fd;
}
.media_card .cover .tag[type="PDF"] {
  background-color: #59b6fd;
}
.media_card .cover .tag[type="PNG"] {
  background-color: #fe9a41;
}
.media_card .cover .tag[type="JPG"] {
  background-color: #fe9a41;
}
.media_card .cover .tip {
  position: absolute;
  right: 0;
  top: 6px;
}
.media_card .cover .tip img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin-right: 6px;
}
.media_card .cover .duration {
  position: absolute;
  right: 0;
  bottom: 0;
  line-height: 30px;
  color: #fff;
  font-size: 12px;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.41) 0%, rgba(255, 255, 255, 0) 40%);
  text-align: right;
  padding-right: 6px;
  box-sizing: border-box;
}
.media_card .content {
  flex: 1;
  height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  box-sizing: border-box;
}
.media_card .content .title {
  width: 100%;
  font-size: 18px;
  font-weight: 600;
  color: #2e2e2e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.media_card .content .title:hover {
  color: var(--color-primary);
}
.media_card .content .tips {
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  color: #4a4f64;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.media_card .content .tips > span {
  display: block;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.media_card .content .tips > span > span {
  display: inline-block;
  width: 100%;
}
.media_card.search {
  height: 243px;
}
.media_card .type_knowladge,
.media_card .type_voice,
.media_card .type_teacher,
.media_card .type_keyword {
  font-size: 12px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  display: inline-block;
  border-radius: 99px;
  padding: 0 8px;
}
.media_card .type_knowladge {
  background-color: rgba(255, 105, 81, 0.1);
  color: #ff6951;
}
.media_card .type_voice {
  background-color: rgba(37, 175, 32, 0.1);
  color: #25af20;
}
.media_card .type_teacher {
  background-color: #f6c31d23;
  color: #f6c21d;
}
.media_card .type_keyword {
  color: #e600ff;
  background-color: #f8dfff;
}
.tag1 {
  background-color: red;
}
.cover_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.no_image {
  width: 100%;
  height: 100%;
  object-fit: none;
  background-color: #f7f8fa;
  background-image: url("/learn/static/imgs/teaching_resource/other.png");
  background-repeat: no-repeat;
  background-position: center;
}
.no_image[type="biz_sobey_video"] {
  background-image: url("/learn/static/imgs/teaching_resource/video.png");
}
.no_image[type="biz_sobey_audio"] {
  background-image: url("/learn/static/imgs/teaching_resource/audio.png");
}
.no_image[type="biz_sobey_document"] {
  background-image: url("/learn/static/imgs/teaching_resource/document.png");
}
.no_image[type="biz_sobey_picture"] {
  background-image: url("/learn/static/imgs/teaching_resource/other.png");
}
.empty {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 100px;
}

