.qianhe-faq {
  position: relative;
}
.qianhe-padding {
  padding: 100px 0;
}

.cd-faq-categories a {
  position: relative;
  display: block;
  padding: 25px 18px;
  font-size: 22px;
  font-family: var(--font-family);
  color: #fff;
  letter-spacing: 2px;
  text-shadow: -1px -1px 0 #9c9c9c, 1px -1px 0 #9c9c9c, -1px 1px 0 #9c9c9c,
    1px 1px 0 #9c9c9c;
  border-bottom: 1px solid #ddd;
}

.cd-faq {
  width: 90%;
  max-width: 1024px;
  margin: 2em auto;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}
.cd-faq:after {
  content: "";
  display: table;
  clear: both;
}
.cd-faq-group .faq-list {
  width: 100%;
  padding: 20px;
  margin-top: 12px;
  border: 1px solid #dfe3e6;
}

.cd-faq-group .faq-txt p {
  width: 90%;
}

.cd-faq-group .faq-txt {
  border-bottom: none;
}

.cd-faq-items h3 {
  position: relative;
  padding-right: 10%;
  cursor: pointer;
}
.cd-faq-items h3 span {
  width: 90%;
  font-size: 17px;
  color: #303030;
  letter-spacing: 0;
}

.faq-txt {
  display: none;
  border-bottom: 1px solid #dfdfdf;
  overflow: hidden;
}
.faq-txt p {
  margin-top: 0;
  font-size: 16px;
  color: #666;
}

.cd-faq-items h3.on {
  border: none;
}
.cd-faq-items h3 i {
  position: absolute;
  top: 0;
  right: 0;
  font-weight: bolder;
  cursor: pointer;
}
.cd-faq-items h3 i::before {
  content: "\e727";
  font-family: "qico" !important;
  font-size: 20px;
}

.cd-faq-items h3.on i::before {
  content: "\e729";
}

.cd-faq-items h3.on {
  padding-bottom: 10px;
}

.cd-faq-categories {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  z-index: 2;
  float: left;
}

.cd-faq-categories.is-fixed {
  position: fixed;
}

.cd-faq-categories a {
  position: relative;
  display: block;
  font-family: var(--font-family);
  border-bottom: 1px solid #ddd;
  overflow: hidden;
  line-height: 50px;
  font-size: 20px;
  padding: 0 20px 0 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #ffffff;
  white-space: nowrap;
  text-overflow: ellipsis;
  letter-spacing: 2px;
  text-shadow: -1px -1px 0 #9c9c9c, 1px -1px 0 #9c9c9c, -1px 1px 0 #9c9c9c,
    1px 1px 0 #9c9c9c;
}

.cd-faq-categories .selected,
.cd-faq-categories a:hover {
  color: var(--color-primary);
  text-shadow: 0 0 0 var(--color-primary);
}

.cd-faq-items {
  position: fixed;
  height: 100%;
  width: 90%;
  top: 0;
  right: 0;
  background: #ffffff;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
  position: static;
  height: auto;
  width: 78%;
  float: right;
  overflow: visible;
  -webkit-transform: translateZ(0) translateX(0);
  -moz-transform: translateZ(0) translateX(0);
  -ms-transform: translateZ(0) translateX(0);
  -o-transform: translateZ(0) translateX(0);
  transform: translateZ(0) translateX(0);
  padding: 0;
  float: none;
  width: 100%;
  padding-left: 320px;
}

@media (max-width: 991px) {
  .cd-faq-categories {
    position: relative;
    width: 100%;
    float: none;
  }

  .cd-faq-items {
    padding-left: 0;
  }
}
