/*=============================fundSelectionContainer=============================*/
section.fundSelectionContainer{
    margin-top: 0;
    margin-bottom: var(--space4Y);
    padding-top: calc(var(--headerHeight) + 1rem);
    padding-bottom: var(--space4Y);
    position: relative;
    width: 100%;
    display: block;
}

section.fundSelectionContainer .back-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    background-repeat: repeat;
    pointer-events: none;
}

section.fundSelectionContainer > .title {
    text-align: center;
    margin-bottom: 2.5rem;
}

section.fundSelectionContainer > .title .main {
    font-size: 1rem;
    font-style: normal;
    font-weight: 800;
    /* line-height: 3.9375rem; */ /* 393.75% */
    margin-top: 0;
}

section.fundSelectionContainer > .title .minor {
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 800;
    line-height: 170%; /* 1.275rem */
}

/*section.fundSelectionContainer  .selectionContainer .selectionTitle {*/
/*    display: block;*/
/*    font-size: 1.5rem;*/
/*    font-style: normal;*/
/*    font-weight: 800;*/
/*    line-height: 3.9375rem; !* 262.5% *!*/
/*    margin: 2.5rem auto 4rem;*/
/*    text-align: center;*/
/*}*/
/*.selectionItems {*/
/*    display: -webkit-box;*/
/*    display: -ms-flexbox;*/
/*    display: flex;*/
/*    -webkit-box-pack: justify;*/
/*    -ms-flex-pack: justify;*/
/*    justify-content: space-between;*/
/*    gap: 2.5rem;*/
/*    min-height: 240px;*/
/*}*/


/*.selectionItem {*/
/*    width: calc(100% / 3);*/
/*    text-align: center;*/
/*    padding: 2rem 2.5rem;*/

/*}*/

/*.selectionItem > *:not(:last-child) {*/
/*    margin-bottom: 1.8rem;*/
/*}*/

/*.selectionItem_header {*/
/*    line-height: normal;*/
/*}*/

/*.selectionItem_body {*/
/*    font-size: 0.75rem;*/
/*    font-style: normal;*/
/*    font-weight: 700;*/
/*    line-height: 170%; !* 1.275rem *!*/
/*}*/

/*.selectionItem_button {*/
/*    margin: 0 auto 1.25rem;*/
/*    min-width: -webkit-fit-content;*/
/*    min-width: -moz-fit-content;*/
/*    min-width: fit-content;*/
/*    cursor: pointer;*/
/*    width: 50%;*/
/*    text-transform: capitalize;*/
/*}*/
/*.step {*/
/*    display: none;*/
/*}*/

/*.step.active {*/
/*    display: block;*/
/*}*/
/*.selectionItems > * {*/
/*    margin: auto;*/
/*}*/
/*.selectionItems > *,*/
/*.selectionTitle ,*/
/*.step .resetButton{*/
/*    opacity: 0;*/
/*    -webkit-transition: opacity 0.35s ease-in-out, -webkit-transform 0.35s ease-in-out;*/
/*    transition: opacity 0.35s ease-in-out, -webkit-transform 0.35s ease-in-out;*/
/*    -o-transition: opacity 0.35s ease-in-out, transform 0.35s ease-in-out;*/
/*    transition: opacity 0.35s ease-in-out, transform 0.35s ease-in-out;*/
/*    transition: opacity 0.35s ease-in-out, transform 0.35s ease-in-out, -webkit-transform 0.35s ease-in-out; !* Consistent 0.5s transition *!*/
/*    -webkit-transform: translateY(2rem);*/
/*    -ms-transform: translateY(2rem);*/
/*    transform: translateY(2rem);*/
/*    pointer-events: none;*/
/*}*/
/*.selectionItems > *.fade-out ,*/
/*.selectionTitle.fade-out ,*/
/*.step .resetButton.fade-out {*/
/*    opacity: 0;*/
/*    -webkit-transform: translateY(-2rem);*/
/*    -ms-transform: translateY(-2rem);*/
/*    transform: translateY(-2rem);*/
/*    pointer-events: none;*/
/*}*/
/*.selectionItems > *.fade-in,*/
/*.selectionTitle.fade-in ,*/
/*.step .resetButton.fade-in {*/
/*    opacity: 1;*/
/*    -webkit-transform: none;*/
/*    -ms-transform: none;*/
/*    transform: none;*/
/*    pointer-events: auto;*/
/*}*/
/*.selectionContainer .step .resetButton {*/
/*    width: -webkit-fit-content;*/
/*    width: -moz-fit-content;*/
/*    width: fit-content;*/
/*    margin: 3rem auto 0;*/
/*}*/
/*=============================fundSelectionContainer=============================*/
.fundSelection-items{
    display: flex;
    gap: 1.44rem;
    align-items: stretch;
    width: 100%;
}
.fundSelection-item.adjustSettings {
    flex: 21%;
}

.fundSelection-item.chart {
    flex: 31%;
}

.fundSelection-item.suggestedFunds {
    flex: 48%;
}
.fundSelection-item {
    width: 100%;
}
.fundSelection-item_box {
    width: 100%;
    height: 100%;
}
.adjustSettings .fundSelection-item_box .adjustSetting.range h4#title {
    margin-top: 0;
}
.rangeSliderTextWrapper {
    position: relative;
    border-radius: 0.9375rem;
    border: 1px solid  rgba(255, 255, 255, 0.90);
    background: var(--Bt-Bg);
    backdrop-filter: blur(1px);
    padding: 1rem;
}
.rangeSliderTextWrapper .info {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: .35rem;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 500;
    margin-top: 1.5rem;
}
.rangeSliderTextWrapper .info span {
    font-weight: 500;
    display: block;
}
.brandBackground {
    backdrop-filter: blur(1px);
}
.fundSelection-item_box{
    padding: 1.44rem .87rem;
}
.fundSelection-item_title {
    text-align: center;
    color: var(--BrandGreen500);
    text-align: center;
    margin: 0 auto 1.81rem;
}
.fundSelection-item_title ,
.adjustSettings .adjustSetting.radioBtn .input label ,
.suggestedFunds .fundSelection-item_box .suggestedFund-box .name ,
.fundSelection-loadingMessage {
    font-size: 0.97rem;
    font-style: normal;
    font-weight: 700;
}
.fundSelection-loadingMessage {
    display: block;
    text-align: center;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: none; /* Resets transform to its original state */
        pointer-events: auto; /* Becomes clickable */
    }
}
.suggestedFunds .fundSelection-item_box .suggestedFund-box {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    justify-content: space-between;
    padding: .62rem;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    animation: fadeIn .4s ease-out forwards;
    transition: all ease-in-out .35s;
}
.suggestedFunds .fundSelection-item_box .suggestedFund-box:hover {
    background: rgba(210, 215, 213, 0.60);
}
.suggestedFunds .fundSelection-item_box .suggestedFund-box:not(:last-child) {
    margin-bottom: .44rem;
}
.suggestedFunds .fundSelection-item_box .suggestedFund-box[class*="lastOfType"]:after {
    content: '';
    position: absolute;
    bottom: calc(-.5rem - 1.5px);
    right: 0;
    width: 100%;
    height: 1px;
    background: -o-linear-gradient(left, rgba(255, 197, 60, 0.00) 0%, var(--BrandYellow500) 50%, rgba(255, 197, 60, 0.00) 100%);
    background: -webkit-gradient(linear, left top, right top, from(rgba(255, 197, 60, 0.00)), color-stop(50%, var(--BrandYellow500)), to(rgba(255, 197, 60, 0.00)));
    background: linear-gradient(90deg, rgba(255, 197, 60, 0.00) 0%, var(--BrandYellow500) 50%, rgba(255, 197, 60, 0.00) 100%);
}

.suggestedFunds .fundSelection-item_box .suggestedFund-box[class*="lastOfType"] {
    margin-bottom: 1rem;
}
.suggestedFunds .fundSelection-item_box .suggestedFund-box > div {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.suggestedFunds .fundSelection-item_box .suggestedFund-box .logo {
    width: 3rem;
    height: 2.67394rem;
    flex-shrink: 0;
    aspect-ratio: 48.00/42.78;
}


.suggestedFunds .fundSelection-item_box .suggestedFund-box .icon {
    font-size: .65rem;
    width: 1.9375rem;
    height: 1.9375rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: var(--BrandYellow500);
    color: var(--BrandGreen500);
    border-radius: 50%;

}
.suggestedFunds .fundSelection-item_box .suggestedFund-box .icon:before{
    -webkit-transition: -webkit-transform .3s ease-in-out;
    transition: -webkit-transform .3s ease-in-out;
    -o-transition: transform .3s ease-in-out;
    transition: transform .3s ease-in-out;
    transition: transform .3s ease-in-out, -webkit-transform .3s ease-in-out
}
.suggestedFunds .fundSelection-item_box .suggestedFund-box:hover .icon:before {
    -webkit-transform: rotate(-45deg) translateZ(0);
    transform: rotate(-45deg) translateZ(0);
}
html[dir="ltr"] .suggestedFunds .fundSelection-item_box .suggestedFund-box .icon:before {
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    transform: scaleX(-1);
}
html[dir="ltr"] .suggestedFunds .fundSelection-item_box .suggestedFund-box:hover .icon:before {
    -webkit-transform: scaleX(-1) rotate(-45deg) translateZ(0);
    transform: scaleX(-1) rotate(-45deg) translateZ(0);
}
.adjustSettings .fundSelection-item_box {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
.chart .fundSelection-item_box {
    display: flex;
    align-items: center;
    justify-content: center;
}
.adjustSettings .fundSelection-item_box .adjustSetting.range {
    margin-bottom: 2.5rem;
}
.adjustSettings .fundSelection-item_box .adjustSetting .title,.adjustSettings .fundSelection-item_box .adjustSetting.range h4#title {
    margin: 0 auto 1rem;
    font-size: 1rem;
    font-style: normal;
    font-weight: 800;
}
.adjustSettings .fundSelection-item_box .inputs {
    width: fit-content;
    margin: auto;
}
.adjustSettings .adjustSetting.radioBtn .input {
    position: relative;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .625rem;
    cursor: pointer;
}
.adjustSettings .adjustSetting.radioBtn .input:last-child {
    margin-bottom:0;
}
.adjustSettings .adjustSetting.radioBtn input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
    width: 0.6875rem;
    height: 0.6875rem;
    outline: 2px solid #fff;
    margin: 0;
    border-radius: 50%;
    cursor: pointer;
}
.adjustSettings .adjustSetting.radioBtn input:focus {
    outline: 2px solid #fff !important;
}
.adjustSettings .adjustSetting.radioBtn input:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    background-color: #D2D7D5;
}

.adjustSettings .adjustSetting.radioBtn input:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--BrandGreen500);
    transform: scale(0);
    transform-origin: center;
    transition: all ease-in-out .35s;
    overflow: hidden;
    border: none;
    border-radius: 50%;
}
.adjustSettings .adjustSetting.radioBtn input:checked:after{
    transform: scale(1);
}
.adjustSettings .adjustSetting.radioBtn input:checked{
    box-shadow: 0 0 5px 5px rgba(255, 197, 60, .5);
}
.adjustSettings .adjustSetting.radioBtn .input label {
    cursor: pointer;
}
.risk-container {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 420px;
    text-align: center;
}
.risk-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 24px;
    color: #333;
}
.slider-wrapper {
    position: relative;
    margin: 24px 0 12px 0;
}
input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    height: 50px;
    border-radius: 6px;
    background: linear-gradient(to right, #4CAF50 0%, #CDDC39 33%, #FF9800 66%, #F44336 100%);
    outline: none;
    margin: 0;
    background: transparent;
    /*margin-bottom: -19px;*/
    opacity: 0;
    margin-top: 15px;
    z-index: 2;
    position: relative;
    cursor: pointer;
}
.fir {
    position: relative;
    width: 100%;
    height: 40px;
}
.fir label {
    display: none;
}
.fir-range {
    width: 100%;
}
.fir-counter {
    --position: 0;
    position: absolute;
    bottom: -25px;
    width: 50px;
    height: 50px;
    font-size: 15px;
    line-height: 50px;
    text-align: center;
    border: none;
    z-index: 1;
    pointer-events: none;
}

html[dir="ltr"] .fir-counter {
    left: 0;
    margin-left: -25px;
    transform: translateX(calc(var(--position) * 2 * 1%));
}

html[dir="rtl"] .fir-counter {
    left: 0;
    margin-left: -25px;
    transform: translateX(calc(var(--position) * -2 * 1%));
}
.fir-counter::before{
    content: '';
    position: absolute;
    width: .5rem;
    height: 1.25rem;
    background: #D9D9D9;
    border: 2px solid #fff;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}
.fir-line {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 4px;
    /* background: linear-gradient(90deg, #19A974, #57BDBF); */
    --size: 0;
    width: calc(var(--size) * 100%);
}
.risk-categories {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin-top: 6px;
    padding: 0 4px;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: .5rem;
    height: 1.25rem;
    background: #D9D9D9;
    border: 2px solid #fff; /* Ø³Ø¨Ø² ØªÛŒØ±Ù‡ */
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    position: relative;
    z-index: 3;
}
input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}
input[type="range"]:focus::-webkit-slider-thumb {
    outline: none;
    border-color: var(--BrandGreen200);
}
input[type="range"]::-moz-range-thumb {
    width: .5rem;
    height: 1.25rem;
    background: white;
    border: 3px solid var(--BrandGreen200);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}
.rangeInputWrapper {
    position: relative;
    width: 100%;
    display: flex;
    height: 2.625rem;
    align-items: flex-end;
}
.rangeInputWrapper::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(../img/range-slider-back.svg);
    background-repeat: no-repeat;
    background-size: cover;
    left: 0;
    bottom: 0;
    pointer-events: none;
    background-position: bottom;
}
/*.rangeInputWrapper::after{*/
/*    content: '';*/
/*    position: absolute;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    background-image: url(../img/range-line.svg);*/
/*    background-repeat: no-repeat;*/
/*    background-size: contain;*/
/*    bottom: -3px;*/
/*    background-position: bottom;*/
/*    pointer-events: none;*/
/*}*/
.rangeInputWrapper .span-boxes {
    position: absolute;
    bottom: -4px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.rangeInputWrapper .span-boxes span {
    width: 2px;
    height: 4px;
    display: block;
    background: var(--BrandGreen500);
}
.rangeInputWrapper .span-boxes span:last-child,
html[dir="ltr"] .rangeInputWrapper .span-boxes span:first-child{
    /* margin-left: 5px; */
    margin-right: 0;
}
html[dir="ltr"] .rangeInputWrapper .span-boxes span:last-child,
.rangeInputWrapper .span-boxes span:first-child{
    margin-left: 0;
    /* margin-right: 5px; */
}
/*=============================fundSelectionContainer=============================*/
/*===================================================RESPONSIVE*/
@media only screen and (max-width: 768px){
    .fundSelection-items {
        flex-wrap: wrap;
        flex-direction: column;
        gap: 0;
    }
    .fundSelection-item.adjustSettings {
        flex: 1;
    }

    .fundSelection-item.chart {
        flex: 1;
    }

    .fundSelection-item.suggestedFunds {
        flex: 1;
    }
    /*.fundSelection-titles {*/
    /*    display: none;*/
    /*}*/
    .fundSelection-item:not(:first-child) {
        padding-top: 2.44rem;
    }
    .fundSelection-item_box {
        height: auto;
    }

    .fundSelection-item_title {
        margin: 0 auto 1.125rem;
    }
    /*section.fundSelectionContainer .selectionContainer .selectionTitle {*/
    /*    margin: 1rem auto 2rem;*/
    /*}*/

    /*.selectionItem {*/
    /*    width: 100%;*/
    /*    padding: 1rem;*/
    /*}*/

    /*.selectionItems {*/
    /*    -ms-flex-wrap: wrap;*/
    /*    flex-wrap: wrap;*/
    /*    min-height: 310px;*/
    /*}*/


    /*.selectionItem_button {*/
    /*    width: 100%;*/
    /*    margin: 0;*/
    /*}*/
    /*section.fundSelectionContainer{*/
    /*    margin-bottom: 0;*/
    /*}*/
    /*.selectionItem > *:not(:last-child) {*/
    /*    margin-bottom: .8rem;*/
    /*}*/
    /*section.fundSelectionContainer > .title .main {*/
    /*    line-height: 2.9375rem;*/
    /*}*/
}
@media only screen and (min-width: 640px) and (max-width: 768px){
    /*.selectionItems {*/
    /*    gap: var(--SPACE-5XL);*/
    /*    min-height: 240px;*/
    /*}*/
    /*.selectionItem {*/
    /*    width: calc(100% / 3 - 2rem * 2/3);*/
    /*}*/
    .fundSelection-items {
        flex-wrap: wrap;
        flex-direction: row;
    }

    .fundSelection-item.adjustSettings {
        flex: 0 0 50%;
    }

    .fundSelection-item.chart {
        flex: 0 0 50%;
    }

    .fundSelection-item.suggestedFunds {
        flex: 1 1 100%;
        margin-top: 1.5rem;
    }
    .fundSelection-item:not(:first-child) {
        padding-top: 0;
    }
    .rangeInputWrapper {
        height: 5rem;
    }

    input[type="range"]::-webkit-slider-thumb {
        width: 1rem;
        height: 2.5rem;
    }

    input[type="range"] {
        height: 44px;
        margin-bottom: -20px;
    }
}
@media only screen and (min-width: 769px) and (max-width: 1199px){
    /*.selectionItems {*/
    /*    gap: 2rem;*/
    /*}*/
    /*.selectionItem {*/
    /*    width: calc(100% / 3 - 2rem * 2/3);*/
    /*}*/

    .fundSelection-item.adjustSettings {
        flex: 30%;
    }

    .fundSelection-item.chart {
        flex: 30%;
    }

    .fundSelection-item.suggestedFunds {
        flex: 40%;
    }
}
@media only screen and (min-width: 1200px) and (max-width: 1399px){
    /*.selectionItems {*/
    /*    gap: 2.5rem;*/
    /*}*/
    /*.selectionItem{*/
    /*    width: calc(100% / 3  - 2.5rem*2/3);*/
    /*}*/
    .rangeInputWrapper::before{
        background-size: contain;
    }
}
@media only screen and (min-width: 1400px) and (max-width: 1600px){
    .rangeInputWrapper::before {
        background-size: contain;
    }
}