
/*----------------new---------------- */
section {
    margin: 2em 0 2em 0;
    display: flex;
    justify-content: center;
}






.flex-container-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: .5em;

}

#box1, #box2, #box3 {
    display: none;
}

.number-input {
    border: none;
    appearance: none;
    outline: none;
    background: var(--Light-Grey);
    width: 4em;
    padding: 12px;
    border-radius: 1em;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.TTR-Input-Wrapper {
    display: flex;
    gap: 3em;
    align-items: center;
    justify-content: center;
    margin: 1em;
}

.table-wrapper {
    display: grid;
    grid-template-columns: auto 1fr;


}

.left-table {
    position:sticky;
    left: 0;

}

.main-table {
    justify-self: center;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-collapse: collapse;

}

.left-table th,
.left-table td {
    padding: .5em 3px .5em 3px;
}

.main-table th,
.main-table td {
    padding: .5em 1em .5em 1em;
}

.expandable-wrapper {
    display: flex;
    width: 95%;
    background-color: var(--Dark-Grey);
    border-radius: .3em;
    padding: .5em;
}

.expandable {
    overflow: hidden;
    width: 100%;
}

.expand-button {
    display: none;
}

.expandable label {
    font-family: KB_Pitch-Still;
    position: relative;
    background: var(--Dark-Grey);
    display: block;
    align-items: center;
    margin-top: 2px;
    margin-bottom: 2px;
    margin-left: 3px;
    padding: 5px 0;
    border-radius: 4px;
    cursor: pointer;
    z-index: 1;
    width: 100%;

}

.expandable label::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 5px;
    width: 18px;
    height: 18px;
    background: url(imgs/angle-right.png) no-repeat 0 0;
    background-size: 20px 20px;
    transition: all 0.2s ease;
}

.expandable input:checked + label::after {
    transform: rotate(90deg);
}

.expandable-content {
    max-height: 1px;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    top: -100%;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.expandable input:checked ~ .expandable-content {
    max-height: 100%;
    padding-bottom: 20px;
    background: var(--Dark-Grey);
    top: 0;

}

.select-checkbox {
    display: flex;
    position: sticky;
    top: 0;
    height: 100%;
    margin: 7px .5em 0 .2em;
}

.onoffswitch-checkbox, .select-checkbox {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-content: center;
    justify-content: center;
    font-size: .5rem;
    width: 1rem;
    height: 1rem;
    border: .17rem solid var(--Purple);
    border-radius: .2rem;

}

.onoffswitch-checkbox::before, .select-checkbox::before {
    content: "";
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: scale(0);
    background-color: var(--Purple);
}

.onoffswitch-checkbox:checked::before, .select-checkbox:checked::before {
    transform: scale(1);
}

.onoffswitch-checkbox:hover, .select-checkbox:hover {
    border: .2rem solid var(--Light-Grey);

}


.button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1em;
}

.cta-button {
    display: inline-block;
    position: relative;
    z-index: 1;
    overflow: hidden;
    cursor: pointer;
    border: none;
    font-family: KB_Pitch-Still;
    background-color: var(--Orange);
    border-radius: .3em;
    padding: 1em 3em;
    transition: 0.4s transform ease-in-out, 0.4s box-shadow ease-in-out, 0.4s background-color ease-in-out, 0.4s background ease-in-out;

}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.25);
    background-color: var(--Green);
    background: url(imgs/KB_Black-grid.png) no-repeat 50% 50%, var(--Orange);
    background-size: cover;
}

.bar-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.bar {
    background-color: var(--Dark-Grey);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position:relative;
    width: 1.8em;
    height: 18em;
    border-radius: .2em;
}
.bar div {
    display: flex;
    width: 1.8em;
    height: 100%;
    border-radius: .2em;
    background-color: #00000000;

}

/*#score-bar {
    animation-name: showBar;
    animation-duration: 5s;
    animation-timing-function: ease-in;
    animation-fill-mode: both;
}*/

.text {
    font-family: KB_Volksans-Normal;
    display:flex;
    margin: .4em;
}

/*@keyframes showBar{
    0% {
        max-height: 0%;
        background-color: var(--bar1);
    }
    1% {
        max-height: 1%;
        background-color: var(--bar2);
    }
    49% {
        max-height: 49%;
        background-color: var(--bar2);
    }
    50% {
        max-height: 50%;
        background-color: var(--bar3);
    }
    74% {
        max-height: 74%;
        background-color: var(--bar3);
    }
    75% {
        max-height: 75%;
        background-color: var(--bar4);
    }
    99% {
        max-height: 99%;
        background-color: var(--bar4);
    }
    100% {
        max-height: 100%;
        background-color: var(--bar5);
    }
}*/

