.comments_note {
    margin-bottom: 5px
}

/* pop-in add grade/advice ********************************************************************* */
#fancybox-wrap {
    width: 585px
}

#fancybox-content {
    width: 585px;
    border-width: 0
}

#new_comment_form {
    width: 585px;
    color: #333;
    text-align: left;
    background-color: #fff
}

#new_comment_form .title {
    padding: 10px;
    font-size: 13px;
    color: #004c97;
    text-transform: uppercase;
    background: #fff;
}

#new_comment_form ul.grade_content {
    list-style-type: none
}

#new_comment_form .grade_content li {
    width: 50%
}

#new_comment_form .product {
    padding: 15px
}

#new_comment_form .product img {
    float: left;
    border: 1px solid #ccc;
}

#new_comment_form .product .product_desc {
    float: left;
    margin-left: 15px;
    /*width: 300px;*/
    line-height: 18px;
    color: #666
}

#new_comment_form .product .product_desc .product_name {
    padding-bottom: 5px;
    font-size: 13px;
    color: #000
}

#new_comment_form .grade_content {
    margin: 0 0 20px 0
}

#new_comment_form .grade_content span,
#new_comment_form .grade_content span {
    display: inline-block;
    padding: 0 10px;
    width: 150px; /* 160 */
    font-weight: bold
}

#new_comment_form .grade_content .cancel {
    margin-right: 5px
}

.new_comment_form_content {
    padding: 15px;
    background: #f8f8f8
}

.new_comment_form_content .intro_form {
    padding-bottom: 10px;
    font-weight: bold;
    font-size: 12px
}

#new_comment_form label {
    display: block;
    margin: 12px 0 4px 0;
    font-weight: bold;
    font-size: 12px;
}

#new_comment_form input {
    padding: 0 5px;
    height: 28px;
    width: 100%;
    border: 1px solid #ccc;
    background: #fff;
}

#new_comment_form textarea {
    padding: 0 5px;
    height: 80px;
    width: 100%;
    border: 1px solid #ccc;
    background: #fff;
}

#new_comment_form .submit {
    margin-top: 20px;
    padding: 0;
    font-size: 13px;
    text-align: right
}

#new_comment_form #criterions_list {
    border-bottom: 1px solid #CCC;
    padding-bottom: 15px;
    list-style-type: none;
}

#new_comment_form #criterions_list li {
    margin-bottom: 10px;
}


#new_comment_form, #new_comment_form_footer {
    margin-top: 20px;
    font-size: 12px;
}


/* TAB COMMENTS ******************************************************************************** */
#product_comments_block_tab {
    margin: 0 0 20px 0;
    border: 1px solid;
    border-radius: 20px;
    background: #fbfbfb;
}

#product_comments_block_tab div.comment {
    margin: 0 0 10px 0;
    padding: 5px;
    border-bottom: 1px dotted #ccc
}

#product_comments_block_tab div.comment div.comment_author {
    float: left;
    padding-right: 25px;
    width: 240px;
    line-height: 18px
}

#product_comments_block_tab .comment_author span {
    margin-top: 6px;
}

#product_comments_block_tab div.comment div.comment_author span {
    font-weight: bold;
}

#product_comments_block_tab div.comment div.comment_author span,
#product_comments_block_tab .comment_author_infos {
    clear: both;
    display: block;
}

#product_comments_block_tab .comment_author_infos em {
    color: #999
}

#product_comments_block_tab div.comment div.comment_details {
    float: left;
    overflow: hidden;
    max-width: 800px
}

#product_comments_block_tab div.comment_details .title_block, #product_comments_block_tab div.comment_details h4 {
    padding-bottom: 10px
}

#product_comments_block_tab div.comment_details p {
    padding-bottom: 10px
}

#product_comments_block_tab div.comment_details ul {
    list-style-type: none;
    margin: 0
}

#product_comments_block_tab div.comment_details li {
    padding: 2px 0 2px 12px;
    background: url(img/bg_li.png) no-repeat 1px 45% #fff
}

#product_comments_block_tab a {
    text-decoration: none;
    font-weight: bold
}

#product_comments_block_tab a:hover {
    text-decoration: underline
}

#product_comments_block_tab button.usefulness_btn {
    cursor: pointer;
    margin: 0 0 0 5px;
    display: inline-block;
    padding: 0 2px;
    border: 1px solid #c0c0c0;
    border-radius: 3px 3px 3px 3px;
    color: #000;
    font-weight: bold;
}

#product_comments_block_tab button.usefulness_btn:hover {
    background-position: left -50px
}

#product_comments_block_tab button.usefulness_btn:active {
    background-position: left -100px
}

#product_comments_block_tab span.report_btn {
    cursor: pointer
}

#product_comments_block_tab span.report_btn:hover {
    text-decoration: underline
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.open-comment-form {
    margin-bottom: 20px;
}

#newCommentForm {
    display: none;
    background: #FFF;
}

#product_comments_block_tab .comment_details ul li {
    font-size: 12px
}

#new_comment_form #content {
    width: 100% !important;
    max-width: 100% !important;
}

#new_comment_form_ok {
    overflow: hidden;
    clear: both;
}

#gdpr_checkbox {
    height: auto !important;
    width: auto !important;
}

.gdpr_disabled {
    opacity: .5;
    background: silver !important;
    cursor: not-allowed !important;
}

#submitNewMessage {
    /*margin-left: 15px;*/
}

#myprestacommentsBlock .comment_product {
    width: 100%;
    text-align: center;
}


.comment_product img {
    padding: 5px;
    background: #FFF;
    border: 1px solid #dedede;
    border-radius: 2px;
}

.product_comment_feedback .comment_author_infos {
    text-align: center;
    padding-top: 10px !important;
}

.criterions_grade {
    font-size: 10px;
    clear: both;
}

#new_comment_form, #id_new_comment_form input {
    max-width: 100% !important;
}

#new_comment_form .g-recaptcha div {
    float:right;
    margin-bottom:10px;
}

@media only screen and (min-width: 350px) and (max-width: 545px){
    #criterions_list {
        padding-left: 0px!important;
    }
    #criterions_list li {
        padding:0px!important;
        margin:0!important;
        left:0px!important;
    }
    #criterions_list label {
        margin:0px!important;
        text-align:center!important;
        width:100%!important;
        display:block!important;
        clear:both!important;
        float:inherit!important;
    }

    #criterions_list, .star_content {
        text-align:center;
        max-width:160px;
        margin:auto;
    }

    #new_comment_form_footer, #submitNewMessage {
        text-align:center!important;
        clear:both;display:block;
        margin:auto!important;
        margin-top:10px!important;
        margin-bottom:10px!important;
    }

    .reviews {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .container-comment{
        padding: 25px 25px 25px 25px;
        border: 1px #396fba solid;
        border-radius: 20px;
        background: #fbfbfb;
    }

    .rating-overview {
        align-items: center;
        margin-top: 70px;
    }

    .rating-score {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        font-size: 36px;
        font-weight: bold;
        align-items: center;
        margin-left: 0px;
        color: #0D4C97;
    }
    
}

@media screen and (min-width: 769px) {
    .reviews {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
        gap: 20px;
        margin-top: 20px;
        margin-bottom: 30px;
    }
    .rating-overview {
        align-items: center;
        margin-top: 0px;
    }
    .container-comment{
        margin: 0px 0px 30px 0px;
        /*padding: 50px 50px 50px 50px;*/
        border: 1px #396fba solid;
        border-radius: 20px;
        background: #fbfbfb;
    }

    .rating-bar-container {
        margin-left: 20px;
        margin-top: 20px;
        width: 20%;
    }

    .rating-score {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        font-size: 36px;
        font-weight: bold;
        align-items: center;
        margin-left: 20px;
        color: #0D4C97;
    }
}

.clasification{
    font-size: 12px;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.rating-bar span {
    margin-right: 5px;
}

.bar {
    height: 6px;
    background-color: #ddd;
    border-radius: 3px;
    flex: 1;
    position: relative;
}

.bar-fill {
    height: 100%;
    background-color: #0D4C97;
    border-radius: 3px;
}

.review-form {
    display: grid;
    align-items: center;
}

.review-form input[type="radio"] {
    display: none;
}

.review-form label {
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
}

.review-form input[type="radio"]:checked + label {
    color: #ffcc00;
}

.review-form button {
    background-color: #0056b3;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin-left: 10px;
}

.review-form button:hover {
    background-color: #003d80;
}

@media screen and (min-width: 769px) {
    .reviews {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
        gap: 20px;
        margin-top: 20px;
        margin-bottom: 30px;
    }
}



.review {
    border: 1px solid #464545;
    border-radius: 20px;
    padding: 15px;
    background-color: #fff;
}

.review h3 {
    font-size: 16px;
    margin: 0 0 10px;
}

.review p {
    font-size: 14px;
    margin: 0;
}

.review .stars {
    color: #ffcc00;
    margin-bottom: 10px;
}

.container.container-comment .header h2 {
    cursor: pointer;
    color: #007bff;
}

.container.container-comment .header h2:hover {
    color: #0056b3;
}

.toggle-arrow {
    font-size: 16px;
    margin-left: 10px;
    color: #007bff;
    transition: transform 0.3s ease;
}

.toggle-arrow:hover {
    color: #0056b3;
}

.btn-cm {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
      border-top-color: transparent;
      border-right-color: transparent;
      border-bottom-color: transparent;
      border-left-color: transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 1.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  }

  .btn-cm-primary:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
  }

  .btn-cm-primary {
    color: #fff;
    background-color: #0d4c97;
    border-color: #007bff;
  }

  .btn-cm-primary.focus, .btn-cm-primary:focus {
    box-shadow: 0 0 0 .2rem rgba(0,123,255,.5);
  }

  #toggle-comments{
    margin-bottom: 20px;
  }