.resource_top {
  margin-bottom: 24px;
}

.resource_top .title {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 6px;
}

.resource_top .resource_info {
  color: #999999;

}

.resource_top .resource_info .info_item {
  margin-right: 8px;
  padding-right: 9px;
  position: relative;
}

.resource_top .resource_info .info_item:after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: #DFE1E8;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

.resource_top .resource_info .info_item:last-child:after {
  display: none;
}

.pdf_box {
  position: relative;
  box-shadow: 0px 1px 14px rgb(193 193 193 / 30%);
  background: #fff;
}

.pdf_box.pdf {
  height: calc(100vh - 86px);
  padding-top: 20px;
  padding-bottom: 68px;
  overflow: hidden;
}

.pdf_box.pdf #pdf_img_list {
  height: 100%;
  overflow-y: scroll;
  width: 100%;
  padding: 0 15%;
  margin: 0 auto;
}

.pdf_box.pdf #pdf_img_list img {
  width: 100%;
  outline:none;
  border: 0;
}

.pdf_box.image .image_view {
  display: flex;
  justify-content: center;
}

#pdf_view {
  overflow: scroll;
  position: relative;
  height: 100%;
  margin-right: 20px;
  overflow-x: hidden;
}

#pdf_view::-webkit-scrollbar {
  width: 4px;
  height: 50%;
}

#pdf_view::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0px;
  background: #fff;
  z-index: 1;
  box-shadow: 0 0px 10px 1px rgba(122, 122, 122, 0.3);
  display: none;
}

#pdf_view .pdf_page {
  width: 94%;
  max-width: 800px;
  display: block;
  border-bottom: 1px solid rgba(190, 196, 204, 0.1);
  position: relative;
  margin: 0 auto;
}

#pdf_view .pdf_page:last-child {
  border-bottom: 0;
}

#pdf_view .pdf_page canvas {
  width: 100% !important;
  height: auto !important;
}

.annotation-layer {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  opacity: 1;
  width: 100% !important;
  height: 100% !important;
}

.annotation-layer section {
  position: absolute;
  cursor: pointer;
  margin-top: -2px;
}

.annotation-layer section a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  opacity: .2;
}

.annotation-layer section a:hover {
  background: #ff0;
}

.pdf_box,
.pdf_box .foot_info,
#resource_single .singlenews,
.resource_content {
  max-width: 1200px;
}

#resource_single .singlenews {
  background-color: #fff;
  padding: 30px 20px;
}

.pdf_box .foot_info {
  position: relative;
  bottom: 0;
  background: #F5F6F8;
  width: 100%;
  justify-content: center;
  height: 48px;
}

.pdf_box.pdf .foot_info {
  position: absolute;
}

.pdf_box .foot_info .down_btn {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
}

.pdf_box .foot_info .down_btn a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 9px;
  color: #fff;
  background: #CE002B;
}

.pdf_box .foot_info .down_btn.max_w_down {
  width: 100%;
}

.pdf_box .foot_info .down_btn.max_w_down a {
  justify-content: center;
  width: 100%;
}

.pdf_box .foot_info .down_btn a .iconfont {
  margin-right: 4px;
}

.pdf_box .foot_info .page_pdf_num {
  background: #fff;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  text-align: center;
}

.pdf_box .foot_info #page_count::after {
  content: '/';
  position: absolute;
  line-height: 1;
  top: 0;
  left: 0;
  width: 0px;
  height: 100%;
  color: #999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf_box .foot_info #page_count {
  position: relative;
  padding-left: 10px;
  margin-left: 10px;
  height: 24px;
  display: flex;
  align-items: center;
}

#resource_single {
  z-index: 5;
  position: relative;
}

.pdf_box .foot_info .pdf_page {
  display: flex;
  align-items: center;
  height: 100%;
  color: #999999;
}

.pdf_box .image_view img {
  display: block;
}

.resource_content {
  position: relative;
  margin-bottom: 40px;
}

.resource_content .box_right {
  position: absolute;
  top: 0;
  right: -72px;
  z-index: 10;
}

.resource_content .box_right .icon_btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 16px;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  background-size: 105%;
  overflow: hidden;
  background-position: center;
  display: block;
  text-indent: -9999px;
}

.resource_content .box_right .icon_btn:last-child {
  margin-bottom: 0;
}

.resource_content .box_right .r_down_btn {
  background-image: url(./images/xiazai_icon.png);
}

.resource_content .box_right .r_down_btn:hover {
  background-image: url(./images/xiazai_icon_h.png);
}

.resource_content .box_right .to_comment_btn {
  background-image: url(./images/pinglun_icon.png);
}

.resource_content .box_right .to_comment_btn:hover {
  background-image: url(./images/pinglun_icon_h.png);
}


@media screen and (max-width: 1340px) {
  .resource_top .title {
    font-size: 30px;
  }
}


@media screen and (max-width: 768px) {
  .resource_top .title {
    font-size: 18px;
  }
  .pdf_box.pdf #pdf_img_list img {
    /* padding-top: 24px; */
  }
  .pdf_box.pdf #pdf_img_list img:first-child{
    padding-top: 0;
  }
  .resource_top .resource_info {
    font-size: 12px;
  }

  .resource_top {
    margin-bottom: 16px;
  }

  .pdf_box .foot_info {
    height: 36px;
    font-size: 12px;
  }

  #pdf_view {
    margin-right: 2px;
  }

  .pdf_box.pdf {
    padding-top: 10px;
    padding-bottom: 46px;
  }

  #pdf_view .pdf_page {
    width: 98%;
  }

  .resource_content .box_right {
    bottom: 0;
    position: fixed;
    width: 100%;
    right: 0;
    height: 50px;
    top: auto;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row-reverse;
    align-items: flex-end;
    background: #fff;
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.07);
    -webkit-box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.07);
  }

  .resource_content.hide_right .box_right {
    display: none;
  }

  .resource_content .box_right .icon_btn {
    text-indent: 0;
    margin-bottom: 0;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    font-size: 16px;
    height: 100%;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
  }

  .resource_content .box_right .r_down_btn,
  .resource_content .box_right .r_down_btn:hover {
    color: #fff;
    background-image: none;
    background: #F70000;
  }

  .resource_content .box_right .to_comment_btn,
  .resource_content .box_right .to_comment_btn:hover {
    font-size: 12px;
    background-image: url(./images/m_pinglun_icon.png);
    background-position: center 9px;
    background-size: 18px;
    background-repeat: no-repeat;
    padding-top: 26px;
    border-left: 1px solid #F5F5F5;

  }

}