/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.review-modal-content {
  max-width: 800px;
  margin: auto;
  padding: 20px;
  width: auto;
  height: auto;
}

.review-modal-image {
  width: min-content;
  height: min-content;
  margin: auto;
  display: block;
}

.product-review-list {
  max-width: 1000px;
}
/* The Close Button */
.close-button {
  color: #aaaaaa;
  text-align: right;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

  .close-button:hover,
  .close-button:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

.thumbnail-blog {
  display: inline-flex;
  position: relative;
  width: 50px;
  padding-top: 50px;
  overflow: hidden;
  align-content: center;
}

  .thumbnail-blog img {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 100%;
    width: 100%;
    object-fit: cover;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
  }

.disabled {
  pointer-events: none;
  cursor: default;
}

.review-image {
  float: left;
  margin-left: 10px;
  margin-top: 10px;
  width: 180px;
}

.rating-icons {
  display: inline-block;
  position: relative;
  height: 11px;
  color: #333;
  white-space: nowrap;
  letter-spacing: 3px;
}

  .rating-icons:before {
    content: "\e900 \e900 \e900 \e900 \e900";
    position: absolute;
    left: 0;
    font-size: 14px;
  }

  .rating-icons .rating {
    position: relative;
    overflow: hidden;
  }

    .rating-icons .rating:before {
      content: "\e901 \e901 \e901 \e901 \e901";
      font-size: 14px;
    }

.rating{
    margin: unset;
    margin-bottom: 0;
    text-align: left;
}

@media (min-width: 1201px) {
  .review-link {
    margin-left: 10px;
    width: calc(80% - 70px);
  }
}

@media (min-width: 768px) {
  .product-review-info {
    float: unset;
  }
}
.review-ctn {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

  .review-ctn * {
    color: #333;
  }

.review {
  background-color: rgba(219, 166, 88, .1);
  border-radius: 5px;
  margin-bottom: 20px;
  padding: 30px 30px 30px;
}

.review-title {
  text-align: center;
  letter-spacing: 3px;
  text-transform: capitalize;
  margin-bottom: 20px;
  font-family: "Playfair Display", sans-serif;
  font-size: 23px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
}
.customer-name {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 500;
}

.date-and-time {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  margin-top: 4px;
}

.comment {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  text-align: left;
  letter-spacing: 0;
}

.name-datetime {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  margin-bottom: 8px;
  display: flex;
}

.review-img-ctn {
  flex-flow: row;
  width: 70px;
  height: 70px;
  display: flex;
}

.review-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.review-pattern-name {
  letter-spacing: 1.5px;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  font-family: "Josefin Sans", sans-serif;
  font-size: 15px;
  display: flex;
  text-align: left;
}

  .review-pattern-name a {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 400; 
    line-height: 20px;
  }

    .review-pattern-name a:hover {
      color: #333;
    }

.review-pattern {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  margin-bottom: 8px;
  display: flex;
}

@media screen and (max-width: 991px) {
  .review-ctn {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media screen and (max-width: 479px) {
  .review-ctn {
    padding-left: 20px;
    padding-right: 20px;
  }
}
