.mort-wrap .mortgage-top {
    background-color: #fff;
}
.mort-wrap .calculator-container {
    padding: 48px 56px 77px 40px !important;
}

.right-value {
    text-align: right;
}



.mort-wrap .btn{
    padding: 10px 20px;
    margin: 0 5px;
    text-decoration: none;
    width: fit-content;
    border-radius: 10px;
}
.mort-wrap .btn--dark-blue{
    background-color: var(--e-global-color-secondary);
}
.mort-wrap .btn--dark-blue a{
    color:#FFF!important;
}
.mort-wrap .btn--highlight{
    background-color: var(--e-global-color-primary);
}
.mort-wrap .btn--highlight a{
    color:var(--e-global-color-secondary);
}


.mort-wrap .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin: 0 ;
    padding: 0;
}

.col-2 {
    flex: 0 0 auto;
    width: 16.66666667%
}
.col-5 {
    flex: 0 0 auto;
    width: 41.66666667%
}
.col-7 {
    flex: 0 0 auto;
    width: 58.33333333%
}
.col-10 {
    flex: 0 0 auto;
    width: 83.33333333%
}
.col-12 {
    flex: 0 0 auto;
    width: 100%
}

.mort-wrap .mortgage-top h2 {
    text-align: center;
    margin: 30px 0 20px;
}

.mort-wrap .mortgage-top .row {
    margin: 0;
    padding-top: 0;
}

.mort-wrap .mortgage-top .row select {
    width: 100%;
}
.mort-wrap .mortgage-top span.mortgage-label {
    color: var( --e-global-color-secondary );
    display: block;
    width: 100%;
    margin-bottom: 5px;
}

.mort-wrap .mortgage-bottom {
    background-color: var( --e-global-color-secondary );
    color: #f4f2ed;
    padding: 18px 0 28px;
    text-align: center;
}

.mort-wrap .mortgage-bottom input[type="range"] {
    max-width: 180px;
    display: block;
    margin: 0 auto;
}
.mort-wrap .mortgage-bottom input[type="range"]::-webkit-slider-runnable-track {
    background: #fff;
}
.mort-wrap .mortgage-bottom input[type="range"]::-moz-range-track {
    background: #fff;
}
.mort-wrap .mortgage-bottom input[type="range"]::-webkit-slider-thumb {
    background: #fff;
}
.mort-wrap .mortgage-bottom input[type="range"]::-moz-range-thumb {
    background: #fff;
}
.mort-wrap .mortgage-bottom input[type="range"]::-ms-fill-upper {
    background: #fff;
}
.mort-wrap .mortgage-bottom input[type="range"]::-ms-thumb {
    background: #fff;
}
.mort-wrap .mortgage-bottom input[type="range"]:focus::-ms-fill-lower {
    background: #fff;
}
.mort-wrap .mortgage-bottom .row > div.saved-multiple span.saved-value,
.mort-wrap .mortgage-bottom h3 {
    color: #fff;
    font-size: 27px;
    margin: 0;
}
.mort-wrap .mortgage-bottom span {
    max-width: 180px;
    display: block;
    margin: 20px auto;
}
.mort-wrap .mortgage-bottom .repayment-amount,
.mort-wrap .mortgage-bottom span.range-slide {
    display: inline-block;
}
.mort-wrap .mortgage-bottom .button-white a {
    color: #000 !important;
}
.mort-wrap .mort-wrap {
    float: left;
    width: 100%;
    padding: 0 8px;
    border-radius: 5px;
}
.mort-wrap .mortgage-calculate-button {
    display: none;
}
.mort-wrap .mortgage-top {
    border-radius: 0 5px 0 0;
    box-shadow: 2px 2px 5px #ececec;
}
.mort-wrap .mort-wrap select {
    border: none;
    border-bottom: 1px #000 solid;
    background: 0 0;
    border-radius: 0;
}
.mort-wrap .mort-wrap a.get-rate {
    color: #00bce7;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 2px 2px 8px #888;
    padding: 11px 18px;
    display: none;
    margin-top: 14px;
}
.mort-wrap .mort-wrap a.get-rate:hover {
    text-decoration: none;
}
.mort-wrap .radio-wrap {
    margin-top: 14px;
    display: none;
}
.mort-wrap .mortgage-bottom {
    padding: 25px 30px;
    border-radius: 0 0 5px 5px;
    box-shadow: 2px 2px 5px #ececec;
}
.mort-wrap .mortgage-bottom h4{
    color:#FFF;
    border-bottom: 1px solid #f4f2ed;
    margin-top: 18px!important;
    margin-bottom: 0;
    padding-bottom: 10px;
}
.mort-wrap .mortgage-bottom .row {
    max-width: 9999px;
    display: flex;
    padding-top: 8px;
    margin-top: 8px;
    border-top: 1px solid #f4f2ed;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}
.mort-wrap .mortgage-bottom .row.border-top-green {
    border-top: 1px solid var(--e-global-color-primary);;
}
.mort-wrap .mortgage-bottom .row:first-child {
    padding-top: 0;
}
.mort-wrap .mortgage-bottom .row:first-of-type {
    border: none;
    margin-top: 0;
}

.mort-wrap .mortgage-bottom .row > div:first-of-type {
    text-align: left;
}
.mort-wrap .mortgage-bottom span {
    margin: 0;
}
.mort-wrap .hidden-fields {
    display: none !important;
}
.mort-wrap .mortgage-top span.mortgage-label {
    text-transform: capitalize;
}
.mort-wrap .mortgage-top {
    box-shadow: 2px 2px 13px #d0d0d0 !important;
    border-radius: 5px !important;
    margin-bottom: 35px;
    margin-top: 35px;
}
.mort-wrap .mortgage-top .calculator_form .row .range-slide {
    max-width: 200px;
}
.mort-wrap .mort-wrap {
    padding: 0 0;
}
.mort-wrap .mort-wrap select {
    border-bottom: none !important;
}
.mort-wrap .mortgage-top .row > .col-lg-4 .row .col-12 {
    border-bottom: 1px solid rgba(30, 62, 61, 0.2);
    margin: 0 auto;
    margin-bottom: 25px;
    padding-bottom: 5px;
}
.mort-wrap .mortgage-top .row > .col-lg-4 .row .col-12 .borrowing-amount,
.mort-wrap .mortgage-top .row > .col-lg-4 .row .col-12 .interest-rate,
.mort-wrap .mortgage-top .row > .col-lg-4 .row .col-12 .year-term {
    padding-left: 0;
}
.mort-wrap .mortgage-top input[type="text"],
.mort-wrap .mortgage-top select {
    border: none;
    outline: 0;
}
.mort-wrap .mortgage-bottom {
    box-shadow: none !important;
    border-radius: 0 !important;
    height: 100%;
    padding: 30px 58px 58px 58px;
}

.mort-wrap .mortgage-top > .row > .col-lg-4 {
    padding-bottom: 35px;
    padding-right: 30px;
    padding-top: 15px;
}
.mort-wrap .mort-wrap input,
.mort-wrap .mort-wrap textarea {
    font-size: 22px;
}
.mort-wrap .extra-sign {
    font-size: 14px;
    float: right;
}
.mort-wrap .mortgage-bottom .row > div.saved-multiple span.saved-value,
.mort-wrap .mortgage-bottom h3 {
    color: var(--e-global-color-accent);
    font-size: 36px;
    margin: 0;
    text-align: left;
    border-bottom: solid 1px #f4f2ed;
    padding-bottom: 20px;
}
.mort-wrap .mortgage-bottom h4 {
    border-bottom: 1px solid #f4f2ed;
    margin-top: 18px;
    padding-bottom: 10px;
    margin-bottom: 0;
}
.mort-wrap span.dollar-sign {
    font-size: 14px;
    margin-right: 15px;
}
.mort-wrap .mortgage-bottom .right-label {
    color: #fff;
    text-transform: capitalize;
}
.mort-wrap .final-results {
    border-top: solid 1px;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 8px;
}
.mort-wrap .mortgage-bottom > .row > .col-md-7 > .final-results > .row,
.mort-wrap .mortgage-bottom > .row > .col-xl-7 > .row {
    padding: 17px 15px;
    margin-top: 0;
}
.mort-wrap .mortgage-bottom .row.toptip > div {
    text-align: left;
    color: #fff;
}
.mort-wrap .mortgage-bottom .row.toptip > div p {
    color: #fff;
    margin-bottom: 0;
}
.mort-wrap .mortgage-bottom .row.toptip > div p.sub-body {
    margin-bottom: 10px;
}
.mort-wrap .mortgage-bottom .row.toptip {
    border-top: solid 1px;
    border-bottom: solid 1px;
    margin: 32px 0 25px 0;
    padding: 15px 0;
    justify-content: space-around;
}
.mort-wrap .mortgage-top select.frequency-option {
    -webkit-appearance: unset;
    background: url(../../images/calc/dropdown-calc.png) no-repeat right center;
    color: #666;
    padding: 0;
}
.mort-wrap .mortgage-bottom .row.wrapper-button {
    border-top: none;
    margin: 0;
}
.mort-wrap .mortgage-bottom .row.wrapper-button .button-white a {
    float: right;
}
.mort-wrap .mortgage-bottom .row.wrapper-button .button-white a:hover {
    color: #fff !important;
}
.mort-wrap .mortgage-bottom .row > div.saved-multiple {
    text-align: left;
    max-width: calc(100% - 35px);
    margin-left: auto;
    border: 1px solid #f4f2ed;
    border-radius: 25px;
    display: flex;
    gap: 5px;
    flex-direction: column;
    justify-content: center;
    padding: 30px 0 30px 30px
}
.mort-wrap .mortgage-top select.frequency-option {
    width: 100%;
}
.mort-wrap .mortgage-bottom .final-results .row {
    padding: 8px 15px 8px 0;
    margin: 0 !important;
}
.mort-wrap .mortgage-bottom .row > div.saved-multiple span.saved-text {
    display: block;
    max-width: 200px;
}
.mort-wrap .mortgage-bottom .row > div.saved-multiple span.saved-value {
    color: var(--e-global-color-accent);
}
.mort-wrap .mortgage-bottom .row > div.lamp {
    background: url('data:image/svg+xml,<svg width="37" height="37" viewBox="0 0 37 37" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.6117 27.7197V31.7001C14.6117 33.5779 16.134 35.1001 18.0117 35.1001C19.8895 35.1001 21.4117 33.5779 21.4117 31.7001V27.7197M18.0117 1.1001V2.8001M2.71172 18.1001H1.01172M6.96172 7.0501L5.94155 6.02993M29.0617 7.0501L30.0821 6.02993M35.0117 18.1001H33.3117M28.2117 18.1001C28.2117 23.7334 23.645 28.3001 18.0117 28.3001C12.3784 28.3001 7.81172 23.7334 7.81172 18.1001C7.81172 12.4668 12.3784 7.9001 18.0117 7.9001C23.645 7.9001 28.2117 12.4668 28.2117 18.1001Z" stroke="%23F0B54F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    width: 37px;
    height: 37px;
}
.mort-wrap .tooltip-icon {
    background: url(../../images/calc/tooltip-icon.png) no-repeat;
    width: 15px;
    height: 15px;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}
.mort-wrap .tooltip-text {
    font-size: 14px;
    position: absolute;
    background: #f1f1f1;
    padding: 15px;
    max-width: 180px;
    border-radius: 5px;
    box-shadow: 0 0 5px #b3b3b3;
    right: -19px;
    z-index: 9;
    display: none;
}
.mort-wrap .tooltip-text:before {
    top: -15px;
    content: "";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid #f1f1f1;
    position: absolute;
    right: 16px;
}
.mort-wrap .no-result {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #fff;
    z-index: 9;
    align-content: center;
    justify-content: center;
    flex-flow: column;
}
.mort-wrap .mortgage-bottom .no-result img {
    width: 100%;
    max-width: 147px;
    text-align: center;
    margin: 0 auto;
}
.mort-wrap .mortgage-bottom .no-result h4 {
    color: #00bce7;
    font-size: 20px;
    font-weight: 300;
    line-height: 25px;
    letter-spacing: 0.91px;
    border-bottom: 0;
    margin: 0 auto;
}
.mort-wrap span.helper_label {
    color: #ff8080;
    font-size: 14px;
    float: left;
    margin: 15px 0 0 0;
}
.mort-wrap p.interest-text {
    margin-bottom: 25px!important;
}

.mort-wrap a.close-tooltip {
    position: absolute;
    right: 10px;
    top: 0;
}
.mort-wrap .mortgage-bottom .row.wrapper-button .button-white a {
    color: #00bce7 !important;
}
.mort-wrap .result-wrapper > .row > .col-xl-7 > .row {
    padding-right: 15px;
    padding-top: 8px;
}
.mort-wrap .mortgage-bottom .result-wrapper span {
    max-width: 100%;
}




@media (max-width: 991.98px) {
    .mort-wrap .calculator-container {
        padding: 30px !important;
    }
}
@media (max-width: 767.98px) {
    .mort-wrap .wrapper-button .btn {
        display: block;
        height: 40px;
        width: 100%;
    }
}

@media (min-width: 768px) {
    .mort-wrap .mortgage-top h2 {
        display: none;
    }
}

@media (max-width: 767px) {
    .mort-wrap .mortgage-top .row > div:first-of-type {
        margin-bottom: 26px;
        text-align: center;
    }
}


@media (max-width: 767px) {
    .mort-wrap .mortgage-top span.mortgage-label {
        text-align: center;
    }
}

@media screen and (min-width: 768px) {

    .mort-wrap .mortgage-bottom .row.wrapper-button .button-white a.back-button {
        display: none;
    }
}
@media screen and (max-width: 1200px) {
    .mort-wrap .mortgage-bottom .row > div.saved-multiple {
        margin: 0 auto;
        margin-top: 35px;
        padding: 30px !important;
    }
}
@media screen and (max-width: 992px) {
    .mort-wrap .mortgage-top input[type="text"],
    .mort-wrap .mortgage-top select {
        width: 75%;
    }
    .mort-wrap .mortgage-bottom {
        display: none;
    }
    .mort-wrap .result-calculate {
        display: block;
        margin: auto;
    }
}
@media screen and (max-width: 768px) {
    .mort-wrap .mortgage-top input.interest-rate,
    .mort-wrap .mortgage-top input.year-term.range-slide {
        width: 67%;
    }
    .mort-wrap .mortgage-bottom {
        padding-left: 55px;
    }
}
@media screen and (max-width: 767px) {
    .mort-wrap .tooltip-text {
        top: 30px;
    }
    .mort-wrap .mortgage-bottom .row.toptip {
        padding-bottom: 18px;
        justify-content: space-around;
    }
    .mort-wrap .mortgage-bottom .row > div.saved-multiple {
        max-width: 243px;
        background-size: 100%;
        text-align: center;
        padding: 0 !important;
        display: flex;
        flex-flow: column;
        align-items: center;
        align-content: center;
        justify-content: center;
        height: 193px;
    }
    .mort-wrap .mort-wrap input[type="text"] {
        font-size: 20px;
    }
    .mort-wrap .mortgage-top span.mortgage-label {
        text-align: left;
    }
    .mort-wrap .mortgage-top select.frequency-option {
        width: 100%;
    }
    .mort-wrap .no-result {
        display: none;
    }
    .mort-wrap .mortgage-top {
        padding-left: 0;
    }
    .mort-wrap .mortgage-top .row > div:first-of-type {
        text-align: left;
    }
    .mort-wrap .mortgage-bottom h4 {
        max-width: 100%;
    }
    .mort-wrap .mortgage-top > .row > .col-lg-4 {
        padding-left: 30px;
    }
    .mort-wrap .mortgage-top .row > div:first-of-type {
        margin-bottom: 0;
    }
    .mort-wrap .calculator_form .result-calculate a,
    .mort-wrap .calculator_form .result-calculate a:active {
        width: 100%;
        display: block;
        text-align: center;
        cursor: pointer;
    }
    .mort-wrap .mortgage-bottom {
        padding-left: 20px;
        padding-right: 20px;
    }
    .mort-wrap .mortgage-bottom .row.wrapper-button .button-white {
        width: 100%;
    }
    .mort-wrap .mortgage-bottom .row.wrapper-button .button-white a {
        width: 100%;
        max-width: 100%;
        text-align: center;
        color: #00bce7 !important;
    }
    .mort-wrap .mortgage-bottom .row.wrapper-button .button-white a.back-button {
        padding: 7px 8px 7px 55px !important;
        background-color: #00bce7 !important;
        color: #fff !important;
        background-position: left !important;
        display: block;
        margin-top: 10px;
        width: 100%;
        text-align: center;
        max-width: 100%;
        background-image: url(../../images/calc/backbg@2x.png) !important;
    }
    .mort-wrap .calculator_form .result-calculate a.disable,
    .mort-wrap .calculator_form .result-calculate a.disable:active {
        -webkit-filter: grayscale(1);
        pointer-events: unset;
    }

    .mort-wrap .btn{
        width: 100%;
    }
    .mort-wrap .apply-mortgage{
        display: flex!important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px 20px;
    }
}
@media screen and (max-width: 580px) {
    .mort-wrap .mortgage-bottom .row.wrapper-button .button-white a {
        float: right;
        max-width: 100% !important;
        width: 100%;
    }
    .mort-wrap .mortgage-bottom .row > .right-value span {
        font-size: 24px;
    }
}

@media(min-width: 768px) {

    .col-md-12 {
        flex: 0 0 auto;
        width: 100%
    }
}
@media(min-width: 992px) {
    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.33333333%
    }
    .col-lg-8 {
        flex: 0 0 auto;
        width: 66.66666667%
    }
}
@media(min-width: 1200px) {
    .offset-xl-1 {
        margin-left: 8.33333333%
    }
    .col-xl-4 {
        flex: 0 0 auto;
        width: 33.33333333%
    }

    .col-xl-7 {
        flex: 0 0 auto;
        width: 58.33333333%
    }
}