.heading-tab {
  display: flex !important;
  margin-bottom: 20px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0.7em 0.6em;
}

.ext-pfaq-faq-questions {
  width: -webkit-fill-available;
}

#faq-button {
  margin: 30px 4px !important;
  padding: 0.6rem 1.5rem;
}

body .ext-pfaq-buttons-style {
  padding: 0.6rem 1.5rem !important;
  min-width: max-content;
  border: none;
  cursor: pointer;
}

.ext-pfaq-input-styles {
  padding: 0.7rem 0.8rem !important;
  width: -webkit-fill-available !important;
}

.question-form {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
}
.question-form-container {
  width: -webkit-fill-available;
  display: none;
}

.question-form input,
.question-form textarea,
.question-form p,
.question-form button {
  margin-bottom: 20px;
}

.question-form button {
  width: fit-content;
}

.ext-pfaq-question-list ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.ext-pfaq-question-listul li {
  margin-bottom: 20px;
  width: 100%;
}

.ext-pfaq-answers {
  display: none;
}

/* Pagination */
.pagination a,
.pagination span {
  padding: 8px 12px;
  margin: 4px;
  border: 1px solid #ddd;
  text-decoration: none;
  display: inline-block;
}

.pagination a:hover {
  background-color: #f1f1f1;
}

.pagination .current {
  font-weight: bold;
}

.pagination {
  border: none !important;
  text-align: start !important;
}

/* End Pagination */

/* Sort By */
.ext-pfaq-sort-by {
  display: flex;
  width: 100%;
  padding: 15px;
  box-sizing: border-box;
  background: #f6f6f6;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  color: #5a5a5a;
  line-height: 24px;
}

.ext-pfaq-sort-by select {
  width: 100%;
  height: auto;
  margin-left: 10px;
  padding: 5px;
  color: #7e7e7e !important;
  border: #ccc 1px solid;
}
.ext-pfaq-sort-by label {
  min-width: max-content;
}
/* End Sort By */

/* Question List */
.ext-pfaq-question-plus-symbol::before {
  content: '';
  display: inline-block;
  width: 16px !important;
  height: 16px !important;
  background-image: url(../images/plus-svg.svg);
  background-size: contain;
  background-repeat: no-repeat;
  border: 0.5px solid black;
  margin-right: 0.9em;
}

.ext-pfaq-question-plus-symbol{
  display: flex;
  justify-content: start;
  align-items: center;
}
.ext-pfaq-question-minus-symbol::before {
  content: '';
  display: inline-block;
  width: 16px !important;
  height: 16px !important;
  background-image: url(../images/minus-svg.svg);
  background-size: contain;
  background-repeat: no-repeat;
  border: 0.5px solid black;
  margin-right: 0.9em;
}
.ext-pfaq-question-minus-symbol {
  display: flex;
  justify-content: start;
  align-items: center;
}
.ext-pfaq-question-list p {
  margin: 0px;
  clear: both;
  font-size: 14px;
  font-weight: 400;
  color: #5a5a5a;
  padding: 10px 0;
  line-height: 26px;
}

.ext-pfaq-question-list {
  padding: 10px 20px;
}

.pagination-container li.ext-faq-list-quesions {
  cursor: pointer;
  clear: both;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 24px;
  border-bottom: #f6f6f6 1px solid;
}
.ext-pfaq-question-content .ext-pfaq-question {
  padding: 15px 10px;
}

/* End Question List */

/* Answer */
.ext-pfaq-answers-by {
  background: #f6f6f6;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 400;
  color: #818181;
  line-height: 22px;
  margin: 10px 0;
}

li .ext-pfaq-answers p {
  margin: 0px;
  clear: both;
  font-size: 14px;
  font-weight: 400;
  color: #5a5a5a;
  padding: 10px 0;
  line-height: 26px;
}

.ext-pfaq-answers {
  padding: 0px 35px;
}
.ext-pfaq-like-button {
  display: flex;
  align-items: baseline;
  cursor: pointer;
}
.ext-pfaq-like-button span {
  margin-left: 5px;
}
.ext-pfaq-dislike-button {
  display: flex;
  align-items: baseline;
  cursor: pointer;
}
.ext-pfaq-dislike-button span {
  margin-left: 5px;
}
.ext-pfaq-likes-dislikes-buttons {
  display: flex;
  gap: 15px;
  margin: 5px 10px;
}
/* End Answer */

/* Comments */
.comments-threads {
  margin: 30px 0px;
  border: #eee 1px solid;
  border-left: #eee 2px solid;
  padding: 20px;
  box-sizing: border-box;
}
/* End Comments */

/* Comment Form */
.ext-pfaq-question-content textarea {
  border-radius: 3px;
  margin-bottom: 12px;
  background: #f6f6f6;
  width: 100%;
}
.ext-pfaq-question-content button {
  margin-bottom: 1.618em;
}
/* End Comment Form */

/* Google reCAPTCHA */
.question-form .g-recaptcha {
  margin-bottom: 20px;
}

#ext-pfaq-captcha-error {
  display: none;
  color: red;
  font-size: 14px;
}
/* End Google reCAPTCHA */

/* Message Container */
.message-container {
  width: 100%;
  margin: 0.7em 0em;
  text-align: center;
  background: #dff0d8;
  border: 1px solid #d6e9c6;
  color: #3c763d;
}
/* End Message Container */

/* User Answers */
.user-answers-container {
  margin-top: 12%;
}
/* End User Answers */

/* User Answer Form */
#current-username {
  padding: 9px 0px;
}
/* End User Answer Form */

/* Data Table */
#user-questions-table_filter {
  margin-bottom: 20px;
}
#user-answers-table_filter {
  margin-bottom: 20px;
}
#user-questions-table_info {
  color: #915597;
}
#user-answers-table_info {
  color: #915597;
}
table#user-questions-table,
table#user-answers-table {
  font-size: 13px;
}
.publish::after {
  content: "\2713";
  color: green;
  font-size: 25px;
}
.pending::after {
  content: "\2715";
  color: red;
  font-size: 25px;
}
#user-answers-table td:nth-child(4),
#user-answers-table th:nth-child(4),
#user-questions-table td:nth-child(n+4),
#user-questions-table th:nth-child(n+4) {
  text-align: center;
  vertical-align: middle;
}
/* End Data Table */

/* User Comments Modal*/
#ext-pfaq-myModal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
  background-color: #fefefe;
  width: 40% !important;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.custom-modal-inner {
  padding: 40px 80px;
}
#ext-pfaq-myModal .modal-content .custom-modal-inner .comment-body .reply{
  display: none !important;
}
#ext-pfaq-myModal .modal-content .custom-modal-inner li {
  list-style: none;
}
#ext-pfaq-myModal .modal-content .custom-modal-inner .comment-body .comment-metadata a{
  pointer-events: none;
  text-decoration: none;
}
#ext-pfaq-myModal .modal-content .custom-modal-inner .comment-body .comment-metadata .edit-link{
  display: none;
}
/* End User Comments Modal*/
