#review_form {
    /* max-width: 500px; */
    margin: 0 auto;
    padding: 50px;
    border: 1px solid #ccc;
    border-radius: 5px;
    /* box-shadow: 0 0 10px #ccc; */
}

#review_form h2 {
    margin-top: 0;
}

#review_form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    text-align: left;
}

#review_form input[type="text"],
#review_form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
    margin-bottom: 20px;
}

#review_form textarea {
    height: 120px;
}

#review_form input[type="radio"] {
    margin-right: 10px;
}

#review_form button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    /* float: right; */
}

#review_form button[type="submit"]:hover {
    background-color: #45a049;
}

.star-rating {
    display: inline-flex;
    font-size: 0;
    line-height: 0;
    margin: 10px 0 20px 0;
}

.star-rating input {
    display: none;
}

.star-rating label {
    display: inline-block;
    font-size: 32px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.star-rating input:checked+label {
    color: #ffcc00;
}

.star-rating label.checked {
    color: #ffcc00;
}

.star-rating label.hovered {
    color: #ffcc00;
}

.review_list,
.review_div {
    padding: 10px;
    padding-bottom: 0;
}

.reveiw_flex {
    display: flex;
    justify-content: flex-start;
}

.review_div1 {
    width: 30%;
    text-align: center;
}

.review_div1 p:first-child {
    margin-bottom: 10%;
    color: #2F5997;
}

.review_div1 p:last-child {
    font-size: 25px;
}

.review_div2 {
    width: 70%;
}

.review_div2 p:first-child {
    color: #2F5997;
}

.review_div2 p:first-child,
.review_div2 p:last-child {
    padding-left: 10px;
}

.review_list hr {
    width: 100%;
    margin: 0 auto 1rem auto;
}

.review_add_button {
    text-align: center;
    margin-bottom: 20px;
}

.review_add_button button {
    background-color: gray;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
}

.review_pagination {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 8px;
}

.review_pagination a {
    display: inline-block;
    padding: 5px 10px;
    margin: 5px;
    background-color: #67983b;
    color: #fff;
    border-radius: 3px;
}

@media only screen and (max-width: 768px) {
    .reveiw_flex {
        flex-direction: column;
    }

    .review_div1 {
        width: 100%;
        margin-bottom: 15px;
    }

    .review_div2 {
        width: 100%;
    }

    .review_div2 p:first-child,
    .review_div2 p:last-child {
        padding-left: 0;
    }

    .review_div1 p:first-child {
        margin-bottom: 5%;
    }

    #review_form {
        padding: 20px;
    }
}