#reviews {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.footerReview #reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.reviewerName,
.review-items > div {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.new-label {
    background-color: var(--e-global-color-secondary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 100px;
    margin-left: 5px;
    display: inline-block;
}
.review-items {
    display: flex;
    background-color: #fff;
    flex-direction: column;
    gap: 16px;
    border-radius: 10px 10px 10px 10px;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #d5d5d5;
    padding: 20px;
}   
.review-items p {
    margin: 0;
}
.reviewerName {
    font-size: 16px;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: 700;
    line-height: normal;
    color: var(--e-global-color-text); 
}
.review-items .reviewer_details {
    flex-direction: column;
    display: flex;
    gap: 7px;
}

.reviewerName .firstletter-name {
    background: #ffffff;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: #fff;
    border-radius: 100px;
    margin-right: 12px;
    font-size: 20px;
    font-weight: 600;
}
.review-items:nth-child(10n+1) .firstletter-name {
  background-color: #8bc34a;
}
.review-items:nth-child(10n+2) .firstletter-name {
  background-color: #ffba68;
}
.review-items:nth-child(10n+3) .firstletter-name {
  background-color: #607d8b;
}
.review-items:nth-child(10n+4) .firstletter-name {
  background-color: #9b51e0;
}
.review-items:nth-child(10n+5) .firstletter-name {
  background-color: #cf2e2e;
}
.review-items:nth-child(10n+6) .firstletter-name {
  background-color: #1db780;
}
.review-items:nth-child(10n+7) .firstletter-name {
  background-color: #ff4c4c;
}
.review-items:nth-child(10n+8) .firstletter-name {
  background-color: #5b0a5b;
}
.review-items:nth-child(10n+9) .firstletter-name {
  background-color: #193470;
}
.review-items:nth-child(10n+10) .firstletter-name {
  background-color: #b07d6a;
}
.reviewContent {
    color: var(--e-global-color-text);
    font-family: var(--e-global-typography-text-font-family), Sans-serif; 
    font-size:15px;
        font-weight: 500; 
        line-height: 22.5px; 
}
.review-items .reviewRating img {
    height: 16px;
}
.reviewRatingscore {
    color: grey;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: 14px;
    margin-left: 7px;
    letter-spacing: 0.67px;
    font-weight: 500;
}
/*.reviewDate {
     font-size: 15px;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: 700;
    color: var(--e-global-color-text); 
    line-height: 1;
    gap: 0px;
        order: 4;
}*/
.reviewDate {
font-size: 14px;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: 500;
    color: var(--e-global-color-text);
    line-height: 1;
    gap: 0px;
    background: transparent;
    border-radius: 8px;
    padding: 0;
    width: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
}   
.reviewDate span {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 10px;
}
.reviewDate span.dayCount {
    color: grey;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: 12px;
}
.stickyReviews .review-items{
    padding: 7px;
    gap: 12px;
}
    
/* ------------------ POPUP reviews ----------------------- */  
.elementor-location-popup #reviews { 
    grid-template-columns: repeat(1, 1fr);
}

/* ------------------ Template 2 Design  ----------------------- */
.template2 .reviewerName {
    background: #f4f4f4;
    width: fit-content;
    padding: 5px 20px 5px 7px;
    border-radius: 100px;
    border: 2px dashed #e7e7e7;
}
.template2 .reviewerName .firstletter-name {
    width: 34px;
    height: 34px;
    font-weight: 500;
    font-size: 18px;
}
/* ------------------ Template 3 Design  ----------------------- */
 .review-items.template3 .reviewer-Name {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.review-items.template3 .reviewerName img {
    width: 16px;
    height: 16px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}



/* ------------------ Template 4 Design  ----------------------- */

.review-items.template4 .reviewRating .reviewRatingscore {
    color: #454545;
}
.review-items.template4 .reviewerName .firstletter-name {
    display: none;
}
.review-items.template4 span.verified-badge {
    font-size: 10px;
    background: #a7ce91;
    color: #fff;
    padding: 3px 6px;
    border-radius: 100px;
    margin-left: 12px;
}
.review-items.template4 span.new-label {
    background-color: #007bff;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 4px;
}
.review-items.template4 .reviewDate {
    font-weight: 700;
}




/* ------------------ Template 5 Design  ----------------------- */
.review-items.template5 .reviewerName {
    flex-direction: column;
}
 
.review-items.template5 .reviewRating {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.review-items.template5 {
    display: flex;
    flex-direction: column;
    margin: 7.5px 0;
    align-items: center;
    text-align: center;
}
.review-items.template5 .firstletter-name {
    position: absolute;
        left: auto;
        right: auto;
        margin-top: -65px;
        margin-right: 0;
        border: 2px solid #fff;
        box-shadow: 0 0 5px 0 hsl(0deg 0% 0% / 20%);
}
.review-items.template5 .review_Details {
    flex-direction: column;
    padding-top: 20px;
    gap: 6px;
}
.review-items.template5 .reviewRatingscore {
    width: 60px;
    height: auto;
    border-radius: 100px;
    padding: 4px;
    color: #2d2d2d;
    background: #f4f4f4;
    border: 1px solid #d5d5d5;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    line-height: normal;
}






@media(max-width : 767px){ 
.reviewerName {
    font-size: 14px;    
}
.review-items { 
    gap: 12px; 
    padding: 25px;
}      
.reviewDate {
    font-size: 13px; 
        white-space: nowrap;
}   
div#reviews { 
    grid-template-columns: repeat(1, 1fr);
}     
.reviewerName .firstletter-name {
    width: 42px;
    height: 42px;
}
}