@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
* {
  margin: 0px;
  padding: 0px;
  outline: 0px;
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

body {
    font-family: "Belleza", Sans-serif;
}
.calculator-sec button,.calculator-sec input,.calculator-sec select,.calculator-sec textarea{
	    font-family: "Belleza", Sans-serif!important;
}
.FormArea {
	width: 100%;
	display: flex;
	flex-direction: column;
	background: url("../images/Form-banner.png") no-repeat center top;
	padding:80px 0 0;
	background-size: 100%;
}

.area-form {
	text-align: center;
}
.FormBox{
	width: 100%;
	max-width: 670px;
	margin: 0 auto;
}

.BmiBox{
	background: #FFF;
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(0, 124, 122, 1);
	border-radius: 20px;
	padding:0 0 30px;;
}
.BmiBox h1{
	background: rgba(0, 124, 122, 1);
	text-align: center;
	color: #FFF;
	border-radius: 20px 20px 0 0;
	font-size: 30px;
	font-weight: 800;
	padding: 20px;
}
.FormBox form{
	width: 100%;
	max-width: 390px;
	margin: 0 auto;
}
.Formgroup {
	margin: 20px 0 0
}
.Formgroup input[type=text]{
	width: 100%;
	height: 48px;
	border: 1px solid rgba(189, 189, 189, 1);
	border-radius: 8px;
	font-size: 18px;
	color: rgba(51, 51, 51, 1);
	padding: 0 44px 0 0;
	font-family: "Open Sans", sans-serif;
}

.Formgroup input.weight_field {
	background: url("../images/w.svg") no-repeat 97% center;
}
.Formgroup input.height_field {
	background: url("../images/h.svg") no-repeat 97% center;
}

.Formgroup input[type=submit]{
	width: 100%;
	height: 48px;
	background: rgba(142, 120, 89, 1);
	line-height: 48px;
	color: rgba(255, 255, 255, 1);
	border-radius: 130px;
	border: 0;
	cursor: pointer;
	font-size: 20px;
	font-weight: 600;
}
.Formgroup input[type=submit]:hover {
	background: #000;
}



.checkbox_custom {
  display: block;
  margin:22px 0 0px;
}

.checkbox_custom input {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
}

.checkbox_custom label {
	position: relative;
	cursor: pointer;
	width: 100%;
	display: flex;
	font-size: 18px;
	color: rgba(51, 51, 51, 1);
	padding: 0;
	margin: 0;
}

.checkbox_custom label::before {
	content: '';
	-webkit-appearance: none;
	background-color: transparent;
	border: 1px solid rgba(211, 211, 211, 1);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
	padding: 0;
	display: inline-block;
	position: relative;
	vertical-align: middle;
	cursor: pointer;
	margin-left: 15px;
	width: 20px;
	height: 20px;
	border-radius: 4px;
	margin-top: 3px;
}

.checkbox_custom input:checked + label::after {
	content: '';
	display: block;
	position: absolute;
	top: 7px;
	right: 7px;
	width: 5px;
	height: 9px;
	border: solid #FFF;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.checkbox_custom input:checked + label::before {
	background: rgba(0, 124, 122, 1);
	border-radius: 4px;
	border-color: rgba(0, 124, 122, 1)
}


.cash_registers{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	padding:0 54px;
}
.cash_registers h2{
	font-weight: 700;
	color: rgba(0, 0, 0, 1);
	font-size: 27px;
	margin-bottom: 5px;
}
.cash_registers p a{
	font-size: 20px;
	font-weight: 600;
	color: rgba(0, 124, 122, 1);
	text-decoration: underline
}

.risk_factors{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	padding:0 54px;
	text-align: right;
}
.risk_factors h2{
	font-weight: 700;
	color: rgba(0, 0, 0, 1);
	font-size: 27px;
	margin-bottom: 5px;
}

.risk_factors ul {
	list-style-type: none;
	margin:12px 0 0
}
.risk_factors ul li {
	background: url("../images/check.svg") no-repeat right top;
	padding: 0 42px 0 0;
	font-size: 20px;
	font-weight: 600;
	color: rgba(51, 51, 51, 1);
}


.ButtonsArea {
	width: 100%;
	display: flex;
	justify-content: space-between;
	margin-top: 30px;
	padding: 0 50px;
}
.ButtonsArea button {
	width: 48%;
	background: rgba(0, 124, 122, 1);
	height: 48px;
	line-height: 48px;
	border-radius: 130px;
	cursor: pointer;
	font-size: 20px;
	color: rgba(255, 255, 255, 1);
	font-weight: 500;
	border: 1px solid rgba(0, 124, 122, 1);
}
.ButtonsArea button:hover {
	background: #FFF;
	color: rgba(0, 124, 122, 1);
	
}


/* Modal */
.modal {
  position: fixed; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: flex-start; /* or center */
  z-index: 1000; /* depending on what z-index values exist in your page, in order for the modal layer to sit on top of other content */
  overflow: auto; /* enable scrolling if needed - although this is not really necessary since we are going take care of overflow in modal-content */
  background-color: rgba(0,0,0,0.8);
}
.modal.modal-show {
  animation: fadeIn 0.1s ease-in-out forwards;
}
.modal.modal-hide {
  animation: fadeOut 0.1s ease-in-out 0.1s forwards;
}
.modal-content {
  position: relative;
  background-color: #fff;
  margin: 3rem;
  padding: 40px;
  border-radius:30px;
  width: 500px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.modal.modal-show .modal-content {
  animation: fadeInDown 0.3s ease-in-out forwards;
}
.modal.modal-hide .modal-content {
  animation: fadeOutUp 0.2s ease-in-out forwards;
}

.modal-close {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 53px;
	line-height: 53px;
	padding: 0 20px 0 0;
	color: rgba(0, 0, 0, 0.5);
	cursor: pointer;
	user-select: none;
	font-weight: 500;
}
.modal-close:hover, .modal-close:focus {
  color: rgba(0,0,0,0.5);
}


.PopUPBody {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	width: 100%;
	align-items: center;
	text-align: center;
}
.PopUPBody h3{
	font-size: 20px;
	color: rgba(0, 0, 0, 1);
	font-weight: 600;
	margin:20px 0 28px;
}
.PopUPBody button {
	width: 100%;
	max-width: 195px;
	height: 46px;
	background: rgba(0, 124, 122, 1);
	border: 1px solid rgba(0, 124, 122, 1);
	border-radius: 130px;
	font-size: 16px;
	color: rgba(255, 255, 255, 1);
	font-weight: 600;
	line-height: 46px;
	cursor: pointer;
	padding: 0;
	
}

.PopUPBody button.Btntext{
		font-size: 20px;
	font-weight: 600;
	color: rgba(0, 124, 122, 1);
	text-decoration: underline;
	max-width: 100%;
	height: auto;
	line-height: inherit;
	border: 0;
	background: none
}


/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-3rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0); 
  }
}
@keyframes fadeOutUp {
  0% { 
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-3rem);
  }
}

@media(max-width: 992px) {
  .modal-content { width: 80%; }
}
@media(max-width:767px) {
  .modal-content { padding: 2rem 1rem 1rem 1rem; width: 90%; }
	.FormArea {
	padding-left: 20px;
		padding-right: 20px;
}
	.FormBox {
	max-width: 100%;
}
	#bmiChart {
	width: 100% !important;
		margin:0px 0 ;
}
	.cash_registers {
	padding: 0 20px;
}

}

@media(max-width:640px) {
		.FormBox form {
	max-width: 90%;
}
	.BmiBox h1 {
		font-size: 20px;
	}
	.risk_factors {
		padding: 0 20px;
	}
	.cash_registers h2 {
		font-size: 20px;
	}
	.cash_registers p a {
	font-size: 15px;
}
	.risk_factors h2 {
		font-size: 20px;
	}
	.risk_factors ul li {
	font-size: 16px;
	line-height: 24px;
}
	.ButtonsArea {
		padding: 0;
		margin-top: 20px;
	}
	.modal {

  justify-content: center;
  align-items:center; /* or center */

}
}

.invalid-checkbox-label:before {
  border: 2px solid red!important;
}

.calculator-sec {
    padding: 0px;
    width: 100%;
    max-width: 100%!important;
	overflow:hidden;
}  
.calculator-sec .container{
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
}  
.calculator_bx {
    background: #F1F8FB;
    position: relative;
    padding: 50px 0 50px 50px;
    border-radius: 20px;
}
.calculator_bx .main-hed {
    font-weight: 400;
    font-size: 30px;
    line-height: 60px;
    text-align: center;
    color: #000000;
    margin: 0 0 30px;
	text-transform: capitalize;
}
.calculator_bx_row {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    direction: ltr;
    position: relative;
}
.calculator_bx_content {
    flex: 1;
	max-width:560px;
}
.calculator_bx_caption {
    flex: none;
    width: 490px;
    padding-left: 20px;
    border-left: 1px solid #C5CFD3;
        padding-top: 30px;
}
.calculator_bx_caption .calculator-caption-row {
    display: flex;
    justify-content: end;
    gap: 26px;
    align-items: center;
        height: 100%;
}
.calculator_bx_caption .calculator-caption-row .calculator-caption-col {
    flex: 1;
    height: 100%;
}
.calculator_bx_caption .call-image-box {
    position: relative;
    height: 100%;
}
.calculator_bx_caption .call-image-box img {
    position: absolute;
    right: -19px;
    bottom: -48px;
    top: unset;
    height: auto;
    width: 100%;
    border-radius: 0 0 20px 0;
}
.calculator_bx_caption .home-txt-box {
    height: 100%;
}
.calculator_bx_caption .img1 {
    background-color: #A4824C;
    width: 90px;
    height: 90px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}
.calculator_bx_caption .img1 img{
    width: 46px;
    height: 43px;
    object-fit: scale-down;
}
.calculator_bx_caption .call-image-txt-box {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.calculator_bx_caption .call-image-txt-box h6 {
    color: #000;
    font-weight: 400;
    font-size: 18px;
    line-height: 18px;
    margin: 0;
}
.calculator_bx_caption .call-image-txt-box .monthly_payment_wrap{
    color: #A4824C;
    font-weight: 400;
    font-size: 50px;
    line-height: 60px;
    margin: 0;
}

.home-form-box form.calculator-form {
    display: flex;
    gap: 20px;
}
.calculator-form .calculator-form-row{
    position: relative;
}
.calculator-form .calculator-form-row input{
    position: absolute;
    width: 1px;
    height: 1px;
    visibility: hidden;
}
.calculator-form .form-label {
    border: 1px solid #666666;
    border-radius: 6px;
    padding: 13px 32px 13px 42px;
    color: #666666;
    font-weight: 400;
    font-size: 18px;
    line-height: 18px;
    display: inline-block;
    cursor: pointer;
    position: relative;
}
.calculator-form .form-label:after{
    content: "";
    position: absolute;
    left: 13px;
    top: 0;
    bottom: 0;
    width: 20px;
    height: 20px;
    background-color: inherit;
    border: 1px solid #666666;
    border-radius: 100%;
    margin: auto;
}
.calculator-form input:checked + .form-label:before{
    content: "";
    position: absolute;
    left: 16px;
    top: 1px;
    bottom: 1px;
    width: 14px;
    height: 14px;
    background-color: #fff;
    border-radius: 100%;
    margin: auto;
    z-index: 9;
}
.calculator-form input:checked + .form-label:after{
    border-color: #fff;
}
.calculator-form input:checked + .form-label {
    background-color: #A4824C;
    color: #fff;
    border-color: #A4824C;
}
/*Aishwarya*/
.calculator-form label.form-label {
    width: 270px;
}

.calculator-inline-field:nth-child(2) {
    width: 258px;
}
.calculator-inline-field:nth-child(3) {
    width: 102px;
}
.calculator-inline-field:nth-child(1) {
    width: 180px;
}
.mortgage-calculator input{
	border:none !important;
}

/*Aishwarya*/

.mortgage-calculator {
    margin: 34px 0 0;
}
.paymnt-prc-dv h6 {
    margin-block: 0;
}
.calculator-label-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.mortgage-calculator .paymnt-prc-dv {
    flex: none;
    width: 102px;
}
.mortgage-calculator .paymnt-prc-dv h6{
        text-align: right;
        color: #333333;
        font-weight: 400;
        font-size: 14px;
        line-height: 17px;
}
.mortgage-calculator .paymnt-prc-dv .down-payment-wrap {
    text-align: end;
    color: #A4824C;
    font-weight: 600;
    font-size: 20px;
    line-height: 30px;
    display: block;
}

.mortgage-calculator .calculator-form-group .calculator-label-row .price-input {
    flex: 1;
}


.mortgage-calculator label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    line-height: inherit;
    color: #000000;
    margin: 0 0 5px;
}
.mortgage-calculator input{
    box-shadow: 0px 0px 14px 0px #0000000D;
    background-color: #fff;
    border-radius: 6px !important;
    height: 44px;
    padding: 7px 13px;
    border: none;
    font-weight: 400;
    font-size: 15px;
    line-height: inherit;
	font-family: "Poppins", Sans-serif !important;
    color: #333333;
    width: 100%;
}
.mortgage-calculator input:focus {
    outline: none;
}
.mortgage-calculator .calculator-inline-fields {
    display: flex;
    gap: 8px;
    margin: 30px 0 0;
    justify-content: space-between;
}
.calculator_bg_img {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
}
.pro-hide, .pro-invester .mortgege {
	display:none;
}
.pro-invester .pro-hide {
	display:block;
}
h2.text-center.pro-hide {
    text-align: center;
    margin-bottom: 88px;
	padding-right: 50px;
	    z-index: 9;
    position: relative;
}
@media (max-width:1170px){
	.calculator_bx_row {
    gap: 31px;
    flex-wrap: nowrap;
}
	.calculator_bx_content {
    max-width: 55%;
}
	.calculator_bx_caption {
    width: 40%;
	}
	.home-form-box form.calculator-form {
}
	.calculator-form .calculator-form-row {
    width: 50%;
}
	.calculator-form label.form-label {
    width: 100%;
}
}

@media (max-width:1024px){
	h2.text-center.pro-hide {
    margin-bottom: 50px;
}
	.calculator_bx_row {
    flex-wrap: wrap;
}
 .calculator_bx {
    padding: 30px 0 30px 30px;
    overflow: hidden;
}
	.calculator_bx_caption {
    padding-left: 0px;
		padding-top:25px;
}
	.calculator-form .form-label {
    padding: 13px 15px 13px 39px;
	}
	.home-form-box form.calculator-form {
    gap: 18px;
}
	.calculator_bx_caption .call-image-box img {
    right: -44px;
    bottom: -29px;
}
	.calculator_bx_caption .calculator-caption-row {
    gap: 10px;
}
}
@media (max-width:880px){
.calculator-sec {
    width: 70%;
    margin: auto;
}
	h2.text-center.pro-hide {
    padding-right: 0;
	}
	.calculator_bx_caption .calculator-caption-row .calculator-caption-col {
    padding-left: 35px;
}
	.calculator_bg_img, img.calculator_bg_img.pro-hide {
    display: none;
}
	.calculator_bx_caption .call-image-box img {
    right: -18px;
    bottom: -18px;
    left: unset;
    width: 200px;
}
	.calculator_bx_caption {
    width: 100%;
 border-left: none;
}
h2.text-center.pro-hide {
    text-align: center;
    margin-bottom: 26px;
}
	.calculator_bx {
    padding: 30px 0 30px 40px;
}
	.calculator-form label.form-label {
    width: 230px;
}
	.calculator-form .form-label {
    padding: 13px 24px 13px 40px;
}
	.calculator_bx_content {
    max-width: 477px;
}
.calculator_bx_caption .img1 {
    margin: 0;
}
	.calculator_bx_caption .call-image-txt-box {
    text-align: start;
}
.calculator_bx {
    padding: 20px;
}
	.calculator_bx_row {
        justify-content: center;
    }
}
@media (max-width:767px){
	
	.calculator-form label.form-label {
    width: 100%;
}
	.calculator-form .form-label {
		font-size: 16px;
	}

	.calculator-form .calculator-form-row {
    padding-bottom: 20px;
}
	.calculator-label-row {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
}
	.mortgage-calculator .calculator-form-group .calculator-label-row .price-input {
    flex: inherit;
    width: 60%;
}
	.mortgage-calculator .paymnt-prc-dv {
    flex: auto;
    width: 40%;
}

	.mortgage-calculator .calculator-inline-fields {
    display: block;
}
	.calculator-inline-field:nth-child(1) {
    width: 100%;
    margin-bottom: 10px;
}
	.calculator-inline-field:nth-child(2) {
    width: 100%;
		margin-bottom: 10px;
}
	.calculator-inline-field:nth-child(3) {
    width: 100%;
		margin-bottom: 10px;
}
	.calculator_bx_caption .img1 {
    margin: unset;
}
	.calculator_bx_caption .call-image-txt-box {
    text-align: unset;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 50px;
}
	.calculator_bx_caption .img1 {
    width: 80px;
    height: 80px;
}
	.calculator_bx_row {
    gap: 30px;
}
	.calculator_bx_caption .call-image-txt-box .monthly_payment_wrap {
    font-size: 40px;
    line-height: 40px;
}
	.calculator_bx_caption .calculator-caption-row .calculator-caption-col {
    flex: 1;
    height: 80%;
}
	.calculator_bx_caption .call-image-box img {
    right: -18px;
    bottom: -40px;
    left: unset;
}
	.calculator_bx_row {
    gap: 20px;
}
	.calculator_bx_caption {
    padding-top: 10px;
}
	.paymnt-prc-dv br {
    display: none;
}
	.mortgage-calculator {
    margin: 0;
}
	.mortgage-calculator .paymnt-prc-dv h6 {
    line-height: 24px;
}
	.mortgage-calculator .calculator-inline-fields {
    margin: 20px 0 0;
}
}
@media (max-width:680px){
	    .calculator-sec {
        width: 82%;
    }
}
@media (max-width:607px){
	    .calculator-sec {
        width: 90%;
    }
}
@media (max-width:560px){
	    .calculator-sec {
        width: 100%;
    }
	    .calculator-form .form-label {
        padding: 13px 7px 13px 38px;
    }
    .home-form-box form.calculator-form {
        flex-wrap: wrap;
        margin-bottom: 20px;
    }
	    .calculator-form .calculator-form-row {
        width: 100%;
    }
	.calculator-form .calculator-form-row {
        padding-bottom: 0;
    }
	    .calculator_bx_caption .calculator-caption-row .calculator-caption-col {
        padding-left: 0;
    }
	    .calculator_bx_row {
        gap: 0;
    }
	    .calculator_bx_caption {
        padding-top: 0;
    }
}