.questions-bg {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-image: url("/images/ask_experts_meta.jpg");
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  min-height: 220px;
  padding-top: 25%;
}

.questions-bg > div {
  position: absolute;
  left: 0;
  top: 50%;
  display: inline-block;
  padding: 20px;
  font-size: 20px;
  background-color: #fff;
}

[dir="rtl"] .questions-bg > div {
  right: 0;
  left: unset;
}

.question-form {
  margin-bottom: 20px;
}

.questions-page form {
  text-align: center;
  width: 700px;
  max-width: 100%;
  margin: auto;
}

.questions-page form .title {
  color: var(--links-color, #7bb9ce);
  margin: 10px 0;
}

.questions-page form .inputs {
  display: flex;
}

.questions-page form input {
  width: calc(100% - 145px);
  height: 50px;
  border: 1px solid #000;
  padding: 0px 10px;
  text-align: center;
  color: #000;
  font-size: 18px;
  outline: none;
  font-family: var(--normal-font, Almarai);
  line-height: 50px;
}

.questions-page form button {
  margin-left: 10px;
  width: 130px;
  background: #000;
  border: 1px solid #000;
  color: #fff;
  font-family: var(--normal-font, Almarai);
  height: 50px;
}

[dir="rtl"] .questions-page form button {
  margin-right: 10px;
  margin-left: unset;
}

.questions-page #mostQuestionsContainer .question {
  border: 1px solid var(--yellow-color, #edd763);
}

.questions-page .categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.questions-page .categories a {
  display: inline-block;
  position: relative;
  width: calc(33.33% - 15px);
  margin: 10px 0px;
}

.questions-page .categories a img {
  width: 100%;
}

.questions-page .categories a:after {
  bottom: 5px;
  left: 0;
  position: absolute;
  content: '';
  width: 100%;
  height: 50%;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.4);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.2) 26%, rgba(0, 0, 0, 0.3) 46%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.55) 67%, rgba(0, 0, 0, 0.7) 80%, rgba(0, 0, 0, 0.75) 100%);
}

.questions-page .categories a span {
  position: absolute;
  z-index: 2;
  bottom: 0px;
  display: inline-block;
  width: 80%;
  background-color: #fff;
  padding: 10px;
  margin: 0;
  text-align: center;
  border-bottom: 8px solid var(--yellow-color, #edd763);
  left: 0px;
}

[dir="rtl"] .questions-page .categories a span {
  right: 0px;
  left: unset;
}

.questions-page .categories a:nth-child(n+4) span {
  border-bottom: 8px solid var(--links-color, #7bb9ce);
}

.questions-page .categories a:nth-child(n+7) span {
  border-bottom: 8px solid var(--green-color, #aed696);
}

@media (max-width: 768px) {
  .questions-page .categories a {
    width: 100%;
  }

  .questions-page .categories a span {
    width: 100%;
  }
}

.questions-page .question-body,
.questions-page .answer-body {
  border: 1px solid var(--links-color, #7bb9ce);
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.questions-page .question-body .date,
.questions-page .answer-body .date {
  font-size: 19px;
  margin: 10px 0 20px;
  font-family: var(--bold-font, AlmaraiBold);
}

.questions-page .question-body .body,
.questions-page .answer-body .body {
  font-size: 16px;
  line-height: 26px;
}

.questions-page .question-body > a,
.questions-page .answer-body > a {
  color: var(--links-color, #7bb9ce);
  font-size: 19px;
  margin-bottom: 10px;
  display: inline-block;
}

.questions-page .answer-body {
  padding: 10px 15px 25px;
  background: #ededed;
  border: 1px solid #ededed;
}

.questions-page .top-buttons {
  text-align: end;
  margin-bottom: 10px;
}

.questions-page .top-buttons a {
  padding: 10px;
  display: inline-block;
}

.questions-page .top-buttons a:first-child {
  background: var(--yellow-color, #edd763);
  margin-right: 10px;
}

[dir="rtl"] .questions-page .top-buttons a:first-child {
  margin-left: 10px;
  margin-right: unset;
}

.questions-page .top-buttons a:last-child {
  background: var(--links-color, #7bb9ce);
}

.questions-page .add-answer .add-button {
  text-align: end;
  margin-bottom: 15px;
}

.questions-page .add-answer .add-button button {
  position: relative;
  font-family: var(--normal-font, Almarai);
}

.questions-page .add-answer .add-button button:before {
  width: 8px;
  height: 8px;
  background: var(--yellow-color, #edd763);
  position: absolute;
  content: '';
  top: 30%;
  left: -15px;
}

[dir="rtl"] .questions-page .add-answer .add-button button:before {
  right: -15px;
  left: unset;
}

.questions-page .add-answer label {
  width: 100%;
  display: block;
  text-align: start;
  margin: 5px 0px;
  font-family: var(--normal-font, Almarai);
}

.questions-page .add-answer label input,
.questions-page .add-answer label textarea,
.questions-page .add-answer label select {
  height: 50px;
  border: 1px solid var(--links-color, #7bb9ce);
  width: 100%;
  outline: none;
  background-color: #fff;
  font-family: var(--normal-font, Almarai);
  min-width: 100%;
  max-width: 100%;
}

.questions-page .add-answer label textarea {
  min-height: 200px;
}

.questions-page .add-answer .submit {
  margin-bottom: 20px;
}

.questions-page .add-answer .submit button {
  width: 150px;
  margin: 0;
  background: var(--links-color, #7bb9ce);
}

.questions-page .related-questions {
  margin-bottom: 30px;
}

.questions-page .related-questions .question {
  font-size: 17px;
  line-height: 28px;
  padding: 20px 5px;
  border-bottom: 1px solid #000;
}

.questions-page .questions-page h3 {
  display: inline-block;
  padding-bottom: 11px;
  border-bottom: 4px solid var(--yellow-color, #edd763);
  font-size: 20px;
  margin-bottom: 5px;
}

.questions-page .inner-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 25px;
}

.questions-page .inner-categories a {
  width: calc(33.33% - 20px);
  display: inline-block;
  padding: 15px;
  border: 1px solid #ccc;
  margin: 10px 0px;
  border-bottom: 8px solid var(--yellow-color, #edd763);
}

.questions-page .inner-categories a:nth-child(n+4) {
  border-bottom: 8px solid var(--links-color, #7bb9ce);
}

.questions-page .inner-categories a:nth-child(n+7) {
  border-bottom: 8px solid var(--green-color, #aed696);
}

.questions-page .inner-categories a.active {
  background-color: #ccc;
}

@media (max-width: 768px) {
  .questions-page .inner-categories a {
    width: calc(50% - 10px);
  }
}

.questions-page .add-question-form label span {
  display: inline-block;
  margin: 10px 0px;
  padding-left: 15px;
  font-family: var(--bold-font, AlmaraiBold);
  font-size: 16px;
  position: relative;
}

[dir="rtl"] .questions-page .add-question-form label span {
  padding-right: 15px;
  padding-left: unset;
}

.questions-page .add-question-form label span:before {
  position: absolute;
  top: 5px;
  left: 0px;
  content: '';
  width: 10px;
  height: 10px;
  background: #edd763;
}

[dir="rtl"] .questions-page .add-question-form label span:before {
  right: 0px;
  left: unset;
}

.questions-page .add-question-form .submit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.questions-page .add-question-form .submit button,
.questions-page .add-question-form .submit a {
  font-family: var(--bold-font, AlmaraiBold);
  border: none;
  color: #000;
  padding: 10px 15px;
  font-size: 16px;
  height: 50px;
  width: auto;
}

@media (max-width: 768px) {
  .questions-page .add-question-form .submit button,
  .questions-page .add-question-form .submit a {
    width: 100%;
    margin: 10px 0px;
  }
}

.questions-page .add-question-form .submit button {
  background-color: var(--yellow-color, #edd763);
  margin-right: 15px;
}

[dir="rtl"] .questions-page .add-question-form .submit button {
  margin-left: 15px;
  margin-right: unset;
}

@media (max-width: 768px) {
  .questions-page .add-question-form .submit button {
    margin-right: 0;
  }

  [dir="rtl"] .questions-page .add-question-form .submit button {
    margin-left: 0;
    margin-right: unset;
  }
}

.questions-page .add-question-form .submit a {
  background-color: var(--links-color, #7bb9ce);
  display: inline-block;
  margin-left: 15px;
}

[dir="rtl"] .questions-page .add-question-form .submit a {
  margin-right: 15px;
  margin-left: unset;
}

@media (max-width: 768px) {
  .questions-page .add-question-form .submit a {
    margin-left: 0;
  }

  [dir="rtl"] .questions-page .add-question-form .submit a {
    margin-right: 0;
    margin-left: unset;
  }
}

.questions-page .buttons {
  display: flex;
  padding: 15px 0px;
}

.questions-page .buttons button {
  width: 50%;
  padding: 15px 0px;
  background: #ccc;
  font-size: 20px;
  color: #000;
  font-family: var(--bold-font, AlmaraiBold);
}

.questions-page .buttons button.active {
  background-color: var(--links-color, #7bb9ce);
}

.questions-page .buttons button.active:last-child {
  background-color: var(--yellow-color, #edd763);
}

@media (max-width: 768px) {
  .questions-page .buttons button {
    font-size: 14px;
  }
}

.search-results {
  max-width: 100%;
  margin: auto;
}

.search-results h3 {
  color: var(--links-color, #7bb9ce);
  font-weight: normal;
  font-size: 20px;
}

.questions .question {
  margin-bottom: 20px;
  border: 1px solid var(--links-color, #7bb9ce);
  border-radius: 4px;
  padding: 15px;
}

.questions .question .category {
  font-weight: bold;
  display: inline-block;
  background: var(--yellow-color, #edd763);
  padding: 5px;
  margin-bottom: 10px;
}

.questions .question .text {
  line-height: 20px;
}

.questions .question .answers {
  margin-top: 15px;
  font-family: var(--bold-font, AlmaraiBold);
}

