/* Inlogvenster Hoogvliegers & Diepdenkers */
.hd-inlogmodal {
  display: none;
  position: fixed;
  z-index: 9999999;
  inset: 0;
  padding: 24px;
  align-items: center;
  justify-content: center;
}

.hd-inlogmodal.is-open { display: flex; }

/* Paginavullende beeldlaag tussen de website en het inlogvenster. */
.hd-inlogmodal__achtergrond {
  position: absolute;
  z-index: 0;
  inset: 0;
  cursor: pointer;
  background-image:
    linear-gradient(rgba(22, 31, 38, 0.42), rgba(22, 31, 38, 0.42)),
    url("modal-achtergrond.jpg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hd-inlogmodal__inhoud {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.hd-inlogmodal__paneel {
  position: relative;
  padding: 36px 30px 30px;
  background: #fff;
}

.hd-inlogmodal__titel { margin-top: 0; }

.hd-inlogmodal__sluiten {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #38457e;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease-in-out;
}

.hd-inlogmodal__sluiten:hover,
.hd-inlogmodal__sluiten:focus-visible { background: #5bc8af; }

.hd-inlogmodal input[type="text"],
.hd-inlogmodal input[type="password"] {
  position: relative;
  width: 100%;
  padding: 8px 10px;
  box-sizing: border-box !important;
  border: 2px solid #D3D3D3;
  border-radius: 5px;
  -webkit-appearance: none;
}

.hd-inlogmodal input[type="submit"] { width: 100%; }

.hd-inlogmodal .login-remember label {
  display: flex;
  align-items: center;
}

.hd-inlogmodal .login-remember label input {
  margin-right: 7px;
}

.hd-inlogmodal form.is-bezig input[type="submit"] {
  opacity: 0.65;
  cursor: wait;
}

.hd-inlogmodal__status {
  margin: 8px 0 0;
  text-align: center;
  font-size: 0.9rem;
}

.hd-inlogmodal__status:empty { display: none; }

.hd-inlogmodal__fout {
  margin-bottom: 15px;
  padding: 8px 12px;
  border-left: 4px solid #c0392b;
  background: #fdecea;
}

.hd-inlogmodal__fout p { margin-bottom: 0; }

/*.hd-inlogmodal__wachtwoord-vergeten { margin-bottom: 0 !important; }*/

body.hd-inlogmodal-open { overflow: hidden; }

@media only screen and (max-width: 599px) {
  .hd-inlogmodal { padding: 16px; }
  .hd-inlogmodal__inhoud { max-height: calc(100vh - 32px); }
  .hd-inlogmodal__paneel { padding: 36px 22px 24px; }
}
