
.savings_sec-body{
  background-color:#FCF4EA;
  position: relative;
  height: 100vh;
  overflow-y: auto;
}
.wave-img{
  position: absolute;
  right: 0;
  bottom: 0;
}
.savings-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:32px 0;
}
.backto-home-btn{
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 10px 0 10px;
  border: 1px solid var(--font-color-light);
  border-radius: 50px;
  text-align: center;
  color: var(--primary-font-color);
  font: 11.11px var(--bold-sans-font);
}
.savings-main-box{
  position: relative;
  height: calc(100vh - 112px);
  overflow: hidden;
  overflow-y: auto; 
}
.savings_form-sec{
  padding: 32px 0;
}
.savings-form{
  position: relative;
  height: calc(100vh - 236px);
  overflow: hidden;
  overflow-y: auto;
}
.savings_form-sec .main-heading{
  margin-bottom: 32px;
}
.savings_form-sec .child_count{
  font: 23px var(--medium-Mont-font);
  color: var(--primary-color-dark);
}
.form-label-head{
  padding-left: 12px;
  margin-bottom: 16px;
}
.savings_primary-btn{
  background: linear-gradient(93.21deg, #B58E5B 28.11%, #CAA371 84.59%);
  color: #fff;
  border:none;
  outline:none;
  margin-top: 10px;
}
.savings_sec-btn{
  background: #FCF4EA;
  color: #B58E5B;
  border:1px solid #B58E5B;
  outline:none;
  margin-top: 10px;
}


input[type="radio"]{
  display: none;
}
.savings_radio-btn{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  width: 100%;
  min-height: 64px;
  border: 1px solid var(--primary-color-light);
  background: var(--primary-color-light);
}
input[type="radio"]:checked + .savings_radio-btn{
  background: linear-gradient(119.63deg, #243978 36.65%, #7586BB 141.82%);
  color: #fff;
}
.btn-container .butn{
  max-width: 335px;
}

/* RANGE INPUT */
input[type=range] {
	-webkit-appearance: none;
    background: #B3BEDF;
	margin: 20px 0;
	width: 80%;
    border-radius: 50px;
}
input[type=range]:focus {
	outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
	width: 100%;
	height: 6px;
	cursor: pointer;
	animate: 0.2s;
	/* background: #243978; */
	border-radius: 50px;
}
input[type=range]::-webkit-slider-thumb {
	height: 20px;
	width: 20px;
	border-radius: 50%;
	background: #243978;
	cursor: pointer;
	-webkit-appearance: none;
	margin-top: -8px;
}

.range-wrap{
	width: 100%;
	position: relative;
    margin: 24px auto 0;
}

.range-value{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
/*
.range-value span{
	 width: 30px; 
	height: 24px;
	line-height: 24px;
	text-align: center;
	background: #243978;
  box-shadow: 0px 4px 10px rgba(0, 11, 49, 0.1);;
	color: #fff;
	font-size: 14px;
	display: block;
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0);
	border-radius: 6px;
  padding: 0 5px;
}
.range-value span:before{
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border-top: 10px solid #243978;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	margin-top: -3px;
}
*/


/* SAVINGS HOME SECTION */
.savings-div-centered, .savings-div-centered > .row{
  height: 100%;
}
.savings-div-centered{
  padding-bottom: 112px;
}
.savings-div-centered > .row{
  justify-content: center;
  align-items: center;
}
.savings_home-content{
  max-width: 335px;
}
.savings_home-content p{
  font-size: 13px;
  color:var(--secondary-color-light);
}
.savings_home-sec .main-heading{
  font: 34px var(--medium-Mont-font);
  color: var(--primary-color-dark);
  margin-bottom: 48px;
}

/* SECTION 2 FORM */
.choose-option{
  margin-top: 30px;
}
.choose-currency{
  margin-top: 37px;
}
.savings_form-sec .btn-container{
  margin-top: 45px;
}

/* SECTION 3 FORM - YES */
.savings_form-yes .row > div{
  max-width: 335px;
  text-align: center;
}
.savings_form-yes h1{
  font-family: var(--medium-Mont-font);
}

/* SECTION 4 FORM - NO */
.start_expense-card{
  max-width: 400px;
  background-color: #fff;
  padding: 32px;
}
.start_expense-card .main-heading{
  font-size: 20px;
}
.start_expense-card img{
  transform: translateY(10px);
}

/* SECTION 5 FORM EXPENSE */
.expense-card{
  padding: 24px 24px 32px;
  background-color: #fff;
}
.expense-card:not(:last-of-type){
  margin-bottom: 32px;
}

.estimated-card{
  width: 100%;
  height: 245px;
  padding: 32px;
  background-color: var(--primary-color-bg);
}
.estimated-card img{
  position: absolute;
  right: 0;
  bottom: 0;
  width: 75%;
}
.estimated-card > div p{
  color: #93A1CE;
  margin-bottom: 12px;
}
.estimated-card > div h4{
  font-size: 34px;
}
.show_min-max{
  font-size: 11.11px;
  color: #243978;
}
/*
.show_min-value{
   margin-right: 24px; 
  position: absolute;
  left: -44px;
  top: 14px
}
.show_max-value{
   margin-left: 24px; 
  position: absolute;
  right: -55px;
  top: 14px;
}
*/

.expense-form .btn-container{
  display: flex;
  gap: 16px;
}

/* SECTION 6 FORM EXPENSE IF YES */
.expense-form-yes_no .btn-container{
  position: absolute;
  bottom: 75px;
  width: 100%;
}

/* SECTION 7 CALCULATING LOADING */
.calculating .row > div{
  z-index: 10;
}
.calculating h1{
  font-family: var(--medium-Mont-font);
}
.calculating img{
  transform: translateY(0);
  animation: upDown 2.5s linear infinite both;

}

.dot1{
  opacity: 0;
  animation: dot1 .6s linear infinite;
}
.dot2{
  opacity: 0;
  animation: dot2 .6s linear 1s infinite;
}
.dot3{
  opacity: 0;
  animation: dot3 .6s linear 2s infinite;
}

@keyframes upDown{
  0%{transform: translateY(0px);}
  50%{transform: translateY(20px);}
  75%{transform: translateY(20px);}
  100%{transform: translateY(0px);}
}
@keyframes dot1{
  0%{opacity:0;}
  50%{opacity: 1;}
  100%{opacity:0;}
}
@keyframes dot2{
  0%{opacity:0;}
  50%{opacity: 1;}
  100%{opacity:0;}
}
@keyframes dot3{
  0%{opacity:0;}
  50%{opacity: 1;}
  100%{opacity:0;}
}

/* SECTION 8 ANNUAL SAVINGS */
.anuual_savings-sec,.savings_breakup-sec{
  margin-top: 32px;
}
.anuual_savings-sec h1{
  max-width: 440px;
  margin: 0 auto 24px;
  text-align: center;
  font-size: 20px;
}
.savings-display .nav{
  width: 100%;
  background-color: #fff;
  padding: 6px;
  border-radius: 12px;
  margin-bottom: 32px;
  flex-wrap: nowrap;
}
.savings-display .nav .nav-item{
  width: 100%;
}
.savings-display .nav .children_tab{
  width: 25%;
}
.savings-display .nav-pills .nav-link{
  text-align: center;
  padding: 12px;
}
.savings-display .nav-pills .nav-link.active, .savings-display .nav-pills .show>.nav-link{
  color: #081A4E;
  background-color: #D4DBEE;
  border-radius: 10px;
}
.savings_display-card{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 274px;
  background-color: #9656A1;
  padding: 24px;
}
.hours_card{
  background-color: #FFC0AD;
}
.savings_display-card h1{
  font-size: 48px;
}
.savings_display-card p{
  position: absolute;
  bottom: 24px;
  margin-bottom: 0;
  color: #FFFFE6;
}
.anuual_savings-sec .btn-container{
  position: absolute;
  width: 100%;
  bottom: 100px;
}

/* SECTION 9 SAVINGS BREAKUP */
.savings_breakup-card{
  height: 520px;
  background-color: #fff;
  padding: 32px;
}

.pie_card-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.pie_card-header p{
  margin-bottom: 0;
  max-width: 175px;
}
.pie_card-header select{
  position: relative;
  height: 32px;
  padding: 0 24px 0 16px;
  border: 1px solid var(--font-color-light);
  border-radius: 50px;
  color: var(--primary-font-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font: 13px var(--bold-sans-font);
  outline: none;
  background: url(../assets/Arrow-down.svg) no-repeat right;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}
.total-savings h1{
  font-size: 48px;
  text-align: center;
  margin-bottom: 0;
  margin-top: 24px;
}



.savings_detail-card{
  overflow: hidden;
  overflow-y: auto;
}
.savings_detail-card ul li{
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;;
}
.savings_detail-card ul li img{
  margin-right: 12px;
}
.savings_detail-card ul li p{
  font-family: var(--bold-sans-font);
  margin-bottom: 0;
}
.savings_detail-card ul li:not(:last-child){
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border-color);
}
.breakup_savings-display .btn-container{
  margin-top: 48px;
}

/* SECTION 10 SAVINGS FINAL CALCULATED */
.final_savings-container{
  max-width: 458px;
}
.final_card{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 204px;
/*  width: 416px;*/
  background-color: #fff;
  overflow: hidden;
  margin: 50px 0 70px;
}
.final_card .main-heading{
  font-size: 48px;
}
.final-svg1{
  position: absolute;
  left: 0;
  bottom: 0;
}
.final-svg2{
  position: absolute;
  right: 0;
  top: 0;
}
.final_savings-container .note-lg{
  margin-bottom: 22px;
}

/* SECTION 11 SAVINGS FINAL */
.savings-div-centered .final_savings-sec > .row{
  flex-direction: column;
  justify-content:space-around;
}
.final_savings-sec .btn-container{
  display: flex;
  width: 65%;
  justify-content: space-around;
  flex-wrap: wrap;
}
.final_savings-sec p{
  text-align: center;
  max-width: 400px;
}
.final_savings-sec .btn-container button{
  margin-bottom: 16px;
}