@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Nunito+Sans:wght@200;300;400;600;700;800&display=swap');


body {
	font-family: 'Nunito Sans', sans-serif;
	font-weight: 400;
	overflow-x: hidden;
    color: #1B1F4D;
}
* {
    box-sizing: border-box;
}
a, button { transition: all 0.3s ease; }
a:hover,
a:focus {
	text-decoration: none;
	outline: none;
}

h1 {
	font-family: 'Nunito Sans', serif;
	font-weight: bold;
 }

p {
    margin:0 0 .5em;
}

.container {
    max-width: 660px;
    margin:0 auto;
    padding: 0 15px;
}
section.loan-value-calculator {
    text-align: center;
    padding-top: 70px;
}
.loan-value-calculator h1 {
    margin: 0 0 30px;
    font-size: 30px;
    color: #1B1F4D;
}
 .client-details-row h3 {
    background-color: #48af66;
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: 500;
    font-size: 18px;
    line-height: 20px;
    margin-bottom: 0;
}
.client-details-row h3 img{
    vertical-align: middle;
    margin-right: 10px;
}
.client-details-row {
    box-shadow: 0px 0px 6px #00000029;
}
.details-row {
    padding: 35px 40px 40px;
    display: flex;
    flex-wrap: wrap;
        text-align: left;
}
.loan-graphics-row {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
	position: relative;
    align-items: flex-start;
}
.loan-percentage-col {
    width: 33%;
    text-align: center;
}
.loan-percentage-col p b {
    display: block;
}
.loan-percentage-col p {
    margin: 0;
		line-height: 25px;
}
.details-age {
    flex: 0 0 70%;
    max-width: 70%;
    display: flex;
    flex-direction: column;
}
.price_error {
    position: absolute;
    left: 0;
    right: auto;
    bottom: -28px;
    font-size: 12px;
    color: red;
    line-height: 13px;
}
.details-value {
    flex: 0 0 30%;
    max-width: 30%;
		display: flex;
    flex-direction: column;
    position: relative;
}
small.bottom-text {
    font-size: 8px;
    margin-top: 15px;
    display: block;
    overflow: hidden;
    text-align: left;
}
.loan-percentage-col img {
    margin-bottom: 10px;
}
.details-age-slider {
    background-color: #c3c3c3;
    max-width: 90%;
    margin-top: auto;
}
.details-age-slider > button {
    height: 4px;
    border: none;
    width: 5px;
    padding: 0;
}
.details-value > input {
		border: solid 1px #8d8fa6;
		padding: 5px;
		width: 100%;
		display: block;
		overflow: hidden;
		margin-top: auto;
		border-radius: 0;
		color: #1B1F4D;
		font-weight: bold;
		font-family: inherit;
		font-size: 14px;
		outline: none;
}
.details-row p {
    margin-bottom: 30px;
    font-size: 16px;
}
.details-age-slider > button > div:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border-right: solid 5px #48af6600;
    border-top: solid 5px rgb(72 175 102);
    border-left: solid 5px rgb(72 175 102 / 0%);
    border-bottom: solid 0px rgb(72 175 102 / 0%);
    top: 102%;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.loan-percentage-col p.price {
    color: #48af66;
    font-weight: bold;
    font-size: 18px;
}
.loan-percentage-col p.price svg.tooltip-icon {
    position: relative;
    right: -10px;
    top: 4px;
}
.loan-percentage-col  .__react_component_tooltip {
    left: 0 !important;
    right: 0;
    width: 100%;
    position: absolute !important;
    top: 115% !important;
    margin: 0 auto;
    background: #1b1f4d !important;
    border-radius: 0 !important;
    padding: 25px !important;
    font-weight: normal;
    font-size: 16px !important;
}
.loan-percentage-col .__react_component_tooltip::after {
    left: auto !important;
    right: 45px;
    top: -11px !important;
    border-bottom-color: #1b1f4d !important;
    border-bottom-width: 10px !important;
    border-left: 8px solid transparent !important;
    border-right: 8px solid transparent !important;
}

.loan-per-sec {
    display: flex;
    align-items: flex-end;
}

.loan-per-per {
    margin-left: 18px;
    width: 100px;
}
.loan-per-per h3 {
    font-size: 30px;
    color: #48AF66;
    text-align: center;
    margin: 0 0 10px;
    font-weight: 500;
}


@media (max-width:575px) {
    .details-age-slider{
        width: 100%;
    }
    .loan-per-per h3 {
        font-size: 24px;
    }
    .loan-percentage-col img {
        width: 100%;
    }
    section.loan-value-calculator {
        padding-top: 45px;
    }
    .loan-percentage-col {
        margin: 0 15px 35px;
    }
    .loan-per-sec {
        max-width: 200px;
        margin: 0 auto;
    }
    .loan-graphics-row {
        justify-content: center;
    }
    .details-age, .details-value {
        flex: 0 0 100%;
        max-width: 100%;
    }
    small.bottom-text {
        text-align: center;
    }
    .details-row {
        padding: 20px 25px;
    }
    .loan-percentage-col  .__react_component_tooltip {
        top: 105% !important;
    }
    .loan-percentage-col .__react_component_tooltip::after {
        left: 0 !important;
        right: -50px !important;
        margin: 0 auto !important;
    }
}
