@charset "UTF-8";
.review-stars-rated {
  display: flex;
  margin-bottom: 10px;
  position: relative;
}
.review-stars-rated .review-star {
  position: relative;
  line-height: 1;
  margin: 0 1px;
}
.review-stars-rated .review-star .lp-review-svg-star.fas {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
}
.review-stars-rated .review-star.empty, .review-stars-rated .review-star.filled {
  color: #f2b827;
  display: inline-block;
  position: relative;
}
.review-stars-rated .review-star.empty::before, .review-stars-rated .review-star.filled::before {
  line-height: 1;
  content: "☆";
  vertical-align: top;
  white-space: nowrap;
}
.review-stars-rated .review-star.empty:before {
  color: #DDD;
  content: "☆";
}
.review-stars-rated .review-star.filled {
  position: absolute;
  top: 0;
  left: 0;
}
.review-stars-rated.center {
  justify-content: center;
}

.lp-review-svg-star svg {
  width: 20px;
}
.lp-review-svg-star.far {
  position: relative;
}
.lp-review-svg-star.far svg {
  stroke: #ffb60a;
}
.lp-review-svg-star.fas svg {
  fill: #ffb60a;
  stroke: transparent;
}

.course-rate {
  display: flex;
  margin-bottom: 50px;
}
.course-rate__details {
  margin-left: 50px;
  flex: 1;
}
.course-rate__summary-value {
  font-size: 90px;
  text-align: center;
  color: #333;
  line-height: 1;
}
.course-rate__summary-stars .review-stars-rated {
  justify-content: center;
}
.course-rate__summary-text {
  text-align: center;
  color: #777;
}
.course-rate__details-row {
  display: flex;
  margin: 0 0 10px 0;
  align-items: center;
  gap: 10px;
}
.course-rate__details-row .course-rate__details-row-star {
  flex: 0 0 45px;
  text-align: right;
  color: #CCC;
}
.course-rate__details-row .course-rate__details-row-star i {
  display: inline-block;
  margin-left: 5px;
}
.course-rate__details-row .course-rate__details-row-value {
  flex: 1;
  position: relative;
  margin: 0 30px 0 10px;
}
.course-rate__details-row .course-rate__details-row-value .rating, .course-rate__details-row .course-rate__details-row-value .rating-gray {
  height: 15px;
  background: #ffb608;
  position: absolute;
  top: 50%;
  margin-top: -7px;
  border-radius: 3px;
}
.course-rate__details-row .course-rate__details-row-value .rating-gray {
  width: 100%;
  background: #EEE;
}
.course-rate__details-row .course-rate__details-row-value .rating-count {
  color: #333;
  display: inline-block;
  position: absolute;
  right: -50px;
  text-align: right;
  line-height: 1;
  margin: 5px 0;
}

.course-review-wrapper {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  text-align: center;
  background: rgba(0, 0, 0, 0.5215686275);
}
.course-review-wrapper.active {
  display: block;
}

.review-overlay {
  background: #000;
  bottom: 0;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  opacity: 0.6;
}

.review-form {
  background-color: rgb(255, 255, 255);
  padding: 20px;
  position: relative;
  width: 80%;
  max-width: 600px;
  margin-top: 10%;
  display: inline-block;
  text-align: left;
}
.review-form h4 {
  margin: 0 0 15px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.review-form h4 .close {
  border: none;
  text-decoration: none;
  width: auto;
  height: auto;
}
.review-form h4 .close::before {
  font-size: 32px;
}
.review-form .review-fields {
  margin: 0;
  padding: 0;
  list-style: none;
}
.review-form .review-fields input[type=text] {
  min-height: 50px;
  padding: 15px;
  width: 100%;
}
.review-form .review-fields textarea {
  min-height: 90px;
  padding: 15px;
  width: 100%;
}
.review-form .review-fields .review-stars {
  padding: 0;
}
.review-form .review-fields > li {
  margin: 0 0 20px 0;
}
.review-form .review-fields > li > label {
  display: block;
  margin: 0 0 7px;
}
.review-form .review-fields > li > label .required {
  margin-left: 5px;
}
.review-form .review-fields .review-actions {
  margin-bottom: 0;
}
.review-form .ajaxload,
.review-form .message {
  display: none;
}
.review-form button.submit-review.loading:before {
  margin-right: 10px;
}

.review-stars {
  margin: 0 0;
  list-style: none;
  overflow: hidden;
  display: flex;
}
.review-stars::after {
  clear: both;
  content: "";
  display: block;
}
.review-stars span::before {
  font-size: 25px;
  cursor: pointer;
}
.review-stars > li {
  height: auto;
  list-style: none;
}
.review-stars > li span {
  text-decoration: none;
  border-bottom: none;
  width: auto;
  height: auto;
  cursor: pointer;
}
.review-stars > li span.hover svg {
  fill: #f2b827;
  stroke: #f2b827;
}
.review-stars > li a:visited, .review-stars > li a:focus {
  border: none;
}

.course-review-wrapper.submitting .ajaxload, .course-review-wrapper.error .message {
  display: inline-block;
}
.course-review-wrapper.submitting .ajaxload {
  position: absolute;
  top: 48%;
  left: 48%;
}
.course-review-wrapper.submitting .review-form {
  position: relative;
}
.course-review-wrapper.submitting .review-form .form-overlay-review {
  background: #000;
  bottom: 0;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  opacity: 0.3;
}

.course-rate {
  overflow: hidden;
  margin: 10px 0;
  width: 100%;
}
.course-rate .review-bar {
  width: calc(100% - 125px);
  margin-right: 5px;
  height: 15px;
  background: #DDD;
  display: inline-block;
}
.course-rate .review-bar .rating {
  background: #95e6f9;
  height: 15px;
}
.course-rate .review-number {
  margin-bottom: 0;
}

.learnpress-course-review .course-reviews-list, .learnpress-course-review .course-reviews-list-shortcode {
  list-style: none;
  margin: 10px 0 0 0;
  padding: 0;
}
.learnpress-course-review .course-reviews-list li, .learnpress-course-review .course-reviews-list-shortcode li {
  margin-bottom: 20px;
  padding: 20px;
  background-color: #fafafa;
  border: 1px solid #ddd;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}
.learnpress-course-review .course-reviews-list li .review-author, .learnpress-course-review .course-reviews-list-shortcode li .review-author {
  width: 100px;
  margin-right: 20px;
}
.learnpress-course-review .course-reviews-list li .review-author img, .learnpress-course-review .course-reviews-list-shortcode li .review-author img {
  width: 100%;
  height: auto;
}
.learnpress-course-review .course-reviews-list li .review-content-right, .learnpress-course-review .course-reviews-list-shortcode li .review-content-right {
  flex: 1;
}
.learnpress-course-review .course-reviews-list li .user-name, .learnpress-course-review .course-reviews-list-shortcode li .user-name {
  margin: 0;
}
.learnpress-course-review .course-reviews-list li .review-info, .learnpress-course-review .course-reviews-list-shortcode li .review-info {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.learnpress-course-review .course-reviews-list li .review-stars-rated, .learnpress-course-review .course-reviews-list-shortcode li .review-stars-rated {
  margin-bottom: 0;
}
.learnpress-course-review .course-reviews-list li .author-rated, .learnpress-course-review .course-reviews-list-shortcode li .author-rated {
  flex: 1;
}
.learnpress-course-review .course-reviews-list li .course-review-title, .learnpress-course-review .course-reviews-list-shortcode li .course-review-title {
  margin: 0 0 8px 0;
}
@media (max-width: 480px) {
  .learnpress-course-review .course-reviews-list li, .learnpress-course-review .course-reviews-list-shortcode li {
    flex-direction: column;
    gap: 12px;
  }
}

.lp-field-star .lp-course-filter__field div.lp-filter-item-star {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lp-field-star .lp-course-filter__field div.lp-filter-item-star .review-stars-rated {
  margin: 0;
}