.star-rating, .star-rating-average{
  display:flex;
  flex-direction: row-reverse;
  font-size:2em;
  justify-content:space-around;
  padding:0 .2em;
  padding-left: 0;
  text-align:center;
  width:5em;
}

.star-rating input, .star-rating-average input{
  display:none;
}

.star-rating label{
  color:#ccc;
  cursor:pointer;
}

.star-rating :checked ~ label{
  color: var(--star-background);
}

.star-rating label:hover,
.star-rating label:hover ~ label {
  color: var(--star-background);
    opacity: 0.5;
}
  
.article-template__comment-fields, .custom-form-success, .custom-form-error {
  display: none;
}
  
/* :root {
  --star-color: #ccc;
  --star-background: #f90;
}
 */
  span.stars {
    --percent: calc(var(--rating) / 5 * 100%);
      display: block;
      font-size: 2em;
      font-family: Times; 
      line-height: 1;
      margin: 0;
      margin-bottom: 10px;
  }
      
  .stars:before {
      content: '★★★★★';
/*     content: '&#9733;&#9733;&#9733;&#9733;&#9733;'; */
      letter-spacing: 1px;
      background: linear-gradient(90deg, var(--star-background-apprender) var(--percent), var(--star-color-apprender) var(--percent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
  }
.stars.stars-medium{
  font-size: 1.5em;
}
      
.stars.stars-small{
  font-size: 1em;
}
  span.average_val {
    font-size: 15px;
    display: block;
    padding: 5px 0;
  }
  
  .star-rating input:checked+label {
    border: 0;
  }
  
  .star-rating {
    max-width: 100%;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  /** Whole */
  .one-whole {
    width: 100%; 
  }
  
  /* Halves */
  .one-half {
    width: 50%; 
  }
  
  /* Thirds */
  .one-third {
    width: 33.333%; 
  }
  
  .two-thirds {
    width: 66.656%; 
  }
        
  @media only screen and (max-width: 567px) {
    /* Whole */
    .small--one-whole {
      width: 100%; 
    }
  
    /* Halves */
    .small--one-half {
      width: 50%; 
    }
  
    /* Thirds */
    .small--one-third {
      width: 33.333%;
    }
  
    .small--two-thirds {
      width: 66.656%; 
    }
  }
  
  @media only screen and (min-width: 568px) and (max-width: 767px) {
    /** Whole */
    .medium--one-whole {
      width: 100%; 
    }
  
    /* Halves */
    .medium--one-half {
      width: 50%; 
    }
  
    /* Thirds */
    .medium--one-third {
      width: 33.333%; 
    }
  
    .medium--two-thirds {
      width: 66.656%;
    }
  }
  
  /*TESTING*/
  div#custom-comment-container\ one-whole\ small--one-whole\ medium--one-whole {
    width: 75vw;
    margin: auto;
    font-family: inherit;
    padding: 15px;
  }
  
  .custom-comment-form-wrap .review-input-form label, .hide-review {
    display: none;
  }
        
  .custom-comment-form-wrap .review-input-form input {
    width: 100%;
    height: 40px;
    margin: 5px 0;
  }
        
  .custom-comment-form-wrap .review-input-form textarea {
    width: 100%;
    height: 120px;
  }
        
  .custom-comment-form-wrap .review-input-form input:focus, .custom-comment-form-wrap .review-input-form textarea:focus {
    border:none;
  }
        
  .one-whole.review-input-form .one-whole.author-info-wrap {
    display: flex;
    flex-wrap: wrap;
  }
        
  button#custom_comment_submit {
    padding: 15px 30px;
    background-color: #000;
    color: #fff;
    border: none;
    font-family: inherit;
    cursor: pointer;
  }
        
  ul.custom-comment-wrapper {
    list-style: none;
    padding: 0;
  }
         
  .article_star_title h3 {
    text-transform: uppercase;
    letter-spacing: 0em;
    margin: 5px 0;
    line-height: normal;
    color: #282c3f;
    font-family: Raleway;
    font-weight: 600;
  }
        
  div#reviews {
    margin: 0 0 10px;
    padding: 0 0 20px;
    border-bottom: 1px solid #c7c0c0;
  }
        
  .title-review-btn-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #c7c0c0;
  }
  
  li.individual-review {
    border-bottom: 1px solid #c7c0c0;
    margin-bottom: 10px;
  }
        
  .btn_review_wrapper .btn {
    padding: 10px 30px;
    min-width: 120px;
    background: black;
    color: white;
    border: 1px solid transparent;
    border-radius: 5px;
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
  }
  
  .review-author-info {
      display: flex;
      flex-wrap: wrap;
  }
  
  ul.custom-comment-wrapper li p {
    margin: 5px 0;
  }
  
  .custom-comment-wrapper p.blog-date, .custom-comment-wrapper p.author {
    margin-right: 100px;
  }