.row.justify-content-end{
  display: flex;
  justify-content: end;
}
/*** ajax button loader ***/
.ajax-loader{
  position: relative;
}
.ajax-loader::before{
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.5);
}
.ajax-loader::after{
  position: absolute;
  font-family: 'Material Icons';
  content: '\e863';
  top: calc(50% - 16px);
  left: calc(50% - 16px);
  z-index: 1;
  color: #d64b50;
  font-size: 32px;
  line-height: 32px;
  animation: spin 1s linear infinite;
}

#module-smartblog-details .section-title{
    text-align: center;
    padding: 2rem 0 1rem 0;
}

#articleComments {
  margin: 20px 0;
  padding: 50px 15px 10px 15px;
}
#articleComments h4 {
  font-size: 20px;
  letter-spacing: 0;
  margin: 0 0 10px;
}
#articleComments h4 span {
  font-size: 14px;
  font-weight: normal;
}
#articleComments #js-comments.ajax-loader::after{
  font-size: 60px;
}
#commentForm .container{
  border-top: 1px solid #E1E1E1;
}
#respond #cancelCommentReply {
  background: none repeat scroll 0 0 #666666;
  color: #FFFFFF;
  float: right;
  font-size: 11px;
  margin-top: -27px;
  padding: 3px 10px;
  text-decoration: none;
}
#respond #cancelCommentReply:hover {
  background: none repeat scroll 0 0 #333333;
}

#respond input[disabled] {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
  border: medium none;
}
#respond .error {
  color: #DD0000;
  padding: .2rem .5rem;
}

/***************************/
.button-addComment::before{
  display: block;
  width: 58px;
  height: 1px;
  position: absolute;
  left: -29px;
  top: 21px;
  content: "";
  border-bottom: 1px dashed rgba(0, 0, 0, .3);
}
.button-addComment::after{
  display: block;
  width: 58px;
  height: 1px;
  position: absolute;
  right: -29px;
  top: 21px;
  content: "";
  border-bottom: 1px dashed rgba(0, 0, 0, .3);
}
.button-addComment.ajax-loader::before{
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  border: 0;
}
.button-addComment.ajax-loader::after{
  position: absolute;
  font-family: 'Material Icons';
  content: '\e863';
  top: calc(50% - 16px);
  left: calc(50% - 16px);
  color: #fff;
  font-size: 32px;
  line-height: 32px;
  animation: spin 1s linear infinite;
  border: 0;
  right: inherit;
  width: inherit;
  height: inherit;
}
.button-addComment{
  display: inline-block;
  position: relative;
  color: #000;
  font-size: 15px;
  text-decoration: none;
  line-height: 43px;
  padding: 0 43px;
  background: #fff;
  border: 2px solid #000;
  transition: .2s;
  cursor: pointer;
}
.button-addComment:hover{
  color: #fff;
  background: #bd3a3e;
  border-color: #bd3a3e;
}
.button-addComment.ajax-loader{
  color: #bd3a3e;
  border-color: #bd3a3e;
  background: #bd3a3e;
}

#articleComments .container.comment-container,
#commentForm .container.comment-container{
  max-width: 1140px;
}
.comment-card .container{
  width: 100%;
}

.comment-card{
  display: flex;
  flex-direction: row;
  padding: 1rem;
}
.comment-card .avatar{
  width: 70px;
}
.comment-card .avatar img{
  border: 2px solid #000;
}
.comment-card .content{
  width: 100%;
  padding: 0 1rem;
}
.comment-card .header span{
  border-left: 1px solid #dddddd;
  padding: 0 .4rem;
}
.comment-card .header span:first-of-type{
  border-left: 0;
  padding-left: 0;
}
.comment-card .header .author{
  font-size: 1.1rem;
  font-weight: 600;
}
.comment-card .header .date{
  color:#9c9c9c;
  font-size: .8rem;
}
.comment-card .body{
  padding: 1rem 0;
  color: #626262;
}
.comment-card .footer{
  padding: .5rem 0;
  border-bottom: 1px solid #dddddd;
  text-align: right;
  background-color: initial;
}
.comment-card .button-reply{
  display: inline-block;
  position: relative;
  color: #000;
  font-size: .8rem;
  text-decoration: none;
  line-height: 20px;
  padding: 0 .5rem;
  background: #fff;
  border: 1px solid #000;
  transition: .2s;
  cursor: pointer;
}
.comment-card .button-reply:hover{
  color: #fff;
  background: #bd3a3e;
  border-color: #bd3a3e;
}
.comment-replies .comment-card{
  padding-left: 0;
  padding-right: 0;
}
.comment-replies .comment-card .content{
  padding-right: 0;
}
.comment-replies-footer{
  text-align: center;
}
.comment-replies-footer .button-replies{
  display: inline-block;
  position: relative;
  color: #6a6a6a;
  font-size: .8rem;
  text-decoration: none;
  line-height: 20px;
  padding: 0 .5rem;
  background: initial;
  border: none;
  transition: .2s;
  cursor: pointer;
}
.comment-replies-footer button.button-replies:focus{
  outline: none;
}
.comment-replies-footer .button-replies .showLess{
  display: none;
}
/***extra triola avatar***/
/*.comment-card .avatar .text-avatar::before{
    content: '';
    position: absolute;
    top: -5%;
    left: -25%;
    width: 150%;
    height: 150%;
    background: none;
    border: 0;
    z-index: -1;
    transform: rotate(-20deg);
    opacity: 0.8;

    background-image: url('../img/brush-2.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.comment-card .avatar .text-avatar::after{
    content: '';
    position: absolute;
    top: -40%;
    left: -52%;
    width: 180%;
    height: 180%;
    background: none;
    border: 0;
    z-index: 1;

    background-image: url('../img/brush-1.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.comment-card .avatar .text-avatar{
    position: relative;
    width: 50px;
    height: 50px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,.3);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.comment-card .text-avatar .name{
    color: #fff;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}*/
@media screen and (max-width: 767px) {
    #articleComments {
        padding: 50px 0 10px 0;
    }
    #articleComments .comment-container{
        padding-left: 0;
        padding-right: 0;
    }
    .comment-card{
        padding-left: 0;
        padding-right: 0;
    }
}
@media screen and (max-width: 576px) {
    .comment-card .content{
        padding-left: 1.6rem;
    }
    #comments > .comment-card > .content{
        padding-left: 0;
        padding-right: 0;
    }
    .comment-card .avatar{
        display: none;
    }
}


#replyCommentHeader,
.button-reply.cancelReplyToComment{
  display: none;
}

#module-smartblog-details .featured-posts{
    margin-bottom: 0;
}

#articleSurvey iframe{
    width:100%;
    height: clamp(500px, 50vw, 800px);
}
#comment-pagination .page-list li.current a{
  cursor: default;
}