.form__group {
  position: relative;
}

.field {
  padding: 0px;
}

.form__field {
  font-family: inherit;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #cfcfcf;
  outline: 0;
  font-size: 15px;
  color: black;
  padding-top: 7px;
  padding-left: 0px;
  padding-right: 0px;
  padding-bottom: 2px;
  background: transparent;
  transition: border-color 0.2s;
  margin: 10px 0px;
}
.form__field::-moz-placeholder {
  color: transparent;
}
.form__field:-ms-input-placeholder {
  color: transparent;
}
.form__field::placeholder {
  color: transparent;
}
.form__field:-moz-placeholder-shown ~ .form__label {
  font-size: 15px;
  cursor: text;
  top: 20px;
}
.form__field:-ms-input-placeholder ~ .form__label {
  font-size: 15px;
  cursor: text;
  top: 20px;
}
.form__field:placeholder-shown ~ .form__label {
  font-size: 15px;
  cursor: text;
  top: 20px;
}

.error__field {
  border-bottom: 2px solid #ff8d8d;
}

.form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 10px;
  color: #cfcfcf;
}
.form__label:hover {
  background-color: transparent;
}

.form__field:focus {
  padding-bottom: 2px;
  border-bottom: solid #00FFFF;
}
.form__field:focus ~ .form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 10px;
  color: gray;
  font-weight: 600;
}

.group_message {
  margin-top: 20px;
}
.group_message label {
  font-size: 15px;
}
.group_message .form__field:focus ~ .form__label {
  position: absolute;
  top: 0;
  display: block;
  transition: 0.2s;
  font-size: 15px;
  color: gray;
  font-weight: 600;
}
.group_message textarea {
  margin-top: 20px;
}

/* reset input */
.form__field:required, .form__field:invalid {
  box-shadow: none;
}

.is-invalid {
  border-bottom: 1px solid red;
}

.input_error_message {
  color: red;
  position: relative;
  bottom: 10px;
  font-size: 12px;
}

.form__field:-webkit-autofill,
.form__field:-webkit-autofill:hover,
.form__field:-webkit-autofill:focus,
.form__field:-webkit-autofill,
.form__field:-webkit-autofill:hover,
.form__field:-webkit-autofill:focus,
.form__field:-webkit-autofill,
.form__field:-webkit-autofill:hover,
.form__field:-webkit-autofill:focus {
  -webkit-transition: background-color 5000s ease-in-out 0s;
  transition: background-color 5000s ease-in-out 0s;
}