:root {
--solarblau: #004E9E;
--schriftgrau: hsl(0, 0%, 41%);
--solargelb: #eda02c;
--hellgrau:  #f8f9fa;
--produktion: #F08237;
--batterie: #3ACF00;
--eeg: #C8007A;
--netz: #404040;
--eauto: rgb(241,127,0);
--freierverbraucher:rgb(0,167,200);
--heizstab: rgb(225,0,0);
--waermepumpe: rgb(58,0,145);
}


body {
    color:#686868;
    background-image: url('/images/grosser_hintergrund.png');
     background-repeat: no-repeat;
     background-position: left top;
     background-size: 50vh;
     width: 100%;
     height: 100%;
     display: flex;
     margin: 0;

 }

 h1 {
    color: var(--solarblau);
   text-align: center;
}

h2 {
    text-align: center;
}

h4 {
    color: var(--solargelb);
}
p {
    color: var(--schriftgrau);
}

a {
    text-decoration: none;
    color: var(--schriftgrau);
}

/*Login*/
.gelberbutton {
    background-color: var(--solargelb);
    color: white;
    border: none;
    padding: 0.7rem;
    border-radius: 10px;
}

#barChart1 {
  max-height: 12em; /* Begrenzte Höhe nur für diesen Chart */
  width: 100%; /* Volle Breite für Responsivität */
}

#barChart2 {
  /* Hier kannst du eine andere max-height oder keine Begrenzung setzen */
  max-height: 10.5em; /* Beispiel: Höhere Begrenzung */
  width: 100%;
}
#linieChart {
  max-height: 300px;
}



  .form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
    background-color: var(--hellgrau);
    border-radius: 5%;  
    -webkit-box-shadow: 17px 10px 22px -8px rgba(0,0,0,0.55);
  -moz-box-shadow: 17px 10px 22px -8px rgba(0,0,0,0.55);
 box-shadow: 17px 10px 22px -8px rgba(0,0,0,0.55);
  }
  
  .form-signin .checkbox {
    font-weight: 400;
  }
  
  .form-signin .form-floating:focus-within {
    z-index: 2;
  }
  
  .form-signin input[type="text"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
  
  .form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .form-control:focus {
    border-color: var(--solargelb);
    box-shadow: 0 0 0 .25rem rgba(255, 163, 58, 0.342);
  }

/*
Admin 
*/

.offcanvas {
  background-color: var(--hellgrau);
  color: var(--schriftgrau);
}
.offcanvas h1 {
  
  color: var(--schriftgrau);
}
.offcanvas a {
  color: var(--schriftgrau);
}
.offcanvas a:hover {
  color: var(--solargelb);
}
/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  /* background-color: rgba(0, 0, 0, .25); */
  /* box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);*/
}

.navbar .navbar-toggler {
  top: .25rem;
  right: 1rem;
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}


.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.2;
  }
  25%{
    opacity: 0.4;
  }
  50% {
    opacity: 0.6;
  }
  75%{
    opacity: 0.4;
  }
  100% {
    opacity: 0.2;
  }
}
.back-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  visibility: hidden;
  transform-origin: center;
  cursor: pointer;
  transition: transform 0.6s, visibility 0.6s, opacity 0.6s;
}

.svg-container {

  position: relative;
}



.card, .miniCard {
  cursor: pointer;
  position: relative;
}

.scene {
  display: inline-block;
}

.card__face {
  position: absolute;
  width: 100%;
  height: 100%;
  line-height: 260px;
  color: white;
  text-align: center;
  /* backface-visibility: hidden;
  -webkit-transform-origin: center center;
  transform-origin: center center; */
  display: block;
  width: 100%;
  height: auto;
}

.card__face--front {
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
}

.card__face--back {
  /* transform: rotateY(90deg); */
  z-index: 1;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #008CBA;
  overflow: hidden;
  width: 0;
  height: 100%;
  transition: .5s ease;
}

.card, .miniCard {
  position: relative;
  width: 50%;
  height: 300px;
  perspective: 1000px;
}

.card__face--front {
  display: block;
  width: 100%;
  height: auto;
}

.card__face--back {
  opacity: 0;
  width: 50%;
}

.card.is-flipped .card__face--front, .miniCard.is-flipped .card__face--front{
  visibility: hidden;
  opacity: 0;
}

.card.is-flipped .card__face--back, .miniCard.is-flipped .card__face--back {
  visibility: visible;
  opacity: 1;
}

.line-chart {
  min-height: 50vh;
  width: 100%;
  padding-bottom: 1rem;
}
#calendar {
  margin-top: 20px;

}
ul li {
  display: inline;


}

i {
  color: green !important;
}

.svg-icons {
  width: 90%;
  height: 80%;
  padding-top: 1rem;

}

.datum {
  background-color: var(--hellgrau);
  padding: 0.5rem;
}

#barChart1 {
 height: 100%;
 width: 100%;
}

.logo {
  width: 50%;
}

.usercontainer {
  margin-top: 2rem;
}
@media screen and (min-width: 630px) {
  .line-chart {
   
  }
  .svg-icons {
    width: 100%;
    height: 100%;
  }
  .form-select{
    width: 40%;
  }
  .logo {
    width: 75%;
  }
  #linieChart {
    max-height: 600px;
  }

}



@media screen and (min-width: 510px){
  #barChart2 {
    max-height: 12em;
    width: 100%;
  }
}

.square, .circle {
  pointer-events: none;
  margin: 1px;
  background-color: #004E9E;
  font-size: 14px;
}
.small {
  width: 18px;
  height: 18px;
}
.follow-path {
  position: absolute;
  top: -9px;
  left: -9px;
}
.panel {
  border: 1px solid rgba(37, 43, 58, .1);
  border-radius: 25px;
  position: relative;
  box-sizing: border-box;
}
.border-text{
  position: absolute;
  top: -10px; 
  left: 60px;
  transform: translateX(-50%); 
  background: rgb(255,255,255);
  background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
  padding: 0 5px;
  color: var(--schriftgrau);
}
.navbar {
  justify-content: flex-start;
background: #004E9E;
background: linear-gradient(347deg,rgba(0, 78, 158, 1) 26%, rgba(237, 160, 44, 1) 88%);
}
.nav-bg {
  background: rgb(2,91,171);
  background: linear-gradient(135deg, rgba(2,91,171,1) 0%, rgba(18,61,133,1) 100%);
}
.nav-btn {
  color: #fff;
  border: none;
}
.datumpicker {
  border-radius: 5px;
  border: none;
  min-height: 15px;
  margin-right: 5px;
}

#selection {
  margin-left: 4em;
  border-radius: 5px;
  border: none;
  min-height: 15px;
  
}
.pv-verbrauch-ball, .pv-bat-ball, .pv-netz-ball, .pv-eeg-ball {
  fill: #eda02c;
  z-index: 100;
 
}



.verbrauch-netz-ball {
  fill: #404040;
}
.bat-verbrauch-ball, .bat-eeg-ball {
  fill: #3ACF00;
  z-index: 100;
}
#datepicker {
  width: 6em;
  margin-right: 2em;
}

.linien {
  z-index: 1;
}

.eeg-verbrauch-ball, .eeg-bat-ball{
  fill: #C8007A;
}
.verlasslichkeitsanzeige {
  -webkit-box-shadow: 0px 0px 18px 0px rgba(51,255,65,1);
  -moz-box-shadow: 0px 0px 18px 0px rgba(51,255,65,1);
  box-shadow: 0px 0px 18px 0px rgba(51,255,65,1);
}

.custom-checkbox .form-check-input {
  border: 1px solid #eda02c;
}

.custom-checkbox .form-check-input:checked {
  background-color: #eda02c;
  border-color: #eda02c;
}

.custom-checkbox .form-check-input:focus {
  border-color: #eda02c;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(237, 160, 44, 0.5);
}
 

.custom-checkbox .form-check-input:checked::before {
  color: white; 
  width: 1em;
  height: 1em;
}
.slidecontainer {
  position: relative;
  width: 100%;
  margin: 20px 0;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 20px;
  border-radius: 15px;
  background:rgba(171,171,171,1);
  background: linear-gradient(90deg, rgba(171,171,171,1) 30%, rgba(75,75,75,1) 31%);
  outline: none;
  opacity: 0.7;
  -webkit-transition: .7s;
  transition: opacity 2.7s ease;
  position: relative;
}
.slider-wallbox.active-wallbox {
  -webkit-appearance: none;
  width: 100%;
  height: 20px;
  border-radius: 15px;
  background: rgb(237,160,44);
  background: linear-gradient(90deg, rgb(241,127,0) 30%, rgba(46,168,37,1) 31%) !important;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .7s;
  transition: opacity 2.7s ease;
  position: relative;
}

.slider-batterie {
  -webkit-appearance: none;
  width: 100%;
  height: 20px;
  border-radius: 15px;
  background-color: rgba(171,171,171,1);
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
  position: relative;
}
.slider-batterie.active-batterie {
  -webkit-appearance: none;
  width: 100%;
  height: 20px;
  border-radius: 15px;
  background-color: var(--batterie);
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
  position: relative;
}
.slider-batterie::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  z-index: 100;
  position: relative;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  z-index: 100;
  position: relative;
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--eauto);
  cursor: pointer;
  z-index: 100;
  position: relative;
}

.slider-labels {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  color: white;
  font-size: 16px;
  pointer-events: none;
  transform: translate(0,-8%);
}

.slider-labels span {
  position: relative;
  z-index: 2;
}

.form-check-input:checked.eAutoSchalter {
  background-color: var(--eauto);
  border-color: var(--eauto);
}
.form-check-input:checked.batterieSchalter {
  background-color: var(--batterie);
  border-color: var(--batterie);
}


.form-check-input:focus.eAutoSchalter {
  border-color:rgb(224, 158, 88);
  outline: 0;
  box-shadow: 0 0 0 .25rem rgb(224, 158, 88,0.2);
}
.form-check-input:focus.batterieSchalter {
  border-color:#3ACF00;
  outline: 0;
  box-shadow: 0 0 0 .25rem #3bcf0034;
}

.form-switch .form-check-input:focus {
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e");
}

.form-select {
  margin-bottom: 2rem;
}
.custom-scrollbar-css {
  overflow-y: scroll;
}

.custom-scrollbar-css::-webkit-scrollbar {
  width: 5px;
}

.custom-scrollbar-css::-webkit-scrollbar-track {
  background: #eee;
  margin-left: 20px;
  padding-left: 20px;
}

.custom-scrollbar-css::-webkit-scrollbar-thumb {
  border-radius: 1rem;
  background-color: #1E357C;
  background-image: linear-gradient(to top, #004F9F 0%, #1E357C 100%);
  margin-left: 20px;
  padding-left: 20px;
}
.spinner_qM83{
  animation:spinner_8HQG 1.05s infinite
}
.spinner_oXPr{
  animation-delay:.1s
}
.spinner_ZTLf{
  animation-delay:.2s
}
@keyframes spinner_8HQG{
  0%,57.14%
  {
    animation-timing-function:cubic-bezier(0.33,.66,.66,1);
    transform:translate(0)
  }
  28.57%
  {
    animation-timing-function:cubic-bezier(0.33,0,.66,.33);
    transform:translateY(-50px)
  }
  100%
  {
    transform:translate(0)
  }
}
.navbar-toggler {
  border: 0 !important;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  outline: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

.toggler-icon{
  width: 30px;
  height: 3px;
  background-color: #fff;
  display: block;
  transition: all 0.2s;
  border-radius: 3px;
  
}

.middle-bar{
  margin: 5px auto;
}

.navbar-toggler .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar {
  opacity: 0;
  filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .top-bar {
  transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
  filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
  transform: rotate(0);
}

.navbar-toggler.collapsed .toggler-icon {
  background-color: #fff;
}
.weitereInfos {
  background-color: #004E9E;
  color: #fff;
  padding: 5px;
}
.info-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.info-button {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background-color: var(--schriftgrau);
  opacity: 0.3;
  color: white;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  margin-left: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  transform:translate(0%, 15%);
  line-height: 1.3;
  padding-left: 6px;
}

.info-button:hover {
  background-color: var(--solargelb);
}

.info-popup {
  position: absolute;
  top: 50px;
  right: 50%;
  transform: translateX(50%);
  width: 200px;
  padding: 10px;
  background-color: white;
  color: black;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 1000;
}

.info-popup p {
  margin: 0;
  font-size: 14px;
}

.overlay-linechart {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  color: var(--schriftgrau);
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 10;
}
.overlay-linechart span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  font-weight: bold; 
  color: var(--schriftgrau);
  z-index: 2;
}
.togglePassword {
  float: right;
  margin-left: -30px;
  margin-top: -45px;
  right: 15px;
  position: relative;
  z-index: 2;
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

#inputPassword {
  margin-bottom: 10px;
}

.text-shadow {
  text-shadow: 1px 0px 0px rgba(241,127,0,1);
  font-size: 1.3em;
  font-weight: 600;
}
.bi-caret-left-fill, .bi-caret-right-fill {
  color: #fff;
}

#datepicker {
  border-radius: 10px;
  text-align: center;
  border-color: #fff;
}
.datepicker-picker {
  border-radius: 15px;
}
.datepicker-cell.selected, .datepicker-cell.selected:hover {
  background-color: var(--solargelb);
  color: #fff;
  font-weight: 600;
}
input.pvCheckbox {
  margin-left: 15px;
  border: none;
}

input.pvCheckbox {
  margin-left: 15px;
  border: none;
  background-color: var(--hellgrau); 
}
.dropdown-menu.pvCheckbox:focus {
  margin-left: 15px;
  border: none;
  background-color: var(--schriftgrau); 
}


.dropdown-menu > li:nth-of-type(1) > .pvCheckbox:checked {
  background-color: #eda02c;
}
.dropdown-menu > li:nth-of-type(2) > .pvCheckbox:checked {
  background-color: #004e9e; 
}
.dropdown-menu > li:nth-of-type(3) > .pvCheckbox:checked {
  background-color: #004e9e; 
}

.dropdown-menu > li:nth-of-type(5) > .pvCheckbox:checked {
  background-color: #404040;
}

.dropdown-menu > li:nth-of-type(7) > .pvCheckbox:checked {
  background-color: #3acf00; 
}

.dropdown-menu > li:nth-of-type(9) > .pvCheckbox:checked {
  background-color: #004e9e;
}

#legend-dropdown-menu input {
  margin-left: 15px;
  margin-top: 12px;
  border: none;
}

input.Produktion {
  background-color: #eda02c; 
}
input.Produktion:checked {
  background-color: #eda02c; 
}

input.Batterie {
  background-color: #3acf00; 
}
input.Batterie:checked {
  background-color: #3acf00; 
}

input.Verbrauch {
  background-color: #004e9e; 
}
input.Verbrauch:checked {
  background-color: #004e9e; 
}


input.Netz {
  background-color: #404040; 
}
input.Netz:checked {
  background-color: #404040; 
}


input.Netzeinspeisung {
  background-color: #61b063; 
}
input.Netzeinspeisung:checked {
  background-color: #61b063; 
}

input.Netzbezug {
  background-color: #873d94; 
}
input.Netzbezug:checked {
  background-color: #873d94; 
}


#submenu-0 > li:nth-of-type(1) > input{
  background-color: #ff7b00;
}
#submenu-0 > li:nth-of-type(2) > input{
  background-color: #ff8800;
}
#submenu-0 > li:nth-of-type(3) > input{
  background-color: #ff9500;
}

#submenu-1 > li:nth-of-type(1) > input{
  background-color: #ffa200;
}
#submenu-1 > li:nth-of-type(2) > input{
  background-color: #ffaa00;
}
#submenu-1 > li:nth-of-type(3) > input{
  background-color: #ffb700;
}




#submenu-0, #submenu-0 {
  z-index: 1001;
}



.linieChartButton {
  margin-top: 5px;
  border: none;
  color: var(--schriftgrau);
  font-weight: 600;
}
.linieChartButton.btn-show {
  background-color: var(--solargelb);
} 
.anlagenStatus{
  font-size: 10px;
}
@media screen and (min-width: 800px){
  .anlagenStatus {
    font-size: 16px;
  }
}

.loader {
  display: flex;
  margin: 0 auto;
  width: 60px;
  height: 50px;
  text-align: center;
  font-size: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  justify-content: center;
  align-items: center;
  -webkit-transform: translateY(-50%) translateX(-50%);
  display: none;
  
  > div {
    height: 100%;
    width: 8px;
    display: inline-block;
    float: left;
    margin-left: 2px;
    -webkit-animation: delay 0.8s infinite ease-in-out;
    animation: delay 0.8s infinite ease-in-out;
  }
  
  .bar1{
    background-color: var(--solargelb) ;
  }
  .bar2{
    background-color: var(--batterie);
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
  }
  .bar3{
    background-color: var(--eeg);
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
  }
  .bar4{
    background-color: var(--solargelb);
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
  }
  .bar5{
    background-color: var(--batterie);
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
  }
  .bar6{
    background-color: var(--eeg);
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
  }
}


@-webkit-keyframes delay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.05) }  
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes delay {
  0%, 40%, 100% { 
    transform: scaleY(0.05);
    -webkit-transform: scaleY(0.05);
  }  20% { 
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}

.dropdown-menu, .dropdown-submenu {
    background: #fff;
    border: 1px solid #ccc;
    min-width: 180px;
    z-index: 9999;
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
}



.dropdown-menu li, .dropdown-submenu li {
    display: block;
    width: 100%;
}
.dropdown-menu li > span, .dropdown-submenu li > span {
    display: inline-block;
    vertical-align: middle;
    padding: 6px 0;
}
.left-open-submenu {
  position: absolute;
  top: 100%; /* Positioniert das Menü direkt unter dem Hauptmenü */
  left: 0;
}