#windkraft_elemente .row.equal-height {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  align-items: stretch;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
#windkraft_elemente .schnipsel {
  background-color: var(--soft-background);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem;
}

@media (max-width: 1024px) {
  #windkraft_elemente .row.equal-height {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  #windkraft_elemente .row.equal-height {
    grid-template-columns: 1fr;
  }
}

#windkraft_effizienz .faktor {
  padding: 10px;
  border: 5px solid var(--soft-background);
  background-color: var(--soft-background);
}

#windkraft_effizienz .flex-grid {
  width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 1rem;
  min-width: min-content;
  margin-top: 2rem;
}

#windkraft_effizienz .faktor {
  width: 100%;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

#windkraft_effizienz .faktor {
  grid-row: span 5;
  display: grid;
  grid-template-rows: subgrid;
  padding: 12px 12px;
}

#windkraft_effizienz .tile-img {
  margin: 0 auto;
  margin-bottom: 6px;
  display: block;
  max-width: 80px;
  width: 100%;
}

#windkraft_effizienz .flex-grid .faktor > h4 {
  text-align: center;
}

#windkraft_effizienz .slider-row,
#windkraft_effizienz .slider-wrapper {
  width: 100%;
  max-width: 340px;
}

#windkraft_effizienz .faktor p {
  margin-bottom: 0px;
  line-height: 1.2em;
}

#windkraft_effizienz .slider-label {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  font-weight: bold;
  margin-top: 3px;
}

#windkraft_effizienz a.btn {
  text-decoration: none;
  display: block;
  width: auto;
}

@media (max-width: 1400px) {
  #windkraft_effizienz .flex-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  #windkraft_effizienz .faktor {
    position: relative;
  }

  #windkraft_effizienz .tile-img {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 50px;
  }
}

@media (max-width: 1024px) {
  #windkraft_effizienz .flex-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #windkraft_effizienz .tile-img {
    position: relative;
    top: 0;
    right: unset;
    width: 80px;
  }

  #windkraft_effizienz .faktor p {
    line-height: 1.2em;
  }
}

@media (max-width: 768px) {
  #windkraft_effizienz .flex-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

#windkraft_bruttostromerzeugung
  #windkraft_bruttostromerzeugung
  .checkbox-list
  .form-check
  label {
  display: grid;
  cursor: pointer;
  font-weight: 400;
  line-height: 1.5em;
  padding-right: 2rem;
}

#windkraft_bruttostromerzeugung .checkbox-list .form-check,
.checkbox-list-ereignis .form-check {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

#windkraft_bruttostromerzeugung .checkbox-list .form-check label {
  display: grid;
  cursor: pointer;
  font-weight: 400;
  line-height: 1.5em;
  padding-right: 3.5rem;
}

#windkraft_bruttostromerzeugung .checkbox-list .form-check {
  padding: 6px 3px;
  font-size: 18px;
}

#windkraft_bruttostromerzeugung .checkbox-list .form-check .form-check-input {
  position: absolute;
  right: 16px;
  margin-left: 12px;
}

#windkraft_bruttostromerzeugung .checkbox-list .form-check:nth-child(even) {
  background-color: var(--soft-background);
}

#stromgewinnung .checkbox-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: space-around;
  padding: 1em;
}

#stromgewinnung .checkbox-row label span {
  display: block;
  width: 100%;
  text-align: center;
  font-weight: 500;
}

#stromgewinnung .checkbox-row img {
  max-width: 250px;
  width: 100%;
  padding: 6px 24px;
}

#stromgewinnung .checkbox-row .form-check-input + label {
  opacity: 0.8;
  font-size: 18px;
  padding-left: 0px;
}

#stromgewinnung .form-check-input + label img {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: gray;
  -webkit-filter: grayscale(1);
  opacity: 0.7;
}

#stromgewinnung .form-check-input:checked + label {
  opacity: 1;
}

#stromgewinnung .form-check-input:checked + label img {
  filter: none;
  -webkit-filter: none !important;
  -moz-filter: none !important;
  -o-filter: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1;
}

#stromgewinnung .form-check-input:hover + label img {
  filter: grayscale(50%);
}

#stromgewinnung .form-check-input.cb-hidden {
  display: none;
}

#stromgewinnung .form-check.col-6 {
  align-items: center;
  text-align: center;
}

#stromgewinnung .checkbox-row .form-check {
  text-align: center;
}

#biogas canvas {
  height: calc(100dvh - 280px) !important;
}

@media (orientation: portrait) {
  #biogas canvas {
    width: 100% !important;
    height: auto !important;
  }
}

#solarzelle_funktionsweise {
  display: flex;
  justify-content: space-evenly;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

#solarzelle_funktionsweise ol {
  font-weight: bold;
}

#solarzelle_funktionsweise .answers {
  font-weight: 400;
  margin-bottom: 0.5rem;
  margin-left: -12px;
  padding-left: 6px;
}

@media (min-width: 1024px) {

    #solarzelle_funktionsweise ol{
        padding-inline-start: 12px;
    }
  #solarzelle_funktionsweise li,
  #solarzelle_funktionsweise label {
    font-size: 17px;
  }
  #solarzelle_funktionsweise li {
    margin-bottom: 0;
  }

  #solarzelle_funktionsweise label {
    line-height: 1.35rem;
  }

  #solarzelle_funktionsweise .form-check {
    position: relative;
    margin: 0.1rem 0;
  }
}

#solarzelle {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

#solarzelle .wrap {
  max-width: 1200px;
}

#solarzelle .header {
  margin-top: 1rem;
}

#solarzelle .header h4 {
  background-color: var(--collapsible-header);
  color: #fff;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 0px;
  padding: 0.5rem;
}
#solarzelle .item {
  line-height: 1.3em;
  padding: 0.5rem 0.75rem;
}

#solarzelle .dropZone {
  min-height: 300px;
  background-color: #f5f5f5;
  padding: 5px;
  margin-top: 0px;
  height: fit-content;
}

#solarzelle #itemZone {
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  font-size: 1.1em;
}

#solarzelle .dropZone .item {
  margin-top: 0.5rem;
}

#solarzelle .list-group-item:first-child {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.list-group-item + .list-group-item {
  border-top-width: 1px;
}

@media (max-width: 799px) {
  #solarzelle #itemZone {
    grid-template-columns: repeat(2, 1fr);
  }
}

#stromerzeugung {
  display: flex;
  justify-content: space-evenly;
}

#stromerzeugung .flex-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 1200px;
  font-size: 18px;
}

#stromerzeugung .flex-row .item {
  text-align: center;
  background-color: var(--soft-background);
}

#stromerzeugung img.thumb {
  max-width: 100%;
  width: 120px;
  margin: 1rem;
}
#stromerzeugung .wrapper h4 {
  width: 100%;
}

#stromerzeugung .wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#stromerzeugung .form-wrapper {
  margin-bottom: 1rem;
}

.inline,
.form-check-inline {
  margin-right: 0.5rem;
  margin-left: 0.5rem;
}

@media (max-width: 799px) {
  #stromerzeugung .flex-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 439px) {
  #stromerzeugung .flex-row {
    grid-template-columns: repeat(1, 1fr);
  }
}

#stromerzeugungstypen canvas {
  height: calc(100dvh - 320px) !important;
}

#muster1 .modal-dialog {
  max-width: 600px;
}
