.reviews-container {
    margin-bottom: 20px;
}

#review_summary {
    text-align: center;
    background-color: var(--green);
    color: #fff;
    padding: 20px 10px;
    border-radius: 5px;
    margin-bottom: 1rem;
}
#review_summary strong {
    font-size: 42px;
    line-height: 1;
}
.rating i {
    margin-right: 2px;
    color: #ddd;
}
.rating i.voted {
    color: #ffc107;
}
.reviews-container .progress {
    margin-bottom: 10px;
}
.progress {
    display: flex;
    overflow: hidden;
    font-size: 0.75rem;
    line-height: 1rem;
    text-align: center;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}
.reviews-container .progress-bar {
    background-color: var(--green);
}
.progress-bar {
    height: 1.5rem;
    line-height: 1rem;
    color: #fff;
    background-color: #007bff;
}
.reviews-container .review-box {
    position: relative;
    margin-bottom: 25px;
    padding-left: 100px;
    min-height: 100px;
}
.reviews-container .rev-thumb {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 80px;
    height: 80px;
    background: #ffffff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    overflow: hidden;
}
.reviews-container .rev-thumb img {
    width: 80px;
    height: auto;
}
.reviews-container .rev-content {
    position: relative;
    padding: 20px 20px 0 20px;
    border: 1px solid #ededed;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
}
.reviews-container .rev-info {
    font-size: 12px;
    font-size: 1rem;
    font-style: italic;
    color: #777;
    margin-bottom: 10px;
}
.user-review-box {
    margin-top: -31px;
    margin-bottom: 1rem;
}

@media (max-width: 700px) {
    .reviews-container .rev-thumb {
        position: static;
        margin-bottom: 10px;
    }
    .reviews-container .review-box {
        padding-left: 0;
    }
    #reviews {
        width: 100%;
    }
    .average-rating {
        color: goldenrod;
        font-weight: bold;
    }
    .rating-container .selected {
        color: goldenrod;
        font-weight: bold;
    }
}

/* rating box css  */
.rate-course {
    border: 1px solid grey;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.center .stars {
    /* height: 130px;
                                                                        width: 500px; */
    display: flex;
    text-align: center;
    margin: 0 auto;
    flex-direction: row-reverse;
    justify-content: center;
}

.stars input {
    display: none;
}

.stars label {
    float: right;
    font-size: 70px;
    color: lightgrey;
    /* margin: 0 5px; */
    text-shadow: 1px 1px #bbb;
}

.stars label:before {
    content: "★";
}

.stars input:checked ~ label {
    color: gold;
    text-shadow: 1px 1px #c60;
}

.stars:not(:checked) > label:hover,
.stars:not(:checked) > label:hover ~ label {
    color: gold;
}

.stars input:checked > label:hover,
.stars input:checked > label:hover ~ label {
    color: gold;
    text-shadow: 1px 1px goldenrod;
}

.stars .result:before {
    position: absolute;
    content: "";
    width: 100%;
    left: 50%;
    transform: translateX(-47%);
    bottom: -30px;
    font-size: 30px;
    font-weight: 500;
    color: gold;
    font-family: "Poppins", sans-serif;
    display: none;
}

.stars input:checked ~ .result:before {
    display: block;
}
