/*--------------------------------------------------------------
	## Comments
--------------------------------------------------------------*/

.comment-content {
  a {
    word-wrap: break-word;
  }
}

.bypostauthor {
  display: block;
}

.comments-area {
  margin-top: 30px;
  margin-bottom: 120px;

  .comments-title {
    font-size: 26px;
    line-height: 34px;
    font-weight: 600;
    margin-bottom: 38px;
  }

  .comment-list {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-bottom: 20px;

    .comment-respond {
      margin-bottom: 30px;
    }

    li {
      &:last-child {
        margin-bottom: 0;

        .single-comment-wrap {
          .thumb {
            .date {
              margin-bottom: 0;
            }
          }
        }
      }

      ul.children {
        margin: 0;
        padding: 0;
        list-style: none;
        margin-top: 30px;

        li {
          margin-left: 50px;
          list-style: none;
        }
      }

      .single-comment-wrap {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        --ms-flex-item-align: start;
        align-self: flex-start;

        .thumb {
          margin-right: 20px;
          min-width: 80px;
          border-radius: 50%;

          img {
            margin-bottom: 10px;
            border-radius: 50%;
            border: 2px solid #fafafa;
            box-shadow: 0 0 50px 0 rgba(0, 0, 0, .02);
          }
        }

        .date {
          display: block;
          font-size: 14px;
          line-height: 20px;
          margin-bottom: 10px;
        }

        .content {
          -webkit-box-flex: 1;
          -ms-flex: 1;
          flex: 1;
          position: relative;
          max-width: 670px;

          .title {
            font-size: 18px;
            line-height: 28px;
            font-weight: 600;
            padding-right: 70px;
            color: #111;
            font-family: var(--heading-font);
          }

          .comment-content {
            max-width: 670px;
          }

          p {
            word-break: break-word;

            &:last-child {
              margin-bottom: 0;
            }
          }

          .reply {
            color: var(--main-color-one);

            &:hover {
              color: var(--main-color-one);
            }
          }

          .comment-reply-link {
            &:after {
              position: static;
              content: "\f3e5";
              font-family: "Font Awesome 5 Free";
              font-size: 14px;
              line-height: 1;
              margin-left: 5px;
              font-weight: 900;
            }

            position: absolute;
            top: 0;
            right: 0;
            -webkit-transition: all 0.3s ease-in;
            -moz-transition: all 0.3s ease-in;
            -o-transition: all 0.3s ease-in;
            transition: all 0.3s ease-in;
            color: var(--main-color-one);
            font-size: 14px;

            &:hover {
              color: var(--main-color-one);
            }
          }
        }
      }
    }

    li.comment {
      margin-bottom: 30px;
    }

    .has-children {
      padding-left: 80px;
    }

    ol {
      &:not([class]) {
        li {
          ol {
            margin-bottom: 0;
          }
        }

        margin-bottom: 20px;
      }
    }

    .children {
      li {
        &:last-child {
          margin-bottom: 30px;
        }
      }
    }

    ul {
      &:not([class]) {
        margin-bottom: 20px;

        ul {
          margin-bottom: 0px;
        }
      }
    }
  }

  .reply-title {
    font-size: 26px;
    line-height: 34px;
    font-weight: 600;
    margin-bottom: 25px;
  }

  .comment-reply-title {
    font-size: 26px;
    line-height: 34px;
    font-weight: 600;
    margin-bottom: 25px;

    small {
      font-size: 26px;
      line-height: 34px;
      font-weight: 600;
      color: var(--secondary-color);
      margin-left: 10px;
      display: inline-block;
      position: relative;
      top: 4px;
      margin-bottom: 0;
    }
  }

  .comment-form-wrap {
    padding: 65px 95px 70px;
  }

  .form-submit {
    margin-bottom: 0;
  }
}

.blog-content-page-content-area {
  .comments-area {
    .comment-list {
      li {
        .single-comment-wrap {
          .time {
            display: block;
            font-size: 14px;
            line-height: 20px;
            margin-bottom: 10px;
          }
        }
      }
    }
  }
}

.comment-form {
  .form-group.textarea {
    .form-control {
      min-height: 120px;
      resize: none;
      line-height: 26px;

      &:focus {
        outline: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
      }
    }
  }

  .form-group {
    .form-control {
      height: 50px;
      line-height: 50px;
      border-radius: 0;
      border: 1px solid #f2f2f3;
      background-color: #fff;
      padding: 10px 20px;
      padding-right: 35px;
    }
    position: relative;
  }

  .btn-wrap {
    .boxed-btn {
      font-size: 14px;
    }
  }  

  .submit-btn {
    &:hover {
      background-color: var(--main-color-one);
      color: #fff;
    }

    height: 50px;
    width: auto;
    font-weight: 600;
    background-color: var(--main-color-one);
    border: none;
    cursor: pointer;
    -webkit-transition: .3s ease-in;
    -o-transition: .3s ease-in;
    transition: .3s ease-in;
    color: #fff;
    padding: 0 30px;
    border-radius: 0;
  }
}

.comment-form-cookies-consent {
  input[type=checkbox] {
    margin-right: 5px;
  }
}

label[for="wp-comment-cookies-consent"] {
  font-size: 14px;
}

.comment-respond {
  margin-top: 42px;
}

.form-group.textarea {
  width: 100% ! important;
  margin-left: 0 !important;
}

.full-width-content {
  .comments-area {
    .comment-list li .single-comment-wrap .content {
      max-width: 100%;
    }
  }
}

@media only screen and (max-width: 991px) {
  .comments-area {
    .comment-list {
      li {
        .single-comment-wrap {
          .content {
            max-width: calc(100% - 100px);
          }
        }
      }
    }
  }
}

@media only screen and (max-width: 384px) {
  .comments-area {
    .comment-list {
      li {
        .single-comment-wrap {
          display: block;

          .content {
            max-width: 100%;
          }
        }
      }
    }
  }
}
