
/**calc**/

.st__invest_calc {
    margin-bottom: 4rem;
}

.st__invest_calc .st__container {
    display: flex;
    flex-direction: row;
    border-radius: 1rem;
    border: 1px solid var(--color-lightgray);
}

.st__invest_calc .st__s_left,
.st__invest_calc .st__s_right {
    flex: 1 1 50%;
    padding: 2rem;
    justify-content: center;
    display: flex;
    flex-direction: column;
    position: relative;
}

.st__invest_calc .st__s_left img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    object-fit: cover;
    overflow: hidden;
}

.st__invest_calc .st__s_right .st__s_top .st__s_title {
    font-size: var(--size-text-xl);
    font-weight: 300;
    color: var(--color-darkgray);
}

.st__invest_calc .st__s_right .st__s_top p {
    font-size: var(--size-text-m-3);
    font-weight: 600;
    color: var(--color-darkgray);
}

.st__invest_calc .st__s_right .st__s_percent {
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    width: 30%;
    border-bottom: 4px solid var(--color-green);
    font-size: var(--size-text-m-2);
    font-weight: 600;
}

.st__invest_calc .st__s_right .st__s_inputs {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.st__invest_calc .st__s_right .st__s_inputs .st__s_input {
    flex-direction: column;
    display: flex;

}


.st__invest_calc .st__s_right .st__s_inputs .st__s_input label {
    font-size: var(--size-text-m-2);
    font-weight: 300;
    flex-grow: 1;
}


/**input**/
.st__invest_calc .st__s_right .st__s_inputs .st__s_input input[type="text"] {
    padding: 0.5rem;
    border: unset;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    font-family: var(--number-font);
    background-color: unset;
    font-size: var(--size-text-m-3);
    font-weight: 600;
}


.st__invest_calc .st__s_right .st__s_inputs .st__s_input input[type="range"] {
    background: var(--color-extralightgray);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 18px;
    border: none;
    border-radius: 4px;
    overflow: hidden;
}

.st__invest_calc .st__s_right .st__s_inputs .st__s_input input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--color-green);
    border: 0px solid var(--color-green);
    border-radius: 50%;
    height: 18px;
    width: 18px;
    margin-top: -7px;
    box-shadow: calc(-100vmax - 18px) 0 0 100vmax var(--color-green);
    clip-path: polygon(
            100% 0,
            2px 0,
            0 7px,
            -100vmax 7px,
            -100vmax 11px,
            0 11px,
            2px 100%,
            100% 100%
    );
}

.st__invest_calc .st__s_right .st__s_inputs .st__s_input input[type="range"]::-moz-range-thumb {
    -moz-appearance: none;
    appearance: none;
    background-color: var(--color-green);
    border: 0px solid var(--color-green);
    border-radius: 50%;
    height: 18px;
    width: 18px;
    margin-top: -7px;
}

.st__invest_calc .st__s_right .st__s_inputs .st__s_input input[type="range"]::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 4px;
    border: 0px solid var(--color-extralightgray);
    box-shadow: 0px 0px 0px #353535;
    background: white;
}

.st__invest_calc .st__s_right .st__s_button {
    padding-top: 2rem;
    display: flex;
    justify-content: start;
    align-items: center;
}

.st__invest_calc .st__s_right .st__s_button a {
    display: block;
    width: fit-content;
    text-align: center;
}

@media (max-width: 960px) {

    .st__invest_calc {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .st__invest_calc .st__container {
        flex-direction: column;
    }

    .st__invest_calc .st__s_left,
    .st__invest_calc .st__s_right {
        flex: 0 0 100%;
    }

    .st__invest_calc .st__s_right .st__s_inputs {
        flex-direction: column;
    }

    .st__invest_calc .st__s_right .st__s_button a {
        width: 100%;
    }


}
