@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Roboto-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/Roboto-Medium.ttf") format("truetype");
}

body {
  margin: 0;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-size: 1rem;
  line-height: 1.25;
  background-color: #184167;
  background-image: url("../img/background.svg");
  background-size: cover;
  background-attachment: fixed;
  overflow: auto;
}

a {
  color: #184167;
  text-decoration: underline;
}
a:hover, a:focus {
  color: rgb(13, 64, 89);
  text-decoration: none;
}

ul, ol {
  margin: 1em 0;
  padding-left: 1.5em;
}
ul {
  list-style-type: disc;
}
ul ul,
ol ul,
ul ol,
ol ol {
  margin: .5em 0;
}

p:empty {
  margin: 0;
}

.lode-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  padding: 2em;
  justify-content: center;
  align-items: center;
}

.lode-page-header {
  display: none;
}

.lode-form-card {
  min-width: 400px;
  max-width: 600px;
  padding: 1.5em 2em 2em 2em;
  background-color: #fff;
  border-radius: .5em;
  color: rgb(87, 87, 87);
  box-shadow: rgba(24, 65, 103, 0.25) 0px 4px 60px 40px;
}

h1 {
  margin: 1rem 0;
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.334;
  text-align: center;
  color: #184167;
}

.lode-locales {
  display: flex;
  justify-content: flex-end;
  font-size: .875em;
}
.lode-locale-dropdown {
  position: relative;
  padding-right: .75em;
}
.lode-locale-dropdown button {
  color: rgb(87, 87, 87);
  text-decoration: none;
  background-color: transparent;
  border: none;
}
.lode-locale-dropdown button:focus {
  color: #184167;
}
.lode-locale-dropdown::after {
  content: '‸';
  position: absolute;
  transform: rotate(180deg);
  right: 0;
  top: 35%;
}
.lode-locale-dropdown:focus-within::after {
  transform: none;
  top: -30%;
}
.lode-locale-dropdown:focus-within .lode-locale-list {
  display: block;
}
.lode-locale-list {
  display: none;
  position: absolute;
  top: 1.5em;
  right: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 4px 0px;
}
.lode-locale-item {
  display: block;
  padding: .5em 1em;
  text-decoration: none;
}
.lode-locale-item:focus, .lode-locale-item:hover {
  background-color: rgba(22, 105, 146, 0.2);
}

.lode-form-header .lode-form-group {
  margin-bottom: 1rem;
}

.lode-form-group + .lode-form-group,
.lode-form-group + .lode-button {
  margin-top: 1em;
}
.lode-form-group.lode-form-settings {
  margin-top: .5em;
  text-align: right;
}

.lode-form-options {
  margin-bottom: 1rem;
}
.lode-form-options a {
  font-size: .875em;
}

/* Niet alle labels hebben de goede class, gebruik dus gewoon label */
label {
  padding-bottom: .125rem;
  margin: 0;
  font-size: .875em;
  font-weight: 500;
  color: rgb(13, 64, 89);
}
.lode-input {
  display: block;
  width: 100%;
  font-size: 1rem;
  height: 3em;
  padding: 0 1em;
  border: 1px solid rgba(0, 0, 0, 0.23);
  border-radius: 4px;
}
.lode-input:hover, .lode-input:focus {
  border-color: rgb(87, 87, 87);
}
.lode-input[aria-invalid=true] {
  border-color: rgb(211, 47, 47);
}
.lode-input-group {
  display: flex;
}
.lode-input-group > .lode-input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.lode-input-group > .lode-password-button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left-color: transparent;
}
.lode-form-error {
  color: rgb(211, 47, 47);
  font-size: .875em;
}
.lode-password-button {
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.23);
  background-color: white;
}
.lode-password-button:hover, .lode-password-button:focus {
  border-color: rgb(87, 87, 87);
  background-color: rgba(22, 105, 146, 0.2);
}

/* Hack a title on the Authenticator page */
#kc-username::before {
  display: block;
  content: "Zie de Authenticatie-app op uw telefoon";
  margin: 1rem 0;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.334;
  text-align: center;
  color: #184167;
}
html[lang="en"] #kc-username::before {
  content: "See the Authenticator app on your mobile phone";
}

/* Back link on the logout page */
#kc-info-message p {
  margin: 1em 0 0 0;
}

.lode-button {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.75;
  letter-spacing: 0.02857em;
  text-transform: uppercase;
  padding: 6px 16px;
  border: none;
  border-radius: 4px;
  width: 100%;
  cursor: pointer;
}

.lode-button.primary {
  color: rgb(255, 255, 255);
  background-color: #184167;
}
.lode-button.primary:hover, .lode-button.primary:focus {
  background-color: #081826;
}

.lode-form-info {
  margin-top: 1em;
  font-size: .875em;
}

.lode-social-section hr {
  display: none;
}

.lode-social-section h2 {
	display: grid;
	grid-template-columns: 1fr max-content 1fr;
	align-items: center;
	gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: 2rem;
  color: #184167;
}

.lode-social-section h2::before,
.lode-social-section h2::after {
	content: '';
	height: 1px;
	background-color: rgba(0, 0, 0, 0.2);
}

.lode-social-list {
  list-style-type: none;
  padding: 0;
  margin: 1em 0 0 0;
}
.lode-social-list li + li {
  margin-top: 1em;
}

.lode-social-link {
  display: block;
  border: 1px solid #000;
  border-radius: .5rem;
  line-height: 3;
  text-align: center;
  text-decoration: none;
}
.lode-social-link:hover,
.lode-social-link:focus {
  background-color: rgba(24, 65, 103, 0.15);
}

.alert-error,
.alert-warning,
.alert-success {
  margin-bottom: 1em;
}
