.mandatory {color: #FF0000;}
.comment-tag{padding: 15px;background: #dadada;border-radius: 50%;width: 100%;color: #f0494f;font-weight: bold;font-size: 20px;}
.no-comments-buffering{height: 120px; width: 120px;}
/*#comment{margin: 40px 0px 0px 0px;}*/
#comment li .commentboxpadding{background: #f0f1f3;display: inline-block;position: relative;border-radius: 10px;padding: 20px 25px;}
#comment li .commentboxpadding:before{
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #f0f1f3;
    left: -15px;
}
#comment li p{ margin: 0px;}
#comment li{
             width: auto;
             line-height: 152%;
             position: relative;
             padding-left: 60px;
             margin-bottom: 20px;
             list-style-type: none;
}
.query-status{display: block;margin: .5rem 0}
.query-status span{background: #6e6e6e;color: #fff;padding: .2rem 1rem;border-radius: 3px;margin: 0 1rem 0 0;}
.query-status.query-open span{background: #595d61;}
.query-status.query-progress span{background: #589858;}
.query-status.query-closed span{background: #ef5757;}


#comment li input[type="text"]{width: 100%; border-radius: 30px; border: 1px solid #ccc;padding: 10px 20px; background: #f0f1f3;outline: none; }  
#comment li input::placeholder {opacity: 0.7; font-size: 1.2em; }
#comment li h6{ color: #2978ba; font-weight: 400;}
.personnamebox{position: absolute;left: 0;width: 40px;height: 40px;border-radius: 50%;color: #fff;text-align: center;padding-top: 9px;font-weight: 400;font-size: 1.2em;top: 15px;}
.commmentresult{position: relative;}
.commmentresult a, .commmentresult span{color: #a6bfbb; font-size: 0.9em;}
.commmentresult a:hover{color: #638e87;}
.commentdiv{ display: none; font-size: 0.9em }
.blog-comments:hover .commentdiv{  padding: 20px; display: block;position: absolute;background: #f3f3f3;padding: 20px;border-radius: 2px;border: 1px solid #e0dede;width: 100%;top: 50px; z-index: 99;}
.commentdiv:after{
    content:'';
    width: 0  ;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid #f3f3f3;
    top: -15px;
    position: absolute;
    left: 50%;
    margin-left: -80px;
}

.commentdiv li h6 {
    color: #2978ba;
    font-weight: 400;
    margin-bottom: 0.2em;
}
.commentdiv li p {margin: 0px;line-height: 140%;}
.commentdiv li{ border-bottom: 1px solid #e1e1e1; padding-bottom: 15px; margin-bottom: 15px;}
.commentdiv li:last-child{margin: 0px; border: 0px;}
.commentdiv img{width: 45px; height: 45px; border-radius: 50%;}
.blog-comment li .personnamebox{background: #e6e6e6;color: #00395a;box-shadow: 0px 0px 5px rgba(51, 51, 51, 0.5)}
/*.blog-comment li:nth-child(1n) .personnamebox{background: #28a745;}
.blog-comment li:nth-child(2n) .personnamebox{background: #ffc107;}
.blog-comment li:nth-child(3n) .personnamebox{background: #dc3545;}
.blog-comment li:nth-child(4n) .personnamebox{background: #17a2b8;}*/

/*#comment li:nth-child(1n) h6{color: #28a745;}
#comment li:nth-child(2n) h6{color: #ffc107;}
#comment li:nth-child(3n) h6{color: #dc3545;}
#comment li:nth-child(4n) h6{color: #17a2b8;}*/

#comment li.comment-right {
    text-align: right;
}

#comment li.comment-right .commentboxpadding{text-align: right;}
#comment li.comment-right .commentboxpadding:before{border-right: none;border-left: 15px solid #f0f1f3;left: auto;right: -15px;}
li.comment-right .personnamebox {position: absolute;left: auto;right: -65px;}

@media (max-width:576px){
    #comment li span:before{left: -7px;}
    .personnamebox {top: -20px; z-index: 1;left: 50%; margin-left: -20px;}
    #comment li { padding-left: 0; margin-top: 40px;}
    #comment li .commentboxpadding:before{display: none;}
}