/*
 * OEM theme: Brüderklinikum Julia Lanz
 * Colors taken directly from logo.png
 *
 *   --brand-blue   #0f57a6  cross (primary)
 *   --brand-sky    #94c0e9  lower bar of the cross (secondary)
 *   --brand-red    #bf0421  dot (accent, used sparingly)
 *   --brand-ink    #141412  wordmark (text)
 *
 * The logo has a transparent background, black lettering and a transparent
 * center square in the cross, so it needs a light surface to read correctly.
 */

:root
{
  --brand-blue: #0f57a6;
  --brand-blue-dark: #0b4585;
  --brand-sky: #94c0e9;
  --brand-sky-light: #e3eef9;
  --brand-red: #bf0421;
  --brand-ink: #141412;

  --text-muted: #5a6573;
  --surface: #ffffff;
  --page: #f2f6fb;
  --line: #d5e2f0;
}

*
{
  color: var(--brand-ink) !important;
}

body
{
  background-color: var(--page);
  /*background-image: url('background.jpg');*/
}

#clinic-logo
{
  content: url("logo.png");
}

#content
{
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand-blue);
  border-radius: 6px;
  background-color: var(--surface);
  box-shadow: 0 2px 4px rgba(15, 87, 166, 0.06), 0 8px 24px rgba(15, 87, 166, 0.08);
}

/* Links */

a,
a:visited
{
  color: var(--brand-blue) !important;
}

a:hover,
a:active
{
  color: var(--brand-blue-dark) !important;
  text-decoration: underline;
}

a:focus-visible
{
  outline: 2px solid var(--brand-sky);
  outline-offset: 2px;
}

/* Step markers */

span.step
{
  background-color: var(--brand-blue);
  color: #fff !important;
}

hr
{
  border: 0;
  height: 1px;
  background-color: var(--line);
}

/* Form fields */

form.field-group input
{
  border: 2px solid var(--line);
  border-radius: 4px;
  background-color: var(--surface);
}

form.field-group input:hover
{
  border-color: var(--brand-sky);
}

form.field-group input:focus
{
  border-color: var(--brand-blue);
  outline: 3px solid var(--brand-sky-light);
}

form.field-group input::placeholder
{
  color: var(--text-muted) !important;
}

form.field-group input:invalid:not(:placeholder-shown)
{
  border-color: var(--brand-red);
}

/* Buttons */

button
{
  border: 1px solid var(--brand-blue);
  border-radius: 4px;
  background-color: var(--brand-blue);
  color: #fff !important;
  cursor: pointer;
}

button:hover
{
  border-color: var(--brand-blue-dark);
  background-color: var(--brand-blue-dark);
}

button:focus-visible
{
  outline: 3px solid var(--brand-sky);
  outline-offset: 2px;
}

button:disabled
{
  border-color: var(--line);
  background-color: var(--line);
  color: var(--text-muted) !important;
  cursor: not-allowed;
}

/* Progress */

#progress
{
  border: 2px solid var(--line);
  border-radius: 4px;
  background-color: var(--brand-sky-light);
}

#bar
{
  background-color: var(--brand-blue);
}

/* Overlay and loader */

#fullscreen-overlay
{
  background-color: rgba(20, 20, 18, 0);
}

#fullscreen-overlay.active
{
  background-color: rgba(242, 246, 251, 0.85);
}

.loader
{
  border: 8px solid var(--brand-sky-light);
  border-top: 8px solid var(--brand-blue);
}

/* Studies */

.study
{
  border: 2px solid var(--line);
  border-radius: 6px;
  background-color: var(--surface);
}

.study .download,
.study .download:visited
{
  border-top: 1px solid var(--line);
  color: var(--brand-blue) !important;
}

.study .download:hover,
.study .download:active
{
  background-color: var(--brand-blue);
  color: #fff !important;
  text-decoration: none;
}

/* Responsive */

@media only screen and (max-width: 640px)
{
  body
  {
    background-color: var(--surface);
  }

  #content
  {
    border: 0;
    border-top: 4px solid var(--brand-blue);
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
  }
}

@media only screen and (min-width: 641px)
{
}

@media only screen and (min-width: 1008px)
{
}

@media (prefers-reduced-motion: reduce)
{
  .loader
  {
    animation-duration: 3s;
  }
}

/* Scrollbar */

::-webkit-scrollbar
{
  width: 10px;
}

::-webkit-scrollbar-track
{
  background: var(--page);
}

::-webkit-scrollbar-thumb
{
  background: var(--brand-sky);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover
{
  background: var(--brand-blue);
}
