html {
  font-size: 16px;
}

body {
  background: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  font-family: "Open Sans", "open_sans", "Lucida Grande", "Verdana",
    "Pingfang SC", "Pingfang TC", "Hiragino Sans GB", "Microsoft YaHei", Cardo,
    STSong, "Songti SC", SimSun, "PingFang SC", "Microsoft YaHei", 微软雅黑,
    STXihei, 华文细黑, serif;
  margin: 0px auto;
  -webkit-font-smoothing: antialiased;

  padding-right: calc(100% - 100vw);
}

/* 大容器 */
.contenter-wrap {
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-box-align: center;
  align-items: center;
  margin: 0px auto;
}

/* 导航头 =================================================================*/
/* 导航头 */
.contenter-wrap-nav {
  box-sizing: border-box;
  width: 100%;
  display: flex;
  position: fixed;
  height: 3.5rem;
  top: 0;
  z-index: 999;
  line-height: 3.5rem;
  justify-content: center;
  align-items: center;
  background-color: #ff4170;
  border-bottom: 1px solid #ff4170;
  padding: 0 3.2rem 0 3.2rem;
  min-width: 1200px;
}

.tab_box {
  width: 100%;
  display: flex;
  justify-content: left;
  align-items: center;
  margin-left: 5.5rem;
}

.tab_box .font_style {
  font-size: 0.96rem;
  font-family: PingFangSC, PingFang SC;
  font-weight: 600;
  color: #ffffff;
}

.tab_box .ellipsis_box {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tab_box .tab_left_box {
  width: 80%;
  display: flex;
  justify-content: left;
  align-items: center;
}

.tab_box .tab_right_box {
  width: 20%;
  display: flex;
  justify-content: right;
  align-items: center;
  line-height: 1.7rem;
  text-align: center;
}

.tab_box .tab_right_box .login_btn {
  width: 4rem;
  height: 1.8rem;
  background: #ffffff;
  border-radius: 0.24rem;
  margin-left: 0.24rem;
  color: #ff4170;
  line-height: 1.8rem;
}

.tab_box .tab_right_box .register_btn {
  width: 4rem;
  height: 1.8rem;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.23);
  border-radius: 0.24rem;
  border: 0.04rem solid #ffffff;
}

.tab_box .tab_right_box .loginOut_btn {
  width: 4.48rem;
  height: 1.8rem;
  border-radius: 0.24rem;
  border: 0.04rem solid #ffffff;
  margin-left: 0.5rem;
  line-height: 1.8rem;
}

.tab_box .tab_right_box .login_name {
  width: 7rem;
  text-align: right;
}

ul li a {
  color: #fff;
  padding: 0.9375rem 1.25rem;
  font-size: 1rem;
  font-weight: bold;
}

ul li .home {
  padding: 0.9375rem 2.25rem;
}

.currentPage {
  font-size: 0.48rem;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  background: #fff;
}

.currentPage a {
  color: #ff1a53;
}

.logo_box {
  width: 10.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 1.5rem;
  font-family: PingFangSC-Medium, PingFang SC;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.92rem;
}

.logo {
  width: 2.12rem;
  height: 2.12rem;
  margin-right: 0.48rem;
}

.bg_box {
  width: 100%;
  background: #fff7f9 !important;
  box-sizing: border-box;
  padding-top: 2.76rem;
  padding-bottom: 2.8rem;
  position: relative;
  display: flex;
  justify-content: center;
}

/*  =================================================================*/
/* 内容 */
.contenter-wrap-content {
  width: 100%;
  margin-top: 3.55rem;
  min-width: 1200px;
}

/* 左上角三条杠一开始不显示 */
.nav-btn {
  display: none;
}

.content-box {
  width: 100%;
  /* height: 53.1rem; */
  box-sizing: border-box;
  padding: 1.5rem 5.75rem 1.5rem 5.75rem;
  display: flex;
  background: #F7F6F8;
}

.content-f {
  width: 100%;
  height: 100%;
  display: flex;
}

.chapter {
  min-width: 18.5rem;
  max-width: 24.5rem;
  height: 49.13rem;
  background: #fff;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 1rem;
}

.chapter-item {
  width: 100%;
  padding-top: 0.63rem;
  padding-left: 1.63rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  margin-top: 0.4rem;
}

.chapter-item-top {
  font-weight: 600;
  font-size: 1.25rem;
}

.chapter-item-bottom {
  font-weight: 400;
  font-size: 1.25rem;
  margin-top: 0.1rem;
}

.chapter-read {
  min-width: 50rem;
  max-width: 76.5rem;
  margin-left: 1.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3.75rem;
  padding-bottom: 2.88rem;
  padding-left: 6.5rem;
  padding-right: 6.5rem;
  box-sizing: border-box;
}

.chapter-read-box {
  width: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.read-top-img {
  max-width: 63.5rem;
  height: 22.06rem;
}

.read-top-img img {
  width: 100%;
  height: 100%;
}

.read-content {
  max-width: 63.5rem;
  margin-top: 1.88rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.read-content-title {
  font-weight: 600;
  font-size: 2.5rem;
  color: #1D1D1D;
  text-align: center;
}

.read-content1 {
  width: 100%;
  margin-top: 1.13rem;
  font-weight: 600;
  font-size: 1.25rem;
  color: #FF2442;
}

.read-content2 {
  width: 100%;
  margin-top: 0.3rem;
  font-weight: 400;
  font-size: 1.25rem;
  color: #1D1D1D
}

.read-content2-active {
  margin-top: 1.13rem;
}

.read-content2 span {
  font-weight: 600;
}

.read-content3 {
  width: 100%;
  margin-top: 1.13rem;
  font-weight: 400;
  font-size: 1.25rem;
  color: #666666;
}

.read-content3 span {
  font-weight: 600;
  color: #1D1D1D
}

.navButtons {
  position: fixed;
  right: 20px;
  z-index: 9999;
  bottom: 20px;
}

.prev {
  background: #222 url("https://cdn.xqapi.cn/website/hsleu_com/prev.png") no-repeat 13px 12px;
  width: 45px;
  height: 45px;
  margin-top: 6px;
  border-radius: 3px;
  display: block;
  cursor: pointer;
}

.next {
  background: #222 url("https://cdn.xqapi.cn/website/hsleu_com/next.png") no-repeat 13px 12px;
  width: 45px;
  height: 45px;
  margin-top: 6px;
  border-radius: 3px;
  display: block;
  cursor: pointer;
}

/* 寻缘树二维码以及电话地址 */
.fourthPicture {
  width: 100%;
  height: 5.84rem;
  background: #3c3c3c;
}

.fourthPicture-content {
  width: 80%;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fourthPicture-content-top {
  width: 100%;
  display: flex;
  font-size: 0.875rem;
  border-bottom: 2px solid #999;
}

.left,
.right {
  width: 50%;
  display: flex;
  justify-content: space-around;
}

.left-qrCode {
  width: 8.75rem;
  height: 8.75rem;
  margin-top: 1rem;
}

.left-qrCode img {
  width: 100%;
}

.left-email {
  color: #333;
  margin-top: 4rem;
}

.right-tel,
.right-address {
  margin: auto 0;
}

.right-tel {
  width: 9.375rem;
  color: #333;
}

.right-address {
  width: 21rem;
  color: #333;
  margin-right: 2rem;
}

.fourthPicture-content-bot {
  text-align: center;
  font-size: 0.875rem;
}

.bot-ICP {
  color: #fff;
  margin-bottom: 0.375rem;
}

.bot-ICP a {
  font-size: 0.96rem;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.32rem;
}

.bot-record a {
  font-size: 0.96rem;
  font-family: PingFangSC-Regular, PingFang SC;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.32rem;
}

.bot-record {
  text-decoration: underline;
  color: #fff;
}

/* 恋爱宝典顶部 banner */
.top-home-tips {
  position: relative;
  width: 100%;
  min-width: 1200px;
  overflow: hidden;
}

.valuable-book-home {
  display: block;
  width: 100%;
}

.vb-banner-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 0 5.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.vb-banner-title {
  font-weight: 700;
  font-size: 3rem;
  color: #fff;
}

.vb-banner-subtitle {
  margin-top: 0.6rem;
  font-weight: 600;
  font-size: 1.75rem;
  color: #fff;
}

.vb-banner-desc {
  margin-top: 1rem;
  max-width: 62rem;
  font-weight: 400;
  font-size: 1.13rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
}

/* 一键发布引导 */
.vb-cta {
  width: 100%;
  min-width: 1200px;
  box-sizing: border-box;
  background: #fff;
  padding: 3.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vb-cta-title {
  font-weight: 700;
  font-size: 1.75rem;
  color: #1D1D1D;
}

.vb-cta-desc {
  margin-top: 0.9rem;
  font-weight: 400;
  font-size: 1.13rem;
  color: #666666;
}

.vb-cta-btn {
  margin-top: 1.75rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 12.5rem;
  height: 3.4rem;
  background: #FF2442;
  box-shadow: 0 0.5rem 1rem rgba(255, 36, 66, 0.25);
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  cursor: pointer;
}

/* 媒体查询 -- 响应式 */
@media (max-width: 720px) {

  /* 导航头 */
  .contenter-wrap-nav {
    width: 92%;
    border-bottom: none;
    height: auto;
    display: none;
    padding: 50px 50px 0;
  }

  .contenter-wrap-nav li:first-child {
    display: none;
  }

  .firstPicture {
    height: 48rem;
  }

  .xylogo {
    width: 98px;
    height: 134px;
    margin-top: -5rem;
  }

  .contenter-wrap-nav li {
    border-right: none;
    box-sizing: border-box;
    line-height: 54px;
    text-align: left;
    border-bottom: 1px solid #f8e8e3;
  }

  .contenter-wrap-nav li a {
    font-size: 16px;
  }

  /* 导航头 */
  .nav-btn {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 3px;
    background: #eab4a2;
    position: fixed;
    left: 10px;
    top: 10px;
    z-index: 999;
    overflow: hidden;
  }

  .nav-btn-icon {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    padding-bottom: 5px;
  }

  .nav-btn-icon>span {
    display: block;
    width: 24px;
    height: 3px;
    background: #fff;
    margin-top: 5px;
  }

  .top-home-tips {
    width: 100%;
    height: 17.1rem;
    display: flex;
    background: red;
  }

  .valuable-book-home {
    width: 100%;
    height: 100%;
  }

  .contenter-wrap-content {
    margin-top: 0;
  }

  /* 盒子内容第二个图片 */
  .secondPicture {
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 578px;
    border-left: 2px solid #edefda;
    border-right: 2px solid #edefda;
  }

  .secondPicture-left {
    width: 300px;
  }

  .find-margin-dating {
    height: 30px;
    font-size: 22px;
    color: #333;
    margin-left: 2.25rem;
    margin-top: 20px;
  }

  .toGetTrees {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .addButton {
    width: 120px;
    height: 60px;
    font-size: 18px;
    margin-left: 2.25rem;
  }

  /* 联系我们 */
  .thirdPicture {
    padding: 35px 0 65px;
    height: 750px;
    box-sizing: border-box;
    border-left: 2px solid #edefda;
    border-right: 2px solid #edefda;
  }

  .contactUs {
    font-size: 25px;
    color: #333;
  }

  .describe {
    font-size: 15px;
  }

  .email,
  .mobile,
  .weChat {
    width: 80%;
    height: 200px;
  }

  .emailPicture,
  .mobilePicture,
  .weChatPicture {
    width: 110px;
    height: 110px;
    margin-left: 32%;
  }

  .emailPicture {
    margin-top: 7%;
    margin-bottom: 3%;
  }

  .mobilePicture {
    margin-top: 9%;
    margin-bottom: 4%;
  }

  .weChatPicture {
    margin-top: 5%;
    margin-bottom: 4%;
  }

  .emailWord-top,
  .weChatWord {
    font-size: 16px;
    color: #333;
  }

  .mobilWord-top,
  .mobileWord {
    font-size: 16px;
    color: #333;
  }

  /* 寻缘树二维码以及电话地址 */
  .thirdPicture-bot {
    display: flex;
    flex-direction: column;
    width: 40.64rem;
  }

  .fourthPicture {
    width: 95%;
    height: 490px;
    padding: 7% 3% 0px;
  }

  .fourthPicture-content {
    width: 100%;
  }

  .fourthPicture-content-top {
    width: 100%;
    font-size: 14px;
    height: 300px;
    display: flex;
    flex-direction: column;
  }

  .left,
  .right {
    width: 100%;
  }

  .left-qrCode {
    width: 131px;
    height: 131px;
    margin-top: 4%;
  }

  .left {
    margin-bottom: 6%;
  }

  .right-tel {
    margin-left: 20px;
  }

  .right-address {
    width: 160px;
    margin-right: 0;
  }

  .fourthPicture-content-bot {
    margin-top: 40px;
    font-size: 14px;
  }
}

/* 宽度到达1000的时候, 根元素字体大小变为14px */
@media screen and (max-width: 1000px) {
  html {
    font-size: 14px;
  }
}

/* 宽度到达800的时候, 根元素字体大小变为12px */
@media screen and (max-width: 800px) {
  html {
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  html {
    font-size: 10px;
  }

  .secondPicture {
    height: 567px;
  }
}

/* 统一深色页脚（由 public.js 注入） */
.service_footer {
  width: 100%;
  flex-shrink: 0;
  background: #2D2D2D;
  padding: 31px 0 40px 0;
  box-sizing: border-box;
  text-align: center;
}

.service_footer_links {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service_footer_links a {
  margin: 0 20px;
  font-weight: 600;
  font-size: 18px;
  color: #FFFFFF;
  text-decoration: underline;
  cursor: pointer;
}

.service_footer_company {
  margin-top: 16px;
  font-weight: 600;
  font-size: 16px;
  color: #FFFFFF;
}

.service_footer_icp {
  margin-top: 12px;
}

.service_footer_icp a {
  font-size: 15px;
  color: #BFBFBF;
  text-decoration: underline;
}