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

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

.tagify tag > div {
    color: white;
}

.tagify__input {
    display: inline-block;
}

#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: 0;
    padding-bottom: 2px;
    padding-top: 2px;
}
.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 .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;
}

.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;
}


.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 {
    /*color: #e0e0e0;*/
}
.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(rgba(255, 255, 255, 0), white);
}

/* COMMENT REPLY *************************************************** */

.comment-reply-btn {
    padding:10px 0;
    border:none;
    background-color:transparent;
    text-decoration:underline;
    color:#99cc00;
}

.comment-reply-container.hidden {
    display:none;
}

.comment-reply-container {
    display:block;
    padding: 10px 0 0;
}

.comment-reply-header {
    display:flex;
    flex-direction:row;
}

.reply-logo {
    max-width: 60px;
}

.comment-reply-details {
    display:flex;
    flex-direction:column;
    padding:13px 0 0 10px;
    color:#9a9999;
}

.comment-reply-author {
    font-weight:700;
    color:#6d6c6c;
}

.comment-reply-content {
    padding:5px 10px 0 2px;
}

@media(max-width:360px) {
    .comment-reply-author {
        padding-left: 4px;
    }
    .comment-reply-details {
        padding-left:2px;
    }
}

@media(min-width:768px) {
    .row.comment-reply-container {
        width:80%;
        margin-left:100px;
        padding:0;
    }
    .comment-reply-details {
        margin: 2px 0 0;
    }
}

@media(min-width:1200px) {
    .row.comment-reply-container {
        width:70%;
        margin-left:120px;
    }
}

.disable-visibility {
    opacity: 0;
}

.fade-in-visibility  {
    animation: fadeInEffect 5s;
}

@keyframes fadeInEffect {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
