.commune__blogposts .card img {
  border-radius: 25px 25px 0 0;
}

.commune__blogposts .card {
  border-radius: 25px;
}

.lights .light {
  position: relative;
  height: 1.875rem;
  width: 1.875rem;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.9375rem;
}

.lights .light.red {
  background-color: #E10021;
}

.lights .light.yellow {
  background-color: #FFD700;
}

.lights .light.green {
  background-color: #00B168;
}

.info__box i {
  position: relative;
}

.info__box i:hover {
  cursor: pointer;
}

.info__box i .info {
  opacity: 0;
  transition: opacity 0.3s ease;
  position: absolute;
  top: -8.4375rem;
  left: 75%;
  padding: 0.625rem;
  background-color: #fff;
  border-radius: 0.9375rem;
  width: 18.75rem;
  transform: translateX(-50%);
  font-size: 0.75rem;
  z-index: 999;
}

.info__box.gray i .info {
  bottom: -8.4375rem;
  top: auto;
  z-index: 999;
}

.info__box i .info:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-left: -5px;
  border: solid 7px;
  border-color: #001d6c transparent transparent transparent;
  z-index: 999;
}

.info__box.gray i .info:after {
  top: -14px;
  transform: translateX(-50%) rotate(180deg);
}

.info__box i:hover .info {
  transition: opacity 0.3s ease;
  opacity: 1;
}

.ampel-info {
  top: -40px !important;
  width: auto !important;
  left: 50% !important;
}

.info__box i .ampel-info:after {
  content: "";
  margin-left: 0 !important;
}

.swiper__controls i {
  font-size: 2.5rem;
  color: #001d6c;
}

.supply__situation .card-body:nth-child(even) {
  background-color: rgba(1, 80, 159, 0.05);
}

.supply__situation .percentage {
    font-weight: bold;
    background: linear-gradient(90deg, rgba(248,116,37,1) 0%, rgba(255,162,41,1) 100%);
    color: white;
    padding: .25rem .5rem;
    border-radius: .5rem;
}

.supply__situation .progress {
    border-radius: 5rem;
}

.supply__situation .progress-bar {
    border-radius: 500rem;
    background: linear-gradient(90deg, rgba(248,116,37,1) 0%, rgba(255,162,41,1) 100%);
}

.supply__situation .supplied {
    font-weight: bold;
    color: #00B168;
}

.supply__situation .planned {
    font-weight: bold;
    color: #E10021;
}

.supply__situation .planned i,
.supply__situation .supplied i{
    color: inherit;
    margin-left: .5rem;
}

.expansion__result .self__supported,
.expansion__result .funded {
  border-radius: 25px;
}

.expansion__result .funded {
  background-color: rgba(0, 65, 142, 0.1);
}

.expansion__result .funded * {
  color: #112447;
}

.expansion__result .self__supported {
  background-color: rgba(250, 127, 38, 0.1);
}

.expansion__result .self__supported * {
  color: #fa7f26;
}

.communePage .text.form-control {
  background-color: transparent;
  border-radius: 0;
  padding: 1.875rem 1.5625rem 0.625rem 1.5625rem;
}

.communePage .form input.text,
.communePage form input.text {
  border: 2px solid #fff;
  color: #fff !important;
  border-radius: 99px !important;
  height: 4.375rem;
  line-height: 1.75rem;
}

.communePage form div.text label:not(.error) {
  color: #8091b9;
  top: 1.75rem;
}

.communePage form div.text label.active {
  top: 0.9375rem;
  left: 1.25rem;
  font-size: 0.875rem;
  text-transform: none;
  background: transparent;
  width: auto;
  padding: 0 5px;
  color: #8091b9;
}

.communePage .map__image .image__fancy {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
}

.communePage .map__image .image__fancy i {
  color: #fff;
  font-size: 1.875rem;
}

.legend-item-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.legend-item {
  margin-right: 20px;
}

.legend-content {
  display: flex;
  align-items: center;
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 5px;
}

.legend-text {
  font-size: 0.875rem;
}

@media screen and (max-width: 767.98px) {
  .lights .light {
    margin-right: 10px;
  }
}

.communePage .expansionAreas p {
  margin-bottom: 0 !important;
}

.atlas-control-container span a:not(.btn){
  margin-bottom: 0;
}