/* Header and footer */
.site-header {
    background: var(--bg-color);
}

.site-header nav,
.site-header .menu-icon {
    display: none;
}

.mortgage-form.heading h2, .mortgage-wrapper h2 {
	color:var(--primary-color);
}
.site-header .logo {
    display: block;
    width: 150px;
    margin-right: auto;
    margin-left: auto;
}

/*.site-footer {
    background: #fff;
}*/

.site-footer-address {
    max-width: 1105px;
    padding: 9px 0 0;
}

.site-footer .site-footer-blocks {
    display: none;
}

@media screen and (max-width: 768px) {
    .site-footer {
        padding-top: 54px;
    }
}

@media screen and (min-width: 960px) {
    .site-header {
        background: #fff;
    }

    .site-header .logo {
        display: inline-block;
        width: 189px;
        margin-left: 16px;
    }
}

@media screen and (min-width: 1222px) {
    .site-header .logo {
        margin-left: 0;
    }
}

/* General */
.mortgage-wrapper, .mortgage-wrapper.results {
    background: var(--bg-color);
}

.mortgage-form {
    color: #2b4054;
}

.mortgage-form .error {
    border: 0;
    background: none;
    margin: 9px 0;
    padding: 0;
    margin-left: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary-color);
    flex: 1 0 100%;
    border-radius: 0;
}

.mortgage-form .error p {
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary-color);
}

.mortgage-form .suggestion {
    color: #da0707;
    font-size: 0.75em;
    padding: 1em 0;
}

.mortgage-form .suggestion span {
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

.mortgage-form.purchase.property {
    min-height: auto;
}

/* Progress gauge */
.title-gauge-block {
    background: #fff;
    padding: 0 10px 24px;
}

.title-gauge-block .title {
    position: relative;
    max-width: 1202px;
    margin: 0 auto;
}

.title-gauge-block .title .back {
    display: none;
    position: absolute;
    top: 50%;
    margin-top: -25px;
    font-size: 14px;
    padding-left: 12px;
    background: var(--small-arrow-left) 0 50% no-repeat;
}

.page-name .back {
    height: 20px;
    width: 20px;
    position: absolute;
    top: 50%;
    left: -75px;
    font-size: 0;
    background: var(--small-arrow-left) 50% 50% no-repeat;
}

.title-gauge-block h2 {
    text-align: center;
}

.gauge {
    margin-top: 15px;
    position: relative;
}

.gauge-progress {
    width: 100%;
    height: 10px;
    background: #e8e8e8;
}

.gauge-progress .progress {
    height: 10px;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.5s;
}

.page-name {
    margin: 0;
    font-size: 0.625em;
    padding: 0;
    -webkit-display: flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.page-name li {
    position: relative;
    font-weight: 500;
    -webkit-flex: 0 1 auto;
    flex: 1 1 20%;
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
    color: #23282b;
    display: none;
}

.page-name li.selected {
    display: block;
}

.page-name .name {
    position: relative;
    margin: 4px 0 2px;
    display: inline-block;
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    text-align: center;
}

.page-name .name a {
    color: unset;
}

.page-name .name a:hover {
    text-decoration: underline;
}

.page-name .time-left {
    display: none;
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    text-align: center;
}

.page-name .selected .name {
    font-weight: 700;
}

.page-name .selected .time-left {
    display: block;
}

.title-gauge-block h1 {
    margin: 1em 0 0;
    font-weight: 300;
    font-size: 2.625em;
    /* 40px */
    color: var(--heading-rate-found);
    text-align: center;
}

.title-gauge-block .title-description {
    margin-bottom: 0;
    font-weight: 700;
    color: #23282b;
    text-align: center;
}

/* Page title */
.mortgage-form>h2 {
    font-family: inherit;
    font-size: 1.25em;
    color: inherit;
    font-weight: 600;
    margin: 22px 16px;
}

.mortgage-form>h2+p {
    font-size: 0.875em;
    line-height: 1.42857;
    color: #2c4055;
    margin: 22px 16px 0;
}

/* Footer */

.form-footer {
    padding: 16px;
    padding-top: 50px;
}

.form-footer {
    background: var(--bg-color);
}

.form-footer p,
.lender-logos {
    margin: 0 auto;
    max-width: 320px;
}

.form-footer p {
    text-align: center;
    color: #c4c7cd;
    color: rgba(181, 185, 193, 0.8);
}

.section-carousel,
.arrow-container {
    margin: 0 30px;
    max-width: 840px;
}

.section-carousel {
    overflow: auto;
}

@media screen and (min-width: 1025px) {
    .section-carousel {
        overflow: hidden;
    }
}

.section-carousel img {
    max-width: none;
}

.arrow-container {
    margin: 0 auto;
    position: relative;
    height: 0;
}

.arrow {
    border-radius: 50%;
    background: transparent;
    transition: background 300ms ease-in-out, opacity 0.4s;
    width: 30px;
    height: 60px;
    cursor: pointer;
}

.arrow.disabled {
    cursor: default;
    opacity: 0;
    pointer-events: none;
}

.arrow.left,
.arrow.right {
    position: absolute;
}

.arrow.left::before,
.arrow.left::after,
.arrow.right::before,
.arrow.right::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 4px;
}

.arrow.left {
    left: 0;
}

.arrow.right {
    right: 0;
}

@media screen and (min-width: 560px) {
    .arrow.left {
        left: -30px;
    }

    .arrow.right {
        right: -30px;
    }
}

.form-footer .arrow.left::before,
.form-footer .arrow.right::before {
    top: 25px;
}

.form-footer .arrow.left::after,
.form-footer .arrow.right::after {
    top: 30px;
}

.arrow.left::before {
    left: 10px;
    transform: rotate(135deg);
}

.arrow.left::after {
    left: 10px;
    transform: rotate(45deg);
}

.arrow.right::before {
    right: 10px;
    transform: rotate(225deg);
}

.arrow.right::after {
    right: 10px;
    transform: rotate(135deg);
}

@media screen and (min-width: 560px) {

    .arrow-container,
    .section-carousel {
        margin-right: 50px;
        margin-left: 50px;
    }

    .arrow {
        width: 35px;
        height: 60px;
    }

    .arrow.left::before,
    .arrow.left::after,
    .arrow.right::before,
    .arrow.right::after {
        width: 16px;
        height: 4px;
    }

    .form-footer .arrow.left::before,
    .form-footer .arrow.right::before {
        top: 22px;
    }

    .form-footer .arrow.left::after,
    .form-footer .arrow.right::after {
        top: 30px;
    }

    .arrow.left::before,
    .arrow.left::after {
        left: 8px;
    }

    .arrow.right::before,
    .arrow.right::after {
        right: 8px;
    }
}

@media screen and (min-width: 690px) {
    .title-gauge-block .title .back {
        display: block;
    }

    .page-name .back {
        display: none;
    }

    .page-name li {
        display: block;
    }
}

@media screen and (min-width: 850px) {

    .arrow-container,
    .section-carousel {
        margin-right: auto;
        margin-left: auto;
    }

    .arrow-container {
        max-width: 880px;
    }
}

/* Form layout */
.mortgage-form {
    position: relative;
    margin: 16px auto 0;
    box-sizing: border-box;
    padding: 30px 20px 0;
    max-width: 1202px;
    background: var(--bg-form);
}

.page-icon {
    max-width: 590px;
    margin: 0 auto 24px;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: var(--hover-color);
    text-transform: uppercase;
    text-align: left;
}

.page-icon-inner {
    display: inline-block;
    text-align: center;
}
.page-icon-inner>img {
    height: 26px;
    width: 26px;
}
.page-icon .page-icon-inner div {
    margin-top: 6px;
}

.mortgage-form fieldset {
    max-width: 590px;
    padding: 0;
    box-sizing: border-box;
    border: none;
    margin: 0 auto;
}

.mortgage-form .field {
    position: relative;
    margin-bottom: 25px;
}

.mortgage-form .field .saved::before,
.mortgage-form .field.saved::before {
    content: "";
    display: block;
    position: absolute;
    left: -18px;
    margin-top: 19px;
    width: 14px;
    height: 10px;
    background: var(--small_checkmark_opaque);
}

.mortgage-form .field.saved::before {
    margin-top: 25px;
}

.mortgage-form .field.radio .saved::before {
    margin-top: 0;
}

_:-ms-fullscreen,
:root .mortgage-form .field.radio .saved::before {
    margin-top: -4px;
}

.mortgage-form label {
    display: block;
    padding-right: 30px;
    box-sizing: border-box;
    margin-bottom: 15px;
    color: #3a4348;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
}

.mortgage-form label .sub-label {
    display: block;
    font-weight: 400;
    font-size: 14px;
    margin-top: 2px;
}

.mortgage-form .mortgage-total label {
    margin: 0;
    padding: 0;
    color: #424d52;
}

.mortgage-total {
    display: flex;
    align-items: baseline;
}

/* Help boxes */
.mortgage-form .help-trigger {
    cursor: pointer;
    text-align: center;
    text-indent: 18px;
    overflow: hidden;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 18px;
    height: 18px;
    line-height: 18px;
    border: 1px solid var(--help-icon-color);
    border-radius: 10px;
    background: var(--question-mark) center center no-repeat;
    background-size: 18px 18px;
}

/* Finished Here */
.help {
    padding: 31px 22px;
    position: absolute;
    z-index: 99;
    top: 0;
    left: 0;
    background: var(--tooltip-bg);
    border: 1px solid #272e30;
    display: none;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    color: #272e30;
    line-height: 24px;
}

.close-help {
    display: block;
    width: 17px;
    height: 17px;
    position: absolute;
    top: 11px;
    right: 20px;
    border: 1px solid #979797;
    border-radius: 50%;
    cursor: pointer;
    background: #fff var(--close-icon) 50% 50% no-repeat;
}

.mortgage-form .help p {
    margin: 0;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    color: #272e30;
    line-height: 24px;
}

.mortgage-form .help p+p {
    margin-top: 1em;
}

.mortgage-form .actions {
    text-align: center;
    padding: 0 10px 0;
    margin: 0 -20px;
}

/*.mortgage-wrapper .mortgage-form .actions {
  background: #eef7f6;
}*/

.mortgage-form .actions .call-to-action {
    display: inline-block;
    width: 100%;
    max-width: 590px;
    border: 1px solid transparent;
    box-shadow: none;
    font-size: 1em;
    background-color: var(--secondary-color);
}

.mortgage-form .actions.rate-details-c {
    padding-top: 20px;
    padding-bottom: 20px;
}

.mortgage-form .actions .call-to-action:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.mortgage-form .actions .call-to-action.disabled,
.mortgage-form .actions .call-to-action.prevent {
    background-color: #cdcece;
    color: #fff;
    cursor: not-allowed;
}

.mortgage-form .actions .disclaimer {
    font-size: 0.625em;
    text-align: center;
    margin: 20px auto 0;
    max-width: 590px;
    width: 100%;
}

/* Notes */
.mortgage-form .note-wrapper {
    text-align: center;
}

.mortgage-form .note {
    width: 100%;
}

.mortgage-form .note .notice-trigger {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}

.notice-trigger {
    cursor: pointer;
}

.mortgage-form .note .notice-trigger:hover {
    text-decoration: underline;
}

.mortgage-form .note p {
    font: inherit;
    margin: 0;
}

.mortgage-form .note p+p {
    margin-top: 0.75em;
}

/* Form progression */
[data-skip],
[data-skip].progression.show {
    display: none;
}

/* Radio */
.radio .options {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
    font-size: 1em;
}

.radio .options li {
    margin: 0 37px 15px 0;
}

.radio .options li .icon {
    width: 20px;
    height: 20px;
    margin-right: 16px;
    border-radius: 50%;
    border: 1px solid #979797;
    background: #ffffff;
}

.radio .options input[type="radio"] {
    display: none;
}

.radio .options label {
    margin-bottom: 0;
    display: block;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    color: #1e3244;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.radio .options label span {
    display: block;
}

.radio .options input[type="radio"]:checked~.icon {
    background: var(--small_checkmark_opaque) 50% 50% no-repeat;
}

/* Radio buttons */
.radio-buttons .options {
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
    font-size: 1em;
}

.radio-buttons .options li {
    padding: 0;
    margin-bottom: 16px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    background: #ffffff;
    box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.17);
}

.date-month .fields>div {
    margin-bottom: 16px;
}

.rate-term .options {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.rate-term .options li {
    width: calc(50% - 11px);
}

.radio-buttons .options input[type="radio"] {
    position: absolute;
    left: 10px;
    top: 14px;
    opacity: 0;
    z-index: -1;
}

.radio-buttons .options label {
    display: block;
    background: #fff;
    border: 1px solid #cdcece;
    border-radius: 6px;
    height: 46px;
    line-height: 46px;
    padding: 0 8px;
    font-size: 0.875em;
    color: inherit;
    font-weight: 500;
    text-align: center;
    margin: 0;
    -webkit-transition: color 0.2s, border-color 0.2s, background-color 0.2s;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
    cursor: pointer;
}


.radio-buttons .options li:hover label {
    border-color: transparent;
    font-weight: 700;
    color:#FFF;
}

.radio-buttons .options input[type="radio"]:checked+label {
    border-color: var(--hover-color);
    font-weight: 700;
}

input[type="checkbox"]:checked+label::before,
input[type="checkbox"][name="consent"]:checked+label::before,
input[type="checkbox"][id="subscribe"]:checked+label::before {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

input[type="checkbox"]+label::before,
input[type="checkbox"]+figure::before {
    content: "";
    display: block;
    position: absolute;
    left: 0px;
    top: 4px;
    width: 16px;
    height: 16px;
    background-color: #f5f8f9;
    border: 1px solid #dce4e6;
    border-top-color: rgb(220, 228, 230);
    border-right-color: rgb(220, 228, 230);
    border-bottom-color: rgb(220, 228, 230);
    border-left-color: rgb(220, 228, 230);
    -webkit-transition: background 0.2s;
    transition: background 0.2s;
}

.bell-icon input[type="checkbox"]+label::before {
    left: calc(50% - 8px);
    top: calc(50% - 8px);
    height: 14px;
    width: 14px;
}

input[type="checkbox"][name="consent"]+label::before {
    border-top-color: rgb(251, 48, 95);
    border-right-color: rgb(251, 48, 95);
    border-bottom-color: rgb(251, 48, 95);
    border-left-color: rgb(251, 48, 95);
}

input[type="checkbox"]:checked+label::after {
    content: "";
    display: block;
    position: absolute;
    left: 0px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--form-arrow);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 12px;
}

.bell-icon input[type="checkbox"]:checked+label::after {
    left: 17px;
    top: 17px;
}

div.checkbox-wrapper>input[type="checkbox"] {
    position: absolute;
}

input[type="checkbox"] {
    width: 28px;
    margin: 0;
    padding: 0;
    opacity: 0;
}

input[type="checkbox"]+label {
    font-size: .725em;
    display: block;
    padding-left: 24px;
    line-height: 24px;
    padding-right: 16px;
}

.signup-weekly {
    margin: 10px 0 0;
    display: flex;
    position: relative;
}

.signup-weekly label {
    font-weight: 500;
}

/* Yes/No options are different than other radio options */
@media screen and (min-width: 360px) and (max-width: 1221px) {
    .lives-at-property .options {
        overflow: hidden;
        max-width: none;
    }

    .lives-at-property .options li {
        float: left;
        width: 135px;
        margin: 0 0 0 16px;
    }
}

/* Text type inputs and dropdowns */

.mortgage-form input[type="text"],
.mortgage-form input[type="tel"],
.mortgage-form input[type="email"],
.mortgage-form select {
    width: 100%;
    box-sizing: border-box;
    height: 48px;
    line-height: 46px;
    font-size: 1em;
    color: inherit;
    font-family: inherit;
    width: 100%;
    max-width: none;
    box-shadow: none;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    background-color: #fff;
}

.mortgage-form input[type="text"]::placeholder,
.mortgage-form input[type="tel"]::placeholder,
.mortgage-form input[type="email"]::placeholder {
    font-weight: 400;
}

.mortgage-form input[type="text"],
.mortgage-form input[type="tel"],
.mortgage-form input[type="email"] {
    font-weight: 700;
}

.mortgage-form input[type="text"]:focus,
.mortgage-form input[type="tel"]:focus,
.mortgage-form input[type="email"]:focus,
.mortgage-form select:focus {
    border-color: var(--primary-color);
    outline: 0;
}

.has-error input[type="text"],
.has-error input[type="tel"],
.has-error input[type="email"],
.has-error select,
.has-error input[type="text"]:focus,
.has-error input[type="tel"]:focus,
.has-error input[type="email"]:focus,
.has-error select:focus,
input[type="text"]:invalid,
input[type="tel"]:invalid,
input[type="email"]:invalid,
select:invalid {
    border-color: #da0707;
}

.mortgage-form select {
    border-radius: 4px;
    border: solid 1px #e8e8e8;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.16);
}

.mortgage-form select:checked {
    font-weight: 700;
}

/* Money inputs */

.money .input {
    position: relative;
}

.money .double-input {
    display: flex;
    flex-wrap: wrap;
}

.money .double-input .first-input {
    flex: 1 0 calc(100% - 128px);
}

.money input[type="tel"] {
    padding-left: 42px;
}

.money .input::before {
    content: "$";
    position: absolute;
    z-index: 1;
    top: 8px;
    left: 1px;
    width: 32px;
    height: 0;
    padding: 16px 0;
    text-align: center;
    line-height: 0;
    font-size: 1.125em;
    font-weight: 600;
    border-right: 1px solid #cdcede;
}

/* Downpayment */
.downpayment>label,
.downpayment .error {
    width: 100%;
    flex: 1 1 auto;
}

.downpayment .input label,
.downpayment .input label {
    margin: 0;
    overflow: hidden;
    text-indent: -9999px;
    height: 0;
}

.downpayment .input.percent {
    width: 112px;
    flex: 0 0 auto;
    margin-left: 16px;
}

.downpayment .percent::before {
    font-size: 1em;
}

.downpayment .percent input[type="tel"] {
    padding-left: 8px;
    padding-right: 42px;
    text-align: center;
}

.downpayment .percent::before {
    content: "%";
    left: auto;
    right: 1px;
    border-right: none;
    border-left: 1px solid #cdcede;
}

.alt-text {
    display: none;
}

/* Autofill fields */

@keyframes rotate {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

.autofill {
    position: relative;
    z-index: 1;
}

.autofill .input {
    position: relative;
}

.--loading-- {
    position: relative;
}

.--loading--::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 32px;
    transform-origin: center;
    animation: 0.7s linear infinite rotate;
    box-sizing: border-box;
    width: 24px;
    height: 24px;
    border: 4px solid;
    border-color: #00c2b8 #ccc #ccc;
    border-radius: 12px;
    margin-top: -12px;
}

.--suggestion-- {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #eaeaea;
    z-index: 1;
}

.--item-- {
    display: block;
    cursor: pointer;
    padding: 0.75em;
    font-size: 1em;
}

.--item--:hover {
    background-color: #f0f0f0;
}

/* AddressComplete */

.address-complete.closed {
    display: none;
}

.pcamanual a {
    font-weight: 600;
    line-height: 30px;
    text-decoration: underline;
    color: blue;
    margin: 0 1em;
}

/* Date-month inputs */
.date-month .month label,
.date-month .year label {
    margin: 0;
    overflow: hidden;
    text-indent: -9999px;
    height: 0;
}

.date-month input[type="tel"] {
    text-align: center;
}

/* Mortgage total */
.mortgage-total.progression {
    display: block;
    opacity: 1;
    transition: none;
    transform: none;
    position: static;
}

.mortgage-total .wrapper {
    margin-left: 8px;
}

.mortgage-total .total {
    padding-bottom: 2px;
    font-weight: 700;
    color: #202426;
    border-bottom: 1px solid #d8d8d8;
}

.mortgage-total .notice {
    font-size: 0.75em;
    max-width: 200px;
    line-height: 1.5;
    margin-top: 10px;
}

.mortgage-total .notice:empty {
    display: none;
}

.do-not-show {
    display: none;
}

/*******************/
/** Media queries **/
/*******************/

@media screen and (min-width: 1222px) {
    .mortgage-wrapper {
        margin-top: 76px;
    }

    .mortgage-form .error {
        margin-left: 0;
    }

    .mortgage-form>h2 {
        margin-top: 0;
        padding-top: 16px;
    }

    .mortgage-total .notice {
        font-size: 0.875em;
        max-width: 280px;
    }
}

.signup-icon .bell-icon {
    height: 50px;
    min-width: 50px;
    width: 50px;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    background-size: contain;
}

.signup-icon .bell-icon input+span {
    display: inline-block;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-image: var(--bell-inactive);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

.signup-icon .bell-icon input[type="checkbox"]:checked+span {
    background-image: var(--bell-active);
}

.signup-icon .signup-icon-wrapper {
    display: flex;   
    justify-items: center;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: auto;
    height: auto;
    margin: auto;
    font-size: 0.55rem;
    background: transparent;
    border:none;
    padding: 10px;
}

.signup-icon {
	position:relative;
}

.info-icon-trigger .info-icon-text {
    position: absolute;
    opacity: 1;
    display: block;
    left: 10px;
    top: 100%;
    width: 95%;
    z-index: 2;
    box-sizing: border-box;
    border: 1px solid var(--primary-color);
    padding: 5px 9px;
    display: none;
    opacity: 0; 
    background: #fff;       
    transition: all 1s linear;       
}

.info-icon-text::before {
    position: absolute;
    width: 2em;
    height: 2em;    
    margin-top: -2.05em;
    margin-left: -1em;
    left: 50%;
    top: 8px;
    background: #FFF;
    border-left: 1px solid var(--primary-color);
    border-top: 1px solid var(--primary-color);
    content: "";
    transform: rotate(45deg);
    z-index: 1;
}

@media screen and (min-width: 1000px) {

    /* Progress gauge */
    .mortgage-form {
        padding-top: 35px;
        padding-bottom: 35px;
    }
    /* background color for desktop only */
    .radio-buttons .options li:hover label {
        background-color: var(--hover-color);
        color: #fff;
    }
    .gauge {
        max-width: 1202px;
        margin-left: auto;
        margin-right: auto;
    }

    .page-name li {
        color: #23282b;
        position: relative;
    }

    /* Form */
    .mortgage-form>h2 {
        font-size: 1.875em;
    }

    .page-icon,
    .signup-icon {
        position: absolute;
        top: 24px;
        left: 0;
        width: calc((100% - 590px) / 2);
        text-align: center;
    }
  .section-carousel img {
    max-width: 100%;
  }
  .mortgage-form .field .saved::before {
    left: -22px;
  }

    .signup-icon .signup-icon-wrapper {
        flex-direction: column;
        justify-content: space-evenly;
	    align-items: center;
        width: 110px;
	    height: 110px;
	    margin: auto;
	    font-size: .55rem;
	    background: #eee;
	    border-radius: 50%;
    }

    .mortgage-form .signup-icon {
        right: -55px !important;
        left: auto;
        top: -26px;
        z-index:99;
    }
    
    .info-icon-text::before  {    
	    margin-top: -2em;
    }

	.info-icon-trigger {
	    position: relative;
	}
	.info-icon-trigger .info-icon-text {
		left: calc(50% - 100px);
	    width: 200px;
	    top: 25px;
	}
    .mortgage-form .field .saved::before {
        left: -22px;
    }

    /* Help */
    .mortgage-form .help::before {
        content: none;
    }

    .js .help {
        padding: 31px 22px;
        position: absolute;
        z-index: 99;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
        background: var(--tooltip-bg);
        margin: 0;
        /* display: none; */
        font-size: 14px;
    }

    /* Form components */
    .mortgage-form .note {
        position: relative;
        display: inline-block;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
    }

    .section-carousel img {
        max-width: 100%;
    }
    .input+.note,
    .note+.note {
        margin-bottom: 0;
    }

    /* Radio */
    .radio .options {
        max-width: none;
        margin: 0;
    }

    .radio .options li {
        margin-right: 83px;
        -webkit-flex: 0 0 auto;
        flex: 0 0 auto;
    }

    .purchase-info.radio-buttons .options {
        -webkit-justify-content: center;
        justify-content: center;
    }

    /* Radio buttons */
    .radio-buttons .options {
        max-width: none;
        margin: 0;
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .rate-term .options {
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .rate-term .options li {
        margin-bottom: 16px;
    }

    .home-purchase-time .options li,
    .property-type .options li,
    .rate-type .options li,
    .credit-score .options li,
    .employment-info .options li {
        width: calc(50% - 11px);
    }

    .purchase-decision .purchase-info {
        width: calc(100% - 193px);
        margin: auto;
    }

    .purchase-info .options li {
        width: 100%;
    }

    .date-month .fields {
        display: flex;
        justify-content: space-between;
    }

    .date-month .fields>div {
        width: calc(50% - 11px);
    }

    /* Text type inputs */
    .text .input,
    .phone .input,
    .money .input,
    .autofill .input,
    .address .input,
    .email .input {
        margin: 0;
    }

    /* Footer */

    .form-footer p,
    .lender-logos {
        max-width: none;
    }

    .lender-logos li:nth-child(2n),
    .lender-logos li:nth-child(2n + 1) {
        margin: 0 10px;
    }

    .purchase-2 .purchase-decision fieldset {
        display: flex;
        align-items: center;
    }
}

.form-footer .compare-rates {
    display: block;
    font-size: 1.125em;
    max-width: 95%;
}

/* Rate details visitors lock */
.clients-number.rate-details {
    max-width: 590px;
    margin: 20px auto 30px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.clients-number.rate-details .number {
    position: relative;
    width: 90px;
    flex: 0 0 auto;
}

.your-rate .clients-number.rate-details {
    margin: 20px auto 30px;
}

.clients-number.rate-details .number {
    position: relative;
    width: 90px;
    flex: 0 0 auto;
}

.clients-number.rate-details .number img {
    width: 100%;
    display: block;
}

.clients-number.rate-details .number span {
    display: block;
    position: absolute;
    left: 2px;
    right: 2px;
    bottom: 12px;
    text-align: center;
    font-family: Rokkitt, serif;
    font-weight: 100;
    font-size: .6em;
    letter-spacing: 0;
}

.clients-number.rate-details p {
    font-weight: 500;
    font-size: 1em;
    color: #1E3244;
    text-align: center;
    margin-left: 12px;
    margin-bottom: 0;
    max-width: 180px;
}

@media screen and (min-width: 768px) {
    .clients-number.rate-details p {
        max-width: none;
        margin-bottom: 12px;
    }
}

.d-flex {
    display: flex;
}

.skip-to-main {
    padding: 12px 0;
    left: 45%;
    position: absolute;
    z-index: 9;
    background-color: #fff;
}

.skip-to-main a {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-to-main a:focus {
    position: static;
    width: auto;
    height: auto;
    padding: 5px;
    margin: 10px;
}

#modalOverlay {
    display: none;
    position: fixed;
    z-index: 11;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, .5);
}

#modalOverlay #province_modal .titleAndButton {
    display: flex;
    justify-content: space-between;
}

#modalOverlay #province_modal {
    max-width: 423px;
    background: #fff;
    position: fixed;
    z-index: 4;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 325px;
    max-width: 90%;
    padding: 15px 40px 40px;
    box-sizing: border-box;
    border-radius: 5px;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, .2), 0 7px 20px 0 rgba(0, 0, 0, .17);
}

.popupOverlay .auto-spinner-popup .popup-ins-descr img {
    text-align: center;
}

.popupOverlay .auto-spinner-popup .popup-ins-descr img {
    display: block;
    margin: 1em auto;
}

@media only screen and (min-width: 960px) {
    .mortgage-spinner-popup .popup-ins-descr {
        margin-top: 50px;
    }

    #modalOverlay #province_modal {
        max-width: 423px;
        width: 825px;
    }
}

label.large,
.label-description.large {
    font-weight: 600;
    font-size: 20px !important;
    line-height: 33px;
}

.mortgage-form.your-rate.form-center .signup-weekly {
    display: flex;
    align-items: flex-start;
}

.mortgage-form.your-rate.form-center .su-nl {
    display: none !important;
}

.understanding-text {
    font-size: 11px !important;
}

.mortgage-form .actions input[type="checkbox"]#signup-weekly,
.mortgage-form .actions input[type="checkbox"]#consent,
.mortgage-form .bell-icon input[type="checkbox"]#subscribe {
    display: none;
}

.mortgage-form .actions input[type="checkbox"]+label {
    margin-top: 0;
    text-align: left;
    position: relative;
}

.mortgage-form .bell-icon input[type="checkbox"]#subscribe+figure {
    margin-top: 0;
    text-align: left;
    position: relative;
}

.info-icon-trigger .info-icon {
    color: #fff;
    background-color: var(--primary-color);
    border: 1px solid transparent;
    border-radius: 50%;
    padding: 0 4px;
    font-size: 0.525rem;
    font-weight: 900;
}


.info-icon-trigger:hover .info-icon-text {
    opacity: 1;
    display: block;
}


.consent-full-text {
    text-align: left;
    font-size: 0.625rem;
    margin-top: 16px;
    transition: all .5s ease-in-out;
    transform-origin: left top;
    overflow: hidden;
    display: none;
}

.consent-full-text.show {
	display:block;
}
.mortgage-form .help-trigger.consent-trigger {
    background: none;
    text-indent: 0;
    background: var(--primary-color);
    color: #fff;
}

.mortgage-form .help-trigger.consent-trigger:active {
    color: green;
}

.down-arrow-trigger#consent-trigger {
	background:none;
	border:none;
}
.down-arrow-trigger#consent-trigger .arrow-trigger{
  position: absolute;
  top: 5px;
  left: 0;
}

.down-arrow-trigger#consent-trigger .arrow-trigger::before,.down-arrow-trigger#consent-trigger .arrow-trigger::after{
  position: relative;
  content: '';
  display: block;
  width: 10px;
  height: 1px;
  background: var(--primary-color);
  transition: 0.3s ease-in-out;
}
.down-arrow-trigger#consent-trigger .arrow-trigger::before {
	transform:rotate(45deg);
}
.down-arrow-trigger#consent-trigger .arrow-trigger::after {
	left: 6px;
    top: -1px;
	transform:rotate(-45deg);
}

.down-arrow-trigger#consent-trigger .arrow-down::before {
  transform: rotate(-45deg);
}

.down-arrow-trigger#consent-trigger .arrow-down::after {
  transform: rotate(45deg);
}

.mortgage-form .bell-icon input[type="checkbox"]#subscribe {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* AODA styles */

.select-container select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.input.double-input .first-input:focus-within {
    border-radius: 2px;
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

#percent:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

input[type="radio"]:focus+label {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.field.text.first-name .input:focus-within,
.field.text.last-name .input:focus-within,
.field.phone.postalCode .input:focus-within,
.field.phone.phone .input:focus-within,
.field.email.email .input:focus-within,
.field.date-month.renewal-date .fields .month .input:focus-within,
.field.date-month.renewal-date .fields .year .input:focus-within {
    border-radius: 2px;
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.mortgage-form.your-rate .actions input[type="checkbox"]:focus+label::before {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

#consent,
#signup-weekly {
    display: block !important;
    position: absolute;
    left: -99999999999999999px;
}
.poweredby {
	display: flex;
    justify-content: center;
    align-items: center;
    padding-top:20px;
    margin-top:0;
    background-color: transparent;
}
.poweredby p {
	margin: 0;
    margin-right: 0.45rem;
    font-weight: bold;
}
.poweredby img {
	height:25px;
}