@charset "utf-8";
/* CSS Document */

.comment-container{
    direction: rtl;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #ddd;
    
}
.comment-register{
   width: 100%;
    display: flex;
    flex-direction: column;  
}
li{
    list-style: none;
}
p,h1,h2,h3,a,li,label,input{
    font-family: samim;
    font-size: .8rem;
}
input::placeholder ,textarea::placeholder{
  font-size: 14px;
}
img{
    margin: 1rem auto;
    width: 250px;
}
.single-post-item{
    width: 95%;
    height: 100%;
         display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 1rem auto;
  
 
    padding-bottom: 1rem;
}
.single-post-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 1rem auto;
 
    padding-bottom: 1rem;
    width: 70%;
    direction: rtl;
}
.send-comment-title{
    text-align: center;
    color: #000;
    margin: 1rem auto;
 
        border: 1px solid #ddd;
    width: 200px;
 
}

.form-comment{
    direction: rtl;
    width: 95%;
   display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;  
 
    padding: 1rem;
}
.label{
    margin: 1rem;
    font-size: .8rem;
    width: 40px;
       color: #fff;
}
.comment-container{
      display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;  
        margin: 1rem auto;
    border: 1px solid #ddd;
     box-shadow: 0 0 3px 3px #ddd;
    padding: 1rem;
        width: 95%;
}
.send-title{
   color:#000;
    text-align: center;
    margin: 1rem auto;    font-size: 1rem;
    
}
.user-profile{
     width:45px; 
    height:45px;
    margin: 1rem;
    
}
.comment-title{
      margin: .5rem;
color: #000SSS;
 
    padding: 1rem;
    border-radius: 5px;
    width: 250px;
       font-size: 1rem; 
}
.comment-body,.comment-bodey-show{
width: 90%;
    margin: 1rem auto;
    border-radius: 5px;
    padding: 1rem;
    text-align: right;
    direction: rtl;
line-height: 30px;
    font-size: .8rem;
 
    color: #000;
}
.first-comment{
    background-color: #F0EFEF;
}
.form-section{
    display: flex;
    align-items: center;
}
.comment-body-show{
      color: #000;   
     margin: 1rem auto;   
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 1rem;
    background-color: #fff;
    width: 100%;
    overflow-x: scroll;
white-space:pre-wrap;
overflow:auto;
    overflow-wrap:min-content;
}

.commnet-count{
      color:#000;
    font-size: 1rem;
    margin: 2rem auto;
    font-family: samim; 
    direction: rtl;
}
.alert-message{
    color: orange;
    font-size: 1rem;
    margin: 2rem auto;
    font-family: samim;
}
.comment-user-name{
    color:#000;
        font-size: 1rem;
    margin: 1rem ;
    font-family: samim;
    
}
.send-message{
        text-align: center;
    color: forestgreen;
 
    margin: 1rem auto;
    font-size: 1rem;
       font-family: samim;
 
    padding: 1rem;
    border-radius: 2px;
}
.red-text{
     
    color: red;
    margin: 1rem ;
    font-size: .75rem;
       font-family: samim; 
}
::selection {
  color: #fff;
  background: #000;
}

.post{
    width: 90%;
    margin: 1rem auto;
    padding: 1rem;
        border:1px solid #ddd;
 
}
.login__icon{
 
    margin-left: 1rem;
color: orange;
    font-size: 1.2rem;
}
.btn-submit{
    padding: .3rem 1rem ;
    border-radius: .3rem;
    cursor: pointer;margin: 1rem auto;
    
}
.btn-submit:hover{
    background-color: orange;
    color: #fff;
}.reply{
     background-color:forestgreen;
    border:1px solid forestgreen;
    border-radius: 5px;
    padding: 1rem;
    width: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.reply:hover{
    color: orange;
}
.footer-comment{
    width: 90%;
    display: flex;
    justify-content: space-between;
    margin: 1rem auto;
    align-items: center;
}
.like-section{
 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
 
    align-items: baseline;
}
.like-number{
    margin: .3rem ;
}
.like-icon{
    font-size: 1rem;
    margin: 1rem;
    
}
.like:hover{    background-color: #fff;
        border: 1px solid forestgreen;
    box-shadow: 0 0 2px 3px #ddd;}
.dislike:hover{
    background-color: #fff;
        border: 1px solid red;
    box-shadow: 0 0 2px 3px #ddd;
}
.like,.dislike{
 background-color: forestgreen;
    border:none;
    transition: all 0.3s;
    border-radius: 2px;
    margin: .3rem;
}
.dislike{
   background-color: red; 
         

}
.reply-comment{
    background-color: #ddd;
}
@media screen and (max-width:1000px)
{
    .single-post-container
    {
        width: 98%;
    } 
    
    
}
@media screen and (max-width:400px)
{
    .send-comment-title{
     width: 80%!important;
    margin: .5rem auto;
    font-size: 1rem;
}

.form-comment{
    width: 95%;
  
        margin: 1rem auto;
 
    padding: .2rem;
}
  
}