.page-reviews-content {
    font-family: "Rubik";
    font-size: 14px;
    font-weight: 400;
    color: #010101;
}

.shop-rating-average {
    box-shadow: 0px 0px 30px 2px rgb(212 212 212 / 20%);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    align-items: flex-start;
    -webkit-align-items: flex-start;
}

.shop-rating-cumulative-title {
    font-size: 18px;
    font-weight: 500;
}

.shop-rating-cumulative-value {
    font-size: 35px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
    -webkit-align-items: center;
    background-color: #bdcf32;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    margin: 20px 0;
}

.shop-rating-description {
    color: #909090;
}

.shop-rating-detailed, 
.shop-rating-cumulative {
    min-width: 50%;
}

.shop-rating-detailed {
    display: flex;
    flex-direction: column;
}

.shop-rating-detailed-item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: end;
    -webkit-justify-content: end;
    align-items: baseline;
    -webkit-align-items: baseline;
    margin: 5px 0;
}

.shop-rating-detailed-item > * {
    margin: 0 5px;
}

.rating-item-value {
    text-align: center;
    padding: 10px;
    background-color: #ccc;
    border-radius: 10px;
    min-width: 40px;
    min-height: 40px;
}

.rating-star {
    color: #909090;
    font-size: 1.7em;
    line-height: 1em;
    display: inline-block;
}
.rating-star.rating-star_gold {
    color: #ffc107;
}

.page-review-action {
    margin: 30px 0;
}

.review-item {
    box-shadow: 0px 0px 15px 2px rgb(212 212 212 / 20%);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: left;
    -webkit-justify-content: left;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    border-radius: 5px;
}

.review-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-align-items: center; 
    width: 200px;
    margin-right: 15px;
}

.review-info > * {
    margin-bottom: 5px;
}

.review-author {
    font-size: 16px;
    font-weight: 500;
}

.review-date {
    color: #909090;
}

.review-rating-avg {
    color: #60a172;
    font-weight: 500;
}

.review-content {
    background-color: #f1f1f1;
    padding: 15px;
    border-radius: 10px;
    width: 100%;
    position: relative;
    color: #525252;
}

.review-content:before {
    content: ' ';
    position: absolute;
    display: inline-block;
    width: 15px;
    height: 15px;
    transform: rotate(45deg);
    top: 17px;
    left: -7px;
    background-color: #f1f1f1;
}

.review-form_rating-input {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    align-items: center;
    -webkit-align-items: center;
    margin: 5px 0;
    max-width: 60%;
}

.review-form_rating-input > * {
    margin: 5px 0;
}

.clear {
    float: none;
    clear: both;
}

.rating-input-stars {
    unicode-bidi: bidi-override;
    direction: rtl;
    text-align: center;
    position: relative;
    display: inline-block;
}

.rating-input-stars > label {
    float: right;
    display: inline;
    padding: 0;
    margin: 0;
    position: relative;
    width: 1em;
    cursor: pointer;
    color: #585858;
    font-size: 22px;
    line-height: 20px;
}

.rating-input-stars > label:hover,
.rating-input-stars > label:hover ~ label,
.rating-input-stars > input[type="radio"]:checked ~ label {
    color: transparent;
}

.rating-input-stars > label:hover:before,
.rating-input-stars > label:hover ~ label:before,
.rating-input-stars > input[type="radio"]:checked ~ label:before,
.rating-input-stars > input[type="radio"]:checked ~ label:before {
    content: "\2605";
    position: absolute;
    left: 0;
    color: #ffc107;
    width: 1em;
}

.review-from_error {
    font-size: 14px;
    color: #ff5722;
    font-weight: 400;
}

.modal-review-form-success .modal-body {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    padding: 30px 0;
}

@media screen and (max-width: 768px) {
    .shop-rating-cumulative {
        min-width: auto;
        max-width: 180px;
    }
}

@media screen and (max-width: 600px) {
    .review-form_rating-input {
        max-width: 100%;
    }
    .shop-rating-average {
        flex-direction: column;
    }
    .shop-rating-detailed, .shop-rating-cumulative {
        min-width: 100%;
    }
    .shop-rating-cumulative {
        margin-bottom: 20px;
    }
    .shop-rating-cumulative-title {
        text-align: center;
    }
    .shop-rating-cumulative-value {
        margin: 20px auto;
    }
    .shop-rating-description {
        text-align: center;
    }
    .page-review-action {
        text-align: center;
    }
    .shop-rating-detailed-item {
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        -webkit-justify-content: center;
    }
    .shop-rating-detailed-item > * {
        margin: 0 5px;
        width: 100%;
        text-align: center;
    }
    .rating-item-value {
        display: none;
    }
    .review-item {
        flex-direction: column;
        align-items: center;
        -webkit-align-items: center;
    }
    .review-info {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .review-content:before {
        top: -6px;
        left: calc(50% - 7px);
    }
}


/* Review slider */
.container.bio-reviews-slider-wrapp {
    padding: 3em 1em;
}

.bio-reviews-slider-title {
    margin-top: 0;
    margin-bottom: 20px;
}

.bio-reviews-slider-header {
    display: flex;
    flex-direction: row;
    align-items: start;
    -webkit-align-items: start;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 10px;
    background-color: #fff;
}

.bio-reviews-slider-avg-rating {
    display: flex;
    flex-direction: row;
}

.reviews-slider-avg-rating-value {
    background-color: #60a172;
    color: #fff;
    width: 35px;
    height: 60px;
    text-align: center;
    font-size: 16px;
    line-height: 40px;
    position: relative;
    margin: 0 10px;
}

.reviews-slider-avg-rating-value:before {
    content: ' ';
    position: absolute;
    width: 27px;
    height: 27px;
    background-color: #fff;
    transform: rotate(45deg);
    bottom: -15px;
    left: 4px;
}

.review-slider-item {
    margin: 10px;
    box-shadow: 0px 0px 5px 5px rgb(212 212 212 / 20%);
    padding: 30px;
}

.review-slider-item-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    align-items: center;
    -webkit-align-items: center;
    margin-bottom: 15px;
}

.review-slider-item-author {
    font-size: 16px;
    font-weight: 500;
}

.review-slider-item-rating {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    -webkit-align-items: center;
}

.review-slider-item-rating-mark {
    margin-right: 10px;
    font-size: 18px;
    font-weight: 500;
    color: #60a172;
}

.review-slider-item-text {
    margin-bottom: 15px;
    color: #757575;
}

.review-slider-item-date {
    font-size: 14px;
    color: #757575;
}

/* Review slider fixes */
@media screen and (min-width: 768px) {
    .bio-reviews-slider .slick-track {
        display: flex !important;
    }
    .bio-reviews-slider .slick-slide {
        height: inherit !important;
    }
}
