body {
  font-family: "Alegreya", sans-serif;
}

* {
  font-family: "Alegreya", sans-serif;
}

h1, .h1, h2, .h2 {
  font-weight: 800;
}

.btn-white {
  color: #FFFFFF !important;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-outline-primary:hover,
.btn-outline-primary:active {
  color: white !important;
}

.bg-blue {
  background-color: #055ff1;
}

.bg-darkgreen {
  background-color: #1b3838;
}

.bg-subtle {
  background-color: rgb(240, 239, 235);
}

.bg-ws-info {
  background: linear-gradient(160deg, rgba(206.6, 244.4, 252, 0.2) 0%, rgba(206.6, 244.4, 252, 0.6) 100%);
}

.loader {
  padding: 1.5rem !important;
  --bs-text-opacity: 1;
  color: var(--bs-secondary-color) !important;
}

.border-ultralight {
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.text-ultralight {
  color: rgba(0, 0, 0, 0.2);
}

span.btn-outline-secondary:hover a {
  color: white !important;
}

span.link {
  color: var(--bs-primary);
  cursor: pointer;
}

.form-floating label::after {
  background-color: rgba(255, 255, 255, 0) !important;
}

.btn-index-login {
  color: var(--bs-primary);
}

.btn-index-login:hover {
  color: white;
}

button .show-when-enabled {
  display: initial;
}
button .show-when-disabled {
  display: none;
}
button[disabled] .show-when-enabled {
  display: none;
  color: white;
}
button[disabled] .show-when-disabled {
  display: initial;
  color: white;
}

button:disabled,
button[disabled] {
  color: #ffffff !important;
}

form.button_to {
  display: inline;
}

.intro-header {
  background: rgba(0, 0, 0, 0.3);
}

.intro-hero h1, .intro-hero .h1 {
  text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.05em;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  color: #16345F;
}

.white {
  color: #fff;
}

.made {
  color: #aeaeae;
  font-size: 70%;
}

.made a {
  color: #aeaeae;
}

a.footer {
  text-decoration: none;
}

a.footer:hover {
  color: var(--bs-primary) !important;
}

a.undecorated {
  text-decoration: none;
}

div.errors {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;
  --bs-text-opacity: 1;
  color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;
  padding: 1rem !important;
  border-radius: var(--bs-border-radius) !important;
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}

div.errors ul li {
  font-weight: 700 !important;
}

a {
  color: #6C7F27;
}

/* home page */
.bg {
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.masthead {
  font-size: 5rem;
  margin-top: 0.5rem;
  text-shadow: 0px 0px 2px white;
  font-weight: 800;
  color: black;
}

ol.home {
  list-style: none;
  counter-reset: hmf-counter;
}

ol.home li {
  font-family: "Alegreya", sans-serif;
  counter-increment: hmf-counter;
  display: flex;
  margin-right: 2rem;
}

ol.home li::before {
  content: counter(hmf-counter) ".";
  font-weight: bold;
  font-size: 3.5rem;
  margin-right: 2rem;
  line-height: 1;
}

.btn-toggle-top {
  border-radius: 10px 10px 0 0;
}

.btn-toggle-bottom {
  border-radius: 0 0 10px 10px;
}

.btn-toggle-active {
  box-shadow: inset 0 5px 10px rgba(0, 0, 0, 0.3);
}

.char-marker {
  color: green;
}

a.input-group-text {
  text-decoration: none;
  cursor: pointer;
}

/* Externer Link mit Font Awesome (chiemgau.bayern incl. subdomains counts as internal) */
a[href^="http://"]:not([href*="wundersync.de"]):not([href*="chiemgau.bayern"]):after,
a[href^="https://"]:not([href*="wundersync.de"]):not([href*="chiemgau.bayern"]):after,
a.external-link:after {
  /* \f08e ships only in the solid style of FA6 Free, so weight 400 renders a
     tofu box rather than the icon. */
  font: 900 9px/1 "Font Awesome 6 Free";
  content: "\f08e";
  padding-left: 7px;
  font-size: 0.75em;
}

a.internal-link:after {
  content: none !important;
}

input.access-code {
  border-width: 3px;
  text-align: center !important;
  font-weight: 300;
  line-height: 1.2;
  font-size: calc(1.375rem + 1.5vw);
  color: #16345F;
  border-radius: var(--bs-border-radius-lg) !important;
  padding-bottom: 1.5rem !important;
  text-transform: uppercase;
}

@media (min-width: 1200px) {
  input.access-code {
    font-size: 2.5rem;
  }
}
.callout {
  display: flex;
  align-items: start;
}

.callout > i {
  padding-top: 12px;
}

.step-col {
  position: relative;
}

.step-col:not(:first-child)::before {
  content: "";
  position: absolute;
  left: -10%; /* adjust spacing */
  top: 50%;
  width: 20%; /* length of the line */
  height: 2px;
  background: #ccc; /* line color */
  transform: translateY(-50%);
}

kbd {
  background-color: transparent;
  border: 1px solid #555;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 #555;
  padding: 0px 4px 3px 4px;
  font-size: 0.85em;
  color: #555;
}

.hr-text {
  display: flex;
  align-items: center;
  text-align: center;
}

.hr-text::before,
.hr-text::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ccc;
}

.hr-text::before {
  margin-right: 0.75em;
}

.hr-text::after {
  margin-left: 0.75em;
}
