:root {
  --primary-font-color: #515151;
  --headline-font-color: #002864;
  --link-font-color: #335383;
  --orange-color: #fc6a34;
  --navbar-link-font-color: #ffffff;
  --navbar-link-font-hover-color: #b9b9b9;
  --bs-primary: #335383;
}

.btn-primary {
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-disabled-bg: var(--bs-primary);
  --bs-btn-disabled-border-color: var(--bs-primary);
  /* increased HSV V-value of primary-color */
  --bs-btn-hover-bg: #5285d2;
  --bs-btn-hover-border-color: #5285d2;
}

/* shrink small button */
.btn-sm {
  --bs-btn-font-size: 0.6rem;
  --bs-btn-padding-x: 0.3rem;
  --bs-btn-padding-y: 0.15rem;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/inter-latin-400-normal.woff2) format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  src: url(../fonts/inter-latin-500-normal.woff2) format("woff2");
}

@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/inter-tight-latin-600-normal.woff2) format("woff2");
}

body {
  color: var(--primary-font-color);
  font-family: "Inter", Verdana, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter Tight";
  font-weight: 600;
  color: var(--headline-font-color);
  margin-top: 0;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 2rem;
  margin-bottom: 0rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.125rem;
}

h5,
h6 {
  font-size: 1rem;
}

a {
  color: var(--link-font-color);
  text-decoration: none;
}

a:hover,
a:active {
  color: var(--link-font-color);
  text-decoration: underline;
}

.logo {
  padding: 20px 0 20px 0;
}

.logo img {
  height: 55px;
}

.navbar-primary {
  color: var(--navbar-link-font-color);
  font-size: 1.05rem;
  font-weight: 500;
  height: 60px;
  background-color: var(--orange-color);
}

.navbar-primary a:link,
.navbar-primary a:visited {
  color: var(--navbar-link-font-color);
  text-decoration: none;
}

.navbar-primary a:hover,
.navbar-primary a:active {
  color: var(--headline-font-color);
  text-decoration: none;
}

.navbar-brand {
  font-size: 1.05rem;
  font-weight: 500;
}

.nav-header {
  color: var(--primary-font-color);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-top: 0.25rem;
}

.nav-header a:link,
.nav-header a:visited {
  color: var(--link-font-color);
  text-decoration: none;
}

.nav-header a:hover,
.nav-header a:active {
  color: var(--link-font-color);
  text-decoration: underline;
}

.nav-header > li:not(:first-child) > a::before {
  content: "|";
  padding-right: 0.8rem;
}

.nav-footer {
  color: var(--primary-font-color);
}

.nav-footer a:link,
.nav-footer a:visited {
  color: var(--primary-font-color);
  text-decoration: none;
}

.nav-footer a:hover,
.nav-footer a:active {
  color: var(--primary-font-color);
  text-decoration: underline;
}

.nav-footer > li:not(:first-child) > a::before {
  content: "|";
  padding-right: 0.8rem;
}

.filter-image {
  width: 33%;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
}

@media screen and (max-width: 992px) {
  .filter-image {
    width: 100%;
  }
}

.filter h2 {
  font-size: 1.25rem;
}

.filter a.badge:hover {
  color: var(--navbar-link-font-color);
}

.filter .scrollable-filter-list {
  max-height: 250px;
}

.filter .collapse-icon {
  transition: transform 0.3s ease;
}

.filter .collapsed .collapse-icon {
  transform: rotate(-90deg);
}

.filter-tree {
  list-style: none;
}

.filter-row {
  padding-left: calc(var(--level) * 1rem + 1rem);
  position: relative;
}

.filter-row::before {
  position: absolute;
  left: calc(var(--level) * 1rem);
  width: 1rem;
  text-align: center;
}

.filter-row.has-children::before {
  content: "▾";
  color: #666;
  font-size: 0.75rem;
}

.filter-row.leaf::before {
  content: "•";
  color: #888;
  font-size: 0.7rem;
}

.filter-label {
  line-height: 1.25;
}

.option-disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
