faq.css 1.67 KB
.section-question {
  padding-top: 74px;
  padding-bottom: 64px;
}

.faq__items {
  margin-top: 39px;
}
.faq__item {
  cursor: pointer;
  margin-top: 6px;
  background: #f6f6f6;
  border-radius: 4px;
  padding: 21px 67px 21px 25px;
  position: relative;
}
.faq__item_close {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  right: 12px;
  top: 12px;
  cursor: pointer;
  transition: 0.2s;
}
.faq__item_close:before, .faq__item_close:after {
  content: "";
  position: absolute;
  background: #8e8f90;
  top: 50%;
  left: 50%;
}
.faq__item_close:before {
  width: 24px;
  height: 2px;
  margin-left: -12px;
  margin-top: -1px;
}
.faq__item_close:after {
  width: 2px;
  height: 24px;
  margin-left: -1px;
  margin-top: -12px;
}
.faq__item_title {
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
}
.faq__item_text {
  font-size: 15px;
  line-height: 23px;
  height: 0;
  overflow: hidden;
}
.faq__item_text p {
  margin-top: 10px;
}
.faq__item_text p:last-child {
  margin-bottom: 4px;
}
.faq__item.active {
  cursor: default;
}
.faq__item.active .faq__item_close {
  background: #ffffff;
  transform: rotate(45deg);
}
.faq__item.active .faq__item_text {
  height: auto;
}

@media (max-width: 991px) {
  .section-question {
    padding-top: 29px;
    padding-bottom: 32px;
  }

  .faq__items {
    margin-top: 26px;
  }
}
@media (max-width: 767px) {
  .faq__items {
    margin-top: 12px;
  }
  .faq__item {
    padding: 21px 47px 20px 15px;
  }
  .faq__item_title {
    font-size: 15px;
    line-height: 19px;
  }
  .faq__item_close {
    right: 10px;
  }

  .section-question {
    padding-top: 29px;
    padding-bottom: 32px;
  }
}

/*# sourceMappingURL=faq.css.map */