﻿.resultado .resultado-valor {
    width: 100%;
    max-width: 300px;
    background: var(--corBranco);
    color: var(--corOdisseusPurple);
    border-radius: 4px;
    padding: 1.25rem 0;
    font-family: 'HermesBold';
    font-size: 1.25rem;
}

.calculadora {
    min-height: 90vh;
    background: var(--corFundoCinza);
    display: flex;
    align-items: center;
}

.calculadora fieldset {
    width: 100%;
}

.calculadora fieldset label {
    display: block;
    text-align: left;
    color: var(--corTextoCinza);
}

.calculadora .percentage-box {
    display: grid;
    grid-template-columns: 1fr auto;
    padding-left: 0;
    padding-right: 0;
}

.calculadora .percentage-bar {
    min-height: 42px;
    position: relative;
    height: 100%;
    border-radius: 1.5rem;
    display: inline-block;
    overflow: hidden;
    cursor: pointer;
}

.calculadora .percentage-bar > div {
    min-height: 41px;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--corOdisseusPurple);
    border-radius: 1.5rem;
}

.calculadora .percentage-text {
    width: 100%;
    height: 100%;
    color: var(--corOdisseusPurple);
    line-height: 34px;
    clear: both;
    display: block;
    text-align: center;
    padding: 0;
}

.calculadora .percentage-text input {
    border: 0px;
    background-color: transparent;
    width: 28px;
    outline-width: 0;
}

.calculadora .container h3 {
    margin-bottom: 1rem;
}

.bg-purple .section-title,
.bg-purple p {
    color: var(--corBranco);
}

.calculadora .form-control {
    border-radius: 1.5rem;
    padding: 0.5rem 0.75rem;
    box-shadow: 0 0.25rem 0.25rem rgb(0 0 0 / 50%);
}

.first {
    border-bottom: 1px solid var(--corBarraLateral);
}

.toggle-selection {
    /* border-top: 1px solid var(--corBarraLateral); */
}

.toggle-selection .toggle-item {
    grid-template-columns: 3fr 1fr;
}

.toggle-selection .toggle-item .form-check-input {
    width: 75px;
    height: 27px;
    margin-top: 0;
    cursor: pointer;
}

.tooltip-inner {
    background-color: var(--corOdisseusPurple);
    padding: 1rem;
    text-align: left;
    max-width: 250px;
    font-size: 1rem;
    line-height: 1.2;
}

.tooltip-inner small { font-size: 0.8rem }

.tooltip-inner hr { margin: 0.5rem 0; }
.calculadora .toggle-item label {
    padding-right: 1rem;
}

.toggle-item .toggle-value {
    text-align: left;
    color: var(--corOdisseusPurple);
    font-family: 'HermesBold';
    font-size: 1.5rem;
    /*padding-top: 0.75rem;*/
}

.form-check-input:checked {
    background-color: var(--corOdisseusPurple) !important;
    border-color: var(--corOdisseusPurple) !important;
}

.calculadora .btn-calcular {
    background-color: var(--corOdisseusPurple);
    color: var(--corBranco);
    font-family: 'HermesBold';
    font-size: 1rem;
    font-weight: bold;
    width: 100%;
    max-width: 425px;
    padding: 1rem;
    text-transform: uppercase;
    box-shadow: 0 0.25rem 0.25rem rgb(0 0 0 / 50%);
}

.calculadora .btn-calcular:hover {
    background-color: var(--corBranco);
    color: var(--corOdisseusPurple);
}

@media screen and (min-width: 600px) {
    .calculadora .percentage-box { width: 90%; margin-bottom: 1rem; }
    .calculadora .percentage-text {
        width: 10%;
        display: flex;
        align-items: center;
        padding-left: 0.75rem;
        line-height: 58px;
    }
    .section-title {
        font-size: 1.5rem;
    }

    .calculadora .form-control,
    .calculadora .percentage-bar {
        border-radius: 1.5rem;
        padding: 1rem;
    }

    .calculadora .percentage-bar {
        min-height: 58px;
    }
}

@media screen and (min-width: 768px) {
    .first {
        /* border-right: 1px solid var(--corBarraLateral); */
        border-bottom: none;
    }

    .first .form-group .form-control {
        width: 92%;
    }

    .calculadora fieldset label {
        font-size: 0.9rem;
    }
}

@media screen and (min-width: 1024px) {
    .resultado p {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .title-two-lines {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .calculadora fieldset {
        width: auto;
        min-width: 950px;
    }

    .form-group {
        /*margin-bottom: 1.5rem;*/
    }

    .calculadora fieldset label {
        font-size: 1rem;
    }

    .toggle-selection .toggle-item .form-check-input {
        width: 90px;
        height: 35px;
    }

    .calculadora .btn-calcular {
        font-size: 1.5rem;
    }
}

.steps {
    width: 55px;
    float: left;
    display: inline-block;
    text-align: center;
    line-height: 30px;
}

.step {
    font-size: 8px;
    width: 20px;
    padding: 0px;
    float: right;
    position: relative;
    left: -60px;
    border:1px solid gray;
}

.step.up {
    vertical-align: top;
    margin-top: -45px;
}

.step.down {
    vertical-align: bottom;
    margin-top: -30px;
}

.icon-info {
    cursor: pointer;
    display: none;
    margin-left: 0.35rem;
}

.tooltip-mobile {
    display: none;
    background-color: var(--corOdisseusPurple);
    padding: 2rem 1rem 1rem;
    text-align: left;
    width: 100%;
    height: 100%;
    font-size: 1rem;
    line-height: 1.4;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    color: var(--corBranco);
}
.tooltip-mobile.show {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tooltip-mobile .close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
}

.tooltip-mobile span,
.tooltip-mobile p,
.tooltip-mobile p * {
    color: var(--corBranco) !important;
}


.tooltip-mobile p .border-bottom {
    display: block;
    border-bottom: 1px solid white;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.icon-info img,
.icon-info-mobile img { max-height: 20px }

@media screen and (max-width: 600px) {
    .step {
        left: -20px;
    }

        .step.up {
            vertical-align: top;
            margin-top: -35px;
        }

        .step.down {
            vertical-align: bottom;
            margin-top: -20px;
        }
}

@media screen and (min-width: 768px) {
    .icon-info { display: inline-block }
    .icon-info-mobile { display: none }
}

/*este css remove os steps padrões dos campos "number"*/

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}