
/*
#reviews .reviews .item > div {
    height: 100%;
    overflow: hidden;
}
*/

#reviews .reviews .item .stars {
    position: absolute;
    top: 20px;
    right: 15px;
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #efefef;
    font-size: 24px;
    font-weight: 700;
    color: #E8AB5B;
    text-align: left;
    padding: 0 7px;
    line-height: 45px;
    vertical-align: middle;
}
#reviews .reviews .item .stars:after {
    content: '';
    position: absolute;
    display: inline-block;
    width: 24px;
    height: 24px;
    top: 11px;
    right: 6px;
    background-image: url('/themes/printto2018/img/star.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}
#reviews .review-btn-row {
    padding: 20px 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
#reviews .review-btn-row .btn {
    margin: 0 0 1rem 0;
}
.rating-wrapper .rating {
    display: inline-block;
    width: 125px;
    /*height: 50px;*/
    position: relative;
}
.rating-wrapper .rating i {
    display: inline-block;
    width: 25px;
    height: 25px;
    cursor: pointer;
    z-index: 1;
    position: absolute;
}
.rating-wrapper .rating i:before {
    content: '';
    display: inline-block;
    width: 0;
    height: 25px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
.rating-wrapper .rating i:hover:before,
.rating-wrapper .rating i.active:before {
    background-image: url('/themes/printto2025/images/star_min.svg');
}
.rating-wrapper .rating i:hover:after,
.rating-wrapper .rating i.active:after {
    content: '';
    display: inline-block;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 0;
    background-image: url('/themes/printto2025/images/star-hover.svg');
}
.rating-wrapper .rating i:nth-child(1) {
    z-index: 5;
    left: 0;
}
.rating-wrapper .rating i:nth-child(2) {
    z-index: 4;
    left: 25px;
}
.rating-wrapper .rating i:nth-child(3) {
    z-index: 3;
    left: 50px;
}
.rating-wrapper .rating i:nth-child(4) {
    z-index: 2;
    left: 75px;
}
.rating-wrapper .rating i:nth-child(5) {
    z-index: 1;
    left: 100px;
}

.rating-wrapper .rating i:nth-child(1):hover:before,
.rating-wrapper .rating i:nth-child(1).active:before {
    width: 25px;
    left: 0;
}
.rating-wrapper .rating i:nth-child(2):hover:before,
.rating-wrapper .rating i:nth-child(2).active:before {
    width: 50px;
    left: -25px;
}
.rating-wrapper .rating i:nth-child(3):hover:before,
.rating-wrapper .rating i:nth-child(3).active:before {
    width: 75px;
    left: -50px;
}
.rating-wrapper .rating i:nth-child(4):hover:before,
.rating-wrapper .rating i:nth-child(4).active:before {
    width: 100px;
    left: -75px;
}
.rating-wrapper .rating i:nth-child(5):hover:before,
.rating-wrapper .rating i:nth-child(5).active:before {
    width: 125px;
    left: -100px;
}
.rating-wrapper .rating:before {
    content: '';
    display: inline-block;
    width: 125px;
    height: 25px;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url('/themes/printto2025/images/star-gray.svg');
}
.rating-wrapper label {
    line-height: 55px;
    vertical-align: top;
    display: inline-block;
    margin: 0 20px 0 0;
    color: #828282;
    font-style: italic;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ccc;
    color: #ff7a00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    text-transform: uppercase;
}

#leave-review #reviewForm select {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #ebebeb;
    font-size: 16px;
    padding: 0;
    margin-bottom: 20px;
}

.reviews-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}


#side-bar {
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    width: 33.33%;
}


.list__reviews {
    flex: 1;
    min-width: 0;
    width: 66.66%;
}

#reviews .item__new.disabled {
    color: var(--grey);
    border: 1px solid var(--grey);
}

#reviews .item__new.disabled:hover {
    pointer-events: none;
    background: none;
    color: var(--grey);
    border: 1px solid var(--grey);
}


@media (max-width: 900px) {
    .reviews-layout {
        flex-direction: column;
    }

    #side-bar {
        position: static;
        width: 100%;
    }
}

@media (min-width: 900px) {
    #side-bar {
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}