/**********Calculator Stylesheet**********/
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
.display-flex{
    display: flex;
}
.justify-center{
    justify-content: center;
}
.align-items-center{
    align-items: center;
}
.hb-wrapper{
    padding: 10px;
}
.hb-container{
    width: 100%;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    /* padding-bottom: 50px; */
    /* border: 2px solid rgb(75, 104, 177); */
    border-radius: 8px;
    
}
.hb-container *{
    /* font-family: 'Comfortaa', cursive; */
    font-family: 'Montserrat', sans-serif;
}
.calc-heading h2 {
    color: rgb(75, 104, 177);
    font-size: 30px !important;
    text-transform: uppercase;
    text-align: center;
    margin-top: 20px;
}
.main-section{
    display: flex;
    padding: 1rem 2rem;

}
.calc-section{
    width: 60%;
}
.calc-info-text{
    font-size: 18px;
    color: #000;
    margin-bottom: 30px;
}
.calc-section .input-container{
    margin: 15px 0;
}
.calc-section .input-container:last-child{
    border-top: 1px solid rgba(0,0,0,.1);
    margin-top: 50px;
    padding-top: 40px;
}
.input-row{
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}
.saving-input-label label{
    font-size: 20px;
}
.calc-section:first-child{
    box-shadow: 1px 1px 4px 0px rgba(0, 33, 33, 0.06), 5px 4px 7px 0px rgba(0, 33, 33, 0.05), 11px 10px 9px 0px rgba(0, 33, 33, 0.03), 20px 18px 11px 0px rgba(0, 33, 33, 0.01), 31px 28px 12px 0px rgba(0, 33, 33, 0.00);
    border-radius: 10px;
    padding: 40px 20px 65px;
	background: #fff;
}
.slider-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.saving-slider{
    width: 90%;
    margin: 0 15px;
}
.quantity__minus,
.quantity__plus{
    width: 27px;
    height: 25px;
    border-radius: 25px;
    border: 2px solid #8CA3CB;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    color: rgb(75, 104, 177);
    cursor: pointer;
    user-select: none;
}
.result-section{
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.result-box{
    width: 100%;
    height: 70%;
    background-color: rgb(75, 104, 177);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 30px 15px;
    box-sizing: border-box;
    border-radius: 0 10px 10px 0;
}

.saving-input-label{
    width: 60%;
}
.saving-input-label label{
    color: #265074;
    font-size: 18px;
    line-height: 1;
}
.saving-input{
    width: 40%;
    position: relative;
}
.input-error{
    position: absolute;
    left: 0;
    top: 100%;
    font-size: 13px;
    color: red;
    font-weight: bold;
}
.calc-input {
    width: 100%;
    height: 40px;
    border-radius: 15px !important;
    border: 1px solid #dae0e8 !important;
    font-size: 18px !important;
    padding: 5px 8px !important;
    font-weight: bold;
    color: rgb(75, 104, 177) !important;
}
#loanTermInp{
    text-align: center;
}
.calc-input:focus{
    border-color: #dae0e8 !important;
}

.result-box .result-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 15px;
}
.result-box .result-row  .result-label{
    font-size: 13px;
    text-transform: capitalize;
    padding: 5px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1;

}
.calc-tooltip{
    margin: 0 3px;
}
.result-box .result-row  .result-value{
    font-size: 18px;
    font-weight: bold;
    text-align: center;

}

.result-box .result-row.big-result-row{
    flex-direction: column-reverse;
    margin-top: 15px;
}
.result-box .result-row.big-result-row .result-value{
    font-size: 2em;
    line-height: 1;
}
.result-chart-sec{
    position: relative;
    width: 100%;
    margin: 0;
    height: 200px;
}
.applied-now-btn{
    padding: 10px 15px;
    background-color: #fff;
    margin: 8px auto;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: none;
    border: none;

}

.applied-now-btn a{
    color: #000 !important;
    font-size: 18px;
    text-transform: uppercase;
    
}
.applied-now-btn:hover,
.applied-now-btn a:hover{
    background-color: #fff;
    text-decoration: none;
}
.calc-user-note{
    font-size: 13px;
    text-align: left;
    color: #fff;
}

 /* input append/prepend group styles */
 .append-input-group,
 .prepend-input-group{
     display: flex;
 }
 .append-input-group input{
     border-top-right-radius: 0 !important;
     border-bottom-right-radius: 0 !important;
     border-right: none !important;
     padding-right: 0 !important;
 }
 .prepend-input-group input{
     border-top-left-radius: 0!important;
     border-bottom-left-radius: 0!important;
     border-left: none !important;
     padding-left: 0 !important;
 }
 .append-input-group span,
 .prepend-input-group span{
     background-color: #fff;
     color: #000;
     border: 1px solid #dae0e8;
     border-radius: 15px;
     font-size: 18px;
     font-weight: 400;
     text-align: center;
     /* padding: 5px 8px; */
     box-sizing: border-box;
     display: flex;
     align-items: center;
     width: auto;
     padding: 0 10px;
     justify-content: center;
 }
 .append-input-group span{
     border-left: none;
     border-top-left-radius: 0;
     border-bottom-left-radius: 0;
 }
 .prepend-input-group span{
     border-right: none;
     border-top-right-radius: 0;
     border-bottom-right-radius: 0;
 }
 .prepend-input-group span.focus-input{
     border-color: #0ccf19 !important;
 }
 @media screen and (min-width:  768px){
     .max-150{
         max-width: 150px;
     }
 }

@media screen and (max-width: 768px){
    .hb-wrapper {
        padding: 0px;
    }
    .hb-container {
        width: 100%;
    }
    .calc-heading {
        font-size: 22px !important;
        padding: 10px;
    }
    .calc-section:first-child {
        box-shadow: 1px 1px 4px 0px rgba(0, 33, 33, 0.06), 5px 4px 7px 0px rgba(0, 33, 33, 0.05), 11px 10px 9px 0px rgba(0, 33, 33, 0.03), 20px 18px 11px 0px rgba(0, 33, 33, 0.01), 31px 28px 12px 0px rgba(0, 33, 33, 0.00);
        border-radius: 10px;
        padding: 40px 10px 40px;
    }
    .main-section{
        flex-direction: column;
        padding: 0;
    }
    .calc-section{
        width: 100%;
        border-radius: 10px 10px 0 0 !important;
    }
    .saving-input-label label {
        font-size: 16px;
        width: 100%;
        display: flex;
        margin-bottom: 5px;
    }
    .calc-input {
        width: 100%;
    }
    .result-section{
        width: 100%;
        
    }
    .result-box {
        width: 100%;
        height: auto;
        padding: 30px;
        border-radius: 0 0 10px 10px !important;
    }
    .calc-heading h2 {
        font-size: 22px !important;
    }
    .input-container .input-row{
        flex-direction: column;
    }
    .result-chart-sec{
        width: 100%;
        height: 200px;
    }
    .result-box .result-row{
        flex-direction: column-reverse;
    }

    .style-opentip-tooltip{
        max-width: 200px;
    }
    .style-opentip-tooltip .opentip{
    font-size: 9px !important;
    }
    .saving-input {
        width: 100%;
        max-width: 100%;
    }
    
}
/* ////////////////////// */
.irs--big {
    height: 75px;
}
.irs--big .irs-line {
    top: 33px;
    height: 10px;
    background-color: #265074;
    background: linear-gradient(to bottom, #265074 -50%, #265074 150%);
    border: 1px solid #265074;
    border-radius: 12px;
}
.irs--big .irs-bar {
    top: 33px;
    height: 10px;
    background-color: rgb(75, 104, 177);
    border: 1px solid rgb(75, 104, 177);
    background: linear-gradient(to bottom, rgb(75, 104, 177) 0%, rgb(75, 104, 177) 30%, rgb(75, 104, 177) 100%);
    box-shadow: inset 0 0 1px 1px rgb(75, 104, 177);
}

.irs--big .irs-handle {
    top: 25px;
    width: 27px;
    height: 27px;
    /* border: 1px solid rgb(75, 104, 177);
    background-color: rgb(75, 104, 177);
    background: linear-gradient(to bottom, rgb(75, 104, 177) 0%, rgb(75, 104, 177) 30%, rgb(75, 104, 177) 100%);
    box-shadow: none;
    border-radius: 30px; */
    
    cursor: pointer;
    border-color: rgb(75, 104, 177);
    background-color: rgb(75, 104, 177);
    background: linear-gradient(to bottom, rgb(75, 104, 177) 0%, rgb(75, 104, 177) 30%, rgb(75, 104, 177) 100%);
}
.irs--big .irs-handle.state_hover, .irs--big .irs-handle:hover {
    border-color: rgb(75, 104, 177);
    background-color: rgb(75, 104, 177);
    background: linear-gradient(to bottom, rgb(75, 104, 177) 0%, rgb(75, 104, 177) 30%, rgb(75, 104, 177) 100%);
}
.irs--big .irs-grid-text {
    color: rgb(75, 104, 177);
}
.irs--big .irs-grid-pol {
    background-color: rgb(75, 104, 177);
}
.irs--big .irs-from, .irs--big .irs-to, .irs--big .irs-single {
    color: white;
    text-shadow: none;
    padding: 1px 5px;
    background-color: rgb(75, 104, 177);
    background: linear-gradient(to bottom, rgb(75, 104, 177) 0%, rgb(75, 104, 177) 100%);
    border-radius: 3px;
}


.irs--big .irs-min, 
.irs--big .irs-max {
    top: 60px;
    padding: 1px 5px;
    color: #000;
    text-shadow: none;
    background-color: transparent;
    border-radius: 3px;
    visibility: visible !important;
}