/* Add your css code here */
/*
Variable Definitions:
  --r-bg: Sets the background color.
  --r-tx: Sets the text color.
  --r-h1: Sets the color for h1, h2, and h3 headings.
  --r-lk: Sets the link text color.
  --r-lk-h: Sets the hover color for link text.
  --r-br: Sets the border color.
  --r-bg-fr: Sets the background color for input forms.
  --r-tx-lk: Sets the menu link text color.
  --r-tx-lk-h: Sets the hover color for menu link text.
  --r-bg-lk: Sets the background color for menu links.
  --r-bg-lk-h: Sets the hover background color for menu links.
  --r-tx-bt: Sets the button text color.
  --r-tx-bt-h: Sets the hover color for button text.
  --r-bg-bt: Sets the button background color.
  --r-bg-bt-h: Sets the hover background color for buttons.
*/

/*
Regions Names, each region has an ID and a Class with the same name.
You can use .page-wrapper or #page-wrapper
#page-wrapper {}
#primary-sidebar-menu {}
#fixed-search-block {}
#popup-login-block {}
#header {}
#primary-menu {}
#welcome-text {}

#top-container {}
#top-box-first {}
#top-box-second {}
#top-box-third {}

#system-messages {}
#breadcrumb {}
#page-title {}

#main-container {}
#sidebar-box-first {}
#sidebar-box-main {}
#sidebar-box-second {}

#bottom-container {}
#bottom-box-first {}
#bottom-box-second {}
#bottom-box-third {}
#bottom-box-fourth {}

#footer-container {}
#footer-box-first {}
#footer-box-second {}
#footer-box-third {}

#footer-menu {}
#copyright {}

Examples:

#page-wrapper {
  background-color: var(--r-bg);
  color: var(--r-tx);
  border-color: var(--r-br);
}

h1, h2, h3 {
  color: var(--r-h1);
}

a:not(li.nav__menu-item a) {
  color: var(--r-lk);
  color: var(--r-lk-h);
}

input:not(.button) {
  background-color: var(--r-bg-fr);
}

li.nav__menu-item a {
  color: var(--r-tx-lk);
  background-color: var(--r-bg-lk);
}

li.nav__menu-item a:hover {
  color: var(--r-tx-lk-h);
  background-color: var(--r-bg-lk-h);
}

button:not(li.nav__menu-item button) {
  color: var(--r-tx-bt);
  background-color: var(--r-bg-bt);
}

button:not(li.nav__menu-item button):hover {
  color: var(--r-tx-bt-h);
  background-color: var(--r-bg-bt-h);
}
https://www.drupal.org/docs/extending-drupal/themes/contributed-themes/solo/instructions-for-developers-on-using-colors-in-solo-theme
*/

/* Color Variables */
:root {
  --r-bg: rgb(200, 200, 200);
  --r-tx: rgb(34, 46, 58);
  --r-h1: rgb(23, 97, 58);
  --r-lk: rgb(23, 97, 58);
  --r-lk-h: rgb(13, 44, 26);
  --r-br: rgb(229, 231, 235);
  --r-bg-fr: rgb(245, 247, 250);
  --r-tx-lk: rgb(23, 97, 58);
  --r-tx-lk-h: rgb(13, 44, 26);
  --r-bg-lk: rgb(245, 247, 250);
  --r-bg-lk-h: rgb(21, 201, 17);
  --r-tx-bt: rgb(255, 255, 255);
  --r-tx-bt-h: rgb(255, 255, 255);
  --r-bg-bt: rgb(23, 97, 58);
  --r-bg-bt-h: rgb(13, 44, 26);
  --me-dialog-viewport-offset: 80px;
}

/* Base styles */
body {
  background: var(--r-bg);
  color: var(--r-tx);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
}

h1, h2, h3 {
  color: var(--r-h1);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
}

a:not(li.nav__menu-item a) {
  color: var(--r-lk);
  text-decoration: underline;
  transition: color 0.2s;
}
a:not(li.nav__menu-item a):hover {
  color: var(--r-lk-h);
}

input:not(.button), textarea, select {
  background-color: var(--r-bg-fr);
  border: 1px solid var(--r-br);
  border-radius: 6px;
  padding: 0.5em 0.75em;
  font-size: 1em;
}

li.nav__menu-item a {
  color: var(--r-tx-lk);
  background-color: var(--r-bg-lk);
  border-radius: 6px;
  padding: 0.5em 1em;
  transition: background 0.2s, color 0.2s;
}
li.nav__menu-item a:hover {
  color: var(--r-tx-lk-h);
  background-color: var(--r-bg-lk-h);
}

button:not(li.nav__menu-item button), .button {
  color: var(--r-tx-bt);
  background-color: var(--r-bg-bt);
  border: none;
  border-radius: 6px;
  padding: 0.5em 1.2em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
button:not(li.nav__menu-item button):hover, .button:hover {
  color: var(--r-tx-bt-h);
  background-color: var(--r-bg-bt-h);
}

/* Logo */
img.site-logo-img {
  min-height: 60px;
  max-height: 177px;
  width: auto;
  min-width: 320px;
  margin-bottom: 1em;
}

/* Card/Box style */
.lpb-component-list,
#main-container,
#sidebar-box-main,
#top-box-first,
#top-box-second,
#top-box-third,
#bottom-box-first,
#bottom-box-second,
#bottom-box-third,
#bottom-box-fourth {
  background: var(--r-bg-fr);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(34,46,58,0.06);
  padding: 2em;
  margin-bottom: 2em;
}

/* Footer */
#footer-container {
  background: var(--r-bg-lk);
  color: var(--r-tx-lk);
  padding: 2em 0;
  border-top: 1px solid var(--r-br);
}
#footer-menu a {
  color: var(--r-lk);
  margin-right: 1em;
}
#footer-menu a:hover {
  color: var(--r-lk-h);
}

/* Breadcrumb */
#breadcrumb {
  font-size: 0.95em;
  color: var(--r-tx);
  margin-bottom: 1em;
}

/* Responsive tweaks */
@media (max-width: 1000px) {
  .lpb-component-list,
  #main-container,
  #sidebar-box-main {
    padding: 1em;
  }
}

.lpb-component-list {
  width: auto;
}

section#block-fortschritte-theme-languageswitcher h2.solo-block-title {
  display: none;
}

.display_none {
  display: none;
}

/*
div#sidebar-box-main div#block-fortschritte-theme-page-title {
  display: none;
}
*/

/*
ul#main-menubar--2 {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
}
*/

div.lightgallery-wrapper {
  display: flex;
  justify-content: center;
}

div.lightgallery-wrapper ul.lightgallery {
  list-style-type: none;
  padding: 0;
}

div.lightgallery-wrapper ul.lightgallery li {
  float: inline-start;
  width: 220px;
  height: 220px;
  border-style: solid;
  border-width: 0px;
  border-color: var(--r-bg-bt);
  border-radius: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 1s;
  margin: 2px;
}

div.lightgallery-wrapper ul.lightgallery li:hover {
  cursor: pointer;
  background-color: var(--r-bg-bt);
}

div.lightgallery-wrapper ul.lightgallery li div.field-content {
  width: 90%;
  height: 90%;
}

div.lightgallery-wrapper ul.lightgallery li img {
  border-radius: 0.5em;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.language-switcher-language-url .is-active, #block-styleswitcher .active {
  display: none;
}

div.lg-thumb-outer {
  display: flex;
  justify-content: center;
}

