@font-face {
    font-family: "Founders Grotesk X-Condensed";
    font-display: swap;
    font-style: normal;
    font-weight: 700;
    src: local("Founders Grotesk X-Condensed"), url("/library-content/custom-tool/interactive-potential-growth/assets/FoundersGrotesk-X-Condensed-Bold.woff2") format("woff2");
}
#jp-spy-potential-growth .customDataLabels span {
    padding-left: 5px;
    padding-right: 5px;
}
#jp-spy-potential-growth input[type=text]:focus {
    outline: none;
}

#jp-spy-potential-growth .small-title {
    margin-bottom: 0;
}

#jp-spy-potential-growth .prefix-input {
    font-family: "Founders Grotesk X-Condensed", "FoundersGrotesk", Arial, "Arial Unicode MS", "sans-serif";
    font-size: 25px;
    padding: .25rem .5rem;
    border: .05rem solid #273f33;
    background: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

#jp-spy-potential-growth .prefix-input input {
    font-family: "Founders Grotesk X-Condensed", "FoundersGrotesk", Arial, "Arial Unicode MS", "sans-serif";
    font-size: 25px;
    border: 0;
    padding: 0;
    margin-left: .25rem;
    background: 0;
    width: calc(100% - 25px);
    font-weight: 700;
}

#jp-spy-potential-growth .years-invested-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#jp-spy-potential-growth .years-invested-title-row p {
    margin-bottom: 0;
}

#jp-spy-potential-growth .years-invested-title-row .slider-num {
    font-family: "Founders Grotesk X-Condensed", "FoundersGrotesk", Arial, "Arial Unicode MS", "sans-serif";
    font-weight: 700;
}

#jp-spy-potential-growth .years-invested-title-row .invested-year {
    font-size: 25px;
}

#jp-spy-potential-growth .slidetag {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    font-size: 16px;
}

#jp-spy-potential-growth .ending-amount-box {
    background-color: #FF7E58;
    border-radius: 5px;
    color: #FFF;
    padding: 15px;
    font-weight: 700;
}

#jp-spy-potential-growth .ending-amount-box p {
    margin-bottom: 0;
    font-size: 16px;
}

#jp-spy-potential-growth .ending-amount-box .ending-amount-result {
    font-family: "Founders Grotesk X-Condensed", "FoundersGrotesk", Arial, "Arial Unicode MS", "sans-serif";
    color: #273f33;
    position: relative;
    padding-left: 25px;
    font-size: 50px;
}

@media(max-width: 1199px) {
    #jp-spy-potential-growth .ending-amount-box .ending-amount-result {
        font-size: 40px;
    }
}

#jp-spy-potential-growth .ending-amount-box .ending-amount-result::before {
    content: "\A";
    border-style: solid;
    border-width: 20px 0 20px 15px;
    border-color: transparent transparent transparent #fff;
    position: absolute;
    left: 0;
    top: calc(50% - 20px);
}

#jp-spy-potential-growth #container {
    height: 280px
}

@media screen and (min-width: 840px) {
    #jp-spy-potential-growth #container {
        height: 430px;
    }
}

#jp-spy-potential-growth .slidecontainer {
    --valuePercent: 100%;
    display: flex;
    height: 25px;
    width: 100%;
}

#jp-spy-potential-growth .slidecontainer .slider {
    -webkit-appearance: none;
    appearance: none;
    background: none;
    width: 100%;
    margin: 0px;
    cursor: pointer;
}

/* Track */
#jp-spy-potential-growth .slidecontainer .slider::-webkit-slider-runnable-track {
    max-width: 100%;
    border-radius: 2.5px;
    min-height: 1px;
    max-height: 5px;
    background-image: linear-gradient(#FF7E58, #FF7E58), linear-gradient(#273f33, #273f33);
    background-size: var(--valuePercent) 5px, 100% 2px;
    background-repeat: no-repeat no-repeat;
    background-position: left;
    cursor: pointer;
}

/* Thumb */
#jp-spy-potential-growth .slidecontainer .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    position: relative;
    height: 25px;
    width: 25px;
    bottom: 10px;
    border-radius: 100%;
    border: 5px solid #FF7E58;
    background-color: #fff;
    cursor: pointer;
}