
/* 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;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  #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 img {
    width: 100%;  
    max-width: 100%;
  }

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

  #commentForm .form__avatar--loaded::before {
      display: none;
  }
  
  #commentForm label {
    color: #fff;
  }
  
  #inputCommentName {
    display: inline;
    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: 0;
    right: -50px;
    width: 50px;
    height: 40px;
    background-color: transparent;
    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%;
  }

  .form__label {
      font-size: 12px;
  }

  .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;
  }

  .file__button {
    display: inline-flex;
    min-height: 40px;

    justify-content: center;
    align-items: center;
    background-color: #bf0909;
    color: whitesmoke;
    border-radius: 5px;
    padding: 0px 20px;
  }

  .file__preview {
    display: inline-block;
    max-width: 100px;
    padding: 10px 0px 0px 0px;
  }

  .file__preview img {
    max-width: 100%;
  }

  .error {
    outline: 3px solid #A12000;
  }
  
    .center {
        display: flex;
        justify-content: center;
        align-items: center;
    }

  .btn__order {
      display: block;
      padding: 15px 25px;
      text-align: center;
      background: linear-gradient(
        90deg, #041e37 0, rgba(9, 70, 121, 1) 35%, #5181b0 100%);;
      color: #fff;
      font-family: Helvetica, Arial, sans-serif;
      text-transform: uppercase;
      font-weight: 600;
      border-radius: 5px;
      text-decoration: none;
  }

  .ac_footer {
    position: relative;
    top: 10px;
    height: 0;
    text-align: center;
    margin-bottom: 70px;
    color: rgba(9, 70, 121, 1);
  }

  .ac_footer a {
    color: rgba(9, 70, 121, 1);
  }

  .ac_footer p {
    text-align: center;
  }

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

      #commentForm .form__avatar::before {
          font-size: 8px;
          text-align: center;
      }
      
      #commentForm input,
      #commentForm textarea {
          border-width: 1px;
          padding: 10px 45px 10px 15px;
          border-radius: 20px;
          font-size: 14px;
          max-width: 100%;
      }

      #commentPush {
          padding: 5px;
          width: 39px;
          right: -40px;
          top: -2.5px;
      }

      @media(max-width:400px) {
        .component_licked {
          right: 0px !important;
        }
      }
    
      #commentForm .form__inputs {
          margin: 0;
      }
    }



/*style comment*/

.itemsis {
  width: 100%;
  display: flex;
  flex-direction: row;
  margin: 0 0 20px 0;
}
.component_ava {
  background-size: 100% 100%;
  -webkit-background-size: 100% 100%;
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  overflow: hidden;
  margin: 0 10px 0 0;
}
.component_info {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  margin: 0 0 5px 0;
}
.component_info_inner {
  border-radius: 18px;
  display: inline-block;
  line-height: 16px;
  margin-top: 0;
  min-width: 0;
  padding: 6px 12px 7px 12px;
  position: relative;
}
.component_name {
  color: #dc4c9a;
  font-weight: bolder;
  font-size: 19px;
  margin: 0 0 3px 3px;
  text-decoration: underline;
}
.component_body {
  width: 100%;
}
.component_voir {
  color: #000;
  font-weight: 600;
  font-size: 12px;
  margin: 7px 0 0 12px;
}
.component_reposy {
  font-weight: 600;
  font-size: 12px;
  margin: 6px 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  color: grey;
}
.component_text {
  font-size: 17px;
  margin-top: 10px;
}
.comment {
  position: relative;
  top: 7px;
}
.component_reposy b {
  font-weight: 700;
  word-spacing: 0 !important;
}
.component_img {
  width: 70%;
  border-radius: 18px;
  overflow: hidden;
  margin: 7px 0 6px 0;
  height: auto;
}
.component_img img {
  width: 100%;
  display: flex;
  height: auto;
  transition: all 3s ease-in;
}
.component_licked {
  position: absolute;
  background: #fff;
  border-radius: 10px;
  box-shadow: 1px 1px 3px 0 #dadde1;
  font-size: 11px;
  font-weight: normal;
  height: 20px;
  line-height: 20px;
  margin-left: -10px;
  padding-right: 4px;
  transform: translateY(-6px);
  z-index: 5;
}
a {
  font-weight: 600;
  text-decoration: none;
  /*color: #232323;*/
}
.icons {
  white-space: nowrap;
  display: flex;
  margin: 0;
  color: grey;
}
.block__img img {
    max-width: 100%;
    height: auto;
}

/* Медиа-запрос для компьютерной версии (ширина экрана больше 768px, например) */
@media only screen and (min-width: 768px) {
    .block__img img {
        width: 50%;
    }
}

/* Медиа-запрос для мобильной версии (ширина экрана меньше 768px, например) */
@media only screen and (max-width: 767px) {
    .block__img img {
        width: 100%;
    }
}