body {
  background-color: #f9f9f9;
}
.main {
  width: 20rem;
  margin: 0.3rem auto;
}
.main-box {
  display: flex;
  margin-bottom: 0.325rem;
}
.main-box-left {
  flex: 1;
  background-color: #fff;
  border-radius: 0.1rem;
}
.main-box-left .tab {
  width: 100%;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
}
.main-box-left .tab-item {
  height: 0.625rem;
  line-height: 0.625rem;
  font-size: 0.225rem;
  color: #000000;
  margin-right: 0.5rem;
  cursor: pointer;
}
.main-box-left .tab-item:hover {
  color: #4A8CF7;
}
.main-box-left .tab-item.is-active {
  color: #4A8CF7;
  position: relative;
}
.main-box-left .tab-item.is-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4em;
  height: 0.025rem;
  background-color: #4A8CF7;
}
.main-box-right {
  width: 3.825rem;
  margin-left: 0.75rem;
}
.main .ptpx-content {
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
}
.main .ptpx-content-title {
  font-size: 0.35rem;
  color: #2F2F2F;
  font-weight: bold;
  text-align: center;
  padding-bottom: 0.4rem;
  border-bottom: 0.5px solid #E5E5E5;
}
.main .ptpx-content-main {
  padding-top: 0.3rem;
}
.main .ptpx-content-main-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.main .ptpx-content-main-top .left {
  display: flex;
  align-items: center;
}
.main .ptpx-content-main-top .left span {
  font-size: 0.2rem;
  color: #A7A7A7;
  margin-right: 0.5rem;
}
.main .ptpx-content-main-top .right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.main .ptpx-content-main-top .right .btn {
  height: 0.4rem;
  background-color: #E9F0FD;
  padding: 0 0.15rem;
  border-radius: 0.05rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 0.05rem;
  cursor: pointer;
}
.main .ptpx-content-main-top .right .btn img {
  width: 0.15rem;
  height: 0.15rem;
}
.main .ptpx-content-main-top .right .btn .text {
  font-size: 0.175rem;
  color: #3670EE;
  margin-left: 0.05rem;
}
.main .ptpx-content-main-top .right-box {
  display: flex;
  align-items: center;
}
.main .ptpx-content-main-top .right-box span {
  display: flex;
  align-items: center;
  font-size: 0.175rem;
  color: #7B8595;
  margin-left: 0.4rem;
  cursor: pointer;
}
.main .ptpx-content-main-top .right-box span img {
  width: 0.2rem;
  height: 0.2rem;
  margin-right: 0.05rem;
}
.main .ptpx-content-main-text {
  font-size: 0.2rem;
  color: #686868;
  line-height: 0.4rem;
  padding: 0.3rem 0.4rem;
  background-color: #F4FAFE;
  border-radius: 0.1rem;
  margin-top: 0.4rem;
}
.main .ptpx-content .reply {
  margin-top: 0.6rem;
}
.main .ptpx-content .reply-title {
  font-size: 0.225rem;
  color: #464646;
  font-weight: bold;
  margin-bottom: 0.15rem;
}
.main .ptpx-content .reply-textarea {
  width: 100%;
  background-color: #F8F8F8;
  border-radius: 0.1rem;
  border: 1px solid #E5E5E5;
  padding: 0.2rem;
}
.main .ptpx-content .reply-box {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.25rem;
}
.main .ptpx-content .reply-box .btn {
  font-size: 0.225rem;
  color: #fff;
  width: 1.25rem;
  height: 0.55rem;
  border-radius: 0.05rem;
  background-color: #4A8CF7;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
}
.main .ptpx-content .reply-box .btn:hover {
  background-color: #024D9B;
}
.main .ptpx-content .reply-box .btn:active {
  transform: scale(0.9);
}
.main .ptpx-content .comment {
  margin-top: 0.5rem;
  border-top: 0.5px solid #E5E5E5;
}
.main .ptpx-content .comment .item {
  padding: 0.3rem 0;
  border-bottom: 0.5px solid #E5E5E5;
}
.main .ptpx-content .comment .item .item-info {
  display: flex;
  align-items: center;
  margin-bottom: 0.1rem;
}
.main .ptpx-content .comment .item .item-info .left {
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
}
.main .ptpx-content .comment .item .item-info .left .head {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  margin-right: 0.2rem;
}
.main .ptpx-content .comment .item .item-info .left .head .name {
  font-size: 0.25rem;
  color: #333;
  font-weight: bold;
}
.main .ptpx-content .comment .item .item-info .time {
  font-size: 0.2rem;
  color: #A7A7A7;
}
.main .ptpx-content .comment .item .item-text {
  font-size: 0.175rem;
  color: #575757;
  line-height: 0.375rem;
  padding-left: 0.8rem;
}
.main .find-question {
  width: 100%;
  height: 1.575rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.4rem;
  color: #fff;
  background-color: #3B7EF1;
  margin-bottom: 0.225rem;
  border-radius: 0.1rem;
  cursor: pointer;
  transition: all 0.3s;
}
.main .find-question:hover {
  background-color: #024D9B;
}
.main .find-question:active {
  transform: scale(0.9);
}
.main .find-question img {
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.1rem;
}
.main .news .content {
  padding: 0 0.15rem;
}
.main .news .content .top {
  width: 100%;
  height: 2.4rem;
  margin: 0.15rem 0;
}
.main .news .content .top .swiper-wrapper {
  width: 100%;
  height: 100%;
}
.main .news .content .top .swiper-wrapper .img {
  width: 100%;
  height: 100%;
}
.main .news .content .top .swiper-button-next,
.main .news .content .top .swiper-button-prev {
  color: #fff;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background-color: rgba(204, 204, 204, 0.4);
}
.main .news .content .top .swiper-button-next::after,
.main .news .content .top .swiper-button-prev::after {
  font-size: 0.25rem;
}
.main .news .content .item {
  margin-bottom: 0.225rem;
  cursor: pointer;
  color: #4C4C4C;
  font-size: 0.175rem;
}
.main .news .content .item:hover {
  color: #2847C6 !important;
}
.main .news .content .item .text {
  margin-bottom: 0.05rem;
}
.footer .count {
  background-color: #fff;
}
.mask {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: none;
}
.mask .container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mask .container .form {
  width: 8rem;
  background-color: #fff;
  padding: 0.3rem;
  position: relative;
}
.mask .container .form-title {
  font-size: 0.35rem;
  color: #6D6D6D;
  font-weight: bold;
  text-align: center;
}
.mask .container .form-close {
  width: 0.3rem;
  height: 0.35rem;
  position: absolute;
  right: -0.5rem;
  top: 0;
  cursor: pointer;
}
.mask .container .form .item {
  width: 100%;
  border: 1px solid #E5E5E5;
  padding: 0.1rem 0.15rem;
  margin-top: 0.25rem;
}
.mask .container .form .item input,
.mask .container .form .item textarea {
  width: 100%;
  font-size: 0.175rem;
  color: #333;
}
.mask .container .form .item select {
  width: 100%;
  border: none;
  font-size: 0.175rem;
  color: #333;
}
.mask .container .form .tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.3rem;
  column-gap: 0.2rem;
  row-gap: 0.1rem;
}
.mask .container .form .tags .tag {
  height: 0.45rem;
  padding: 0 0.2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  font-size: 0.175rem;
  color: #5F5F5F;
  background-color: #F8F8FA;
  cursor: pointer;
  transition: all 0.3s;
}
.mask .container .form .tags .tag:hover {
  background-color: #3B7EF1;
  color: #fff;
}
.mask .container .form .tags .tag:active {
  transform: scale(0.9);
}
.mask .container .form .tags .tag.is-active {
  background-color: #3B7EF1;
  color: #fff;
}
.mask .container .form .tags .tag img {
  width: 0.2rem;
  height: 0.2rem;
  margin-right: 0.05rem;
}
.mask .container .form .submit {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 0.25rem;
}
.mask .container .form .submit .btn {
  width: 1.5rem;
  height: 0.4rem;
  font-size: 0.2rem;
  color: #fff;
  background-color: #3B7EF1;
  border-radius: 0.05rem;
  cursor: pointer;
  transition: all 0.3s;
}
.mask .container .form .submit .btn:hover {
  background-color: #024D9B;
}
.mask .container .form .submit .btn:active {
  transform: scale(0.9);
}
@media screen and (max-width: 768px) {
  .main {
    width: 100%;
    margin: 0;
  }
  .main-box {
    flex-direction: column;
    margin-bottom: 0;
  }
  .main-box-left {
    width: 100%;
    border-radius: 0;
  }
  .main-box-left .tab {
    width: 100%;
    padding: 0 0.1rem;
    margin-bottom: 0.15rem;
  }
  .main-box-left .tab-item {
    flex: 1;
    font-size: 0.2rem;
    margin-right: 0;
    text-align: center;
  }
  .main-box-left .ptpx-content {
    padding: 0 0.2rem;
  }
  .main-box-left .ptpx-content-title {
    padding: 0.2rem 0;
  }
  .main-box-left .ptpx-content-main {
    display: flex;
    flex-direction: column-reverse;
  }
  .main-box-left .ptpx-content-main-text {
    margin-top: 0;
  }
  .main-box-left .ptpx-content-main-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-box-left .ptpx-content-main-top .left {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-box-left .ptpx-content-main-top .left span {
    margin-top: 0.15rem;
    margin-right: 0;
  }
  .main-box-left .ptpx-content-main-top .right {
    margin-top: 0.15rem;
  }
  .main-box-left .ptpx-content-main-top .right-box {
    width: 100%;
    margin-top: 0.15rem;
  }
  .main-box-left .ptpx-content-main-top .right-box span {
    margin-left: 0;
    margin-right: 0.25rem;
  }
  .main-box-left .ptpx-content .comment .item-info {
    justify-content: space-between;
  }
  .main-box-left .ptpx-content .comment .item-text {
    padding-left: 0 !important;
  }
  .main-box-right {
    width: 100%;
    margin: 0;
    padding: 0 0.2rem;
    background-color: #fff;
  }
  .main-box-right .find-question {
    height: 1rem;
    font-size: 0.25rem;
  }
  .main-box-right .find-question img {
    width: 0.4rem;
    height: 0.4rem;
  }
  .main-box-right .news .content {
    padding: 0;
  }
  .mask .container .form {
    width: 90%;
  }
  .mask .container .form-close {
    right: 0;
    top: -0.5rem;
  }
}
