﻿input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 15px;
    width: 15px;
    background: pink;
    margin-top: 0px;
    border-radius: 50%;
}

input[type="range"]::-moz-range-thumb {
    height: 15px;
    width: 15px;
    background: pink;
    margin-top: -5px;
    border-radius: 50%;
}
.title_width {
    margin: 0 auto;
    width: 75%;
}
.box_css {
    display: flex;
    flex-direction: column !important;
    box-sizing: border-box;
    /* flex-direction: row; */
    background: rgb(255, 255, 255);
    border: 1px solid rgb(227, 229, 229);
    border-radius: 8px;
    box-shadow: rgba(209, 217, 230, 0.3) 3px 3px 32.962px;
    -webkit-box-pack: justify;
    justify-content: space-between;
    color: rgb(26, 26, 26);
    height: 16rem;
}

.box_css:hover {
    background: rgb(248, 237, 255);
    box-shadow: rgba(234, 205, 244, 0.3) 2.79415px 2.79415px 30.7003px;
    color: rgb(60, 0, 80);
    border: 1px solid rgb(60, 0, 80);
}

.box_css .content_div {
    box-sizing: border-box;
    flex-direction: row;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.box_css .content_div h3 {
    font-size: 18px;
    line-height: 26px;
}

.box_css .content_div p {
    font-size: 15px;
    line-height: 22px;
    padding-top: 5px;
    margin-bottom: 0px;
}

.box_css .img_div {
    box-sizing: border-box;
    flex-direction: row;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    align-items: end;
}

.box_css .img_div .arrow_svg {
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    flex-direction: row;
    text-align: left;
    margin-bottom: 20px;
    margin-left: 20px;
}

.box_css .img_div .loan_img {
    width: 130px;
    height: 130px;
}

.calculator_grid_view {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 2rem;
    row-gap: 2rem;
    width: 88%;
    margin: 0 auto;
    margin-top: 0px;
}
/*---------------------------------------------------------------*/
.section-bg-body {
    /*background: url(https://www.icicibank.com/content/dam/icicibank/india/managed-assets/revamp-pages/fd-interest-rates/images/vector.webp), linear-gradient(116.64deg, #F37E20 32.94%, #AD1E23 136.53%);*/
    /*background: url(https://www.icicibank.com/content/dam/icicibank/india/managed-assets/revamp-pages/fd-interest-rates/images/vector.webp), linear-gradient(116.64deg, #28527c 32.94%, #03244a 136.53%);*/
    background: url(https://www.icicibank.com/content/dam/icicibank/india/managed-assets/revamp-pages/fd-interest-rates/images/vector.webp), linear-gradient(116.64deg, #28527c 32.94%, #104078 136.53%);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top;
    width: 100%;
    height: 540px;
    position: absolute;
    z-index: -1;
    margin-top: -40px;
}
.gradient-bg {
    padding: 15rem 16px 50px;
    position: relative;
}
.gradient-bg .top-text {
    max-width: 1920px;
    text-align: center;
    margin: 0 auto 32px;
    color: white;
}
.gradient-bg .top-text .top-tag {
    width: max-content;
    display: flex;
    align-items: center;
    column-gap: 8px;
    margin: 0 auto;
}
.gradient-bg .top-text h1 {
    margin-top: 6px;
    font-weight: 600;
    font-size: 16px !important;
    color: #fff;
    line-height: 111.5%;
}
.gradient-bg .top-text p {
    margin-top: 6px;
    font-weight: 800;
    font-size: 33px;
    line-height: 1;
    color: #fff;
}
.gradient-bg .top-text p.subtitle {
    margin-top: 6px;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
}
.gradient-bg .calculator {
    position: relative;
    background-color: white;
    max-width: 855px;
    border-radius: 10px;
    /*border: 1px solid #ffea33;*/
    border: 1px solid #066ce1;
    box-shadow: 0px 10px 40px 0px #f37e201a;
    margin: 0 auto;
    padding: 32px;
}
.gradient-bg .calculator .actual-calculator {
    margin-bottom: 0px;
}
.gradient-bg .calculator .actual-calculator {
    display: flex;
    column-gap: 50px;
    margin-bottom: 40px;
    justify-content: space-between;
}
.calculator_page {
    /*background: #fff;*/
}
.calculate_btn {
    display: block;
    width: 100%;
    padding: 13px 13px 13px;
}
.calculator_page .container {
    max-width: 855px;
    width: 100%;
    padding: 50px 40px;
    margin: 0px 20px;
    border-radius: 12px;
    background: #fff;
    margin: 0 auto;
    box-shadow: 3px 3px 32px 0px rgba(209, 217, 230, .3);
    transition: background .3s, border .3s, border-radius .3s, box-shadow .3s;
    padding: 30px;
}
.calculator_page h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 35px;
}
.calculator_page .results {
    margin-top: 20px;
}
.calculator_page .results p {
    margin: 8px 0;
    font-size: 16px;
}
.calculator_page canvas {
    margin-top: 0px;
    width: 250px !important;
    height: 250px !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.calculator_page label {
    font-size: 14px;
    /*display: block;*/
    margin-top: 0px;
    font-weight: 500;
    line-height: 40px;
    margin-bottom: 10px;
    width: 100%;
}
.calculator_page input[type=range] {
    width: 100%;
}
.calculator_page output {
    background: #f5f5f5;
    border-radius: 4px;
    padding: 5px 15px;
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    color: #111536;
    width: 100px;
    float: right;
}
.calculator_page select {
    width: 100%;
    padding: 10px;
    margin-top: 0px;
    border-radius: 0px;
    border: 1px solid rgba(0, 0, 0, .15);
    background: transparent;
}
.main_container_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 6rem;
    width: 100%;
}
.output_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1rem;
    width: 100%;
    align-content: space-between;
}
.label_grid {
    display: grid;
    grid-template-columns: 60% 40%;
    column-gap: 0rem;
    width: 100%;
    align-content: space-between;
    align-items: right;
}
#principalInput {
    text-align: left;
    background: #f5f5f5;
    border-radius: 4px;
    padding: 5px 15px;
    font-weight: 600;
    font-size: 14px;
    line-height: 24px;
    color: #111536;
    width: 100px;
    border: none;
    height: 34px;
    justify-self: end;
}
#principalInput:focus, .selection_section input[type="number"]:focus {
    box-shadow: 0 0 0 0.1rem rgba(13, 110, 253, .25)
}
.output_grid h6:last-child {
    text-align: right;
    font-weight:600;
}
.output_grid h6 {
    color: #74787c;
    margin-bottom: 15px;
    font-weight:300;
}
.selection_section {
    position: relative;
    background: #fbfcfd;
    padding: 25px 25px;
}
    .selection_section input[type="number"] {
        background: #f5f5f5;
        border-radius: 4px;
        padding: 5px 15px;
        font-weight: 600;
        font-size: 14px;
        line-height: 24px;
        color: #111536;
        width: 100px;
        height: 34px;
        border: none;
    }
.selection_section input[type="number"]::-webkit-outer-spin-button,
.selection_section input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* .selection_section input[type="range"] {
        background: #d5d5d5;
        border: solid 1px #d5d5d5;
        border-radius: 8px;
        height: 7px;
        width: 100%;
        outline: none;
        transition: background 450ms ease-in;
        -webkit-appearance: none;
    } */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    /*background: linear-gradient(to right, #ffcdc2, #ff7a5d);*/
    background: linear-gradient(to right, #76a6d7, #1765ab);
    border-radius: 10px;
    outline: none;
    transition: background 0.3s ease;
    cursor: pointer;
}

/* Chrome, Safari, Opera */
    input[type=range]::-webkit-slider-thumb {
        -webkit-appearance: none;
        height: 24px;
        width: 24px;
        background: #ffffff;
        border: 2px solid #1765ab;
        border-radius: 50%;
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
        transition: 0.2s ease-in-out;
        margin-top: 0px;
    }

        input[type=range]::-webkit-slider-thumb:hover {
            background-color: #3582c7;
            border-color: #1765ab;
            /*box-shadow: 0 0 0 6px rgba(26, 115, 232, 0.2);*/
            box-shadow: none;
        }

/* Firefox */
input[type=range]::-moz-range-thumb {
    height: 24px;
    width: 24px;
    background: #ffffff;
    border: 2px solid #1a73e8;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

input[type=range]::-moz-range-track {
    background: linear-gradient(to right, #1a73e8, #66bbff);
    height: 10px;
    border-radius: 10px;
}

/* IE */
input[type=range]::-ms-thumb {
    height: 24px;
    width: 24px;
    background: #ffffff;
    border: 2px solid #1a73e8;
    border-radius: 50%;
}

input[type=range]::-ms-track {
    background: transparent;
    border-color: transparent;
    color: transparent;
    height: 10px;
}

@media(max-width:480px){
    .title_width {
        margin: 0 auto;
        width: 100%;
    }
    .calculator_grid_view {
        grid-template-columns: repeat(1, 1fr);
    }
    .box_css {
        height: 14rem;
    }
    .box_css .img_div .loan_img {
        width: 120px;
        height: 120px;
    }
    .calculator_page .container {
        max-width: 100%;
        width: 100%;
    }
    .main_container_grid {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 1rem;
    }
}