/* SA and EMI Calculator start */

.saCals .container {
    padding: 51px 51px 67px;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0px 0px 22px 8px rgba(41, 45, 136, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 2.5rem;
}

.calsSection {
    width: 53%;
    display: flex;
    flex-direction: column;
    row-gap: 3rem;
    margin-top: 5px;
}

.resultSection {
    width: 41.9%;
    background-color: #F7F7F7;
    border-radius: 10px;
    padding: 37px;
    position: relative;
    text-align: center;
}

.resultbox {
    background-color: #1EA185;
    border-radius: 9.18px;
    width: 100%;
    padding: 28px 21.5px;
    text-align: center;
    position: relative;
    margin-bottom: 22px;
}

.resultbox::before {
    background-image: url('/sites/default/files/styles/wide/public/2024-06/resultboxcurve.png');
    background-repeat: no-repeat;
    position: absolute;
    width: 12rem;
    height: 10rem;
    content: '';
    top: -100px;
    left: -30px;
}

.resultbox p {
    font-size: 16px;
    color: #ffffff;
    line-height: 24px;
}

.input-collection {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    row-gap: 18px;
    font-size: 18px;
    position: relative;
}

.input-principal span.error-msg {
    width: max-content;
    right: 0;
    bottom: 30px;
}

.input-collection label {
    display: block;
    font-size: 18px;
    line-height: 22px;
    color: #000;
}

.input-collection input[type="text"] {
    border: 0;
    outline: 0;
    font-weight: bold;
    font-size: 18px;
}

.input-principal span.error-msg {
    width: max-content;
    right: 0;
    bottom: 30px;
}

.input-principal,
.input-ratepstg {
    display: flex;
    height: 30px;
    align-items: flex-end;
    column-gap: 5px;
    font-weight: bold;
}

.input-collection input[type="range"] {
    width: 100%;
    cursor: pointer;
    outline: none;
    border-radius: 15px;
    height: 6px;
    background: #e0e0e0;
    box-shadow: inset 0px 0px 7px 0px rgb(0 0 0 / 5%);
    color: #ccc;
    font-family: Helvetica;
    font-display: swap;
    font-size: 14px;
    --thumb-height: none;
    --track-height: none;
    --track-color: none;
    --brightness-down: none;
    --clip-edges: none;
    overflow: visible;
}

.input-collection input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 32px;
    width: 28px;
    background-size: 32px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position-x: -2px;
}

.saCals input[type=range]::after, .saCals input[type=range]::before {cursor: default;}

.EMIcals .input-collection input[type="range"]::-webkit-slider-thumb {
    background-color: #f2f2f2;
}

.input-collection input[type="range"]::-moz-range-thumb {
    height: 32px;
    width: 28px;
    background-size: cover;
}

.input-collection input#principalRange::-webkit-slider-thumb,
.input-collection input#loanPrincipalRange::-webkit-slider-thumb {
    background-image: url("/sites/default/files/styles/wide/public/2024-06/money_bag.png");
    height: 42px;
}

.input-collection input#principalRange::-moz-range-thumb,
.input-collection input#loanPrincipalRange::-moz-range-thumb {
    background-image: url("/sites/default/files/styles/wide/public/2024-06/money_bag.png");
    height: 42px;
}

.input-collection input#monthRange::-webkit-slider-thumb {
    background-image: url("/sites/default/files/styles/wide/public/2024-06/calendar.png");
}

.input-collection input#monthRange::-moz-range-thumb {
    background-image: url("/sites/default/files/styles/wide/public/2024-06/calendar.png");
}

.input-collection input#rateRange::-webkit-slider-thumb {
    background-image: url("/sites/default/files/styles/wide/public/2024-06/persentage.png");
}

.input-collection input#rateRange::-moz-range-thumb {
    background-image: url("/sites/default/files/styles/wide/public/2024-06/persentage.png");
}

#principal {
    width: 90px;
    padding: 0 5px;
}

#loanPrincipal {
    width: 90px;
    text-align: center;
}

input#principal {
    box-shadow: 0px 1px 1px 0px #7a7a7a7d;
}

input#months {
    border-bottom: 1px solid #7a7a7a7d;
    height: 30px;
    width: 36px;
    text-align: center;
}

input#rate {
    width: 40px;
    text-align: center;
    border-bottom: 1px solid #7a7a7a7d;
    height: 30px;
}

.input-range {
    width: 100%;
}

input#loanPrincipal {
    text-align: center;
    border-bottom: 1px solid #7a7a7a7d;
}

.EMIcals .container {
    background-color: #f2f2f2;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    box-shadow: none;
}

.EMIcals .calsSection {
    row-gap: 4rem;
}

.EMIcals .result-2 {
    row-gap: 12px;
}

.EMIcals .result-2 p {
    font-size: 14px;
    line-height: 20px;
}

.EMIcals .input-collection input[type="text"] {
    background: #f2f2f2;
}

.EMIcals .resultSection {
    box-shadow: 0 20px 22px 0 rgba(41, 45, 136, 0.1);
    background: #fff;
}

.EMIcals .result-2 .payable {
    background: #1EA185;
    margin-top: 10px;
}

.EMIcals .result-2 .payable p {
    color: #fff;
}

#myChart {
    margin: 0 auto;
}

.input-rate {
    display: flex;
    align-items: center;
    column-gap: 5px;
}

.input-ratepstg {
    width: 64px;
    column-gap: 1px;
}

#principalRange::before {
    content: '₹1 Thousand';
    position: absolute;
    bottom: -35px;
    left: 0;
}

#principalRange::after {
    content: '₹100 

crores';
    position: absolute;
    bottom: -35px;
    right: 0;
}

/* Vehicle loan calculator range css start */



.loanPrincipalRangeClassVL1::before {
    content: '₹1.75L' !important;
    position: absolute;
    bottom: -35px;
    left: 0;
    color: #000;
    opacity: 0.5;
}

.loanPrincipalRangeClassVL1::after {
    content: '₹5L'!important;
    position: absolute;
    bottom: -35px;
    right: 0;
    color: #000;
    opacity: 0.5;
}

.monthRangeClassVL1::before {
    content: '1 month'!important;
    position: absolute;
    bottom: -35px;
    left: 0;
    color: #000;
    opacity: 0.5;
}

.monthRangeClassVL1::after {
    content: '60 months'!important;
    position: absolute;
    bottom: -35px;
    right: 0;
    color: #000;
    opacity: 0.5;
}

.rateRangeClassVL1::before {
    content: '15.99%'!important;
    position: absolute;
    bottom: -35px;
    left: 0;
    color: #000;
    opacity: 0.5;
}

.rateRangeClassVL1::after {
    content: '18.49%'!important;
    position: absolute;
    bottom: -35px;
    right: 0;
    color: #000;
    opacity: 0.5;
}
/* END /personal/loans/vehicle-loans/two-wheeler-loan/mid-premium-segment  */

.loanPrincipalRangeClass::before {
    content: '₹26K' !important;
    position: absolute;
    bottom: -35px;
    left: 0;
    color: #000;
    opacity: 0.5;
}

.loanPrincipalRangeClass::after {
    content: '₹2.75L'!important;
    position: absolute;
    bottom: -35px;
    right: 0;
    color: #000;
    opacity: 0.5;
}

.monthRangeClass::before {
    content: '1 month'!important;
    position: absolute;
    bottom: -35px;
    left: 0;
    color: #000;
    opacity: 0.5;
}

.monthRangeClass::after {
    content: '48 months'!important;
    position: absolute;
    bottom: -35px;
    right: 0;
    color: #000;
    opacity: 0.5;
}

.rateRangeClass::before {
    content: '17.5%'!important;
    position: absolute;
    bottom: -35px;
    left: 0;
    color: #000;
    opacity: 0.5;
}

.rateRangeClass::after {
    content: '23.05%'!important;
    position: absolute;
    bottom: -35px;
    right: 0;
    color: #000;
    opacity: 0.5;
}
/* START /personal/loans/vehicle-loans/two-wheeler-loan/mid-premium-segment */

/* Vehicle loan calculator range css start */
#loanPrincipalRange::before {
    content: '₹50K';
    position: absolute;
    bottom: -35px;
    left: 0;
    color: #000;
    opacity: 0.5;
}

#loanPrincipalRange::after {
    content: '₹10Cr';
    position: absolute;
    bottom: -35px;
    right: 0;
    color: #000;
    opacity: 0.5;
}

#monthRange::before {
    content: '1 month';
    position: absolute;
    bottom: -35px;
    left: 0;
    color: #000;
    opacity: 0.5;
}

#monthRange::after {
    content: '240 months';
    position: absolute;
    bottom: -35px;
    right: 0;
    color: #000;
    opacity: 0.5;
}

#rateRange::before {
    content: '5%';
    position: absolute;
    bottom: -35px;
    left: 0;
    color: #000;
    opacity: 0.5;
}

#rateRange::after {
    content: '30%';
    position: absolute;
    bottom: -35px;
    right: 0;
    color: #000;
    opacity: 0.5;
}

.EMIcals span.suffix {
    font-size: 14px;
    opacity: 0.5;
}

#result {
    margin-top: 20px;
    color: #FFFFFF;
    font-size: 36px;
    line-height: 24px;
    font-weight: bold;
}

.resultSection .small {
    color: #333333;
    font-size: 12px;
    line-height: 16px;
    text-align: left;
}

p.resultrates {
    font-size: 18px;
    line-height: 26px;
    text-align: center;
    margin-top: 26px;
    padding: 0 30px;
}

.resultSection .resultbtn {
    margin-bottom: -55px;
    margin-top: 30px;
}

.EMIcals .resultSection h3 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 0;
}

.result-2 {
    display: flex;
    flex-direction: column;
    row-gap: 19px;
}

.result-2 div {
    display: flex;
    justify-content: space-between;
    background: #F7F7F7;
    padding: 9px;
    border-radius: 8px;
    align-items: center;
}

.result-2 p {
    color: #434343;
    font-family: 'Roboto-Bold';
    line-height: 1.2;
}

.result-2 p.note {
    font-family: 'Roboto-Regular';
    font-display: swap;
    font-size: 13px;
    line-height: 22px;
}

p#principalAmount {
    color: #000;
}

p#quarterlyInterest {
    color: #000;
}

p#monthlyemi,
p#loanPrincipalAmount,
p#totalinterest,
p#totalpayment {
    font-size: 16px;
}

@media (min-width:993px) {
    .calsbtn {
        margin-bottom: -55px;
        margin-top: 74px;
    }
}

@media (min-width: 1200px) {
    .saCals .container {
        width: 1092px;
    }

    .calsbtn {
        margin-top: 69px;
    }

    .EMIcals .calsSection .calsbtn {
        margin-top: 74px;
    }
}

@media (max-width:992px) {
    .saCals .container {
        width: 87%;
    }

    .calsSection,
    .resultSection,
    .resultbox {
        width: 100%;
    }

    .input-collection {
        order: 1;
    }

    .calsbtn {
        order: 2;
    }

    .result-2 {
        order: 3;
    }
}

@media (max-width:767px) {
    .saCals .container {
        width: 100%;
        padding: 51px 25px !important;
    }

    .calsSection,
    .resultSection,
    .resultbox {
        width: 100%;
    }

    .resultrates br {
        display: block;
    }

    .result-2 p.note br{
   	display: block;
    }

    .EMIcals .resultSection h3 {
        margin-bottom: 0 !important;
    }

    .EMIcals .result-2 .payable p br {
        display: block;
    }
}

@media (max-width: 575px) {
  .saCals .container {
    border-radius: 0;
    border: 0;
    }
}

@media (max-width:476px) {
    #result {
        font-size: 28px;
    }
}

@media (max-width: 420px) {
  p.resultrates {
    padding: 0px;
  }
  .resultSection {
    padding: 12px 0 17px;
  }
}

@media (max-width:394px) {
  .input-principal{
        width: 100%;
  }
}

@media (max-width:376px) {
    .saCals .container {
        width: 100%;
    }

    #result {
        font-size: 20px;
    }

    .resultSection {
        padding: 0 0 37px 0;
    }

    .EMIcals .resultSection {
        padding: 12px 0px 17px 0px;
    }

    .EMIcals .resultSection .result-2 {
        padding: 0 16px;
    }
}

/* SA and EMI Calculator end */
