/* .documentary-container {
  display: flex;
  flex-direction: column;
} */

.documentary-container {
  width: 864px;
}

.documentary-container .tit {
  margin-top: 1px;
}

.documentary-container .tit_title {
  font-weight: 600;
  font-size: 24px;
  font-weight: 600;
  color: #1980de;
  line-height: 24px;
}

.documentary {
  /* max-height: 1724px; */
  /* max-height: 2024px; */
  background-color: #f7f7f7;
}

.documentary-lib,
.documentary-nocontent {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  /* width: 864px; */
  /* height: 850px; */
  padding: 37.5px 0;
  /* padding: 37.5px 39px; */
  display: flex;
  justify-content: center;
  /* 109-22-10 = 77 */
  margin-top: 23px;
  /* margin-bottom: 40px; */
}

.documentary-lib {
  display: grid;
  grid-template-columns: repeat(5, 130px);
  grid-template-rows: repeat(219px);
  /* grid-template-columns: repeat(5, 130px);
  grid-template-rows: repeat(3, 219px); */
  grid-column-gap: 34px;
  grid-row-gap: 42px;
}

.documentary-card {
  width: 130px;
  height: 219px;
  /* height: 184px + 16 + 19; */
}

.documentary-card-lib {
  margin-bottom: 13px;
}

.documentary-card img {
  /* border: 1px solid red; */
  width: 130px;
  height: 184px;
  /* width: 100%;
  height: 100%; */
  border-radius: 8px;
}

.documentary_recommend {
  /* border: 1px solid red; */
  margin-top: 23px;
  box-sizing: border-box;
  width: 100%;
  height: 300px;
  background-color: #f7f7f7;
  padding: 40.5px 0;
  /* margin-top: 23px;
  margin-bottom: 40px; */
}

.documentary_recommend .documentary-card {
  margin-right: 34px;
}

.documentary-title,
.documentary-tips {
  height: 19px;
  font-size: 16px;
  font-family: FZLTHK;
  font-weight: 400;
  color: #666;
  line-height: 19px;
  text-align: center;
  margin-top: 16px;
}

.documentary-title {
  font-size: 20px;
  /* line-height: 20px; */
  color: #333;
  width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.documentary-tag {
  display: flex;
  font-size: 16px;
  margin-top: 30px;
}

.documentary-tag:last-child {
  margin-top: 18px;
  /* margin-bottom: 32px; */
}

.documentary-page {
  /* position: absolute;
  bottom: 14px; */
  /* display: block; */
  left: 0;
  right: 0;
  width: 782px;
  height: 40px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  /* margin-bottom: 140px; */
  /* border: 1px solid red; */
}

.page-btn {
  border-radius: 5px;
  background-color: #fff;
  width: 26px;
  height: 22px;
  line-height: 22px;
  margin-right: 12px;
  font-size: 16px;
  font-family: FZLTXHK;
  cursor: pointer;
}

.page-btn-selected {
  /* background: #F7F7F7; */
  border-radius: 5px;
  font-weight: 600;
  color: #1980de;
}

.type-tag,
.year-tag {
  /* border: 1px solid red; */
  box-sizing: border-box;
  width: 95px;
  /* min-width: 95px; */
  height: 30px;
  font-size: 18px;
  font-family: FZLTXHK;
  font-weight: 400;
  color: #333333;
  line-height: 30px;
  text-align: center;
  margin-right: 20px;
  /* padding: 0 10px; */
}

.year-wide {
  width: 118px;
  /* padding: 0 10px; */
}

.type-tag:hover,
.year-tag:hover {
  cursor: pointer;
  /* background-color: #888; */
}

.selected {
  height: 30px;
  background: #f7f7f7;
  border-radius: 5px;

  font-weight: 600;
  color: #1980de;
}

.swiper-container-zhengwu {
  margin-top: 0;
}

.phone-swiper {
  overflow-x: scroll;
  overflow-y: hidden;
  width: 90%;
  -ms-overflow-style: none;
  scrollbar-width: none;
  margin-left: 40px;
  margin-top: 0;
  margin-right: -220px;
}

.phone-swiper::-webkit-scrollbar {
  display: none;
}

@media screen and (max-width: 700px) {

  .documentary_recommend .documentary-card {
    margin-right: 0;
  }

  .doc-phone {
    margin-right: 18px !important;
    height: 220px !important;
    width: 104px !important;
  }

  .doc-phone:last-child {
    margin-right: 0 !important;
  }

  .documentary_recommend {
    height: 220px;
    padding: 20px 0;
  }

  .documentary-card {
    width: 104px;
    height: 147.2px;
    /* height: 167.2px; */
  }

  .documentary-card img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
  }

  .documentary-title {
    width: 104px;
    font-size: 16px;
    margin-top: 7px;
  }

  .documentary_recommend .documentary-title {
    margin-top: 14px;
  }

  /* 纪录片库页面，手机端样式 */

  .tit_title {
    font-size: 0.36rem;
    font-weight: 500;
    color: #1980de;
    line-height: 0.5rem;
  }

  .documentary-container {
    width: 100%;
    /* padding: auto 50px; */
  }

  .documentary-tag {
    margin: 0 0 0 4px;
    /* margin-top: 0; */
    /* margin-bottom: 0; */
  }

  .documentary-tag:last-child {
    margin-top: 8px;
  }

  .type-tag,
  .year-tag,
  .selected {
    /* border: 1px solid red; */
    /* width: 55px; */
    padding: 0 4px;
    width: fit-content;
    /* min-width: 95px; */
    height: 30px;
    font-size: 14px;
    line-height: 30px;
    margin-right: 8px;
  }

  .selected {
    font-weight: 500;
    background: #f7f7f7;
    border-radius: 4px;

    font-weight: 600;
    color: #1980de;
  }

  .documentary {
    margin-top: 10px;
    box-sizing: border-box;
    width: 100%;
    /* border: 1px solid red; */
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
  }

  .documentary-lib {
    width: 100%;
    grid-template-columns: repeat(3, 115px);
    grid-template-rows: repeat(219px);
    /* grid-template-columns: repeat(5, 130px);
      grid-template-rows: repeat(3, 219px); */
    grid-column-gap: 0px;
    grid-row-gap: 42px;
    justify-items: center;
    align-items: center;
    padding: 0;
    padding-bottom: 52px;
  }

  .documentary-page {
    width: 100%;
    height: 36px;
  }

  .documentary-tips {
    font-size: 14px;
  }

  /* 纪录片页，手机端样式 */
  .tit {
    margin-top: 0.3rem;
    padding: 0 0.3rem;
    display: flex;
    align-items: center;
  }

  .gengduo a {
    line-height: 0.36rem;
    font-size: 0.26rem;
    color: #aaaaaa;
  }

  /* 详情页，手机端样式 */
  .details_title {
    font-size: 18px;
    line-height: 20px;
  }

  .content_img {
    margin-top: 5px;
  }

  .details_author {
    line-height: 16px;
  }

  .xuxian {
    height: 2px;
    margin-top: 18px;
    margin-bottom: 16px;
  }

  .tuijian {
    margin-top: 20px;
    margin-bottom: 16px;
    font-size: 16px;
  }

  .g_list_contain img {
    /* width: calc(226px * 0.7);
    height: calc(163px * 0.7); */
    width: 1.84rem;
    height: 1.32rem;
  }

  .g_content {
    /* margin-left: 18px; */
    margin-left: 0.3rem;
    flex: 1;
  }

  .g_list_contain_title {
    /* border: 1px solid red; */
    /* width: 180px; */
    /* height: 64px; */
    width: 100%;
    height: auto;
  }

  .g_list_contain_title a {
    font-size: 0.36rem;
    font-family: FZLTHK;
    font-weight: normal;
    color: rgba(80, 80, 80, 1);
    line-height: 0.44rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    height: 0.85rem;
  }

  html {
    overflow-x: hidden;
  }

  .index_left_content {
    box-sizing: border-box;
  }

  .g_share {
    /* margin-top: 15px; */
    margin-top: 0.2rem;
    color: rgba(170, 170, 170, 1);
    font-size: 0.26rem;
  }

  .phone_header {
    width: 7.5rem;
  }

  .sahng {
    width: 24px;
    height: 24px;
    display: none;
  }

  .g_share .weixin {
    width: 21px;
    height: 18px;
  }

  .g_share .qq {
    width: 17px;
    height: 19px;
  }
}
