/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License 3.0 (AFL-3.0)
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
 * versions in the future. If you wish to customize PrestaShop for your
 * needs please refer to https://devdocs.prestashop.com/ for more information.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
 */

/**
 *  Product comments CSS
 */

 .product-comment-modal .material-icons[data-icon]:before,
 .product-comment-list-item .material-icons[data-icon]:before,
 .product-comments-additional-info .material-icons[data-icon]:before,
 #product-comments-list-header .material-icons[data-icon]:before,
 #product-comments-list-footer .material-icons[data-icon]:before {
   content: attr(data-icon);
 }
 .product-comments-additional-info .post-product-comment{
   font-size: 14px;
     background: none;
     border: none;
 }
 .product-comments-additional-info .post-product-comment .material-icons.edit{
   font-size: 16px;
 }
 .btn-comment,
 .btn-comment-inverse {
   height: 36px;
   border-radius: 2px;
   background-color: #6b868f;
   color: #ffffff;
   font-size: 14px;
   box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.2);
   padding: 8px;
 }
 .btn-comment .material-icons,
 .btn-comment-inverse .material-icons {
   font-size: 20px;
   margin-right: 7px;
 }
 .post-comment-buttons .btn-secondary{
  margin: 0 15px 0 0;
 }
 #criterions_list li{
  margin-bottom: 15px;
 }
 .btn-comment:hover {
   background-color: #3c4d52;
 }
 

 
 .btn-comment-big {
   padding: 13px 16px;
   height: 45px;
 }
 
 .btn-comment-huge {
   padding: 13px 28px;
   height: 45px;
 }
 
.product-comments-additional-info .link-comment {
  border-right: 1px solid #ccc;
  float: left;
  width: auto;
  padding: 0 10px;
 }
 
 .link-comment:hover,
 .link-comment:active {
   color: #232323;
 }
 .product-comments-additional-info .link-comment i{
  font-size: 16px;
 }
 /**
  * Additional product infos
  */
 
 .product-comments-additional-info {
   margin: 20px 0;
   font-weight: 300;
   display: flex;
   font-size: 13px;
 }
 .product-comments-additional-info .additional-links a:last-child {
	border: medium none;
}
 
 .product-comments-additional-info .comments-note {
  border-right: 1px solid #ccc;
  float: left;
  padding: 0 10px 0 0;
}
 
 /**
  *  Post comment modal
  */
 
 .product-comment-modal .modal-header .h2 {
  font-size: 16px;
  line-height: 20px;
  color: #111;
  font-weight: 600;
  width: auto;
  float: left;
 }
 
 .product-comment-modal .modal-dialog {
   width: calc(100% - 30px);
   max-width: 774px;
 }
 
 .product-comment-modal .modal-dialog .h3 {
   font-size: 14px;
 }
 
 .product-comment-modal .modal-dialog .product-flag {
   display: none;
 }


 
 .product-comment-modal input {
   width: 100%;
   height: 44px;
   border: 1px solid #bfbfbf;
   padding: 0 10px;
   margin-bottom: 1rem;
 }
 
 .product-comment-modal textarea {
   width: 100%;
   min-height: 80px;
   border: 1px solid #bfbfbf;
   margin-bottom: 1rem;
   padding: 10px 10px;
 }

 .product-comment-modal .required {
   font-size: 12px;
   margin-left: 5px;
 }
 
 .product-comment-modal .post-comment-buttons {
   display: flex;
   flex-direction: row;
   justify-content: center;
 }
 
 .product-comment-modal .post-comment-buttons .btn-comment {
   margin-left: 15px;
 }
 
 #product-comment-posted-modal .post-comment-buttons,
 #product-comment-post-error .post-comment-buttons,
 #update-comment-usefulness-post-error .post-comment-buttons {
   margin-top: 30px;
 }
 
 .modal-header .material-icons {
   color: #40a85f;
   font-size: 30px;
   line-height: 25px;
 }
 
 .modal-header .material-icons.error {
   color: #a94442;
 }
 
 .modal-header .material-icons.feedback {
   color: #f39d72;
 }
 
 /**
  *  Star component
  */
 
 .star-content {
   margin: 0 0 0 5px;
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
 }
 .star::after{
  display: block !important;
  font-size: 16px;
 }
 .star-content div.star,
 .star-content div.star-on,
 .star-content div.star-hover {
   display: block;
   font-size: 16px;
   margin: 0;
   flex: auto;
 }
 .star-content .star-hover::after,.star-content div.star-on::after{
color: #fbaf5d;
 }
 .star-content div.star-hover {
   cursor: pointer;
 }
 .star-content .star_hover::after , .star-content div.star-on::after{
  color: #fbaf5d;
  content: "\E838";
  font-family: "Material Icons";
  font-size: 16px;
}
 .grade-stars {
  position: relative;
  height: 10px;
  min-width: 90px;
  display: inline-block;
 }
 
 .grade-stars.small-stars {
   min-width: 100px;
 }
 
 .grade-stars .star-content {
   position: absolute;
   top: -3px;
   left: 0;
 }
 
 .criterion-rating .grade-stars .star-content {
   top: 0;
 }
 
 #post-product-comment-modal .star-content div.star a {
   display: block;
   position: absolute;
   text-indent: -5000px;
 }
 #post-product-comment-modal .criterion-rating {
   display: flex;
   flex-direction: row;
 }
.modal-dialog .modal-body #criterions_list{
	border-bottom: 1px solid #e6e6e6;
	padding-bottom: 15px;
	margin-bottom: 15px;
	list-style-type: none;
	padding: 0;
}
 #post-product-comment-modal .criterion-rating label {
  float: left;
  margin: 0 10px 0 0;
  min-width: 50px;
  text-align: left;
}
 
 
 #post-product-comment-form input.error,
 #post-product-comment-form textarea.error {
   background-color: #f2dede;
   border: solid 1px #ebcccc;
 }
 
 #post-product-comment-form input.valid,
 #post-product-comment-form textarea.valid {
   border: solid 1px #d0e9c6;
 }
 
 /**
  *  Product comments list
  */
 
 #product-comments-list-header {
   padding: 20px 15px;
   color: #232323;
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
   justify-content: space-between;
 }
 
 #product-comments-list-header .comments-nb {
   padding-left: 0;
   padding-top: 3px;
 }
 
 #product-comments-list-header .comments-nb .material-icons {
   margin-right: 3px;
 }
 
 #product-comments-list .btn-comment {
   margin: 0 auto;
   display: block;
 }
 
 .product-comment-list-item {
   padding: 20px;
   margin: 0 0 20px;
   background-color: #f5f5f5;
   text-align: left;
 }
 
 #empty-product-comment {
   text-align: center;
 }
 
 .product-comment-list-item .grade-stars .star-content {
   margin: 0 0 10px;
 }
 
 .product-comment-list-item .comment-infos {    
  display: flex;
  justify-content: space-between;
   color: #6b868f;
   font-size: 14px;
   border-bottom: 1px solid #e5e5e5;
   margin: 0 0 10px;
 }
 
 .product-comment-list-item .comment-infos .grade-stars {
   margin-bottom: 15px;
 }
 
 .product-comment-list-item .comment-content .h4 {
  height: 22px;
  color: #363a41;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 5px;
 }
 
 .product-comment-list-item .comment-content p {
   color: #363a42;
   font-size: 14px;
   margin: 0;
   word-break: break-word;
   white-space: pre-wrap;
 }
 .comment-info{
  display: flex;
 }
 .comment-info .comment-author{
  margin: 0 10px 0 0;
  font-weight: 600;
    color: #444;
 }
 .product-comment-list-item .comment-content .comment-buttons a {
   color: #6b868f;
   font-size: 14px;
   letter-spacing: -0.28px;
   line-height: 19px;
   margin-right: 8px;
 }
 
 .product-comment-list-item .comment-content .comment-buttons a .material-icons {
   font-size: 18px;
   cursor: pointer;
 }
 
 /*
 ** Quickview style
 */
 
 .product-quickview-review {
   display: flex;
   flex-direction: row;
 }
 
 .product-quickview-review .grade-stars .star-content {
   margin: 0 0 0 0;
   top: 0;
 }
 
 /*
 ** Product list override
 */

 #products
   .product-miniature
   .thumbnail-container.has-reviews
   .discount-amount.online-only,
 #products
   .product-miniature
   .thumbnail-container.has-reviews
   .discount-percentage.online-only,
 #products
   .product-miniature
   .thumbnail-container.has-reviews
   .on-sale.online-only,
 #products
   .product-miniature
   .thumbnail-container.has-reviews
   .online-only.online-only,
 #products .product-miniature .thumbnail-container.has-reviews .pack.online-only,
 #products
   .product-miniature
   .thumbnail-container.has-reviews
   .product-flags
   .new.online-only,
 .featured-products
   .product-miniature
   .thumbnail-container.has-reviews
   .discount-amount.online-only,
 .featured-products
   .product-miniature
   .thumbnail-container.has-reviews
   .discount-percentage.online-only,
 .featured-products
   .product-miniature
   .thumbnail-container.has-reviews
   .on-sale.online-only,
 .featured-products
   .product-miniature
   .thumbnail-container.has-reviews
   .online-only.online-only,
 .featured-products
   .product-miniature
   .thumbnail-container.has-reviews
   .pack.online-only,
 .featured-products
   .product-miniature
   .thumbnail-container.has-reviews
   .product-flags
   .new.online-only,
 .product-accessories
   .product-miniature
   .thumbnail-container.has-reviews
   .discount-amount.online-only,
 .product-accessories
   .product-miniature
   .thumbnail-container.has-reviews
   .discount-percentage.online-only,
 .product-accessories
   .product-miniature
   .thumbnail-container.has-reviews
   .on-sale.online-only,
 .product-accessories
   .product-miniature
   .thumbnail-container.has-reviews
   .online-only.online-only,
 .product-accessories
   .product-miniature
   .thumbnail-container.has-reviews
   .pack.online-only,
 .product-accessories
   .product-miniature
   .thumbnail-container.has-reviews
   .product-flags
   .new.online-only {
   top: 11.5rem;
 }
 
 .product-list-reviews {
  position: static;
  margin: auto;
  display: flex;
  justify-content: start;
  width: 100%;
  padding: 4px 0;
  color: var(--body-text-color);
  font-size: 13px;
  transition: all 400ms ease-in-out 0s;
  -webkit-transition: all 400ms ease-in-out 0s;
  -moz-transition: all 400ms ease-in-out 0s;
  -o-transition: all 400ms ease-in-out 0s;
  -ms-transition: all 400ms ease-in-out 0s;
  opacity: 1;
  -moz-opacity: 1;
  -khtml-opacity: 1;
  -webkit-opacity: 1;
  visibility: visible;
 }
.product-list .product-list-reviews,.product-sort .product-list-reviews{
visibility: visible;
text-align: left;
position: static;
justify-content: start;
padding: 0 0 6px;
}
 .product-list-reviews .grade-stars .star-content {
   top: 1px;
 }
 
 .product-list-reviews .comments-nb {
   margin-left: 5px;
   font-size: 13px;
 }
 @media (max-width: 767px){
  .products .thumbnail-container:hover .product-list-reviews {
    bottom: 0;
  }
  .product-comment-list-item .comment-infos {    
    display: block;
   }
   .comment-info {
    margin: 0 0 10px;
}
 }
 @media (min-width: 768px) {
   #product-comments-list-footer {
     position: relative;
     min-height: 45px;
   }
 
   #product-comments-list-footer .post-product-comment {
     margin: 0 auto;
     display: block;
   }
 
   #product-comments-list-pagination {
     position: absolute;
     right: 0;
     top: 5px;
   }
 }
 
 @media (max-width: 768px) {
   #product-comments-list-footer {
     display: flex;
     flex-direction: row-reverse;
     flex-wrap: nowrap;
     justify-content: space-between;
   }
 }
 
 @media (max-width: 576px) {
   #product-comments-list-footer {
     display: flex;
     flex-direction: column;
     flex-wrap: nowrap;
     align-items: center;
   }
 
   #product-comments-list-pagination {
     margin-bottom: 10px;
   }
 }
 @media (max-width:543px){
  .product-list .product-list-reviews{
    justify-content: center;
  }
 }
 #product-comments-list-pagination {
   height: 32px;
 }
 
 #product-comments-list-pagination ul {
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
 }
 
 #product-comments-list-pagination ul li span {
   height: 32px;
   width: 24px;
   margin: 0 5px;
   cursor: pointer;
   display: block;
   text-align: center;
   font-size: 20px;
   line-height: 32px;
   color: #6b868f;
 }
 
 #product-comments-list-pagination ul li.active span,
 #product-comments-list-pagination ul li span.next i,
 #product-comments-list-pagination ul li span.prev i {
   font-weight: bold;
 }
 
 #product-comments-list-pagination ul li.disabled span {
   opacity: 0.3;
   cursor: not-allowed;
 }
 
 #product-comments-list-pagination ul li.active span {
   cursor: not-allowed;
 }
 