.midd-container {display: flex;flex-direction: column;}

.up.first_home .fontWhite, .up.first_home .fontWhite h1, .up.first_home .fontWhite h2, .up.first_home .fontWhite h3, .up.first_home .fontWhite h4, .up.first_home .fontWhite h5, .up.first_home .fontWhite h6, .up.first_home .fontWhite div { color: #fff; }

.up.first_home header .wrapper { align-items: center; }
.up.first_home .btn-yellow { padding: 10px 48px; display: inline-block; }
.up.first_home header .wrapper .cta-wrapper ul li:not(:last-child) { padding-right: 26px; }
.up.first_home header .wrapper .cta-wrapper ul li:first-child a:hover { text-decoration: none; }
.up.first_home header { padding: 42px 0 30px 0; }
.up.first_home header .nav-links ul { margin-top: 43px; }
.up.first_home header .main {max-width: 1244px;}


.up.first_home footer { padding: 63px 0 50px 0; }
.up.first_home footer .bottom-footer .wrapper { flex-direction: column; }
.up.first_home footer .bottom-footer .left { width: 100%; }
.up.first_home footer .bottom-footer .right { text-align: left; width: 19.34%; margin-top: 14px; }
.up.first_home footer .bottom-footer .right img { width: 100%; }
.up.first_home footer .bottom-footer { padding: 16px 0 17px; }
.up.first_home footer .top-footer .footer-item { min-width: 240px; padding-right: 13px; width: auto; margin-bottom: 15px; }
.up.first_home footer .top-footer .footer-wrapper { gap: 10px; }
.up.first_home footer .footer-item .list-blk { padding-top: 10px; }
.up.first_home footer .top-footer ul li:not(:last-child) { padding-bottom: 9px; }
.up.first_home footer .copyright .p_class, .up.first_home footer .copyright a { color: #ffffff; }
.up.first_home footer .bottom-footer .p_class a { color: currentColor; text-decoration: underline; }
.up.first_home footer .bottom-footer .p_class{ line-height: 1.46; }


.up.first_home .ready-to-invest{ padding: 73px 0 39px 0; }
.up.first_home .ready-to-invest .bgImg {padding: 60px 80px 75px 80px;}
.up.first_home .ready-to-invest .text-blk .p_class {color: #fff;}
.up.first_home .ready-to-invest .bgImg .content{ max-width: 440px; } 
.up.first_home .ready-to-invest .btn-green { margin-top: 33px;}
.up.first_home .ready-to-invest .head-blk h2 { line-height: 1.2; }
.up.first_home .ready-to-invest .head-blk { padding-bottom: 30px; }
.up.first_home .ready-to-invest .p_class { margin-bottom: 0px; }
.up.first_home .ready-to-invest  .ready_btn_wrapper { display: flex; flex-wrap: wrap; gap: 30px;  }
.up.first_home .ready-to-invest .ready_btn_wrapper .btn-blk .ready_btns { padding: 10px 22px; font-family: Graphik; font-weight: 400; font-size: 18px; line-height: 1; text-align: center; vertical-align: middle; color: #365265; }
.up.first_home .ready-to-invest .ready_btn_wrapper .btn-blk .btn-green:hover { background: transparent; border: 1px solid #fff; color: #fff; }
.up.first_home .ready-to-invest .ready_btn_wrapper .btn-blk .btn-white { padding: 10px 14px; background: transparent; color: #fff; border: 1px solid #fff; }
.up.first_home .ready-to-invest .ready_btn_wrapper .btn-blk .btn-white:hover { background-color: #74DDBC; border: 1px solid #74DDBC; color: #365265; }
.up.first_home .ready-to-invest .bgImg:before { position: absolute; content: ''; background: linear-gradient(269.92deg, rgba(0, 0, 0, 0) 50.46%, #000000 80.01%, #000000 100%); width: 100%; height: 100%; top: 0; left: 0; }

.up.first_home .single-image-left-text-right { padding: 35px 0 73px 0; }
.up.first_home .single-image-left-text-right .head-blk { padding-bottom: 12px; }
.up.first_home .single-image-left-text-right .p_class { color: #646464; } 
.up.first_home .single-image-left-text-right .item h3{ color: #333333; }
.up.first_home .single-image-left-text-right .item .inner .left { width: 5.84%; margin-left: 20px; }
.up.first_home .single-image-left-text-right .item .inner .right { width: calc(100% - 13.94%); padding-top: 7px; }
.up.first_home .single-image-left-text-right .item .inner{align-items: unset;}

.pillar_section { padding: 27px 0 27px 0; } 
.pillar_section .pillar_section_wrap{ display: flex; align-items: center; justify-content: end; flex-wrap: wrap; gap: 20px 71px; }
.pillar_section .pillar_link a { font-size: 18px; line-height: 1.44; color: #000000; } 
.pillar_section .pillar_link a:hover { color: #003B70; }

.up.first_home .banner_section { background-color: #74DDBC;overflow: hidden;}
.up.first_home h1, .up.first_home h1 div, .up.first_home .h1 h2, .up.first_home .h1 h3, .up.first_home .h1 h4, .up.first_home .h1 h5, .up.first_home .h1 div { font-size: 55px; color: #003B70; line-height: 1; }
.up.first_home .banner_section .head_blk{ padding-bottom: 42px; }
.up.first_home .banner_section .banner_inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }
.up.first_home .banner_section .banner_content { width: 41.5%; padding: 88px 0 108px 0; }
.up.first_home .banner_section .banner_text, .up.first_home .banner_section .banner_text div, .up.first_home .banner_section .banner_text p{ font-size: 15px; line-height: 1.6; }
.up.first_home .banner_section .button_container { display: flex; gap: 50px; padding-top: 10px; flex-wrap: wrap; }
.up.first_home .banner_section .button_container .btn-green { background-color: #003B70; color: #fff; border-color: #003B70; font-size: 17px; line-height: 1.05; text-align: center; padding: 11px 24px 10px 24px; }
.up.first_home .banner_section .button_container .btn-green.transparent-bg { background-color: transparent; border-color: #003B70; color: #003B70; }
.up.first_home .banner_section .button_container .btn-green:hover { background-color: transparent; color: #003B70; }
.up.first_home .banner_section .button_container .btn-green.transparent-bg:hover { background-color: #003B70; color: #fff; }
.up.first_home .banner_section .banner_image { width: 36.2%; margin-right: 31px; }

.up.first_home .content_section{ padding: 70px 0 68px 0; }
.up.first_home .content_section .heading_h2 h2{ line-height: 1; color: #000;}
.up.first_home .content_section .content_text { padding-top: 10px; }
.up.first_home .content_section .content_text, .up.first_home .content_section .content_text div, .up.first_home .content_section .content_text p{ line-height: 1.44; color: #646464; }
.up.first_home .content_section div.p_class div:not(:last-child){ margin-bottom: 26px; }
.up.first_home .content_section div.p_class div:last-child{ margin-bottom: 0px; }

.up.first_home .request-a-call .head-blk h2{ line-height: 1; color: #333333; }
.up.first_home .request-a-call .head-blk{ padding-bottom: 45px; }
.up.first_home .request-a-call .p_class, .up.first_home .request-a-call .p_class div, .up.first_home .request-a-call .p_class li{ font-size: 18px; line-height: 1.44; color: #000000; }
.up.first_home .request-a-call .p_class ul { padding: 0px 0px 0px 28px; margin: 0px 0 0px 0; }
.up.first_home .request-a-call .form_left_image { max-width: 240px; padding-top: 8px; margin-left: -14px; }

.up.first_home .icons_section { padding: 74px 0 112px 0; }
.up.first_home .icons_section .section_title{ padding-bottom: 42px; }
.up.first_home .icons_section .head-blk h2{ color: #000000; line-height: 1; }
.up.first_home .icons_section .p_class div:last-child{ margin-bottom: 0; }
.up.first_home .icons_section .item h3 { font-size: 18px; color: #646464; line-height: 1.44; font-weight: 700; }
.up.first_home .icons_section .text-blk .p_class, .up .icons_section .text-blk .p_class div { line-height: 1.44; color: #646464; }

/* .up.first_home .quote_section_wrap:before{ background-image: url('https://go.fisherfunds.co.nz/rs/616-GPX-437/images/LP_AmbitionPages_fisherfunds_quote.png'); } */
.up.first_home .quote_section h3 { line-height: 1.35; }
.up.first_home .quote_section_wrap { padding: 80px 73px 30px 70px; }

.up.first_home .quote_section h4{ line-height: 1.5; }

.up.first_home .content_lr_Section { padding: 87px 0 83px 0; }
.up.first_home .content_lr_Section .content_lr_box:last-child { margin-bottom: 0; }
.up.first_home .content_lr_Section .content_lr_text h5 { font-size: 21px; line-height: 1.47; color: #333333; margin-bottom: 10px; }
.up.first_home .content_lr_Section .content_lr_text .p_class div { line-height: 1.44; margin-bottom: 21px; }
.up.first_home .content_lr_Section .content_lr_box { max-width: 1120px; justify-content: space-between; gap: 30px; flex-wrap: nowrap; margin: 0 auto 35px auto; }
.up.first_home .content_lr_Section .content_lr_img { max-width: 517px; width: 50%; }
.up.first_home .content_lr_Section .content_lr_text { padding: 0; max-width: 517px; }
.up.first_home .content_lr_Section .content_lr_text .common_link a { line-height: 1.44; color: #218094; display: inline-flex;  align-items: center; gap: 17px; }
.up.first_home .content_lr_Section .content_lr_text .common_link svg { max-width: 25px; transition: all 0.3s ease-in-out; }
.up.first_home .content_lr_Section .content_lr_text .common_link a:hover svg { transform: translateX(5px); }
.up.first_home .content_lr_Section .content_lr_left_box .content_lr_text{max-width: 398px; }
.up.first_home .calculator_content { padding: 97px 0 74px 0; }
.up.first_home .calculator_content_inner { display: flex; justify-content: space-between; gap: 40px; background-color: #132438; padding: 80px 78px 65px 54px; border-radius: 35px; }
.up.first_home .calculator_content_left { width: 100%; max-width: 432px; margin-top: 26px; }
.up.first_home .calculator_content .head-blk h3 { font-size: 28px; line-height: 1.35; color: #74DDBC; }
.up.first_home .calculator_content_right { max-width: 545px; width: 100%; }
.up.first_home .calculator_content .text-blk { padding-top: 20px; }
.up.first_home .calculator_content .text-blk .p_class, .up .calculator_content .text-blk .p_class div, .up .calculator_content .text-blk .p_class li { color: #fff; line-height: 1.44; font-size: 18px; }
.up.first_home .calculator_content .text-blk .p_class ul { margin: 26px 0 10px 7px; }
.up.first_home .calculator_content .btn-blk { margin-top: 30px; }

.up .quote_section_wrap:before{background-image: url(https://go.fisherfunds.co.nz/rs/616-GPX-437/images/first_home_quote.png);}
.up .quote_section {
    padding: 150px 0 50px;
}

.up .image-left-text-right .text-blk{    max-width: 944px;}
/* Form Design Starts */

.up form input{}
.up form.mktoForm fieldset legend{display: none;}
.up form.mktoForm fieldset {
    border: none !important;
    width: 100%;margin-bottom: 0!important;
}
.up form.mktoForm .mktoFormCol .mktoFieldWrap {display: flex;flex-wrap: wrap;flex-direction: column;width: 100%;}
.up form.mktoForm .mktoFormRow {width: 100%;padding-bottom: 10px;}
.up form.mktoForm fieldset .mktoFormCol{width: 50%;}
.up form.mktoForm .mktoOffset {display: none;}
.up form.mktoForm .mktoLabel{padding-top: 0;padding-bottom: 5px;    width: 100% !important;    display: flex;}
.mktoForm .mktoAsterix {order: 2;color: rgba(255, 0, 0, 1)!important;}
.up form.mktoForm .mktoGutter{display: none;}
.mktoForm input[type=text], .mktoForm input[type=url], .mktoForm input[type=email], .mktoForm input[type=tel], .mktoForm input[type=number], .mktoForm input[type=date], .mktoForm textarea.mktoField, .mktoForm select.mktoField{width: 100%!important;height: 40px;    text-indent: 10px;}
.mktoForm .mktoFormCol{padding-right: 0!important;}
.up form.mktoForm fieldset .mktoFormCol:first-child{padding-right: 15px!important;}
.up form.mktoForm fieldset .mktoFormCol:nth-child(2){padding-left: 15px!important;}
.up form.mktoForm .mktoFormCol{width: 100%;}

.up form select.mktoField {
    background-color: #fff;
    border: 1px solid #74DDBC;
    border-radius: 50px;
    padding: 12px 0px;
    font-family: "Graphik", sans-serif;
    font-size: 14px;
    width: 100%;
    line-height: 1.2em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right .5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}
.up form.mktoForm{width: 100%!important;}
.up form select.mktoField option{padding: 10px;}
.up form.mktoForm .mktoHtmlText{padding-top: 10px;color: rgba(0, 0, 0, 1);font-size: 15px;line-height: 24px;width: 100%!important;    max-width: 475px;}
.up form.mktoForm .mktoHtmlText a{color: rgba(0, 0, 0, 1);font-family: "Graphik", sans-serif;}
.up form.mktoForm .mktoHtmlText a:hover{color: #218094;text-decoration: underline;}
.up form.mktoForm .mktoCaptchaDisclaimer{padding-top: 10px;font-size: 13px;line-height: 24px;color: rgba(0, 0, 0, 1);padding-right: 20px;}
.up form.mktoForm .mktoCaptchaDisclaimer a{color: rgba(0, 0, 0, 1);font-family: "Graphik", sans-serif;}
.up form.mktoForm .mktoCaptchaDisclaimer a:hover{color: #218094;text-decoration: underline;}
.up form.mktoForm .mktoButtonRow .mktoButtonWrap{margin-left: 0!important;padding-top: 20px!important;display: block;}
.up form.mktoForm .mktoButtonRow .mktoButtonWrap .mktoButton{background-color: rgba(116, 221, 188, 1);color: rgba(0, 59, 112, 1);border:1px solid rgba(116, 221, 188, 1);font-size: 16px;line-height: 26px;text-align: center;padding: 7px 16px 7px 16px;border-radius: 100px;    background-image: none;display: inline-block;font-family: "Graphik", sans-serif;}
.up form.mktoForm .mktoButtonRow .mktoButtonWrap .mktoButton:hover{background: transparent;
    border-color: #218094;
    color: #218094;}

.up .request-a-call .wrapper .right {
    width: 43%;
}
.up .request-a-call .wrapper .left {
    width: 50%;
    }

.up .request-a-call .formThankyouBox {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #fff;
    text-align: center;
    padding: 25px;
}
.up .request-a-call .formThankyouBox #thankyoumessage>*{color:#000;}
.up .request-a-call .formThankyouBox a{color:#000;}
.up .request-a-call .formThankyouBox #thankyoumessage li{color:#000;}
.up .request-a-call .formThankyouBox #thankyoumessage ul,.up .request-a-call .formThankyouBox #thankyoumessage ol{text-align: left;}

.up .pillar_section,.up .content_section,.up .request-a-call,.up.first_home .icons_section,.up.first_home .content_lr_Section,.up .quote_section,.up .ready-to-invest {
    overflow-x: hidden;
}
.up.first_home .calculator_content{overflow: hidden;}
/* Form Design Ends */