/**
 * 2007-2019 PrestaShop SA and Contributors
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * 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 http://www.prestashop.com for more information.
 *
 * @author    PrestaShop SA <contact@prestashop.com>
 * @copyright 2007-2019 PrestaShop SA and Contributors
 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 * International Registered Trademark & Property of PrestaShop SA
 */

/**
 *  Product comments CSS
 */

.page-product .product-comments-additional-info {
  display: flex;
  align-items: center;
}

.page-product .comments-note {
  margin-bottom: 0;
  margin-right: 24px;
}

.page-product .comments-note .grade-stars {
  margin-left: 0;
}

.page-product .comments-note .star {
  color: #000;
}

.page-product .additional-links .link-comment {
  text-decoration: underline;
}

.page-product .product-comments .comments-nb {
  text-transform: uppercase;
  color: #000000;
  font-size: 14px;
  font-family: 'Montserrat-Bold', Arial, Helvetica, sans-serif;
}

.page-product .product-comment-list-item .star {
  color: #000;
}

.page-product .product-comment-list-item {
  box-shadow: 0px 3px 6px #00000029;
  margin-bottom: 15px;
}

.page-product .product-comment-list-item .comment-author {
  font-size: 14px;
  margin-bottom: 12px;
}

.page-product .product-comment-list-item .comment-content .comment__title {
  color: #000000;
  font-size: 18px;
  font-family: 'Montserrat-Bold', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.page-product .product-comment-list-item .comment-content p {
  font-size: 14px;
}

.page-product .product-comments .comments-link-buttons {
  display: flex;
  align-items: center;
}

.page-product .product-comments .comments-link-buttons .material-icons {
  margin-right: 12px;
  margin-left: 0;
}

.page-product .product-comments .comments__header {
  align-items: center;
  margin-bottom: 16px;
}

.page-product .product-comments .btn-comment,
.page-product .product-comments .comments-link-buttons {
  font-size: 14px;
}

.page-product .product-comments-additional-info .post-product-comment .material-icons {
  margin-left: 0;
  font-size: 1rem;
}

.page-product .product-comments-additional-info .post-product-comment {
  font-size: 14px;
  padding: 0;
  text-decoration: underline;
}

.page-product #empty-product-comment .material-icons {
  margin-left: 0;
}

.product-comments .product-comment-modal .product-cover {
  height: 100%;
}

.product-comments .product-comment-modal .product-cover img {
  height: 100%;
  object-fit: contain;
}

.product-comments .product-comment-modal .modal-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.product-comments .product-comment-modal .modal-header {
  border-bottom: none;
  padding: 48px 48px 0 48px;
}

.product-comments .product-comment-modal .modal-header .h1 {
  text-transform: uppercase;
  font-family: 'Montserrat-Bold', Arial, Helvetica, sans-serif;
  font-size: 24px;
  color: #000;
  text-align: center;
  margin: 0 auto 48px 0;

}

.product-comments .product-comment-modal .modal-body .h3 {
  text-transform: uppercase;
  color: #000;
  font-size: 18px;
  font-family: 'Montserrat-Bold', Arial, Helvetica, sans-serif;
  text-align: left;
  margin-bottom: 40px;
}

.product-comments .product-comment-modal .modal-body #criterions_list .product-criterion {
  display: flex;
  align-items: flex-end;
  margin-bottom: 24px;
}

.product-comments .product-comment-modal .close {
  position: absolute;
  top: 0;
  right: 30px;
  font-size: 2rem;
}

.product-comments .product-comment-modal .modal-body {
  padding: 0 48px 48px 48px;
}

.product-comments .product-comment-modal .modal-footer {
  padding: 0;
  border-top: none;
  justify-content: space-between;
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.product-comments .product-comment-modal .modal-footer>* {
  margin: 0;
  width: 45%;
}

.product-comments .product-comment-modal .product-criterion {
  justify-content: initial;
}

.product-comments .product-comment-modal .product-criterion .product-criterion__name {
  font-size: 18px;
  font-family: 'Montserrat-Bold', Arial, Helvetica, sans-serif;
  color: #000;
  text-transform: uppercase;
}

.product-comment-modal .modal-dialog {
  max-width: 900px;
}

.starability-basic>.label,
.starability-basic>.label:before,
.starability-basic>label,
.starability-basic>label:before {
  height: 30px;
  background-image: url('../img/star_black.png');
}

.product-comments .product-comment-modal .form-control {
  border: 1px solid #000;
}

.product-comments .product-comment-modal .form-control::placeholder {
  color: #000;
}

.product-comments .product-comment-modal .required {
  font-size: 12px;
  color: #000;
  margin-top: 5px;
}

.product-comments .product-comment-modal .modal-footer .btn-primary {
  background: #000;
  font-size: 14px;
  text-transform: uppercase;
  border-color: #000;
  transition: all .3s;
  font-family: 'Montserrat-Bold', Arial, Helvetica, sans-serif;
}

.product-comments .product-comment-modal .modal-footer .btn-primary:hover {
  background: #E6A06E;
  border-color: #E6A06E;
  transition: all .3s;
}

.product-comments .product-comment-modal .modal-footer .btn-comment-inverse {
  color: #000;
  font-family: 'Montserrat-Bold', Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  border-color: #000;
  transition: all .3s;
}

.product-comments .product-comment-modal .modal-footer .btn-comment-inverse:hover {
  background: #000;
  color: #fff;
  transition: all .3s;
}

@media (max-width: 768px) {
  .product-comments .product-comment-modal .modal-header .h1 {
    margin: 0;
  }

  .product-comments .product-comment-modal .modal-body .h3 {
    font-size: 12px;
    text-align: center;
    margin: 12px 0 14px 0;
  }

   .product-comments .product-comment-modal .product-criterion .product-criterion__name {
    font-size: 14px;
    width: 50px;
  } 
  .product-comments .product-comment-modal .modal-footer {
    display: flex;
    flex-direction: row;
  }
  .product-comments .product-comment-modal .modal-footer .btn-comment-inverse {
    font-size: 12px;
  }
  .product-comments .product-comment-modal .modal-footer .btn-primary {
    font-size: 12px;
  }
  .product-comments .product-comment-modal .required {
    font-size: 10px;
    margin-top: 10px;
  }
}

@media (max-width: 1024px) {
  .product-comments .product-comment-modal .products-direction {
    flex-direction: column;
  }
  .product-comments .product-comment-modal .products-direction .product-column {
    max-width: 100%;
  }
}