h4 {
  text-align: left;
  margin-bottom: 0px;
  font-weight: bold;
  color: #164D72;
}

.row h5:not(.panel-title) {
  text-align: center;
  margin-bottom: 0px;
  font-weight: bold;
  font-size: 20px;
  color: #164D72;
}


.panel-info {
  margin-top: 12px;
  position: relative;
}

.panel-info::before {
  top: -4px;
  left: -20px;
}

.panel-info h5.panel-title {
  padding-left: 24px;
  padding-right: 12px;
  position: relative;
}

.panel-info h5.panel-title .collapse-icon {
  position: absolute;
  right: -12px
}


.formel {
  text-align: center;
  font-size: 1.5em;
  /* Größe der Formel */
  margin-top: 20px;
  margin-bottom: 20px;
}

ol.custom {
  font-weight: 400;
}

ol.custom h4 {
  padding-left: 0px;
}

ol.custom li::marker {
  font-weight: bold !important;
  font-size: 18px;
  color: #164D72 !important;
}


ol.custom label {
  font-weight: 400;
  margin-bottom: 6px;
  margin-top: 6px;
}

ol.custom .form-check-input {
  position: absolute;
  top: 6px;
}

.false {
  background-color: var(--false-background);
  outline: 2px solid var(--false-border);
}

.answers {
  padding: 6px 3px;
}

.list-group-item.item {
  font-weight: 400;
}

#itemZone .item {
  display: inline-block;
  /* width: auto;
  max-width: 300px;
  height: auto; */
  margin: 2px;
}


.header {
  background-color: #164D72;
  color: #fff;
  font-size: 14px;
  padding: 5px;
  text-align: center;
}

.header h4 {
  color: #fff;
  text-align: center;
}

.dropZone {
  min-height: 300px;
  background-color: var(--grey);
  padding: 5px;
  margin-top: 0px;
}

#itemZone {
  min-height: 60px;
  padding: 10px;
  background-color: var(--grey);
  display: flex;
  flex-wrap: wrap;
}

#itemZone .sortable {
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 5px;
  padding-top: 5px;
}


.dropZone .item {
  margin-bottom: 2px;
}

#itemZone {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

#itemZone .item {
  flex: 0 0 100%;
}

@media (min-width: 992px) {
  #itemZone .item {
    flex: 0 0 calc(50% - 1rem);
  }
}


.form-control {
  width: auto;
  display: inline-block;
  padding-left: 12px;
  padding-top: 3px;
  padding-bottom: 3px;
}

.form-check label,
.lueckentext {
  font-weight: 400;
  font-size: 16px !important;
  line-height: 1.75em;
}

.lueckentext>div {
  margin-bottom: 24px;
}

.lueckentext .dropdown {
  display: inline-block;
  margin-left: 3px;
  margin-right: 3px;
}

.form-check label {
  position: relative;
}

.form-check .form-check-input {
  top: 4px;
}

.flex-label {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  width: 100%;
  margin-top: 12px;
  margin-bottom: 24px;
  font-size: 14px !important;
}

.flex-label span:first-child {
  text-align: left;
  /* erstes Label links */
}

.flex-label span:last-child {
  text-align: right;
  /* letztes Label rechts */
}

.flex-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
  /* overflow-x: hidden; */
}

.slider-wrapper {
  max-width: 500px;
}

@media (min-width: 992px) {
  .flex-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.boxitem {
  width: 100%;
  grid-row: span 5;
  display: grid;
  grid-template-rows: subgrid;
  /* bleibt erhalten */
  padding: 0 12px;
}

.boxitem h4 {
  line-height: 1.2em;
}

.slider-row {
  margin-top: 12px;
}

.boxitem .btn-primary {
  margin-top: 12px;
}





.bislider .slider-track {
    background: linear-gradient(90deg, var(--waermekraftwerke), #ffffffcc  ,var(--energietransport)) !important;
}

.bislider .slider-handle{
  background-color: #e3e3e3 !important;
  background-image: none;
  border: 1px solid #888;
}
