/*************************************************************************************************************
* Fonts für Webansicht
*************************************************************************************************************/

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

@font-face {
	font-family: 'Roboto';
	src: url("fonts/Roboto/Roboto-Light.ttf");
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto Condensed';
	src: url("fonts/Roboto_Condensed/RobotoCondensed-Light.ttf");
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto Condensed';
	src: url("fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Roboto Condensed';
	src: url("fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf");
	font-weight: 600;
	font-style: normal;
}

html, body {
  font-family: "Roboto" !important;
}

div#menuet > div.row {
  background: #f3f3f3;
}

div#ueberschrift_rechts, div#ueberschrift_links, .offcanvas-title {
  font-family: "Roboto Condensed";
  font-weight: 600;
}

.offcanvas-header {
  justify-content: center;
}

@media (max-width: 768px) {
  div.offcanvas-header-collapse {
    border-top: 1px solid #000;
  }
}

.offcanvas-header > button {
  position: absolute;
  right: 2.5rem;
}

body {
    background-color: #D3D6D9;
    max-height: 100vh;
}

.row {
    max-width: 100%;
    margin: 0;
}

header {
    min-height: 60px;
    color: white;
    background-color: #36444e;
    border-bottom: 6px solid #cc1600;
}

#header-logo {
    height: 60px;
}

button.btn-icon {
  color: #fff;
  padding: .5rem;
  margin: .25rem;
}

button.btn-custom {
  color: #fff;
  background: #36444e;
}

button.btn-custom:hover {
  color: #000;
  background: #fff;
  border-color: #36444e;
}

main {
    min-height: calc(98vh - 120px);
}

main > div {
    padding: 30px !important;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}

#menuet .list-group-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

#menuet .list-group-item.list-group-item-action {
  border: unset;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-collapse: collapse;
}

#menuet .list-group-item:hover {
  background: #36444e;
}

#menuet .list-group-item:hover > label {
  color: #fff;
  text-decoration: #fff underline;
}

#menuet .list-group-item:has(> input[type="radio"]:checked) {
  background: #36444e;
  color: #fff;
  border-color: #36444e;
}
#menuet .list-group-item:has(> input[type="radio"]:checked) label {
  color: inherit;
  text-decoration: #fff underline;
}

#menuet .list-group-item:has(> input[type="radio"]:focus-visible),
#menuet .list-group-item label:focus-visible {
  outline: 2px solid #36444e;
  outline-offset: 2px;
}

#menuet, #explanation {
  min-height: 100vh;
  height: fit-content;
  border-bottom: 1px solid;
  overflow-y: scroll;
}

#explanation {
  background: #f3f3f3;
}

#explanation h1 {
  margin-top: 2rem;
}

#explanation_group {
  position: -webkit-sticky;
  position: sticky;
  top: 3rem;
}

#explanation_group > a {
  border: unset;
  border-radius: unset;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

#explanation_group > a.active {
  color: #fff;
  background: #36444e;
  border-color: #36444e;
}

#explanation_group > a:hover {
  cursor: pointer;
}

#explanation_group > a:not(.active):hover {
  background: unset;
  background: #36444e;
  color: #fff;
}

div.btn-group {
  border: 1px solid #364441;
}

input.btn-check:checked + label.btn-value-custom {
  background: #36444e;
  color: #fff;
  text-decoration: #fff underline;
  border: unset;
}

.filter-component {
    background-color: white;
    padding: 1em;
    margin-top: 1em;
    -webkit-box-shadow: 4px 4px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    box-shadow: 4px 4px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
}

.card-component {
    background-color: white;
    -webkit-box-shadow: 4px 4px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    box-shadow: 4px 4px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
}

/* 1) Wenn IRGENDEIN Radio IN der (zugeklapp­ten) Collapse gewählt ist */
.shiny-options-group:has(div.collapse:not(.show) input:checked)
  > button.list-group-item{
  background-color: #36444e;
  color: #fff;
}

.shiny-options-group:has(div.collapse:not(.show) input:checked)
  > button.list-group-item > span.more-label{
  text-decoration: #fff underline;
}

/* 2) Weiß: Wenn eines der ersten fünf (oberhalb) gewählt ist */
.shiny-options-group:has(div.list-group-item.list-group-item-action:nth-child(0-5) input:checked)
  > button.list-group-item{
  background-color: #fff;
  color: #000;
}

/* (Optional) Wenn die Collapse geöffnet ist, bleib neutral/hell */
.shiny-options-group:has(div.collapse.show)
  > button.list-group-item{
  background-color: #36444edd;
  color: white;
}

.shiny-options-group:has(div.collapse.show)
  > button.list-group-item > span:last-child{
  rotate: calc(180deg);
}

footer {
    min-height: 60px;
    background-color: #F3F3F3;
    padding: 1rem;
    flex-wrap: wrap;
}

#footer-logo {
  height: 2rem;
  max-width: 100%;
}

footer .footer-menu {
  word-break: break-word;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.6rem;
  margin-left: 1rem;
}

footer .footer-menu a {
  color: #000;
  text-decoration: none;
}

.pagination>.active>a {
  background-color: #36444E;
}

.pagination>li>a {
  background: #fafafa;
  color: #666;
}
