/* ---------------- Slider ---------------- */
input[type="range"]#fractionSlider {
    --progress: 9.82%;
    width: 100%;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 20px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

input[type="range"]#fractionSlider:focus {
    outline: none;
}

input[type="range"]#fractionSlider:focus-visible {
    outline: transparent solid 2px;
    box-shadow:
        rgb(255, 255, 255) 0px 0px 0px 2px,
        rgb(56, 59, 62) 0px 0px 0px 4px;
    outline-offset: 5px;
}

/* Chrome / Edge / Safari */
input[type="range"]#fractionSlider::-webkit-slider-runnable-track {
    height: 10px;
    border-radius: 20px;
    background: linear-gradient(
        to right,
        #C41F3E 0%,
        #C41F3E var(--progress),
        #BBBCBC var(--progress),
        #BBBCBC 100%
    );
}

input[type="range"]#fractionSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 40px;
    height: 40px;
    margin-top: -16px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: radial-gradient(#c41f3e 55%, #fff 59%);
}

/* Firefox */
input[type="range"]#fractionSlider::-moz-range-track {
    height: 10px;
    border-radius: 20px;
    background: #BBBCBC;
}

input[type="range"]#fractionSlider::-moz-range-progress {
    height: 10px;
    border-radius: 20px;
    background: #c41f3e;
}

input[type="range"]#fractionSlider::-moz-range-thumb {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    background: radial-gradient(#c41f3e 55%, #fff 59%);
}

/* IE */
input[type="range"]#fractionSlider::-ms-track {
    height: 10px;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type="range"]#fractionSlider::-ms-fill-lower {
    background: #c41f3e;
    border-radius: 20px;
}

input[type="range"]#fractionSlider::-ms-fill-upper {
    background: #BBBCBC;
    border-radius: 20px;
}

input[type="range"]#fractionSlider::-ms-thumb {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: radial-gradient(#c41f3e 55%, #fff 59%);
}

input[type="range"]#fractionSlider::-ms-tooltip {
    display: none;
}

/* Input */
input[type="text"]#amountInput {
    height: 48px;
    margin: 10px 0 15px;
    padding: 10px 20px 10px 28px;
    border: 1px solid #86888A;
    background: transparent;
    font-size: 16px;
    font-weight: 200;
    box-shadow: none;
    color: #606366;
}

html[lang='fr'] input[type="text"]#amountInput {
    padding: 10px 28px 10px 20px;
}

input[type="text"]#amountInput:focus {
    outline: transparent solid 2px;
    box-shadow:
        rgb(255, 255, 255) 0px 0px 0px 2px,
        rgb(56, 59, 62) 0px 0px 0px 4px;
    outline-offset: 4px;
}

input[type="text"]#amountInput.invalid {
    border: 1px solid #c41f3e !important;
}

#freeTradeSliderRange {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.1;
}

#errorMsg {
    color: #c41f3e;
    margin-top: 8px;
    font-size: 14px;
}

.show-for-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
#fractionamountInput, #fractionCalc .subhead-medium-light, .fractionText, #fractionCalc .stat .subheading-medium{
    color: #383B3E;
}
#freeTradeSliderRange .column{
    color: #606366;
}

.amount-row {
    position: relative;
    display: inline-block;
    width:100%;
}

.currency-symbol {
    position: absolute;
    padding-left: 15px;
    top: 47%;
    transform: translateY(-50%);
    color: #606366;
}

html[lang='fr'] .currency-symbol {
    left: auto;
    right: 15px;
}

@media screen and (max-width: 767px) {
    #fractionCalc .no-margin-sides {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
}