/* استایل اصلی برای بخش کامنت‌ها */
.commentlist {
    list-style-type: none;
    padding: 0;
}

.comment-item {
display: flex;
  align-items: flex-start;
  padding: 18px;
  margin-bottom: 10px;
  border: 1px solid #f1f1f1;
  border-radius: 5px;
  direction: rtl;
  align-items: start;
  position: relative;
  background-color: #f1f1f1;
}

.comment-item .avatar {
    width: 50px;
    height: 50px;
    margin-left: 15px; /* فاصله از سمت چپ برای راست‌چین شدن */
    border-radius: 50%;
    overflow: hidden;
}

.comment-item .content {
    flex: 1;
}

.comment-item .comment-author {
    font-weight: bold;
    margin-bottom: 5px;
}

.comment-item .comment-meta {
    font-size: 11px;
    color: #666;
    margin-right: 5px; /* فاصله بین نام و تاریخ */
    font-weight: normal;
}

.comment-item.reply {
    background-color: #F6F8FC;
    border-right: 5px solid var(--bg1); /* تنظیم رنگ مرزی برای پاسخ */

}







#comment-form {

    background-color: #F6F8FC;
    padding: 23px;
}

#comment-form h3,
#comment-form .oncommti {
    font-size: 16px;
    margin-bottom: 25px;
    color: #333;
}

#comment-form input[type="text"],
#comment-form textarea {
    width: 100%;
    padding: 13px;
    border-radius: 5px;
    border: 1px solid #F6F8FC;
    margin-bottom: 10px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background-color: #Fff;
    color: #102d47;
    box-shadow: 0 1px 3px rgb(0 0 0 / .12),0 1px 2px rgb(0 0 0 / .24);
}

#comment-form input[type="text"]:focus,
#comment-form textarea:focus {
    border-color: #0073aa;
    outline: none;
}

#comment-form textarea {
    resize: vertical;
    min-height: 100px;
}

#commentSubmit {
background-color: var(--bg1) !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer;
  width: 120px !important;
}

#commentSubmit:hover {
    background-color: #005f8a;
}

.cancel-comment-reply {
    margin-bottom: 15px;
    font-size: 0.9em;
    color: #777;
}

.cancel-comment-reply a {
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}

.cancel-comment-reply a:hover {
    color: #005f8a;
}


.nocommyet{width: 250px;margin: 60px auto;text-align: center;}
.nocommyetimg{}
.nocommyetimg img{}
.nocomments{
text-align:center;
font-weight:bold;
font-size:15px;	
	
margin-bottom: 13px;
	}
	
.nocomments2{
	
    margin: 0 !important;
    line-height: 0;
	}

.comment-reply-link{
	
	position: absolute;
  left: 37px;
  font-size: 12px;
  background-color: var(--bg1);
  color: #fff;
  width: 42px;
  text-align: center;
  border-radius: 4px;
  bottom: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 23px;
  }

.botboxsingle .avatar{}
.botboxsingle .avatar img{width: 100%;height: 100%;}


#commentform{
display:grid;
gap:10px;	
	margin:10px auto;
	}


#commentform input{
width: 100%;
  padding: 13px;
  border-radius: 5px;
  border: 1px solid #F6F8FC;
  margin-bottom: 10px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  background-color:#fff;
  color: #102d47;
  
  }
#commentform textarea{
	
width: 100%;
  padding: 13px;
  border-radius: 5px;
  margin-bottom: 10px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  background-color: #fff;
  
  }

.main-content-comment-ruls {
  padding: 15px;
  background-color: #F6F8FC;
  border-radius: 13px;
  margin: 15px 0;
  position: relative;
}

.main-content-comment-ruls h5 {
  font-size: 12pt;
  font-weight: 500;
  color: #102d47;
  word-spacing: -1.5px;
}


.main-content-comment-ruls h5 i {
  margin-left: 12px;
  font-size: 16pt;
  position: relative;
  top: 3px;
  font-weight: 500;
  color: var(--bg1);
}



.main-content-comment-ruls ul {
  padding: 0;
  margin: 0;
    margin-top: 0px;
  margin-top: 15px;
  font-size: 12px;
  word-spacing: 0;
  list-style: none;
}


.main-content-comment-ruls ul li {
line-height: 28px;
  color: #102d47;

  font-size: 14px;
}



.main-content-comment-ruls ul li::before {
  content: "\f078";
   font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", FontAwesome;
  font-size: 8px;
  margin-left: 12px;
  margin-right: 5px;
  position: relative;
  top: 1px;

}




.accordion-button:focus {
    box-shadow: none; 
}

.accordion-button {
    border: none; 
}




ul.children{

padding-right:0;
	}