@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
.calc-div{
    display: flex;
    font-family: 'Montserrat';
    background-color: #faf7f3;
    margin: 0 auto;
    max-width: 1200px;
    padding: 40px;
    justify-content: space-between;
    align-items: center;
    padding-top: 0px;
    box-sizing: content-box;
}
.calc{
    width: 100%;
    max-width: 1200px;
    padding: 30px;
    color: #317172;
    box-sizing: border-box;
    margin-bottom: 40px;
}
.calc-result-box{
    /*width: 38%;*/
}
.calc-result {
    font-size: 15px;
    width: 380px;
    padding: 24px;
    border: 1px solid #317172;
    background-color: #f0e7dd;
    line-height: 1.6;
    border-radius: 20px;
    margin-left: 30px;
    box-sizing: content-box;
}
.calc-result-2{
    max-width: 550px;
    font-size: 18px;
    margin-top: 20px;
    padding: 30px;
    border: 1px solid #dbd2c6;
    background-color: #f0e7dd;
    line-height: 1.6;
    border-radius: 20px;
}
.calc-result-2 div{
    margin-bottom: 10px;

}

.calc-h1{
    width: 100%;
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}
.calc-h2{
    width: 100%;
    font-size: 15px;
    margin-bottom: 10px;
    margin-top: 10px;
    font-weight: 500;
    line-height: 1;
}



.value-wrapper {
    display: flex;
    position: absolute;
    top: 32px;
    left: 0px;
    right: -10px;
    color: #ffffff;
    width: 95px;
    height: 23px;
    background: #317172;
    box-shadow: 0px 4px 10px rgb(45 49 68 / 30%);
    border-radius: 5px;
    align-items: flex-start;
    justify-content: center;
    font-size: 14px;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: content-box;
}

.ui-slider .ui-slider-handle {
    top: -5px;
    cursor: pointer;
    background: #317172;
    border-radius: 100px;
    border: 0px solid #00afbf;
    width: 25px;
    height: 25px;
    outline: none;
}

.ui-slider.ui-slider-horizontal {
    height: 15px;
    background: #F0E7DD;
    border: 1px solid #317172;
    border-radius: 100px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.ui-slider .ui-slider-range {
    background: #00afbf;
    /*height: 15px;*/
    background: linear-gradient(89.99deg, #B3D8D0 0%, #3D8A7F 100%);
    border-radius: 100px;
}

.value-wrapper::before {
    content: '';
    position: absolute;
    display: block;
    left: 5px;
    top: -14px;
    border: 8px solid transparent;
    border-bottom: 10px solid #317172;
}



.calc-radio-box{
    display: flex;
    justify-content: space-between;
    /*margin: 20px;*/
    column-gap: 5px;
}

input[type=radio].calc-radio {
    display: none;
}
input[type=radio].calc-radio + label {
    border: 1px solid #317172;
    padding: 10px 20px;
    min-width: 160px;
    text-align: center;
    display: flex;
    box-sizing: border-box;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
    user-select: none;
    background-color: #B3D8D0;
    /*color: #ffffff;*/
    line-height: 20px;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    font-size: 15px;

}
input[type=radio].calc-radio + label:hover {
    background-color: #317172;
    border: 1px solid #317172;
    color: #ffffff;
    transition: background-color 0.3s ease;
}
input[type=radio].calc-radio:checked + label {
    background-color: #317172;
    border: 1px solid #1b5455;
    color: #ffffff;
}

input[type="radio"].calc-radio:disabled + label {
    background-color: #c7c7c7;
    border: 1px solid #7c7c7c;
    cursor: no-drop;
    color: #7c7c7c;
}

.calc-field {
    border: 1px solid #317172;
    border-radius: 5px 0px 0px 5px;
    padding: 11px 16px;
    box-sizing: border-box;
    line-height: 1 !important;
    font-size: 16px;
    font-family: 'Montserrat';
    height: 42px;
    outline: none;
    width: 100%;
}
.calc-field-right{
    border: 1px solid #317172;
    border-radius: 0px 5px 5px 0px;
    padding: 11px 16px;
    box-sizing: border-box;
    line-height: 1 !important;
    font-size: 16px;
    font-family: 'Montserrat';
    height: 42px;
    outline: none;
    width: 100%;
}
.calc-field-left{
    border: 1px solid #317172;
    border-radius: 5px 0px 0px 5px;
    padding: 11px 16px;
    box-sizing: border-box;
    line-height: 1 !important;
    font-size: 16px;
    font-family: 'Montserrat';
    height: 42px;
    outline: none;
    width: 100%;
}
.form-field-prefix {
    background: #faf7f3;
    border: 1px solid #317172;
    padding: 11px 16px;
    border-radius: 0px 5px 5px 0px;
    box-sizing: border-box;
    height: 42px;
    border-left: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.form-field-prefix-left{
    background: #faf7f3;
    border: 1px solid #317172;
    padding: 11px 16px;
    border-radius: 5px 0px 0px 5px;
    box-sizing: border-box;
    height: 42px;
    border-right: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.form-field-prefix-right{
    background: #faf7f3;
    border: 1px solid #317172;
    padding: 11px 16px;
    border-radius: 0px 5px 5px 0px;
    box-sizing: border-box;
    height: 42px;
    border-left: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.calc-field-box{
    display: flex;
    justify-content: center;
    max-width: 250px;
}
.calc-note {
    font-size: 14px;
    font-style: italic;
}
.disclaimer {
    margin-top: 20px;
    font-size: 10px;
    padding: 20px;
    text-align: center;
    padding-bottom: 0px;
}


.calc-field-slider {
    width: 100%;
    border: none;
    background: none;
    color: white;
    /* padding-left: 10px; */
    outline: none;
    /* text-align: center; */
    z-index: 1000000;
    padding-top: 3px;
}

.slider-note {
    padding: 10px 20px;
    color: #085a08;
    background-color: #9cd19c;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    background: linear-gradient(180deg, rgba(198,246,191,1) 13%, rgb(162 229 193) 79%);
    border: 2px solid #085a08;
    display: none;
}

.calc-row-2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.calc-col-1{
    width: 100%;
    max-width: 700px;
}
.calc-hr{
    background: rgb(186,129,30);
    background: radial-gradient(circle, rgb(209 191 171) 45%, rgba(246,235,191,1) 90%);
    height: 1px;
    margin: 10px 0px;
    width: 100%;
}


.ui-tooltip, .arrow:after {
    background: #ffffff;
    border: 1px solid #6f5959;
}
.ui-tooltip {
    padding: 10px 20px;
    color: #000000;
    border-radius: 14px;
    font-family: 'Montserrat';
    box-shadow: 0 0 7px black;
    font-style: italic;
    font-size: 14px;
}
.arrow {
    width: 70px;
    height: 16px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    margin-left: -35px;
    bottom: -16px;
}
.arrow.top {
    top: -16px;
    bottom: auto;
}
.arrow.left {
    left: 20%;
}
.arrow:after {
    content: "";
    position: absolute;
    left: 20px;
    top: -20px;
    width: 25px;
    height: 25px;
    box-shadow: 6px 5px 9px -9px black;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    tranform: rotate(45deg);
}
.arrow.top:after {
    bottom: -20px;
    top: auto;
}

.calc-tooltip {
    border: 1px solid #317172;
    display: flex;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    font-size: 14px;
    background-color: #ffffff;
    cursor: pointer;
}

.calc-label-1{
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 500;
    justify-content: space-between;
}

.calc-group{
    box-sizing: border-box;
    margin-top: 10px;
}
.slider-box{
    display: flex;
    justify-content: space-between;
}

.calc-ps-box{
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
}
.calc-ps-box .calc-field-left{
    max-width: 136px;
    width: 100%;
    border-radius: 0px;
    min-width: 70px;
}

.calc-ps-box label{
    border-radius: 8px 0px 0px 8px !important;
    border-right: 0px !important;

}

.calc-ps-box .form-field-prefix-right{
    border-radius: 0px;
}

.calc-to-lender{
    background: #faf7f3;
    border: 1px solid #317172;
    padding: 11px 16px;
    border-radius: 0px 5px 5px 0px;
    box-sizing: border-box;
    height: 42px;
    border-left: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-rc{
    display: flex;
    max-width: 100%;
}
#BP20{
    width: 60px;
}
@media (max-width: 1250px) {
    input[type=radio].calc-radio + label {
        padding: 10px 10px;
        min-width: 120px;
    }
    .calc-group {
         width: 100%;
        max-width: 700px;
    }
    .calc-field-right{
        max-width: 100%;
    }
    .calc-result-box{
        max-width: 700px;
    }
    .calc-field-box{
        width: 100%;
        max-width: 100%;
        margin-left: 0px !important;
    }
    #BP20{
        width: 100%;
    }
    .calc-to-lender{
        display: none !important;
    }
    .form-field-prefix-right{
        border-radius: 0px 5px 5px 0px !important;
    }

    .calc-div {
        flex-direction: column;
        align-items: center;
    }
    .calc{
        width: 100%;
    }
    .calc-result-box{
        width: 100%;
    }
    input[type=radio].calc-radio + label {
        padding: 10px 20px;
        min-width: 160px;
    }
    .calc-row-2 {
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
    }
    .calc-row{
        max-width: 700px;
        margin: 0 auto;
    }
    .calc-result{
        width: 100%;
        margin-top: 10px;
        box-sizing: border-box;
        margin-left: 0px;
    }
    .calc{
        padding-left: 0px;
        padding-right: 0px;
    }

    .calc-radio-box {
        flex-direction: column;
    }

    .calc-to-lender{
        display: none !important;
    }
    .form-field-prefix-right{
        border-radius: 0px 5px 5px 0px !important;
    }

    .calc-radio-box {
        row-gap: 5px;
    }
    .slider-box{
        flex-direction: column;
        align-items: center;
        margin-bottom: 10px;
    }
    .ui-slider.ui-slider-horizontal {
        margin-bottom: 15px;
        margin-top: 20px;
    }
    .calc-ps-box{
        flex-direction: column;
    }
    input[type=radio].calc-radio + label{
        border-radius: 8px !important;
        border: 1px solid #317172 !important;
    }
    .calc-field-left{
        border-radius: 5px 0px 0px 5px !important;
    }
    .calc-ps-box {
        display: flex;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
    }
    .calc-rc{
        margin-top: 5px;
        max-width: 100%;
        justify-content: center;
        align-items: stretch;
        display: flex;
        column-gap: 10px;
    }

    .calc-ps-box .calc-field-left {
        max-width: 100%;
    }
    #BP20{
        width: 100%;
    }
}



