﻿.questions-container {
  padding: 10px;
  width: 80%;
  margin: auto;
  border-radius: 16px;
  background-color: #f9f9f9;
  box-shadow: #ddd 0px 0px 10px;
}

.add-question .new-question-submit {
  width: 78px;
  height: 36px;
  position: absolute;
  transition: all 0s;
  border: none;
  transform: translate(-80px, 2px);
  border-radius: 0 10px 10px 0;
  border-left: 2px solid #a7a7a7;
}

.questions {
  text-align: left;
}

.question {
  margin-bottom: 15px;
}

.answer {
  margin-top: 5px;
}

.answered-at {
  margin-top: 5px;
}

.question span {
  display: block;
}

.new-question-input {
  width: 100% !important;
}

.new-question-label {
  width: 50%;
  display: block;
  margin: auto;
  margin-bottom: 10px;
}

.add-question {
  width: 100%;
  text-align: center;
  padding-top: 5px;
}

.add-question.not-first {
  border-top: solid #ccc 2px;
}

.question-alert {
  text-align: center;
}

.question-alert-content {
  color: #860000;
  font-weight: bold;
  font-size: 14px;
}

.new-question-needs-login {
  display: none;
}

.new-question-needs-login.active {
  display: block;
  font-size: 14px;
  color: #860000;
  font-weight: bold;
}

.all-reviews-background {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.6);
  display: none;
  padding: 0;
  margin: 0;
  top: 0;
  left: 0;
  z-index: 9999999999 !important;
}

.all-reviews-background.active {
  display: block;
}

.all-reviews-container {
  width: 90%;
  height: 90%;
  margin: 2.5% 5%;
  background-color: white;
  display: block;
  border-radius: 12px;
  padding: 10px;
}

.all-reviews {
  height: 100%;
  width: 100%;
  overflow: auto;
}

.review, .no-review {
  background-color: #f6f6f6;
  border-radius: 10px;
  border: solid 2px #ccc;
  padding: 5px;
  margin-bottom: 5px;
}

.no-review {
  text-align: center;
}

.reviews-header-title {
  text-align: center;
  margin-bottom: 10px;
}

.reviews-header-title-span {
  font-size: 16px;
  font-weight: bold;
}

.review-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.review-content-container {
  margin-bottom: 10px;
}

.review-content-container > span {
  display: inline-block;
}

.review-recommends {
  margin-top: 10px;
  display: inline-block;
}

.review-recommends svg {
  color: #db0000;
}

.review-rating {
  width: 70px;
  height: 11px;
  background-image: url('/Themes/Prisma/Content/img/rating_gray.svg');
  background-repeat: repeat-x;
  background-color: #dfdfdf;
  display: inline-block;
  margin: 0 5px;
}

.review-rating div {
  height: 11px;
  background-image: url('/Themes/Prisma/Content/img/rating_gray.svg');
  background-repeat: repeat-x;
  background-color: #ff8125;
}

.close-reviews {
  top: -100%;
  width: 20px;
  height: 20px;
  position: relative;
  float: right;
  right: 0;
  font-weight: bold;
  background: none;
  margin: 0;
  padding: 0;
}

.close-reviews::after {
  content: "\E901";
  font-family: prisma;
  color: #4d4d4d;
}

.review-rate {
  bottom: -3px;
  position: relative;
  cursor: pointer;
}

.review-rate-up {
  color: green;
}

.review-rate-down {
  color: red;
}

.review-rate .filled, .review-rate-up .unfilled {
  display: none;
}

.review-rate .filled.active, .review-rate .unfilled.active {
  display: block;
}

.review-warning {
  display: inline-block;
  margin-left: 10px;
  color: #8e0808;
}

.order-review-container {
  padding: 0 30px 30px 30px;
}

.order-review-container > a.button-2 {
  padding: 10px 5px;
}

.review-rate.running {
  color: gray;
  cursor: default;
}
