@media (min-width: 576px) {
  .widget_calculator .calculator_tile {
    background: rgb(255, 255, 255);
    box-shadow: 0px 4px 11px rgba(0, 0, 0, 0.15);
    border-radius: 23px;
    padding: 30px;
  }
}

/* TABS */
.widget_calculator .flex-tabs {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
}

.widget_calculator .flex-tabs > div {
  background-color: rgb(243, 243, 243);
  border-top: 1px solid rgb(229, 229, 229);
  border-right: 1px solid rgb(229, 229, 229);
  color: rgb(38, 38, 41);
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  padding: 15px;
  text-align: center;
  width: 200px;
}

.widget_calculator .flex-tabs > div:first-child {
  border-left: 1px solid rgb(229, 229, 229);
}

.widget_calculator .flex-tabs > div.active {
  background-color: rgb(229, 229, 229);
}

@media (max-width: 409px) {
  .widget_calculator .flex-tabs > div {
    width: 50%;
  }
}

/* LAYOUT */
.widget_calculator .flex-layout {
  background-color: rgb(229, 229, 229);
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 30px 30px 0;
}

.widget_calculator .flex-input {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  align-content: flex-start;
  margin-right: 50px;
  width: 45%;
}

.widget_calculator .flex-input > div {
  width: 100%;
}
.widget_calculator .flex-input > div.util-width-50 {
  width: 50%;
}
.widget_calculator .flex-input > div.util-width-50:nth-child(odd) {
  padding-right: 10px;
}
.widget_calculator .flex-input > div.util-width-50:nth-child(even) {
  padding-left: 10px;
}

.widget_calculator .footer {
  background-color: rgb(229, 229, 229);
  padding: 0 30px 30px;
}

@media (min-width: 768px) and (max-width: 991px) {
  .widget_calculator .flex-input > div.util-width-50 {
    width: 100%;
  }
  .widget_calculator .flex-input > div.util-width-50:nth-child(odd) {
    padding-right: 0;
  }
  .widget_calculator .flex-input > div.util-width-50:nth-child(even) {
    padding-left: 0;
  }
}
@media (max-width: 767px) {
  .widget_calculator .flex-layout {
    flex-wrap: wrap;
  }
}

@media (max-width: 575px) {
  .widget_calculator .flex-layout {
    padding: 15px 15px 0;
  }
  .widget_calculator .flex-input > div.util-width-50 {
    width: 100%;
  }
  .widget_calculator .flex-input > div.util-width-50:nth-child(odd) {
    padding-right: 0;
  }
  .widget_calculator .flex-input > div.util-width-50:nth-child(even) {
    padding-left: 0;
  }
  .widget_calculator .footer {
    padding: 0 15px 15px;
  }
}

/* INPUT FIELDS */
.widget_calculator .input label {
  color: rgb(38, 38, 41);
  font-size: 14px;
  font-weight: normal;
}
.widget_calculator .input .input-group .input-group-prepend,
.widget_calculator .input .input-group .input-group-append {
  background-color: rgb(255, 255, 255);
  border: 0 none;
  color: rgb(234, 23, 119);
  font-size: 21px;
  font-weight: 500;
  align-items: center;
  padding: 0 5px;
  height: calc(1.5em + 0.75rem - 1px);
}

.widget_calculator .input .input-group .input-group-prepend:first-child {
  padding-right: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

.widget_calculator .input .input-group .input-group-append:last-child {
  padding-left: 0;
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}

.widget_calculator .input .form-control,
.widget_calculator .input .input-group .form-control {
  border: 0 none;
  box-shadow: none;
  font-size: 16px;
  font-weight: 300;
  color: rgb(38, 38, 41);
  height: auto;
}

.widget_calculator .input .static-form-control {
  background-color: rgba(38, 38, 41, 0.1);
  color: rgba(38, 38, 41, 0.3);
  font-size: 16px;
  font-style: italic;
  font-weight: normal;
  line-height: 34px;
  margin: 0;
  padding: 3px 10px;
  border-radius: 4px;
  height: calc(1.5em + 0.75rem + 2px);
}

.widget_calculator .input .btn-group .btn {
  border-left: 1px solid rgba(38, 38, 41, 0.25);
  border-right: 1px solid rgba(38, 38, 41, 0.25);
  border-radius: 0;
  font-size: 18px;
  font-weight: 300;
  padding: 4px 5px 3px;
  color: rgb(38, 38, 41);
  background-color: rgb(255, 255, 255);
  min-width: 0;
}

.widget_calculator .input .btn-group .btn:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-left: none;
}

.widget_calculator .input .btn-group .btn:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-right: none;
}

.widget_calculator .input .btn-group .btn-selected {
  background-color: rgb(234, 23, 119);
  border-color: rgb(234, 23, 119);
  color: rgb(255, 255, 255);
}

.widget_calculator .link-show-more {
  color: rgb(38, 38, 41);
  font-size: 14px;
  font-weight: normal;
  cursor: pointer;
}

@media (max-width: 991px) {
  .widget_calculator .input {
    width: 40%;
  }
}
@media (max-width: 767px) {
  .widget_calculator .input {
    width: 100%;
    margin: 0;
    margin-bottom: 15px;
  }
}
@media (max-width: 575px) {
  .widget_calculator .input .form-group {
    display: grid;
    grid-template-columns: 100%;
    grid-column-gap: 8px;
  }

  .widget_calculator .results .wrap {
    margin: 10px 0 0 0 !important;
  }
}

/* RESULTS */
.widget_calculator .results {
  border-radius: 4px;
  background-color: rgb(234, 23, 119);
  margin-left: 15px;
  padding: 0 25px 25px 25px;
  width: 55%;
}

.widget_calculator .results .input-group .input-group-prepend,
.widget_calculator .results .input-group .input-group-append {
  background-color: rgb(255, 255, 255);
  border: 0 none;
  color: rgb(38, 38, 41);
  font-size: 18px;
  font-weight: 500;
  align-items: center;
  padding: 0 5px;
}
.widget_calculator .results .input-group .input-group-prepend:first-child,
.widget_calculator .results .input-group .input-group-append:first-child {
  padding-right: 0;
}
.widget_calculator .results .input-group .input-group-prepend:last-child,
.widget_calculator .results .input-group .input-group-append:last-child {
  padding-left: 0;
}
.widget_calculator .results .input-group .form-control {
  border: 0 none;
  box-shadow: none;
  font-size: 16px;
  font-weight: 300;
  color: rgb(38, 38, 41);
}
.widget_calculator .results .total-breakdown {
  margin: 15px 0;
}

.widget_calculator .results .total-breakdown > div {
  color: rgb(38, 38, 41);
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 5px 0;
}

.widget_calculator .results .total-breakdown > div:first-child {
  border-bottom: 1px solid rgb(192, 19, 98);
}

.widget_calculator .results .total-breakdown > div label {
  width: 50%;
  margin: 0;
  font-weight: unset !important;
}

.widget_calculator .results .total-breakdown > div span {
  font-weight: bold;
  text-align: right;
  width: 50%;
}

.widget_calculator .results p {
  color: #262629;
  font-size: 20px;
  margin: 0;
}

.widget_calculator .results p.p1 {
  font-weight: 600;
  margin-bottom: 10px;
}

.widget_calculator .results p.p2 {
  font-size: 40px;
  font-weight: 500;
  line-height: 61px;
}

.widget_calculator .results p.p2 .ps1,
.widget_calculator .results p.p2 .ps2 {
  color: rgb(255, 255, 255);
  font-size: 50px;
  font-weight: 600;
}

.widget_calculator .results p.p3 {
  color: rgb(255, 255, 255);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
}

@media (max-width: 991px) {
  .widget_calculator .results {
    width: 60%;
  }

  .widget_calculator .results p.p2 {
    font-size: 30px;
    line-height: normal;
  }

  .widget_calculator .results p.p2 .ps1,
  .widget_calculator .results p.p2 .ps2 {
    font-size: 41px;
  }

  .widget_calculator .results .wrap {
    margin: 10px 0 0 0 !important;
  }
}

@media (max-width: 767px) {
  .widget_calculator .results {
    width: 100%;
    margin: 0;
  }

  .widget_calculator .results p {
    font-size: 16px;
    text-align: left;
  }

  .widget_calculator .results p.p2 {
    font-size: 30px;
    line-height: normal;
  }

  .widget_calculator .results p.p2 .ps1,
  .widget_calculator .results p.p2 .ps2 {
    font-size: 41px;
  }

  .widget_calculator .results p.p3 {
    font-size: 21px;
  }

  .widget_calculator .results .buttons {
    text-align: left;
  }

  .widget_calculator .results .wrap {
    height: 40px;
    width: 100%;
    margin: 10px 0 0 0;
    display: flex;
  }

  .widget_calculator .results .wrap {
    margin: 10px 0 0 0 !important;
  }
}

@media (max-width: 575px) {
  .widget_calculator .results {
    padding: 25px 10px;
  }

  .widget_calculator .results .total-breakdown > div {
    flex-wrap: wrap;
  }

  .widget_calculator .results .total-breakdown > div label {
    width: 100%;
  }

  .widget_calculator .results .total-breakdown > div span {
    width: 100%;
  }

  .widget_calculator .results .total-breakdown2 > div {
    flex-wrap: wrap;
  }

  .widget_calculator .results .total-breakdown2 > div label {
    width: 100%;
  }

  .widget_calculator .results .total-breakdown2 > div span {
    width: 100%;
  }

  .widget_calculator .results p.p2 {
    font-size: 23px;
  }

  .widget_calculator .results p.p2 .ps1,
  .widget_calculator .results p.p2 .ps2 {
    font-size: 34px;
  }

  .widget_calculator .results p.p3 {
    font-size: 18px;
  }

  .widget_calculator .results .wrap {
    height: 40px;
    width: 100%;
    margin: 10px 0 0 0;
    display: flex;
  }

  .widget_calculator .results .wrap {
    margin: 10px 0 0 0 !important;
  }
}

/* Footer */
.widget_calculator .footer a,
.widget_calculator .footer a:link,
.widget_calculator .footer a:visited,
.widget_calculator .footer a:hover {
  color: rgb(38, 38, 41);
  text-decoration: underline;
}

/* new UI */
.widget_product-compare .geoPanel .geoPanelHeading {
  color: #ea1777;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.6px;
  line-height: 1;
  margin: 5px 0 5px;
}

.widget_product-compare .geoPanel .geoPanelContent {
  font-size: 13px;
  text-align: left;
  color: #2e2e33;
}

.widget_product-compare .geoPanel .flex-ui {
  display: flex;
  justify-content: left;
  align-items: normal;
  margin: 15px 0;
}

.widget_product-compare .geoPanel .flex-ui .custom-col-1 {
  min-width: 50px;
}

.widget_product-compare .geoPanel .geoPanelContent strong {
  font-weight: 600;
}

.widget_product-compare .geoPanel.easy123 .step-ui {
  margin-bottom: 15px;
}

.widget_product-compare .geoPanel .geoPanelContent {
  font-size: 13px;
  text-align: left;
  color: #2e2e33;
}

.widget_product-compare .search-results .flex-ui .geoPanel {
  width: 30%;
}

.widget_product-compare .geoPanel .geoPanelHeading {
  color: #ea1777;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.6px;
  line-height: 1;
  /*margin: 60px 0 30px;*/
}

.widget_product-compare .inputfld {
  text-align-last: left;
}

.widget_product-compare .geoPanel.easy123 .step-ui .step-number {
  background-color: #ea1777;
  border-radius: 18px;
  color: #ffd73b;
  display: block;
  font-size: 18px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  width: 36px;
}

.widget_product-compare .geoPanel.easy123 .step-ui .step-text {
  background-color: #f2f2f2;
  border-radius: 18px;
  color: #262629;
  display: block;
  font-size: 14px;
  margin: 0 0 -36px 18px;
  padding: 8px 5px 8px 26px;
  text-align: left;
  text-transform: uppercase;
  width: 100%;
}

.widget_calculator .results .total-breakdown2 {
  margin: 20px 0;
}

.widget_calculator .results .total-breakdown2 > div {
  color: #262629;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  padding: 2px 0 0 0;
}

.widget_calculator .results .total-breakdown2 > div label {
  width: 50%;
  margin: 0;
  font-weight: unset !important;
}

.widget_calculator .results .total-breakdown2 > div span {
  font-weight: bold;
  text-align: right;
  width: 50%;
}

.widget_calculator .results .total-breakdown2 .list-group-item2 {
  position: relative;
  display: block;
  padding: 0.4rem 0.5rem;
}

.widget_calculator .results .total-breakdown2 > ul {
  list-style: none;
}

.widget_calculator .results .total-breakdown2 .list-group-item2 .textbullet {
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 22px;
  color: #262629;
}

.widget_calculator .results .wrap {
  height: 40px;
  width: 100%;
  margin: 10px 0 0 10px;
  /*display: flex;*/
}

.widget_calculator .results .wrap span {
  align-self: flex-end;
}

.widget_calculator .results .summarytext {
  /*padding-top: 30px !important;*/
  font-weight: 600 !important;
  color: #ffffff !important;
  font-size: 19px !important;
  margin: 0 !important;
}

.widget_calculator .results .summarytext2 {
  padding-top: 10px !important;
  color: #262629 !important;
  font-size: 17px !important;
  margin: 0 !important;
}

/*CALCULATOR: Borrowing Power - Angular Component*/
/*possible shared styling*/
.widget_calculator.calculator_borrowing-power
  mat-form-field.mat-form-field-appearance-fill {
  display: block;
  font-size: 16px;
}
.widget_calculator.calculator_borrowing-power
  mat-form-field.mat-form-field-appearance-fill
  .mat-form-field-flex {
  border-radius: 8px;
  padding: 5px 10px 0 10px;
  background-color: transparent;
  border: 1.5px solid #8a8a8a;
}
.widget_calculator.calculator_borrowing-power
  mat-form-field.mat-form-field-appearance-fill
  .mat-form-field-flex:hover {
  outline: 2px auto #8a8a8a;
}
.widget_calculator.calculator_borrowing-power
  mat-form-field.mat-form-field-appearance-fill
  .mat-form-field-wrapper
  > .mat-form-field-underline {
  display: none;
}
.widget_calculator.calculator_borrowing-power
  mat-form-field.mat-form-field-appearance-fill
  .mat-form-field-subscript-wrapper {
  padding-left: 0;
  padding-top: 25px;
  font-size: 16px;
  color: rgb(255, 0, 0);
  font-family: "museo-sans", sans-serif;
}
.widget_calculator.calculator_borrowing-power
  mat-form-field.mat-form-field-appearance-fill {
  display: block;
  font-size: 16px;
}
.widget_calculator.calculator_borrowing-power
  mat-form-field.mat-form-field.mat-focused
  .mat-form-field-label {
  color: rgba(0, 0, 0, 0.6);
}
.widget_calculator.calculator_borrowing-power .question {
  margin-bottom: 50px;
}
.widget_calculator.calculator_borrowing-power
  .question
  .input-field
  label:not(.mat-form-field-label) {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: normal;
}
.widget_calculator.calculator_borrowing-power .question .input-field label sup {
  font-size: 27px;
  color: #ea1777;
  font-weight: 900;
  top: 0;
}
.widget_calculator.calculator_borrowing-power
  .question
  .input-field
  .selections {
  display: flex;
}
.widget_calculator.calculator_borrowing-power
  .question
  .input-field
  .selections
  a {
  display: flex;
  flex-direction: column;
  width: 105px;
  margin: 0 15px 20px;
  cursor: pointer;
}
.widget_calculator.calculator_borrowing-power
  .question
  .input-field
  .selections
  a:first-child {
  margin-left: 0;
}
.widget_calculator.calculator_borrowing-power
  .question
  .input-field
  .selections
  a:last-child {
  margin-right: 0;
}
.widget_calculator.calculator_borrowing-power
  .question
  .input-field
  .selections
  a
  .box {
  display: flex;
  min-width: 110px;
  min-height: 90px;
  border: 3px solid #a0a0a0;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: #a0a0a0;
  font-size: 40px;
}
.widget_calculator.calculator_borrowing-power
  .question
  .input-field
  .selections
  a
  .text {
  text-align: center;
  font-size: 16px;
  margin-top: 5px;
  color: #a0a0a0;
}
.widget_calculator.calculator_borrowing-power
  .question
  .input-field
  .selections
  a.active
  .box {
  border-color: #ea1777;
  color: #ea1777;
}
.widget_calculator.calculator_borrowing-power
  .question
  .input-field
  .selections
  a.active
  .box
  svg
  path,
.widget_calculator.calculator_borrowing-power
  .question
  .input-field
  .selections
  a.active
  .box
  svg
  g
  g {
  stroke: #ea1777;
}
.widget_calculator.calculator_borrowing-power
  .question
  .input-field
  .selections
  a.active
  .text {
  color: #ea1777;
}
@media (max-width: 767px) {
  .widget_calculator.calculator_borrowing-power .question {
    margin-bottom: 0;
  }
  .widget_calculator.calculator_borrowing-power
    .question
    .input-field
    .selections
    a {
    margin: 0 5px 20px;
  }
  .widget_calculator.calculator_borrowing-power
    .question
    .input-field
    .selections
    a
    .box {
    min-width: 90px;
  }
}
/*specifics*/
.widget_calculator.calculator_borrowing-power {
  padding-top: 0;
}
.widget_calculator.calculator_borrowing-power h1,
.widget_calculator.calculator_borrowing-power h3 {
  color: #ea1777;
  font-weight: 700;
  margin-bottom: 30px;
}
.widget_calculator.calculator_borrowing-power .body-text {
  margin-bottom: 50px;
}
.widget_calculator.calculator_borrowing-power a.btn.btn-round {
  width: 50px;
  height: 50px;
  border: 3px solid #a0a0a0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #a0a0a0;
  min-width: auto;
  padding: 0;
}
.widget_calculator.calculator_borrowing-power .btn.btn-brand-secondary,
.widget_calculator.calculator_borrowing-power .btn.btn-brand-secondary:hover {
  color: rgb(255, 255, 255);
}
.widget_calculator.calculator_borrowing-power .btn.btn-brand-hollow-secondary,
.widget_calculator.calculator_borrowing-power
  .btn.btn-brand-hollow-secondary:hover {
  color: rgb(23, 163, 6);
}
.widget_calculator.calculator_borrowing-power
  .mat-form-field-appearance-fill
  .mat-form-field-infix {
  padding: 0.8em 0;
  border-top: none;
}

/*form capture*/
.widget_calculator .results .email-results-btn {
  padding-top: 30px;
}

.widget_calculator .refinanceForm {
  width: 100%;
}

.widget_calculator .emailLabel {
  color: rgb(255, 255, 255) !important;
  font-size: 14px !important;
}

/*calculator v2*/
.widget_calculator.calculator .calculator-header {
  font-style: normal;
  font-weight: normal;
  font-size: 34px;
  line-height: 41px;
  color: #262629;
}

.widget_calculator.calculator .calculator-form {
  padding: 0px 20px 0px 20px;
}

.widget_calculator.calculator a.morelink {
  color: #a0389b;
  font-size: 14px;
  font-style: normal;
  font-size: 14px;
  line-height: 17px;
}

.widget_calculator.calculator a.morelink:link {
  text-decoration: none;
  color: #a0389b;
}

.widget_calculator.calculator a.morelink:visited {
  text-decoration: none;
  color: #a0389b;
}

.widget_calculator.calculator a.morelink:hover {
  text-decoration: none;
  color: #a0389b;
}

.widget_calculator.calculator a.morelink:active {
  text-decoration: none;
  color: #a0389b;
}

.widget_calculator.calculator a.btn.btn-rate-toggle {
  min-width: auto;
  padding: 0px 12px;
  background-color: #eaeaea;
  color: #262629;
}

.widget_calculator.calculator a.btn.btn-rate-toggle.active {
  background-color: #565abf;
  color: #fff;
}

.widget_calculator.calculator a.info-pop-up {
  color: #262629;
}

.widget_calculator.calculator a.btn.btn-rate-toggle:last-child {
  margin-left: 10px;
}

.widget_calculator.calculator .tile-header {
  border-width: 2px;
  border-style: solid;
  border-image: linear-gradient(
      90deg,
      rgb(234, 23, 119) 50%,
      rgb(86, 90, 191) 91.28%
    )
    1 / 0 0 2px 0;
}

/*buttons group*/

.widget_calculator.calculator .btn-group .btn {
  border-radius: 6px;
  font-size: 14px;
  padding: 6px 10px;
  min-width: 110px;
  border-width: 1px;
  border-style: solid;
  border-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 29%,
      rgba(0, 0, 0, 0.15) 30%,
      rgba(0, 0, 0, 0.15) 70%,
      rgba(0, 0, 0, 0) 71%
    )
    1 100%;
}

.widget_calculator.calculator .btn-group > .btn:not(:last-child) {
  border-left: none;
}

.widget_calculator.calculator .btn-group > .btn:not(:first-child) {
  border-right: none;
}

.widget_calculator.calculator .btn-group .btn-selected {
  background-color: rgb(86, 90, 191);
  color: rgb(255, 255, 255);
}

.widget_calculator.calculator .btn-group > .btn-group:not(:last-child) > .btn,
.widget_calculator.calculator
  .btn-group
  > .btn:not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 6px !important;
  border-bottom-right-radius: 6px !important;
}

/*input*/

.widget_calculator.calculator .form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  padding: 0.2rem 0.6rem !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #495057 !important;
  background-color: #fff !important;
  background-clip: padding-box !important;
  border: 1px solid #ced4da !important;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.widget_calculator.calculator .mat-input-element {
  box-sizing: unset !important;
}

.widget_calculator.calculator .input-group {
  height: 52px !important;
}

.widget_calculator.calculator .percentfld {
  padding-right: 32px !important;
}

.widget_calculator.calculator .input-group-append,
.widget_calculator.calculator .input-group-append2 {
  z-index: 10;
  padding-top: 12px;
  position: absolute;
  right: 20px;
}

.widget_calculator.calculator
  #calculatebar-ui-box-collapse
  .mat-select-arrow-wrapper {
  padding-top: 10px;
}

.widget_calculator.calculator #calculatebar-ui-box-collapse .mat-select-value {
  padding-top: 10px;
}

/*read more*/

.widget_calculator.calculator .link-read-more {
  color: rgb(38, 38, 41);
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
}

.widget_calculator.calculator .link-read-more[aria-expanded="false"] .is-open,
.widget_calculator.calculator .link-read-more[aria-expanded="true"] .is-closed {
  display: none;
}

/*product card*/

.widget_calculator.calculator .product-card .item {
  padding: 15px;
}

.widget_calculator.calculator .product-card {
  border-radius: 24px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  min-height: 100px;
  padding: 15px 30px 30px;
}

.widget_calculator.calculator .product-card .compare {
  margin-right: -30px;
  margin-bottom: 15px;
}

.widget_calculator.calculator .product-card .inform {
  margin-right: -40px;
}

.widget_calculator.calculator .product-card .inform p {
  font-size: 18px;
}

.widget_calculator.calculator .product-card .tag {
  background: rgb(249, 185, 214);
  border-radius: 2px;
  font-weight: 600;
  font-size: 8px;
  line-height: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
}

.widget_calculator.calculator .product-card .heading {
  border-left: 6px solid rgb(234, 23, 119);
  padding: 0 0 0 24px;
  margin-bottom: 15px;
  margin-left: -30px;
}

.widget_calculator.calculator .product-card .heading > span {
  border-width: 2px;
  border-style: solid;
  border-image: linear-gradient(
      90deg,
      rgb(234, 23, 119) 50%,
      rgb(86, 90, 191) 91.28%
    )
    1 / 0 0 2px 0;
}

.widget_calculator.calculator .product-card .heading > span a {
  text-decoration: none !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  color: rgb(38, 38, 41) !important;
}

.widget_calculator.calculator .save-this-icon {
  font-style: normal;
  font-weight: 600;
  font-size: 8px;
  line-height: 10px;
  color: #262629;
  text-transform: uppercase;
}

.widget_calculator.calculator .product-card .body {
  font-style: normal;
  font-weight: 300;
  font-size: 20px;
  line-height: 130%;
}

.widget_calculator.calculator .product-card .summaryresult span {
  letter-spacing: -1px;
  font-style: normal;
  border-left: 6px solid rgb(234, 23, 119);
  padding: 0 0 0 24px;
  margin-bottom: 15px;
  margin-left: -30px;
}

.widget_calculator.calculator .product-card .summaryresult {
  font-size: 48px;
  color: rgb(38, 38, 41);
  line-height: 58px;
  font-weight: 600;
}

.widget_calculator.calculator .product-card .summaryresult2 {
  font-size: 36px;
}

.widget_calculator.calculator
  .product-card
  .summary-repayment-frequency
  .mat-select {
  border: none;
  font-size: 20px;
  margin-top: 18px;
  margin-left: 14px;
}

.widget_calculator.calculator
  .product-card
  .summary-repayment-frequency
  .mat-select
  .mat-select-value,
.widget_calculator.calculator
  .product-card
  .summary-repayment-frequency
  .mat-select
  .mat-select-arrow {
  color: #ea1777;
}

.widget_calculator.calculator .product-card .compareicon {
  color: #ea1777;
  font-size: 17px;
}

.widget_calculator.calculator .product-card .informicon {
  color: #262629;
  font-size: 17px;
  text-align: right;
}

.widget_calculator.calculator .product-card .savelink {
  color: #262629;
  text-decoration: none;
  text-align: center;
}

.widget_calculator.calculator .product-card .savelink:hover {
  color: #ea1777;
  text-decoration: none;
}

.widget_calculator.calculator .product-card .amount-desc-text {
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 17px;
  color: #262629;
}

.widget_calculator.calculator .product-card .summaryresults-small {
  font-size: 32px;
  color: #262629;
  line-height: 41px;
  font-weight: 600;
}

.widget_calculator.calculator .product-card .body .data-result {
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  color: #262629;
}

.widget_calculator.calculator .home-equity-cta {
  background-color: #f5f5f5;
  padding: 50px 20px 50px 20px;
  border-radius: 24px;
}

/*advert-tile*/

.widget_calculator.calculator .advert-tile {
  background-color: #f5f5f5;
  padding: 50px 20px 50px 20px;
  border-radius: 24px;
}

.widget_calculator.calculator .advert-tile-section {
  padding: 0 30px 0px 30px;
}

/*tooltip*/

.widget_calculator.calculator .tool {
  cursor: help;
  position: relative;
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 17px;
  text-decoration: none;
}

/*save button*/

.widget_calculator.calculator .product-card .save {
  margin-right: -30px;
  margin-bottom: 15px;
}

.widget_calculator.calculator .savelink {
  color: #262629 !important;
  font-size: 10px;
  padding-bottom: 10px;
  text-decoration: none;
}

/*mat-select override*/
.widget_calculator.calculator .mat-select-arrow {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid;
  margin: 0 4px;
}

.widget_calculator.calculator .mat-select-arrow-wrapper {
  display: table-cell;
  vertical-align: middle;
}

.widget_calculator.calculator .mat-select-arrow {
  color: rgba(0, 0, 0, 0.54);
}

.widget_calculator.calculator .mat-select-trigger {
  display: inline-table;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
}

.widget_calculator.calculator .mat-select-trigger {
  height: 1.125em;
}

.widget_calculator.calculator .mat-select-value {
  display: table-cell;
  max-width: 0;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/*== common styles for both parts of tool tip ==*/

.widget_calculator.calculator .tool::before,
.widget_calculator.calculator .tool::after {
  left: 50%;
  opacity: 0;
  position: absolute;
  z-index: -100;
  text-decoration: none;
}

.widget_calculator.calculator .tool:hover::before,
.widget_calculator.calculator .tool:focus::before,
.widget_calculator.calculator .tool:hover::after,
.widget_calculator.calculator .tool:focus::after {
  opacity: 1;
  transform: scale(1) translateY(0);
  z-index: 100;
  text-decoration: none;
}

/*pointer tip*/

.widget_calculator.calculator .tool::before {
  border-style: solid;
  border-width: 1em 0.75em 0 0.75em;
  border-color: #dcdcdc transparent transparent transparent;
  bottom: 100%;
  content: "";
  margin-left: -0.5em;
  transition: all 0.65s cubic-bezier(0.84, -0.18, 0.31, 1.26),
    opacity 0.65s 0.5s;
  transform: scale(0.6) translateY(-90%);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0);
}

.widget_calculator.calculator:hover::before,
.widget_calculator.calculator:focus::before {
  transition: all 0.65s cubic-bezier(0.84, -0.18, 0.31, 1.26) 0.2s;
}

/*tooltip speech bubble*/

.widget_calculator.calculator .tool::after {
  background: #f5f5f5;
  border-radius: 0.25em;
  bottom: 180%;
  color: #262629;
  content: attr(data-tip);
  margin-left: -8.75em;
  padding: 1em;
  transition: all 0.65s cubic-bezier(0.84, -0.18, 0.31, 1.26) 0.2s;
  transform: scale(0.6) translateY(50%);
  width: 17.5em;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
}

.widget_calculator.calculator .tool:hover::after,
.widget_calculator.calculator .tool:focus::after {
  transition: all 0.65s cubic-bezier(0.84, -0.18, 0.31, 1.26);
}

/*formbar*/

.widget_calculator.calculator .form-bar-item,
.widget_calculator.calculator .form-bar-item:hover {
  background-color: rgb(86, 90, 191);
  border-radius: 24px;
  color: rgb(255, 255, 255);
  font-size: 13px;
  line-height: 29px;
  letter-spacing: 1px;
  text-align: center;
  padding: 10px 25px;
  cursor: pointer;
  display: block;
}

/*form fields*/

.widget_calculator.calculator .mat-select {
  display: inline-block;
  width: 100%;
  outline: none;
  border: 1px solid #333;
  padding: 9px;
  border-radius: 3px;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.widget_calculator.calculator .inputfld {
  text-align-last: right;
}

.widget_calculator.calculator .mat-error-align {
  text-align: right;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 17px;
  color: #f44336;
}

/*advertisement tile*/

.widget_calculator.calculator img.img-custom {
  max-width: 150px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.widget_calculator.calculator .product-rate {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 15px;
  color: #262629;
}

.widget_calculator.calculator .product-rate > div:first-child {
  border-right: 1px solid #262629;
  padding-right: 15px;
}

.widget_calculator.calculator .product-rate .rate {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0;
  line-height: 30px;
}

.widget_calculator.calculator .product-rate .rate > sup {
  font-size: 23px;
  top: -0.2em;
}

.widget_calculator.calculator .product-rate > div > span {
  font-size: 14px;
}

.widget_calculator.calculator .product-rate > div:last-child {
  padding-left: 15px;
}

.widget_calculator.calculator .card-img {
  width: 94% !important;
}

/*header link*/

.widget_calculator.calculator .title-header-anchor .tile-header > a {
  text-decoration: none;
  font-size: 24px !important;
  font-weight: 600 !important;
  color: rgb(38, 38, 41) !important;
}

/*email-results-form*/

.widget_calculator.calculator
  .email-results-form
  .mat-form-field-appearance-fill
  .mat-form-field-flex {
  background-color: unset !important;
  padding: 0 2em 0 0 !important;
}

.widget_calculator.calculator .email-results-form .mat-input-element {
  background: white !important;
  padding: 0.2rem 0.6rem !important;
  text-align-last: left !important;
}

.widget_calculator.calculator .email-results-form .inputfld-full-width {
  width: 100% !important;
  display: block;
}

.widget_calculator.calculator
  .email-results-form
  .mat-form-field-appearance-fill
  .mat-form-field-infix {
  padding: unset !important;
}

.widget_calculator.calculator .email-results-form .mat-form-field {
  font-size: 14px !important;
  color: #262629;
}

.widget_calculator.calculator
  .email-results-form
  .mat-form-field-appearance-fill
  .input-group {
  border: none !important;
}

.widget_calculator.calculator form {
  margin-block-end: 0em !important;
}

.widget_calculator.calculator .email-results-form .mat-error {
  padding-top: 20px;
  color: #f44336;
}

.widget_calculator .emailLabel {
  color: #262629 !important;
  font-size: 14px !important;
}

/*spinner*/

@keyframes button-loading-spinner {
  from {
    transform: rotate(0turn);
  }
  to {
    transform: rotate(1turn);
  }
}

.widget_calculator.calculator .spinner::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 65%;
  left: 17%;
  right: 20px;
  bottom: 20px;
  margin-top: -10px;
  margin-left: -10px;
  border: 4px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: button-loading-spinner 1s ease infinite;
}

.widget_calculator.calculator .input-group > .form-control {
  text-align: right !important;
}

.widget_calculator.calculator #currentInterestRate,
.widget_calculator.calculator #interestRate {
  padding-right: 33px !important;
}

.widget_calculator.calculator #remainingLoanTerm,
.widget_calculator.calculator #loanTerm,
.widget_calculator.calculator #lumpSumStartsAfter {
  padding-right: 60px !important;
}

.widget_calculator.calculator #amountCurrentLoan,
.widget_calculator.calculator #loanAmount,
.widget_calculator.calculator #additionalRepaymentsAmount,
.widget_calculator.calculator #lumpSumAmount {
  padding-right: 17px !important;
}

/*pulse*/

@keyframes pulse {
  from {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 1), 0 0 0 0 rgba(234, 23, 119, 1);
  }
  to {
    box-shadow: 0 0 0 0.65em rgba(255, 255, 255, 1),
      0 0 0 1em rgba(234, 23, 119, 1);
  }
}

div[class^="pulse-"] {
  background-color: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: inline-block;
}

div[class^="pulse-"] .animated {
  animation: pulse 0.7s;
}

.widget_calculator.calculator .pulse-multiple:active {
  animation: pulse 0.6s infinite ease-out;
}

@media (max-width: 760px) {
  .widget_calculator.calculator .tool::after {
    font-size: 12px;
    margin-left: -10em;
    width: 14em;
  }
  .home-loan-repayments-advert-tile-section {
    padding: 30px 30px 0px 30px;
  }
}

@media (min-width: 768px) {
  .widget_calculator.calculator .input-group-append {
    right: 60px;
  }
  .widget_calculator.calculator .input-group-append2 {
    right: 18px;
  }
  .widget_calculator.calculator .percentfld {
    padding-right: 26px !important;
  }
}

#my-square-custom-control {
  max-width: 100%;
  height: 220px;
  width: 330px;
  aspect-ratio: 1;
}

/*CLS fix height of calc widgets*/
#refinance-box {
  min-height: 850px;
}

#equity-calculator-box {
  min-height: 500px;
}

#offset-calculator-box {
  min-height: 600px;
}

#hl-repayment-calculator-box {
  min-height: 600px;
}

#cl-repayments-box {
  min-height: 770px;
}

#chart-container {
  max-width: 100%;
  height: 220px;
  width: 330px;
}

#stamp-duty-box {
  min-height: 568px;
}

.widget_calculator.calculator .fa,
.widget_calculator.calculator .fas {
  font-weight: 900;
  color: #a0389b;
}

.widget_calculator.calculator .tile-header-text {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
  font-size: 24px !important;
}

/*calculator-home-equity*/
.widget_calculator.calculator-home-equity .home-equity-header {
  font-style: normal;
  font-weight: normal;
  font-size: 34px;
  line-height: 41px;
  color: #262629;
}

.widget_calculator.calculator-home-equity .home-equity-headertext {
  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 22px;
  color: #262629;
}

/*home equity form*/
.widget_calculator.calculator-home-equity .home-equity-form {
  padding: 0px 20px 0px 20px;
}

.widget_calculator.calculator-home-equity .subtext {
  color: #262629;
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 17px;
}

.widget_calculator.calculator-home-equity .form-label {
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 17px;
  color: #262629;
}

.widget_calculator.calculator-home-equity A.morelink {
  color: #a0389b;
  font-size: 14px;
  font-style: normal;
  font-size: 14px;
  line-height: 17px;
}

.widget_calculator.calculator-home-equity A.morelink:link {
  text-decoration: none;
  color: #a0389b;
}

.widget_calculator.calculator-home-equity A.morelink:visited {
  text-decoration: none;
  color: #a0389b;
}

.widget_calculator.calculator-home-equity A.morelink:hover {
  text-decoration: none;
  color: #a0389b;
}

.widget_calculator.calculator-home-equity A.morelink:active {
  text-decoration: none;
  color: #a0389b;
}

/*product card*/
.widget_calculator.calculator-home-equity .product-card .item {
  padding: 15px;
}

.widget_calculator.calculator-home-equity .product-card {
  border-radius: 24px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  min-height: 100px;
  padding: 15px 30px 30px;
  width: 350px;
}

.widget_calculator.calculator-home-equity .product-card .compare {
  margin-right: -30px;
  margin-bottom: 15px;
}

.widget_calculator.calculator-home-equity .product-card .inform {
  margin-right: -40px;
  margin-bottom: 15px;
}

.widget_calculator.calculator-home-equity .product-card .tag {
  background: rgb(249, 185, 214);
  border-radius: 2px;
  font-weight: 600;
  font-size: 8px;
  line-height: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
}

.widget_calculator.calculator-home-equity .product-card .heading {
  border-left: 6px solid rgb(234, 23, 119);
  padding: 0 0 0 24px;
  margin-bottom: 15px;
  margin-left: -30px;
}

.widget_calculator.calculator-home-equity .product-card .heading > span {
  border-width: 2px;
  border-style: solid;
  border-image: linear-gradient(
      90deg,
      rgb(234, 23, 119) 50%,
      rgb(86, 90, 191) 91.28%
    )
    1 / 0 0 2px 0;
}

.widget_calculator.calculator-home-equity .product-card .heading > span a {
  text-decoration: none !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  color: rgb(38, 38, 41) !important;
}

.widget_calculator.calculator-home-equity .save-this-icon {
  font-style: normal;
  font-weight: 600;
  font-size: 8px;
  line-height: 10px;
  color: #262629;
  text-transform: uppercase;
}

.widget_calculator.calculator-home-equity .product-card .body {
  font-style: normal;
  font-weight: 300;
  font-size: 20px;
  line-height: 130%;
}

.calculator-home-equity .product-card .useable-equity > div span {
  letter-spacing: -1px;
  font-style: normal;
  border-left: 6px solid rgb(234, 23, 119);
  padding: 0 0 0 24px;
  margin-bottom: 15px;
  margin-left: -30px;
}

.widget_calculator.calculator-home-equity .product-card .summaryresult {
  font-size: 48px;
  color: rgb(38, 38, 41);
  line-height: 58px;
  font-weight: 600;
}

.widget_calculator.calculator-home-equity .product-card .compareicon {
  color: #ea1777;
  font-size: 17px;
}

.widget_calculator.calculator-home-equity .product-card .informicon {
  color: #262629;
  font-size: 17px;
  text-align: right;
}

.widget_calculator.calculator-home-equity .product-card .savelink {
  color: #262629;
  text-decoration: none;
  text-align: center;
}

.widget_calculator.calculator-home-equity .product-card .savelink:hover {
  color: #ea1777;
  text-decoration: none;
}

.widget_calculator.calculator-home-equity .product-card .total-equity-text {
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 17px;
  color: #262629;
}

.widget_calculator.calculator-home-equity .product-card .total-equity-amount {
  font-style: normal;
  font-weight: normal;
  font-size: 23px;
  line-height: 28px;
  color: #262629;
}

/*home-equity-cta*/
.widget_calculator.calculator-home-equity .home-equity-cta {
  background-color: #f5f5f5;
  padding: 50px 20px 50px 20px;
  border-radius: 24px;
}

.widget_calculator.home-equity-cta-section {
  padding: 0 30px 0px 30px;
}

.widget_calculator.calculator-home-equity
  .home-equity-cta
  .home-equity-cta-text {
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 22px;
  color: #262629;
}

/*tooltip*/
.widget_calculator.calculator-home-equity .tool {
  cursor: help;
  position: relative;
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 17px;
  text-decoration: none;
}

/*== common styles for both parts of tool tip ==*/
.widget_calculator.calculator-home-equity .tool::before,
.widget_calculator.calculator-home-equity .tool::after {
  left: 50%;
  opacity: 0;
  position: absolute;
  z-index: -100;
  text-decoration: none;
}

.widget_calculator.calculator-home-equity .tool:hover::before,
.widget_calculator.calculator-home-equity .tool:focus::before,
.widget_calculator.calculator-home-equity .tool:hover::after,
.widget_calculator.calculator-home-equity .tool:focus::after {
  opacity: 1;
  transform: scale(1) translateY(0);
  z-index: 100;
  text-decoration: none;
}

/*pointer tip*/
.widget_calculator.calculator-home-equity .tool::before {
  border-style: solid;
  border-width: 1em 0.75em 0 0.75em;
  border-color: #dcdcdc transparent transparent transparent;
  bottom: 100%;
  content: "";
  margin-left: -0.5em;
  transition: all 0.65s cubic-bezier(0.84, -0.18, 0.31, 1.26),
    opacity 0.65s 0.5s;
  transform: scale(0.6) translateY(-90%);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0);
}

.widget_calculator.calculator-home-equity:hover::before,
.widget_calculator.calculator-home-equity:focus::before {
  transition: all 0.65s cubic-bezier(0.84, -0.18, 0.31, 1.26) 0.2s;
}

/*tooltip speech bubble*/
.widget_calculator.calculator-home-equity .tool::after {
  background: #f5f5f5;
  border-radius: 0.25em;
  bottom: 180%;
  color: #262629;
  content: attr(data-tip);
  margin-left: -8.75em;
  padding: 1em;
  transition: all 0.65s cubic-bezier(0.84, -0.18, 0.31, 1.26) 0.2s;
  transform: scale(0.6) translateY(50%);
  width: 17.5em;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
}

.widget_calculator.calculator-home-equity .tool:hover::after,
.widget_calculator.calculator-home-equity .tool:focus::after {
  transition: all 0.65s cubic-bezier(0.84, -0.18, 0.31, 1.26);
}

/*formbar*/
.widget_calculator.calculator-home-equity .form-bar-item,
.widget_calculator.calculator-home-equity .form-bar-item:hover {
  background-color: rgb(86, 90, 191);
  border-radius: 24px;
  color: rgb(255, 255, 255);
  font-size: 13px;
  line-height: 29px;
  letter-spacing: 1px;
  text-align: center;
  padding: 10px 25px;
  cursor: pointer;
  display: block;
}

/*form fields*/
.widget_calculator.calculator-home-equity .inputfld {
  text-align-last: right;
}

.widget_calculator.calculator-home-equity .form-control {
  display: block !important;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px) !important;
  padding: 0.375rem 0.75rem !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #495057;
  background-color: #fff !important;
  background-clip: padding-box !important;
  border: 1px solid #ced4da !important;
  border-radius: 0.25rem !important;
}

.widget_calculator.calculator-home-equity .mat-input-element {
  box-sizing: unset !important;
}

.widget_calculator.calculator-home-equity .mat-error-align {
  text-align: right;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 17px;
  color: #f44336;
}

.widget_calculator.calculator-home-equity .input-group {
  height: 52px;
}

@media (max-width: 760px) {
  .widget_calculator.calculator-home-equity .tool::after {
    font-size: 12px;
    margin-left: -10em;
    width: 14em;
  }
  .widget_calculator.home-equity-cta-section {
    padding: 30px 30px 0px 30px;
  }
}
