input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  box-shadow: 0 0 0 30px white inset !important;
  -moz-box-shadow: 0 0 0 30px white inset !important;
  -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.text-hint {
  color: #6c757d;
  font-size: 0.95rem;
  font-style: italic;
}

.input-group-prepend,
.input-group-text {
  background: #fff;
  display: grid;
  text-align: center;
  width: 100px;
}

#form-box-header h4 {
  border-bottom: 1px solid #eee;
  font-family: Arial, 'Times New Roman';
}

.alert h5,
.form-message h5 {
  font-size: 1.2rem;
}

.alert p {
  font-size: 1rem;
}

.form-message p {
  font-size: 1rem;
}

#form-box {
  padding: 1rem 1.8rem;
}

#form-box-body form>div {
  width: 100%;
}

#form-box-body form>div>fieldset>div:nth-child(2) {
  margin-bottom: 1rem;
}

.has-error-field input {
  border-color: #dc3545 !important;
}

.has-warning-field input {
  border-color: #d39e00 !important;
}

.has-error-field input:focus {
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, .25);
}

.has-warning-field input:focus {
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, .25);
}

input[type=file] {
  cursor: pointer;
}

@media (max-width: 991px) {
  #form-box-body form>div {
    width: 100%;
  }

  #form-box-body a.btn,
  #form-box-body button[type=submit] {
    display: block;
    margin: 0.25rem 0;
    width: 100%;
  }

  .input-group {
    display: block;
  }

  .input-group>* {
    border-radius: 0.25rem !important;
    display: block !important;
    width: 100% !important;
  }

  .input-group>*:not(:last-child) {
    margin-bottom: 0.5rem !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #checkbox-note {
      display: none;
  }
}