/*
 * Fotobijlage bij de offerte-aanvraag.
 * Aparte stylesheet i.p.v. ghnn.webflow.css, zodat de door Webflow gegenereerde
 * bestanden ongemoeid blijven en deze toevoeging apart te lezen en terug te draaien is.
 * Tokens overgenomen uit .form_input: #f4f4f5 vulling, #d4d4d8 rand, #565ac0 focus,
 * #5559c0 knop.
 */

.ghnn-upload__input {
  color: #000;
  background-color: #f4f4f5;
  border: 1px solid #d4d4d8;
  border-radius: .75rem;
  width: 100%;
  min-height: 3rem;
  margin-bottom: 0;
  padding: .6rem 1rem;
  font-size: 16px;
  line-height: 1.75;
  transition: border-color .3s;
}

.ghnn-upload__input:hover {
  border-color: #565ac0;
}

.ghnn-upload__input:focus {
  border-color: #565ac0;
  outline: none;
}

.ghnn-upload__input:focus-visible {
  outline: 2px solid #565ac0;
  outline-offset: 2px;
}

/* De knop binnen het bestandsveld krijgt de vorm van .button-2 */
.ghnn-upload__input::file-selector-button {
  color: #fff;
  letter-spacing: 1px;
  cursor: pointer;
  background-color: #5559c0;
  border: 0;
  border-radius: 10000000000px;
  margin-right: .9rem;
  padding: 9px 18px;
  font-family: inherit;
  font-size: .875rem;
  font-weight: 600;
  transition: background-color .3s;
}

.ghnn-upload__input::file-selector-button:hover {
  background-color: #474bab;
}

.ghnn-upload__optional {
  color: #50555f;
  font-weight: 400;
}

.ghnn-upload__hint {
  color: #50555f;
  margin: 0;
  font-size: .8125rem;
  line-height: 1.5;
}

.ghnn-upload__list {
  margin: 0;
  padding: 0;
  font-size: .8125rem;
  line-height: 1.6;
  list-style: none;
}

.ghnn-upload__list:empty {
  display: none;
}

.ghnn-upload__list li {
  color: #000;
  padding-left: 1.1rem;
  position: relative;
}

.ghnn-upload__list li:before {
  content: "";
  background-color: #5559c0;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  position: absolute;
  top: .5em;
  left: .2rem;
}

.ghnn-upload__error {
  color: #b3261e;
  margin: 0;
  font-size: .8125rem;
  line-height: 1.5;
}

.ghnn-upload__error:empty {
  display: none;
}

@media screen and (max-width: 479px) {
  .ghnn-upload__input {
    font-size: 15px;
    padding: .5rem .75rem;
  }

  .ghnn-upload__input::file-selector-button {
    margin-right: .6rem;
    padding: 8px 14px;
    font-size: .8125rem;
  }
}
