:root {
    --wrapper-color: rgb(255,255,255);
    --second-wrapper-color: rgb(180, 180, 180);

    @media screen and (prefers-color-scheme: dark) {
        --wrapper-color: #373737;
        --second-wrapper-color: #4a4b4b;

        #logo-kts{
            content: url('./assets/img/KTS-Logo-RGB-weiss.png');
        }
    
    }
}
html, body{
    font-size: 0.9em;
    /* overflow: hidden; */
    /* max-width: 1159px;
    margin: auto; */
    /* max-width: 1145px; */
}
body{
    margin: 0;
}
html:has(#loading:not([disabled])), body:has(#loading:not([disabled])) {
    height: 100%;
}

#loading[disabled] ~ #content {
    /* display: inline-block !important; */
    height: unset !important;
}
#content{
    margin: 5px;
}
.tab-view{
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 5px !important;
    /* min-height: 23em; */
}
.tab-view .grid-wrapper{
    display: flex;
    flex-direction: column;
}

.outer-wrapper{
    min-height: 22em;
}

.tab-content {
    display:flex;
    gap: 5px;
    flex: 1;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
}
.tab-content.minimalistic{
    justify-content: unset;
}
.tab-content.minimalistic > .outer-wrapper{
    margin-left: auto;
    margin-right: auto;
}
.result-wrapper {
    background-color: var(--secondary-button-color);
    padding: 5px !important;
    border-radius: 15px;
    margin-bottom: 10px;
    position: relative;
    z-index: 100;
}

.result-content {
    display:flex;
    flex-direction: column;
    padding: 10px;
    background-color: var(--wrapper-color);
    border-radius: 10px;
    width:inherit;
    min-width: 16em;
    position: relative;
}

.outer-wrapper {
    display: flex;
    flex-direction: column;
    background-color:var(--second-wrapper-color);
    border-radius:10px;
    padding:5px;
    width: fit-content;
}

.outer-alignment{
    display: flex;
    gap:5px;
    height: 100%;
}
.content-wrapper {
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    background-color: var(--wrapper-color);
    border-radius: 5px;
    width: 100%;
}

#wrapper-mieterstrom {
    max-width: 190px;
}

.content-alignment {
    display:flex;
    width: fit-content;
}

.content-alignment-vertical {
    display:flex;
    flex-direction: column;
    width: fit-content;
    gap:30px;
}


navigation-dots-buttons{
    margin-top: 5px !important;
    display: block;
}

animated-step-slider {
    display: block;
    width: 14em;
}

double-vertical-value-slider, vertical-value-slider {
    height: 100%;
}
h2{
    margin: 0 0 5px 5px;
    font-size:1em;
}
.vertical-line{
    /* border-left: 6px solid green; */
    width: 1px;
    background-color: var(--font-primary-color);
    margin: 0 .5em;
}
.flat-facade-solar{
    display: flex;
    flex-direction: column;
    width: min-content;

}
.flat-facade-solar .text{
    margin: .25em auto;
    font-weight: bold;
    font-size: 1.1em;
}
.flat-facade-solar flat-solar-roof, .flat-facade-solar facade-solar{
    flex: 1
}
.section[toggle-for="dach_art"] .section{
    width: min-content;
}
.message-wrapper{
    /* margin-top: -15px; */
    position: relative;
    height: 1.5em;
}

[toggle-for="batterie-section"][toggle-disabled] {
    opacity: 0.5;
    height: 100%;
    pointer-events: none;
    user-select: none;
    pointer-events: none;
    visibility: visible !important;
    grid-template-rows: auto !important;
}
 
[toggle-for="kredit-section"][toggle-disabled] {
    opacity: 0.5;
    height: 100%;
    pointer-events: none;
    user-select: none;
    pointer-events: none;
    visibility: visible !important;
    grid-template-rows: auto !important;
}

#logo-kts{
    height: 5em;
}

#logo-htw {
    height: 2em;
}

#logo-wrapper-right{
    display: flex;
    flex-direction:column;
    align-items: end;
    grid-column-start: 3;
    margin-left:auto;
    font-size:0.8em;
}

#logo-wrapper-left{
    width:117px;
    padding-top: 15px;
    display: flex;
    flex-direction:column;
    align-items: start;
    grid-column-start: 3;
    margin-right:auto;
    font-size:0.8em;
}
.header {
    display:flex;
    align-items: center;
    flex-wrap:wrap;
}

h1{
    flex-grow:1;
    text-align:center;
}

@media (max-width: 480px) {
  h1 {
    order: 3;
  }

}

.is-disabled {
    opacity: 0.5;
    filter: grayscale(0.6);
    pointer-events: none;
}
.is-disabled:focus {
    outline: none;
}