/*------------------- Reviews Overall Rating ---------------*/
.cwp-post-overall-rating {
  width: 100%;
  margin: 20px 10px 50px;
  padding: 0 10px 50px;
  border-bottom: 1px solid #e0e0e0;
}
.cwp-right-single-groups
  .cwp-post-overall-rating-content
  > .cwp-col-12.cwp-col-lg-9,
.cwp-right-single-groups
  .cwp-post-overall-rating-content
  > .cwp-col-12.cwp-col-lg-3 {
  width: 100% !important;
}
.cwp-post-overall-rating-title h5 {
  color: #2c3e50;
  font-size: 18px;
  font-weight: bold;
  line-height: 19px;
  margin: 0 0 0 0;
}
.cwp-post-overall-rating-content {
  display: flex;
  align-items: flex-end;
  margin: 25px -10px 0;
}
.cwp-reviews-rating-bars ul {
  margin: 0;
  padding: 0;
}
.cwp-reviews-rating-bars li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cwp-reviews-bar {
  width: 100%;
  max-width: 450px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.cwp-reviews-bar h5 {
  margin: 0 10px 0 0;
  font-size: 18px;
  font-weight: 700;
}
.cwp-reviews-bar-outer {
  width: calc(100% - 70px);
  height: 14px;
  overflow: hidden;
  border-radius: 50px;
  background: #ececec;
}
.cwp-reviews-bar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50px;
}
.cwp-reviews-bar-inner.reviews-rating1 {
  background: #db2828;
}
.cwp-reviews-bar-inner.reviews-rating2 {
  background: #db8128;
}
.cwp-reviews-bar-inner.reviews-rating3 {
  background: #fbbd08;
}
.cwp-reviews-bar-inner.reviews-rating4 {
  background: #b5cc18;
}
.cwp-reviews-bar-inner.reviews-rating5 {
  background: #21ba45;
}
h6.cwp-rating-count-percent {
  width: 40px;
  font-size: 16px;
  color: #a0a0a0;
  font-weight: 500;
  margin: 0 0 0 10px;
}

.cwp-post-overall-rating-inner {
  margin: 0 0 5px 0;
}
.cwp-post-overall-rating-count h3 {
  font-size: 40px;
  font-weight: 700;
  margin: 0;
  text-align: right;
}
.cwp-post-overall-rating .cwp-review-rating-star {
  justify-content: flex-end;
}
.cwp-post-reviews-count p {
  color: #838eaa;
  font-size: 14px;
  font-weight: normal;
  line-height: 15px;
  margin: 5px 0 0 0;
  text-align: right;
}
.cwp-post-overall-rating .cwp-review-rating-star .cwp-rating-stars span svg {
  height: 20px;
  width: 20px;
}

/*-------------- Reviews Form ------------------*/
.elementor-widget-cubewp_review_form form#cwp-from-cwp_reviews {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
}
form#cwp-from-cwp_reviews .cwp-frontend-section-container {
  margin-bottom: 20px;
}
form#cwp-from-cwp_reviews .cwp-frontend-section-heading-container {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0 0 25px 0;
}
form#cwp-from-cwp_reviews .cwp-frontend-section-heading-container h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  word-spacing: 0px;
  margin: 0;
}
form#cwp-from-cwp_reviews .cwp-frontend-section-content-container {
  border: 0;
  padding: 0;
  margin: 0;
}
form#cwp-from-cwp_reviews
  .cwp-frontend-section-content-container
  .cwp-field-container {
  padding: 0;
}
.cwp-field-review_star .cwp-radio-container .cwp-stars-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: row-reverse;
}
.cwp-stars-container input[type="radio"] {
  display: none;
}
.cwp-stars-container > label {
  line-height: 8px;
  color: #ddd;
  cursor: pointer;
  margin-bottom: 0;
}
.cwp-stars-container label .dashicons-star {
  display: block;
  font-size: 12px;
  line-height: 8px;
}
.cwp-stars-container label:not(:first-of-type) {
  margin: 0 5px 0 0;
}
.cwp-stars-container input:checked ~ label,
.cwp-stars-container:not(:checked) > label:hover,
.cwp-stars-container:not(:checked) > label:hover ~ label {
  color: #ffd700;
}
.cwp-stars-container input:checked + label:hover,
.cwp-stars-container input:checked ~ label:hover,
.cwp-stars-container label:hover ~ input:checked ~ label,
.cwp-stars-container input:checked ~ label:hover ~ label {
  color: #e5bb00;
}
.cwp-stars-container > label svg {
  font-size: 18px;
  width: 18px;
  height: 18px;
  line-height: 18px;
}

.cwp-single-groups .cwp-single-group .cwp-frontend-form-container {
  width: calc(100% - 30px);
  margin: 0 15px 15px 15px;
  padding: 8px 15px;
}
.cwp-field-container.cwp-field-review_star .cwp-radio-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.cwp-field-container.cwp-field-review_star.size-1-1 .cwp-radio-container {
  justify-content: center;
}
.cwp-frontend-form-container
  .cwp-frontend-section-container
  .cwp-field-review_star.size-1-1
  .cwp-radio-container
  > label {
  width: 100%;
  text-align: center;
  margin: 0 0 10px 0;
  min-width: unset;
}
.cwp-field-review_star.size-1-1 .cwp-stars-container > label svg {
  font-size: 24px;
  width: 24px;
  height: 24px;
  line-height: 24px;
}
.cwp-field-review_star .cwp-radio-container > label {
  min-width: 100px;
  margin-right: 20px;
}
form#cwp-from-cwp_reviews #wp-the_content-editor-container .mce-panel {
  border: 0;
  box-shadow: none;
}
form#cwp-from-cwp_reviews
  #wp-the_content-editor-container
  .mce-panel
  .mce-stack-layout-item.mce-first,
form#cwp-from-cwp_reviews
  #wp-the_content-editor-container
  .mce-panel
  .mce-stack-layout-item.mce-last {
  display: none;
}
form#cwp-from-cwp_reviews
  #wp-the_content-editor-container
  .mce-panel
  .mce-edit-area.mce-stack-layout-item {
  width: 100%;
}
form#cwp-from-cwp_reviews
  #wp-the_content-editor-container
  .mce-panel
  .mce-edit-area.mce-stack-layout-item
  iframe#the_content_ifr {
  border: 1px solid #dededf;
  border-radius: 5px;
}
.cwp-frontend-form-container .cwp-review-submitBTN.cwp-from-submit {
  background: #2185d0;
  border: 1px solid #2185d0;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 20px auto;
  padding: 8px;
  text-decoration: none;
  text-shadow: none;
  display: flex;
  align-items: center;
}
.cwp-frontend-form-container .cwp-review-submitBTN.cwp-from-submit:hover {
  background: #2271b1;
}
.cwp-frontend-form-container .cwp-review-submitBTN.cwp-from-submit svg {
  display: inline-block;
  margin-right: 5px;
  width: 14px;
  height: 14px;
}
/*----Reviews----------*/
.cwp-reviews-single-output {
  width: 100%;
}
.cwp-cpt-single-review-container {
  margin: 15px;
  width: calc(100% - 30px) !important;
  padding: 8px 15px;
}
.cwp-single-review-details,
.cwp-review-post-details {
  display: flex;
  align-items: flex-start;
}
.cwp-single-review-author-img,
.cwp-review-post-author-img {
  margin-right: 10px;
}
.cwp-single-review-details .cwp-single-review-author-img {
  height: 50px;
}
.cwp-single-review-author-img img {
  border-radius: 50% !important;
  height: 50px !important;
  object-fit: cover;
  width: 50px;
  text-transform: capitalize;
}
.cwp-single-review-author_name h5 {
  font-size: 14px;
  line-height: 14px;
  font-weight: bold;
  color: #2c3e50;
  margin: 0 0 10px 0;
}
.cwp-single-review-rating {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
}
span.cwp-review-time {
  font-size: 11px;
  color: #c0c0c0;
  line-height: 12px;
  font-weight: normal;
  margin: 0 0 0 5px;
  letter-spacing: 0.6px;
}
.cwp-review-title-desc {
  margin-left: 60px;
}
h6.cwp-review-title {
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 5px 0;
  color: #000;
}
.cwp-review-desc p,
.cwp-review-desc {
  font-size: 14px;
  line-height: 20px;
  color: #333333;
  margin: 0 0 0 0;
  word-spacing: 1px;
}
.cwp-review-rating-star {
  display: flex;
  align-items: center;
}
.cwp-review-title-desc
  .cwp-review-custom-fields
  .cwp-cpt-single-field-container {
  margin: 0 0 15px 0;
  padding: 8px 0;
  width: 100% !important;
  border: 0;
}
.cwp-rating-stars {
  display: flex;
  margin: 0 4px 0 0;
  align-items: center;
}
.cwp-rating-stars span {
  color: #ddd;
}
.cwp-rating-stars span svg {
  display: block;
}
.cwp-rating-stars span.cwp-half-fill-star {
  display: none;
  color: #ffe622;
}
.\31star-rating .cwp-rating-stars:first-child span {
  color: #ffe622;
}
.\32star-rating .cwp-rating-stars:first-child span,
.\32star-rating .cwp-rating-stars:nth-child(2) span {
  color: #ffe622;
}
.\33star-rating .cwp-rating-stars:first-child span,
.\33star-rating .cwp-rating-stars:nth-child(2) span,
.\33star-rating .cwp-rating-stars:nth-child(3) span {
  color: #ffe622;
}
.\34star-rating .cwp-rating-stars:first-child span,
.\34star-rating .cwp-rating-stars:nth-child(2) span,
.\34star-rating .cwp-rating-stars:nth-child(3) span,
.\34star-rating .cwp-rating-stars:nth-child(4) span {
  color: #ffe622;
}
.\35star-rating .cwp-rating-stars:first-child span,
.\35star-rating .cwp-rating-stars:nth-child(2) span,
.\35star-rating .cwp-rating-stars:nth-child(3) span,
.\35star-rating .cwp-rating-stars:nth-child(4) span,
.\35star-rating .cwp-rating-stars:nth-child(5) span {
  color: #ffe622;
}

.below-first .cwp-rating-stars:first-child span.cwp-half-fill-star,
.below-second .cwp-rating-stars:nth-child(2) span.cwp-half-fill-star,
.below-third .cwp-rating-stars:nth-child(3) span.cwp-half-fill-star,
.below-fourth .cwp-rating-stars:nth-child(4) span.cwp-half-fill-star,
.below-fifth .cwp-rating-stars:nth-child(5) span.cwp-half-fill-star {
  display: block;
}
.below-first .cwp-rating-stars:first-child span.cwp-fill-star,
.below-second .cwp-rating-stars:nth-child(2) span.cwp-fill-star,
.below-third .cwp-rating-stars:nth-child(3) span.cwp-fill-star,
.below-fourth .cwp-rating-stars:nth-child(4) span.cwp-fill-star,
.below-fifth .cwp-rating-stars:last-child span.cwp-fill-star {
  display: none;
}
.cwp-review-post-details {
  margin-top: 40px;
}
.cwp-post-review-author-img img {
  border-radius: 50%;
  height: 40px;
  object-fit: cover;
  width: 40px;
  text-transform: capitalize;
}
.cwp-review-post-details .cwp-single-review-author_name {
  display: flex;
  align-content: center;
}
.cwp-review-post-details .cwp-single-review-author_name h5 {
  margin: 0;
}
.cwp-review-post-details span.cwp-post-author-tag {
  background: #e6e6e6;
  color: #8a8a8a;
  border-radius: 10px;
  font-size: 10px;
  margin: 0 0 5px 5px;
  text-transform: lowercase;
  padding: 2px 5px 3px;
  line-height: 10px;
  font-weight: normal;
}
.cwp-review-post-author-img img {
  border-radius: 50%;
  height: 40px;
  object-fit: cover;
  width: 40px;
  text-transform: capitalize;
}
.cwp-single-review-star {
  display: flex;
  align-items: center;
  margin: 8px 5px 8px 0;
  padding: 0;
}
.cwp-review-star-rating {
  display: flex;
  align-items: center;
  margin: 0 5px 0 0;
}
h6.cwp-review-rating {
  font-size: 16px;
  margin: 0 5px 0 0;
  font-weight: 700;
}
.star-rating5 > h6,
.star-rating5 svg {
  color: #8cd108 !important;
}
.star-rating4 > h6,
.star-rating4 svg {
  color: #abe074 !important;
}
.star-rating3 > h6,
.star-rating3 svg {
  color: #f6d757 !important;
}
.star-rating2 > h6,
.star-rating2 svg {
  color: #fbb851 !important;
}
.star-rating1 > h6,
.star-rating1 svg {
  color: #f17a54 !important;
}
h6.cwp-review-star-name {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin: 0;
}
.cwp-review-custom-fields {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cwp-review-custom-fields .cwp-cpt-single-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0;
}
.cwp-review-custom-fields
  .cwp-cpt-single-gallery
  img.cwp-cpt-single-gallery-item {
  width: calc((100% / 8) - 9px);
  height: 71px;
  margin: 0 10px 10px 0;
}
.cwp-review-custom-fields
  .cwp-cpt-single-gallery
  img.cwp-cpt-single-gallery-item:last-child {
  margin: 0;
}

/*-------------Reviews Pagination--------------------*/
.cwp-reviews-pagination {
  display: block;
  margin: 30px 0;
}
.cwp-reviews-pagination ul {
  align-items: center;
  display: flex;
  justify-content: center;
}
.cwp-reviews-pagination ul li {
  list-style: none;
  line-height: 12px;
}
.cwp-reviews-pagination ul li span.current {
  margin: 0 10px;
  font-size: 16px;
  font-weight: 500;
  background: #007bff;
  border-radius: 5px;
  color: #fff;
  padding: 10px 18px;
}
.cwp-reviews-pagination ul li a,
.cwp-reviews-pagination ul li a:focus {
  color: #7e84a3;
  margin: 0 10px;
  padding: 5px;
  font-size: 16px;
  font-weight: 500;
}

/* css for dropdown */
.cwp-custom-select-wrapper {
  position: relative;
  cursor: pointer;
  user-select: none;
  width: 100%;
}

.cwp-custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.cwp-trigger-label {
  display: flex;
  align-items: center;
}

.cwp-custom-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateY(10px);
  border: 1px solid #eee;
}

.cwp-custom-select-wrapper.open .cwp-custom-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(5px);
}

.cwp-option {
  padding: 12px 15px;
  transition: 0.2s;
  border-bottom: 1px solid #fafafa;
}

.cwp-option:last-child {
  border-bottom: none;
}

/* Rotate trigger icon on open */
.cwp-custom-select-wrapper.open .cwp-trigger-icon {
  transform: rotate(180deg);
}

.cwp-trigger-icon {
  transition: transform 0.3s ease;
  display: inline-flex;
}
.cwp-custom-select-wrapper{
    transition: all 0.3s ease;
}
.cwp-custom-select-wrapper.cwp-loading {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}
.cwp-custom-select-wrapper.multi-ratings-widget .cwp-option {
    pointer-events: none;
}