body {
  --wp--style--global--content-size: auto;
}
.bc-ask-question-container input[type="text"],
.bc-ask-question-container input[type="email"],
.bc-ask-question-container input[type="url"],
.bc-ask-question-container input[type="password"],
.bc-ask-question-container input[type="search"],
.bc-ask-question-container input[type="number"],
.bc-ask-question-container input[type="tel"],
.bc-ask-question-container input[type="range"],
.bc-ask-question-container input[type="date"],
.bc-ask-question-container input[type="month"],
.bc-ask-question-container input[type="week"],
.bc-ask-question-container input[type="time"],
.bc-ask-question-container input[type="datetime"],
.bc-ask-question-container input[type="datetime-local"],
.bc-ask-question-container input[type="color"],
.bc-ask-question-container textarea,
.question-list textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
  font-size: 1rem;
  line-height: 1.5;
  width: 100%;
}
*,
::after,
::before {
  box-sizing: border-box;
}
.bc-ask-question-container select {
  border: 1px solid #ccc;
  font-size: 1rem;
  line-height: 1.5;
  min-width: 150px;
}
.bc-ask-question-container {
  padding: 20px 0 0;
}

.question-answer .comment-box textarea {
  padding: 5px 10px;
}

/* Style for the modal */
#question_modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Style for the modal content */
#question_modal_content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* Style for the close button */
.close {
  color: #aaa;
  float: right;
  position: relative;
  bottom: 7px;
  font-size: 28px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* CSS for Question Form */
.question-form {
  margin-top: 20px;
}

.form-group {
  margin-bottom: 15px;
}
.form-group label {
  font-weight: 500;
  padding-right: 15px;
}
#question_submission_form .form-group:last-child {
  text-align: center;
}
.form-group input[type="submit"] {
  width: 30%;
}
/* question-archive-styles */
.question-list {
  display: flex;
  flex-direction: column;
}

.single-question {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.question-avatar {
  margin-right: 15px;
  display: flex;
  position: relative;
  top: -2px;
}
.answers .question-avatar {
  top: 0;
  margin-left: 5px;
}

.question-avatar img {
  border-radius: 50%;
}

.question-content {
  flex-grow: 1;
  width: 80%;
}
.question-content .question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.description .sub-comment-content {
  font-weight: normal;
}
.question-content span:nth-child(2),
.answer-content .description span:nth-child(2) {
  margin-left: 3px;
  cursor: pointer;
  color: #feb104;
  font-size: 14px;
  text-decoration: underline;
}
.comment-toggle span:nth-child(2) {
  cursor: pointer;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  margin-left: 0px;
  color: black;
  text-decoration: none;
}

p {
  margin: 0 !important;
}

.comment-box {
  display: none;
  margin-top: 10px;
  margin-bottom: 10px;
}

.answer {
  padding: 10px;
  border-radius: 10px;
  background-color: #f0eded;
}
.comment-form button,
.reply-form button {
  padding: 0.4em 1em 0.4em;
  margin-top: 5px;
  line-height: inherit;
}
.author-details {
  padding-top: 10px;
  text-align: end;
}
.auth-details {
  width: 300px;
  text-align: right;
  display: inline;
}
.author-details p {
  font-size: 12px;
}
.answers.logged {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.answer-content {
  display: flex;
}
.dashicons {
  margin-left: 10px;
  padding-top: 3px;
  width: 16px;
  height: 16px;
  font-size: 16px;
}
.more-btn {
  display: flex;
  justify-content: end;
  margin-bottom: 2px;
}
ul.answer-list {
  margin: 0;
  padding-bottom: 10px;
  list-style-type: none;
}
.main-question > ul:nth-of-type(1) {
  margin-top: 15px;
}

.question-answer-loadmore {
  margin-bottom: 15px;
  /* padding: 0 20px; */
}
.author-datetime-details {
  display: flex;
  justify-content: space-between;
  margin: 10px 10px 10px 30px;
}
.comments,
.likes,
.answers-likes {
  display: flex;
}
.author-datetime-details p {
  padding-top: 2px;
  padding-left: 5px;
  font-size: 12px;
}
.reply-answers {
  /* transform: translateX(-50%) scaleY(.5); */
  /* visibility: hidden;
	opacity: 0; */
  height: 0;
  display: none;
  transition: all 0.3s ease;
}

.reply-answers.show {
  /* visibility: visible;
	opacity: 1; */
  height: 100%;
  display: block;
  padding-top: 10px;
  transition: all 0.3s ease;
}
.loader {
  display: none;
  text-align: center;
  padding: 10px;
  font-size: 16px;
}
.answers-button {
  cursor: pointer;
  color: #feb104;
  text-decoration: underline;
}
.max-lines {
  display: block; /* or inline-block */
  text-overflow: ellipsis;
  word-wrap: break-word;
  overflow: hidden;
  max-height: 3em;
  line-height: 1.5em;
}
.question-content h5 {
  margin: 0;
}
#question_modal_content h5 {
  /* font-size: 1.25rem; */
  margin: 0;
  margin-bottom: 10px;
}
.question-content p {
  font-weight: normal;
}
.count_answers {
  padding-left: 5px;
  cursor: pointer;
}
.question-answer {
  background-color: rgb(255 255 255);
  padding: 16px;
  border: 1px solid #f8f2f2;
  border-radius: 12px;
  box-shadow: 1px 3px #f8f2f2;
  position: relative;
}
.author-datetime-details img {
  width: auto;
  height: 20px;
  cursor: pointer;
}

.likes.active .like-img,
.likes .unlike-img {
  display: block;
}
.likes.active .unlike-img,
.likes .like-img {
  display: none;
}
.author-datetime-details.answers-author {
  justify-content: end;
  margin: 0;
}
.author-datetime-details .answers-likes img {
  width: auto;
  height: 20px;
}
.question-answer i {
  font-size: 18px;
}
.question-answer:hover {
  background-color: #f5f3f3;
}
/* .question-answer:hover .answer{
  background-color: #f5f3f3;
} */
.question-answer .answer:hover {
  background-color: #ffffff;
}
.main-question > div:only-child {
  margin-bottom: 0px;
}

.load-more-btn {
  background: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 18px;
  padding: 0.6em 1em 0.6em;
}
.single-question .comment-toggle {
  margin-right: 10px;
  display: flex;
}
.answers .comment-toggle {
  display: flex;
}
.question-answer-loadmore:nth-of-type(odd) .single-question .avatar-initials,
.reply-answers ul.answer-list:nth-of-type(odd) .avatar-initials {
  background-color: #ff5701;
}

.avatar-initials {
  width: 25px;
  height: 25px;
  background-color: #feb104;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 400;
  color: #0e0e0e;
  text-transform: capitalize;
}
.bc_forum_ask_question {
  margin-bottom: 20px;
  text-align: end;
}
#bc_forum_question_form {
  padding: 0.4em 1em 0.4em;
}

.spinner {
  /* Customize this according to your spinner design */
  display: none !important;
  width: 25px;
  height: 25px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: absolute;
  left: 50%;
  z-index: 99999;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.spin {
  display: none;
}

@media only screen and (max-width: 768px) {
  .author-datetime-details {
    display: block;
  }
}
.no-dotted-line {
  text-decoration: none !important;
  border-bottom: none;
  cursor: help;
}

.g-recaptcha {
  position: fixed;
  bottom: 30px;
  right: 50px;
  z-index: 9999999;
}

.level1class {
  padding-left: 10px;
}
.level2class {
  padding-left: 20px;
}
.level3class {
  padding-left: 30px;
}
.error-message {
  font-size: 12px;
  color: red;
  display: none;
}
.approval-pending {
  font-size: 11px;
  color: #feb104;
  border: 1px solid;
  padding: 2px 4px;
  border-radius: 5px;
  bottom: 2px;
  position: relative;
}
