/* COMMENTS STYLE */
.comments-title {
  font-weight: bold;
  font-size: 24px;
  line-height: 36px;
  color: #303030;
  margin-bottom: 24px;
}
.add-comment-m,
.comment-form-header {
  display: none;
  text-transform: none;
}

/* Comments Form */
.logged-in-as {
  margin: 0;
  margin-bottom: -10px;
  width: 100%;
}
.logged-in-as a {
  font-weight: 600;
  color: #303030;
}
.comment-form-block,
.comment-body {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  position: relative;
}
.user-block {
  flex: none;
  width: auto;
  margin-right: 15px;
  margin-top: 50px;
}
.comment-respond {
  width: 100%;
}
.photo {
  width: 48px;
  height: 48px;
  position: relative;
  border-radius: 50%;
  background-color: #e8e8e1;
}
.anonim {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.anonim::before {
  content: "\e922";
  font-family: "Sportbet";
  font-size: 20px;
  color: #b8b8b6;
  margin: auto;
}
.photo img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}
.comment-form {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
}
.comment-form-email,
.comment-form-author {
  width: 48%;
  display: flex;
}
.comment-form-text {
  width: 100%;
  display: flex;
  margin: 15px 0;
}
.comment-form-button {
  display: flex;
  width: 150px;
  margin-left: auto;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.comment-form-button .btn {
  text-transform: none;
  max-height: 50px;
  max-width: 150px;
  margin-left: 20px;
}

.commentlist {
  margin: 0;
  margin-top: 25px;
  padding: 0;
}
.commentlist li {
  margin-bottom: 20px;
  list-style: none;
}
.comment-content {
  background-color: #ffffff;
  border-radius: 0px 5px 5px 5px;
  padding: 22px 20px;
  width: 100%;
}
.comment-awaiting-moderation {
  position: absolute;
  right: 20px;
  top: 15px;
  color: #b8b8bf;
}
.comment-author {
  font-weight: bold;
  font-size: 13px;
  line-height: 24px;
  color: #303030;
}
.comment-data {
  font-weight: 600;
  font-size: 12px;
  line-height: 24px;
  color: #b8b8b6;
}
.comment-content p {
  font-weight: normal;
  font-size: 13px;
  line-height: 24px;
  color: #303030;
  margin: 0;
}
.reply {
  display: none;
}
.sb-captcha {
  width: 200px;
  text-align: center;
  flex: none;
  margin: auto 0;
  font-weight: 600;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-right: 10px;
  background-color: #fff;
  cursor: pointer;
  border-radius: 5px;
  position: relative;
  border: 1px transparent solid;
  color: #8e8e8e;
}
.sb-captcha.invalid {
  border: 1px #ff9797 solid;
  color: #ff9797;
}
.sb-captcha:hover {
  box-shadow: 0px 8px 10px rgb(0 0 0 / 7%);
}
.sb-captcha::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 1px #ccc solid;
  top: 0;
  bottom: 0;
  left: 15px;
  margin: auto;
  position: absolute;
}
.sb-captcha::after {
  content: "";
  width: 13px;
  height: 13px;
  left: 17px;
  top: 0;
  bottom: 0;
  margin: auto;
  border-radius: 3px;
  background-color: #59ce52;
  position: absolute;
  opacity: 0;
  -webkit-transition: all 0.25s linear;
  -moz-transition: all 0.25s linear;
  transition: all 0.25s linear;
}
.sb-captcha.clicked::after {
  opacity: 1;
}
@media screen and (max-width: 650px) {
  .comment-form-block {
    padding: 0 15px;
  }
  .comment-form-block .user-block {
    display: none;
  }
  .comments-title {
    padding: 0 15px;
    margin-bottom: 15px;
  }
  .commentlist li {
    margin-bottom: 8px;
  }
  .user-block {
    margin: auto;
    position: absolute;
    top: 22px;
    left: 15px;
  }
  .comment-content {
    padding: 22px 15px;
  }
  .comment-author,
  .comment-data {
    padding-left: 60px;
  }
  .comment-content p {
    margin-top: 15px;
  }
}
@media screen and (max-width: 500px) {
  .comment-form-button {
    width: 110px;
  }
  .comment-form-button .btn {
    margin-left: 0;
  }
}
@media screen and (max-width: 450px) {
  .logged-in-as {
    margin-bottom: 0;
  }
  .comments-title {
    margin-top: 25px;
  }
  .add-comment-m {
    margin: 0 22px;
    width: auto;
    display: block;
  }
  .comment-form-header {
    display: flex;
    padding: 30px 0;
    text-align: center;
    width: 100%;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    justify-content: center;
    color: #4d4c48;
    position: relative;
    background-color: #f6f6f5;
    margin-bottom: 20px;
  }
  .comment-form-header::before {
    font-family: "Sportbet";
    content: "\e901";
    font-size: 14px;
    position: absolute;
    left: 15px;
    font-weight: normal;
  }
  .comment-respond {
    background-color: #fff;
    position: fixed;
    z-index: 2;
    height: 100%;
    left: -700px;
    top: 0;
  }
  .comment-respond.opened {
    left: 0;
  }
  .comment-form {
    padding: 0 15px;
  }
  .comment-form input[type="text"],
  .comment-form input[type="email"],
  .comment-form textarea {
    border: 1px solid #e8e8e1;
    border-radius: 5px;
    margin: 0;
    margin-bottom: 15px;
  }
  .comment-form textarea {
    height: 200px;
  }
  .comment-form-text {
    margin: 0;
  }
  .comment-form-email,
  .comment-form-author {
    width: 100%;
  }
  .sb-captcha {
    border-color: #e8e8e1;
  }
  .sb-captcha:hover {
    box-shadow: none;
  }
  .comment-form-button {
    width: 100%;
  }
  .comment-form-button .btn {
    max-width: 100%;
    margin-top: 15px;
    height: 100%;
  }
  .commentlist {
    margin-top: 20px;
  }
  .comment-awaiting-moderation {
    width: 100%;
    top: auto;
    bottom: 0;
    color: #fdd71c;
    text-align: center;
    right: 0;
  }
}
