/** Discussion **/

#comments .meta {
    font-size: 12px;
    display: inline-block;
    width: 100%;
    padding: 0 10px;
    line-height: 27px;
    box-sizing: border-box;
    height: 27px;
}

#comments .meta span.v {
    float: right;
}

#comments .comment {
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    margin: 10px 0;
}

#comments > div {
    margin-top: 30px;
}

#comments .comment .text {width: 100%;background: #efefef;min-height: 45px;margin: 0;padding: 10px;box-sizing: border-box;max-height: 200px;overflow-y: auto;white-space: break-spaces;}

#comments .nocomments {
    text-align: center;
}

#comments #commentfield {
    display: block;
    width: 100%!important;
    box-sizing: border-box;
    padding: 5px;
    resize: vertical;
}

#comments #postcomment {
    display: block;
    height: 32px;
    box-sizing: content-box;
    background-color: var(--colorprimary);
    color: #fff;
    border-radius: 3px;
    border: 2px solid #334ddc;
    font-size: 16px;
    letter-spacing: 0.3px;
    margin: auto;
    margin-right: 0;
    margin-top: 8px;
    min-width: 125px;
    width: 20%;
}

#comments .postcomment {
    position: relative;
}

#comments .cerror {
    display: none;
    width: 100%;
    max-width: 500px;
    background: red;
    font-size: 13px;
    color: #fff;
    padding: 5px;
    margin: 8px auto 5px;
    position: relative;
    text-align: center;
    border-radius: 3px;
    box-sizing: border-box;
}

#comments .cerror:before {content: "";display: block;width: 10px;height: 10px;border-radius: 0 0 20px 0;position: absolute;background: inherit;top: -4px;left: 0;right: 0;margin: auto;transform: rotate(45deg);}

#comments #commentfield.error {
    border-color: red;
}

#comments #comment_author {
    display: block;
    height: 38px;
    box-sizing: border-box;
    margin-right: 7px;
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
    padding: 5px;
}

#comments .postcomment > div {
    position: relative;
    width: 100%;
    display: flex;
}

#comments #comment_author.error {
    border-color: red;
}

#comments #loadmorecomments {
    background-color: #4461ff;
    color: #fff;
    border: 2px solid #3151ff;
    display: block;
    margin: 25px auto 18px;
    box-sizing: content-box;
    border-radius: 3px;
    font-size: 16px;
    width: 145px;
    height: 35px;
}

#comments .loadmorebtn div {
    float: left;
    width: 25px;
    margin: 0 5px 0 15px;
}

#comments #loadmorecomments span {
    float: left;
}

#comments .loadmorebtn.loading .one {
    display: none;
}

#comments .loadmorebtn.loading .two {
    display: block;
}

#comments .loadmorebtn.loading i {
    animation: rotate 0.6s ease-in-out infinite;
}

#comments .v > span:hover:before {transform: scale(1.2);}
#comments .v > span{
    cursor: pointer;
}

section#comments .v .error {
    color: #cf2e2e;
    cursor: default;
}