
/* COMMENT FORM */

#commentForm {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: start;
  margin-bottom: 20px;
  /* max-width: 600px; */
  background-color: transparent;
  padding: 10px;
  border-radius: 10px;
}

#commentForm .form__avatar {
    position: relative;
    display: flex;
    background-color: #fff;
    background: url(../images/userpic.png) no-repeat center center / cover;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
}


#commentForm .form__avatar::before {
    position: absolute;
    content: 'Seleccionar';
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, .3);
    font-size: 8px;
}

#commentForm label {
  color: #fff;
}

#inputCommentName {
  margin-bottom: 10px;
}

#commentForm input,
#commentForm textarea {
  width: 100%;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 20px;
  background-color: #f8f8f8;
  resize: none;
}

  
#commentForm input:focus,
#commentForm textarea:focus {
    outline: none;
}

#commentForm .form__inputs {
  position: relative;
  width: 100%;
  margin-right: 50px;
}


#commentPush {    
  position: absolute;
      top: 33px;
  right: -58px;
  width: 50px;
  height: 40px;
  border: none;
  border-radius: 5px;
  color: white;
  padding: 8px 5px;
  text-decoration: none;
  margin: 0px 0px 0px 0px;
  cursor: pointer;
}

#commentPush img {
    width: 30px;
}



.form__item {
  /* width: 100%; */
  margin-right: 10px;
  color: snow;
  border-radius: 50%;
}

.file {
  width: 100%;
  max-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.file__item {
  position: relative;
}

.file__input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  font-size: 0;
  cursor: pointer;
}

@media (max-width: 480px) {
    #commentForm {
        justify-content: center;
        padding: 0;
    }
    #commentForm .form__avatar {
        width: 60px;
        height: 60px;
    }

    #commentForm .form__avatar::before {
        font-size: 7px;
    }
    
    #commentForm input,
    #commentForm textarea {
        border-width: 1px;
        padding: 10px 45px 10px 15px;
        border-radius: 20px;
        font-size: 14px;
    }

    #commentPush {
        padding: 5px;
        width: 45px;
        right: -50px;
        top: 25px;
    }

    .form__inputs {
      width: 65%!important;
    }

    #commentForm {
      margin-left: -32px;
    }
  
    #commentForm .form__inputs {
        margin: 0;
    }
}



/*style comment*/

.item {
width: 100%;
flex-direction: row;
margin: 0 0 20px 0;
}
a {
font-weight: 600;
text-decoration: none;
color: #232323;
}
#commentForm {
width: 560px;
}
#formAvatar {
padding: 0px 0px;
}

@media screen and (max-width: 480px) {
#commentForm {
    width: 100%!important;
}
}