.tagify {
    padding: 5px 0 0 0 !important;
}

.tagify tag>div::before {
    background-color: #99cc00;
}

.tagify tag > div {
    color: white;
}

#file-upload {
    display: none;
}
.custom-file-upload {
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
    background-color: #ececec;
    border-radius: 3px;
    margin-top: 10px;
}

.advantages > p > strong {
    color: #99cc00;
}

.disadvantages > p > strong {
    color: #c82d05;
}

.advantages > p, .disadvantages > p {
    margin-bottom: 0px !important;
    padding-bottom: 2px !important;
    padding-top: 2px !important;
}
.grouped_comments_elements > img{
    max-width: 100px;
    max-height: 100px;
}
.comment-photos a {
    margin-left: 10px;
}

.comment-item .comment-body:before, .comment-item .comment-body:after{
    display: none;
}
.entry-content{
    padding: 0px 0px 0px 0px !important;
}

.comment-item > .row{
    margin-left: 0px;
    margin-right: 0px;
}
#new_comment_form{
    padding: 21px;
}


@media only screen and (max-width: 768px) {
    .grouped_comments_elements {
        padding-top: 5px;
        display: inline-block;
    }
}

/*---UPLOAD FILES---*/

#reviews-files {
    height: 42px;
}

#upload-photo-view {
    cursor: pointer;
    position: relative;
    border-radius: 3px;
    height: 40px;
    display: flex;
}

#upload-file {
    opacity: 0;
    position: absolute;
    z-index: -1;
    display: none;
}

#upload-file-text {
    flex: 1;
    padding-top: 8px;
    font-weight: 400;
    font-size: 14px;
    height: 100%;
    padding-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-color: #d6d6d6;
    box-shadow: none;
    color: #979797;
}

.reviews-files-list > div {
    max-width: 330px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.reviews-files-list > div:last-of-type {
    margin-bottom: 10px;
}

.reviews-user-rating .star_content {
    display: block;
}

.reviews-user-rating .star_content .star_row img {
    width: 20px;
    height: 20px;
}

#customer_name:focus,
#content:focus {
    border: 1px solid #ccc; !important;
    outline: 0;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.disc-list {
    list-style-type: disc;
    margin-left: 30px;
}

.disc-list li {
    font-size: 14px;
}

.usefulness_comment {
    font-size: 19px;
    cursor: pointer;
}
.product-comment .fa-thumbs-o-up:hover {
    color: #8c0;
}
.product-comment .fa-thumbs-o-down:hover {
    color: #c82d05;
}
.product-comment .fa-thumbs-o-up:before,
.product-comment .fa-thumbs-o-down:before {
    margin:0 4px;
    font-size: 20px;
}

.comment_author_infos {
    margin-top: 2px;
    margin-bottom: 8px;
    font-size: 14px;
    padding-right: 15px;
}

.product-comment {
    border-bottom: 1px solid #d6d4d4;
    padding-bottom: 15px;
    padding-top: 15px;
}

.product-comment:last-child {
    border-bottom: none;
}

.product_comment-info {
    display: flex;
}

.product_comment-info .star_content .star_row img {
    width: 15px;
    margin-left: 1px;
    float: left;
    height: 20px;
}

.product-comment {
    padding-left: 35px;
    padding-right: 10px;
}

.btn-comment {
    background-color: #99cc00;
    border: none;
    color: white;
    padding: 10px 50px;
    text-align: center;
    text-decoration: none;
    margin: 0 auto;
    border-radius: 5px;
    cursor: pointer;
}

.add-comment {
    white-space: nowrap;
    margin-bottom: unset !important;
    font-size: 19px;
}

@media (max-width: 767px) {
    .btn-comment {
        padding: 6px 20px;
        height: 40px;
    }

    .add-comment {
        font-size: 16px;
    }
}

.show-grades {
    white-space: nowrap;
    margin: 0 auto;
    color: #c3c3c3;
    cursor: pointer;
}

.comment-ctn {
    width: 50%;
    margin: 0 25%;
}
.star-avg {
    display: inline-block;
    color: #ff8f00;
    font-size: 50px;
}
.star-max {
    display: inline-block;
    font-size: 30px;
    color: #e0e0e0;
}
.comment-quantity {
   text-align: center;
}
.comment-qty {
    margin-bottom: unset !important;
    margin-top: 1%;
}
.grades {
    margin-top: 6%;
}

.product-comments-collapsed {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.product-comments-collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(transparent, white);
}
