/*
Calculator styles
*/
#adsar {
  display: flex;
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  #adsar {
    flex-wrap: wrap;
    width: auto;
    max-width: none;
  }
}

#adsar > div {
  flex: 1;
}

#adsar #mainform {
  flex-basis: 47%;
  padding: 16px;
}

@media (max-width: 767px) {
  #adsar #mainform {
    flex-basis: 100%;
  }
}

#adsar .results {
  flex-basis: 53%;
  background-color: #f0f2fe;
  border-radius: 8px;
  padding: 16px;
}

@media (max-width: 767px) {
  #adsar .results {
    flex-basis: 100%;
    border-radius: 0;
  }
}

#adsar h1,
#adsar .h1 {
  color: var(--article-headings-color);
  font-family: var(--heading-font-family);
  font-size: 20px;
  font-weight: bold;
  line-height: 24px;
  margin-bottom: 8px;
  margin-top: 0;
}

#adsar .results h1,
#adsar .results .h1 {
  font-size: 25px;
  line-height: 30px;
}

#adsar h2 {
  color: var(--article-headings-color);
  font-family: var(--heading-font-family);
  font-size: 18px;
  line-height: 26px;
  margin-top: 10px;
  font-weight: bold;
  margin-bottom: 10px;
}

#adsar h3 {
  color: var(--article-headings-color);
  font-family: var(--heading-font-family);
  font-size: 18px;
  line-height: 26px;
  margin-top: 10px;
  font-weight: bold;
  margin-bottom: 10px;
}

#adsar .text-center {
  text-align: center;
}

#adsar .sliderlabelleft,
#adsar .sliderlabelright {
  font-weight: bold;
  margin-bottom: 3px;
  color: #3d403d;
  display: none;
}

#adsar .sliderlabelleft {
  float: left;
  text-align: left;
}

#adsar .sliderlabelright {
  float: right;
  text-align: right;
}

#adsar .calculatetop {
  margin-top: 25px;
}

#adsar .btn.link {
  display: inline-flex;
  align-items: center;
  margin: 24px auto 0;
  text-decoration: none;
  cursor: pointer;
  background-color: var(--cta-primary-background);
  border-color: var(--cta-primary-background);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 24px 82px 24px 16px;
  border-radius: 16px;
  position: relative;
  width: 100%;
}

#adsar .btn.link:after {
  display: block;
  content: '';
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background-color: var(--lilac-200);
  top: calc(50% - 21px);
  right: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='23.999999999999996' xmlns='http://www.w3.org/2000/svg' fill='none'%3E%3Cg%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cpath id='svg_1' fill='%23291D4C' d='m11.2929,4.29289c0.3905,-0.39052 1.0237,-0.39052 1.4142,0l7,7.00001c0.3905,0.3905 0.3905,1.0237 0,1.4142l-7,7c-0.3905,0.3905 -1.0237,0.3905 -1.4142,0c-0.3905,-0.3905 -0.3905,-1.0237 0,-1.4142l5.2929,-5.2929l-11.5858,0c-0.55228,0 -1,-0.4477 -1,-1c0,-0.5523 0.44772,-1 1,-1l11.5858,0l-5.2929,-5.29289c-0.3905,-0.39053 -0.3905,-1.02369 0,-1.41422z' clip-rule='evenodd' fill-rule='evenodd'/%3E%3Cpath id='svg_2' fill='%23291D4C' d='m47.52241,4.62076c0.3905,-0.39052 1.0237,-0.39052 1.4142,0l7,7.00001c0.3905,0.3905 0.3905,1.0237 0,1.4142l-7,7c-0.3905,0.3905 -1.0237,0.3905 -1.4142,0c-0.3905,-0.3905 -0.3905,-1.0237 0,-1.4142l5.2929,-5.2929l-11.5858,0c-0.55228,0 -1,-0.4477 -1,-1c0,-0.5523 0.44772,-1 1,-1l11.5858,0l-5.2929,-5.29289c-0.3905,-0.39053 -0.3905,-1.02369 0,-1.41422z' clip-rule='evenodd' fill-rule='evenodd'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 60px 24px;
  background-position: calc(100% - 10px) 9px;
  transition: background-position 300ms linear;
  position: absolute;
}

#adsar .btn.link:hover:after {
  background-position: calc(100% + 27px) 9px;
}

#adsar .btn.link:hover {
  background-color: var(--purple-500);
  border-color: var(--purple-500);
  outline: 2px solid var(--purple-500);
}

#adsar .btn.link:focus {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  outline: 2px solid #ffffff;
  box-shadow: 0 0 0 4px #2b173f;
}

#adsar p {
  font-size: 16px;
  color: #291d4c;
  line-height: 22px;
  margin: 8px 0;
}

#adsar p.assume {
  margin-bottom: 0;
  font-size: 14px;
  text-align: left;
  display: none;
}

#adsar .p {
  margin-bottom: 1em;
}

#adsar .resultslinkblock {
  padding-top: 35px;
}

#adsar .error,
#adsar .form_error {
  margin-top: 20px;
}

#adsar .heading {
  margin-top: 24px;
  display: block;
  color: var(--article-headings-color);
  font-family: var(--heading-font-family);
  font-size: 20px;
  font-weight: bold;
  line-height: 28px;
  margin-bottom: 8px;
}

#adsar .row.form-group {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 auto;
}

@media (max-width: 767px) {
  #adsar .row.form-group {
    width: 100%;
  }
}

#adsar .row.form-group > div {
  flex: 1;
}

#adsar .row.form-group > div:first-child {
  margin-right: 10px;
}

@media (max-width: 767px) {
  #adsar .row.form-group > div {
    flex-basis: 100%;
    margin-right: 0;
  }

  #adsar .results .row.form-group > div {
    max-width: 100%;
  }
}

#adsar .results .row.form-group {
  display: block;
}

#adsar .info {
  width: 19px;
  height: 19px;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='25' viewBox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 3.25C7.02944 3.25 3 7.27944 3 12.25C3 17.2206 7.02944 21.25 12 21.25C16.9706 21.25 21 17.2206 21 12.25C21 7.27944 16.9706 3.25 12 3.25ZM1 12.25C1 6.17487 5.92487 1.25 12 1.25C18.0751 1.25 23 6.17487 23 12.25C23 18.3251 18.0751 23.25 12 23.25C5.92487 23.25 1 18.3251 1 12.25ZM11 8.25C11 7.69772 11.4477 7.25 12 7.25H12.01C12.5623 7.25 13.01 7.69772 13.01 8.25C13.01 8.80228 12.5623 9.25 12.01 9.25H12C11.4477 9.25 11 8.80228 11 8.25ZM12 11.25C12.5523 11.25 13 11.6977 13 12.25V16.25C13 16.8023 12.5523 17.25 12 17.25C11.4477 17.25 11 16.8023 11 16.25V12.25C11 11.6977 11.4477 11.25 12 11.25Z' fill='%235B5EBF'/%3E%3C/svg%3E%0A");
  background-size: cover;
  display: inline-block;
  margin-left: 6px;
  cursor: pointer;
  margin-bottom: -2px;
}

#adsar .info:hover {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='25' viewBox='0 0 24 25' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 3.25C7.02944 3.25 3 7.27944 3 12.25C3 17.2206 7.02944 21.25 12 21.25C16.9706 21.25 21 17.2206 21 12.25C21 7.27944 16.9706 3.25 12 3.25ZM1 12.25C1 6.17487 5.92487 1.25 12 1.25C18.0751 1.25 23 6.17487 23 12.25C23 18.3251 18.0751 23.25 12 23.25C5.92487 23.25 1 18.3251 1 12.25ZM11 8.25C11 7.69772 11.4477 7.25 12 7.25H12.01C12.5623 7.25 13.01 7.69772 13.01 8.25C13.01 8.80228 12.5623 9.25 12.01 9.25H12C11.4477 9.25 11 8.80228 11 8.25ZM12 11.25C12.5523 11.25 13 11.6977 13 12.25V16.25C13 16.8023 12.5523 17.25 12 17.25C11.4477 17.25 11 16.8023 11 16.25V12.25C11 11.6977 11.4477 11.25 12 11.25Z' fill='%23291D4C'/%3E%3C/svg%3E%0A");
}

#adsar a.info:focus {
  background-color: transparent;
  box-shadow: none;
}

#adsar .row.form-group.info-block {
  display: none;
}

#adsar .info-block p {
  text-align: left;
  margin: 0 0 1em;
  font-size: 14px;
  color: #646664;
  font-weight: 300;
  line-height: 1.4;
}

#adsar .row.form-group.error {
  margin-left: auto;
  margin-right: auto;
  display: none;
}

#adsar .form_error {
  position: relative;
  padding: 2px 20px 2px 60px;
  border-left: 5px solid #e21219;
  background-color: #fde8e9;
  margin-bottom: 20px;
}

#adsar .form_error p {
  padding: 8px;
  color: #e21219;
}

#adsar .form_error strong {
  font-weight: bold;
}

#adsar .form_error .icon {
  width: 28px;
  height: 28px;
  display: block;
  position: absolute;
  top: 20px;
  left: 20px;
  border-radius: 14px;
  fill: none;
  background-color: rgba(255, 255, 255, 0);
  stroke: #e21219;
  color: #ffffff;
}

#adsar .input-group.error-control input {
  border-color: var(--color-tint-negative);
  color: var(--color-tint-negative);
  background-color: #fde8e9;
}

#adsar .input-group {
  display: flex;
  vertical-align: middle;
  width: 100%;
  position: relative;
}

#adsar .input-group.input-group-gap {
  gap: 8px;
}

#adsar .input-group-addon {
  box-sizing: border-box;
  background-color: transparent;
  line-height: 1;
  font-size: 24px;
  padding: 9px 13px;
  transition: all 0.2s linear;
  font-weight: 600;

  position: absolute;
  top: calc(50% - 25px);
  left: 1px;
  z-index: 1;
  border: 0;
  box-shadow: none;

  color: #8e82b1;
}

#adsar .input-group .input-group-addon + input {
  padding-left: 36px;
}

#adsar input + .input-group-addon {
  left: inherit;
  right: 4px;
}

#adsar .input-group input {
  padding: 15px 13px 13px;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.5;
  border-radius: 12px;
  box-sizing: border-box;
  background-color: #fff;
  display: block;
  color: #291d4c;
  transition: all 0.2s ease-in-out;
  margin: 0 0 10px;
  border: 1px solid var(--purple-400);
  box-shadow: none;
  outline: none;
  width: 100%;
}

@media (max-width: 767px) {
  #adsar .input-group input {
    padding: 9px 13px 9px;
  }
}

#adsar .input-group input:focus {
  box-shadow: 0 0 0 1px var(--color-primary);
  border-color: var(--color-primary);
}

#adsar .input-group .plus,
#adsar .input-group .minus {
  width: 66px;
  min-width: 66px;
  height: 66px;
  background-color: #d9d8ff;
  border-radius: 8px;
  background-repeat: no-repeat;
  background-position: center center;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  #adsar .input-group .plus,
  #adsar .input-group .minus {
    width: 56px;
    min-width: 56px;
    height: 56px;
  }
}

#adsar .input-group .plus:hover,
#adsar .input-group .minus:hover {
  background-color: #4a3c70;
}

#adsar .input-group .plus,
#adsar .input-group .plus:active:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='none'%3E%3Cpath fill='%23291D4C' fill-rule='evenodd' d='M14.4.65c.8 0 1.45.65 1.45 1.45v10.85h10.86a1.45 1.45 0 1 1 0 2.9H15.85v10.86a1.45 1.45 0 1 1-2.9 0V15.85H2.1a1.45 1.45 0 1 1 0-2.9h10.85V2.1c0-.8.65-1.45 1.45-1.45Z' clip-rule='evenodd'/%3E%3C/svg%3E%0A");
}
#adsar .input-group .plus:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='none'%3E%3Cpath fill='%23D9D8FF' fill-rule='evenodd' d='M14.4.65c.8 0 1.45.65 1.45 1.45v10.85h10.86a1.45 1.45 0 1 1 0 2.9H15.85v10.86a1.45 1.45 0 1 1-2.9 0V15.85H2.1a1.45 1.45 0 1 1 0-2.9h10.85V2.1c0-.8.65-1.45 1.45-1.45Z' clip-rule='evenodd'/%3E%3C/svg%3E%0A");
}

#adsar .input-group .plus.disabled {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' height='29' fill='none'%3E%3Cpath fill='%23989898' fill-rule='evenodd' d='M14.4.65c.8 0 1.45.65 1.45 1.45v10.85h10.86a1.45 1.45 0 1 1 0 2.9H15.85v10.86a1.45 1.45 0 1 1-2.9 0V15.85H2.1a1.45 1.45 0 1 1 0-2.9h10.85V2.1c0-.8.65-1.45 1.45-1.45Z' clip-rule='evenodd'/%3E%3C/svg%3E%0A");
  background-color: #efefef;
}

#adsar .input-group .minus,
#adsar .input-group .minus:active:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='4' fill='none'%3E%3Cpath stroke='%23291D4C' stroke-linecap='round' stroke-width='3.5' d='M2 2h24'/%3E%3C/svg%3E%0A");
}

#adsar .input-group .minus:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='4' fill='none'%3E%3Cpath stroke='%23D9D8FF' stroke-linecap='round' stroke-width='3.5' d='M2 2h24'/%3E%3C/svg%3E%0A");
}

#adsar .input-group .minus.disabled {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='4' fill='none'%3E%3Cpath stroke='%23989898' stroke-linecap='round' stroke-width='3.5' d='M2 2h24'/%3E%3C/svg%3E%0A");
  background-color: #efefef;
}

#adsar .input-group .plus:active,
#adsar .input-group .minus:active {
  background-color: #d9d8ff;
}

.select-wrapper select {
  background-color: transparent;
  padding: 11px 55px 15px 15px;
  position: relative;
  cursor: pointer;
  transition: all 0.1s linear;
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  appearance: none;
  display: block;
  width: 100%;
  box-sizing: border-box;
  color: #8e82b1;
}

.select-wrapper select:focus {
  outline: none;
}

.select-wrapper {
  height: 47px;
  background-color: #ffffff;
  border-radius: 12px;
  display: inline-block;
  position: relative;
  z-index: 1;
  transition: all 0.2s linear;
  overflow: hidden;
  border: 1px solid var(--purple-400);
  width: 100%;
}

.select-wrapper:focus-within {
  border-color: var(--color-primary);
}

.select-wrapper.hidden {
  height: 0;
}

.select-wrapper.selection-complete {
  background-color: #00aeef;
  box-shadow: inset 0 2px 0 0 #0083b3;
}

.select-wrapper:before,
.select-wrapper:after {
  z-index: -1;
  transition: all 0.2s linear;
}

.select-wrapper:before {
  width: 30px;
  height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  content: '';
  z-index: 10;
  background-color: #ffffff;
  pointer-events: none;
}

.select-wrapper:after {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.292893 0.292893C0.683417 -0.0976311 1.31658 -0.0976311 1.70711 0.292893L7 5.58579L12.2929 0.292893C12.6834 -0.0976311 13.3166 -0.0976311 13.7071 0.292893C14.0976 0.683417 14.0976 1.31658 13.7071 1.70711L7.70711 7.70711C7.31658 8.09763 6.68342 8.09763 6.29289 7.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683417 0.292893 0.292893Z' fill='%23291D4C'/%3E%3C/svg%3E%0A");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
  position: absolute;
  top: 15px;
  right: 15px;
  height: 16px;
  width: 16px;
  z-index: 11;
  pointer-events: none;
}

.pseudo-select {
  background-color: transparent;
  padding: 16px 55px 15px 15px;
  position: relative;
  cursor: pointer;
  transition: all 0.1s linear;
  display: block;
  margin: 0 0 10px;
  box-shadow: 0 2px 0 0 #d1d5d6;
  border: 0;
}

#adsar .accentcolour {
  font-weight: bold;
  color: var(--color-primary);
}

#adsar .resultsblock {
  display: grid;
  gap: 16px;
  grid-template-areas:
    'monthlyrepayments monthlyrepayments'
    'interestcost totalamount'
    'deposit totalamount'
    'apr totalamount';
  margin-bottom: 32px;
}

@media (max-width: 767px) {
  #adsar .resultsblock {
    gap: 8px;
    grid-template-areas:
      'monthlyrepayments monthlyrepayments'
      'interestcost totalamount'
      'deposit totalamount'
      'apr totalamount';
  }
}

#adsar .calculator-1 p,
#adsar .calculator-2 p {
  color: var(--primary-text-color);
}

#adsar .calculator-1 > p,
#adsar .calculator-2 > p {
  margin-bottom: 16px;
}

#adsar .calculator-1 p span,
#adsar .calculator-2 p span {
  font-weight: bold;
}

#adsar .calculator-1 h3,
#adsar .calculator-2 h3 {
  border-top: 1px solid #d9d8ff;
  padding-top: 32px;
  font-size: 20px;
  line-height: 24px;
}

#adsar .calculator-1 {
  display: block;
}

#adsar .calculator-2 {
  display: none;
}

#adsar .monthlyrepayments {
  grid-area: monthlyrepayments;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill='%23291D4C' fill-rule='evenodd' d='M7.9997 2.083c-3.2677 0-5.9167 2.649-5.9167 5.9167 0 3.2677 2.649 5.9166 5.9167 5.9166 3.2677 0 5.9166-2.6489 5.9166-5.9166S11.2674 2.083 7.9997 2.083ZM.583 7.9997C.583 3.9036 3.9036.583 7.9997.583s7.4166 3.3206 7.4166 7.4167-3.3205 7.4166-7.4166 7.4166S.583 12.0958.583 7.9997Zm6.7636-2.03c.001-.3404.0995-.5191.1932-.6206.103-.1116.2678-.2017.5035-.243.517-.0908 1.0806.0968 1.3015.3067a.75.75 0 0 0 1.0331-1.0876c-.621-.5897-1.6893-.8554-2.594-.6966-.4752.0834-.9687.2939-1.3464.7031-.3865.4188-.5907.98-.591 1.6424l.0001.0098c.0089.6929.267 1.17.4505 1.509l.0128.0236.0358.0665h-.346a.75.75 0 1 0 0 1.5h.4956c-.1043.4585-.289.8837-.4858 1.2407a5.8014 5.8014 0 0 1-.4052.634 4.2215 4.2215 0 0 1-.1605.2049l-.0058.0067v-.0001l-.0001.0003-.0007.0007a.75.75 0 0 0 .5625 1.2461h4a.75.75 0 1 0 0-1.5H7.3939c.257-.4901.5146-1.1205.6285-1.8333H9.333a.75.75 0 0 0 0-1.5H7.975c-.092-.311-.2259-.5586-.334-.7583l-.0116-.0215c-.18-.333-.278-.529-.2828-.8335Z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 8px 11px;
  background-size: 24px;
  padding: 8px 8px 8px 48px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 20px;
}

#adsar .monthlyrepayments > div {
  font-size: 20px;
  font-weight: 600;
  margin-top: 6px;
}

#adsar .interestcost {
  grid-area: interestcost;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none'%3E%3Cpath fill='%23291D4C' fill-rule='evenodd' d='M1 .25a.75.75 0 0 1 .75.75v9.8667c0 .3857.0006.6299.0157.8146.0143.176.038.2309.0479.2502a.583.583 0 0 0 .255.2549c.0192.0098.0741.0335.25.0479.1848.0151.429.0157.8147.0157H13a.75.75 0 0 1 0 1.5H3.1051c-.3492 0-.6554 0-.9086-.0207-.2687-.0219-.543-.0709-.809-.2064a2.083 2.083 0 0 1-.9104-.9104c-.1355-.266-.1845-.5403-.2064-.809C.25 11.5503.25 11.2441.25 10.8949V1A.75.75 0 0 1 1 .25Zm11.6667 1.6667a.75.75 0 0 1 .75.75v8a.75.75 0 0 1-1.5 0v-8a.75.75 0 0 1 .75-.75Zm-3 2a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0v-6a.75.75 0 0 1 .75-.75Zm-3 2a.75.75 0 0 1 .75.75v4a.75.75 0 0 1-1.5 0v-4a.75.75 0 0 1 .75-.75Zm-3 2a.75.75 0 0 1 .75.75v2a.75.75 0 0 1-1.5 0v-2a.75.75 0 0 1 .75-.75Z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 8px 11px;
  background-size: 24px;
  padding: 8px 8px 8px 48px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 20px;
}

#adsar .interestcost > div {
  font-size: 20px;
  font-weight: 600;
  margin-top: 6px;
}

#adsar .apr {
  grid-area: apr;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill='%23291D4C' fill-rule='evenodd' d='M8.0007 2.083c-3.2677 0-5.9167 2.649-5.9167 5.9167 0 3.2677 2.649 5.9166 5.9167 5.9166 3.2676 0 5.9166-2.6489 5.9166-5.9166S11.2683 2.083 8.0007 2.083ZM.584 7.9997C.584 3.9036 3.9045.583 8.0007.583c4.0961 0 7.4166 3.3206 7.4166 7.4167s-3.3205 7.4166-7.4166 7.4166c-4.0962 0-7.4167-3.3205-7.4167-7.4166Zm10.6136-3.197a.75.75 0 0 1 0 1.0606l-5.3333 5.3334a.75.75 0 1 1-1.0606-1.0607l5.3333-5.3333a.75.75 0 0 1 1.0606 0Zm-6.2803 1.197c0-.5983.485-1.0834 1.0834-1.0834.5983 0 1.0833.485 1.0833 1.0834 0 .5983-.485 1.0833-1.0833 1.0833-.5984 0-1.0834-.485-1.0834-1.0833Zm4 4c0-.5983.485-1.0834 1.0834-1.0834.5983 0 1.0833.485 1.0833 1.0834 0 .5983-.485 1.0833-1.0833 1.0833-.5984 0-1.0834-.485-1.0834-1.0833Z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 8px 11px;
  background-size: 24px;
  padding: 8px 8px 8px 48px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 20px;
}

#adsar .apr > div {
  font-size: 20px;
  font-weight: 600;
  margin-top: 6px;
}

#adsar .deposit {
  grid-area: deposit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='14' fill='none'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='%23291D4C' d='M10.886 13.5h-1.27c-.25 0-.46 0-.69-.12-.21-.11-.37-.27-.47-.47-.12-.24-.12-.45-.12-.7v-.05l-.5.05c0 .25 0 .46-.12.69-.11.21-.27.37-.47.47-.23.12-.45.12-.69.12h-1.27c-.25 0-.46 0-.69-.12-.21-.11-.37-.27-.48-.47-.12-.23-.12-.45-.12-.69v-1.52c-.69-.7-1.12-1.58-1.27-2.53-1.14-.01-2.06-.94-2.06-2.08 0-.74.4-1.43 1.04-1.8.36-.21.82-.08 1.02.27.21.36.08.82-.27 1.02-.18.1-.29.3-.29.51 0 .31.25.57.56.58.21-1.3.94-2.42 1.97-3.14-.02-.15-.03-.29-.03-.44 0-1.7 1.38-3.08 3.08-3.08 1.51 0 2.78 1.1 3.03 2.54l1.08-.31c.3-.08.55-.16.85-.07.26.07.48.24.62.47.16.27.16.52.16.84v.67c.35.36.64.76.85 1.2.18 0 .35.02.53.11.22.1.4.28.51.5.11.23.11.43.11.66v2.28c0 .25 0 .46-.12.69-.11.21-.27.37-.48.48-.22.12-.44.12-.69.12h-.26c-.47.65-1.08 1.17-1.79 1.52v.53c0 .25 0 .46-.12.69-.11.21-.27.37-.47.47-.24.12-.45.12-.7.12l.03-.01ZM9.836 12h.83v-.43c0-.18 0-.33.06-.51.05-.15.14-.29.26-.41.13-.13.27-.19.46-.28.53-.25.98-.63 1.32-1.12.1-.14.17-.24.29-.34.11-.09.23-.15.37-.2.16-.05.29-.05.43-.05h.14V6.82c-.08 0-.17-.02-.26-.05-.17-.06-.31-.15-.44-.28-.12-.13-.18-.26-.26-.43-.16-.35-.38-.67-.65-.94-.08-.08-.16-.16-.23-.27-.06-.1-.1-.2-.13-.32s-.03-.23-.03-.34v-.45l-1.3.37s-.1.03-.13.03c-.02 0-.08.01-.11.01h-3.04c-1.79 0-3.24 1.46-3.24 3.25 0 .86.33 1.68.94 2.29.09.09.16.17.23.27.06.1.1.2.13.31.03.13.03.23.03.35v1.36l.83-.05c0-.25 0-.46.12-.69.1-.2.26-.36.47-.47.24-.12.45-.12.7-.12h.93c.25 0 .46 0 .69.12.21.11.38.28.48.48.12.22.12.44.12.69v.05l-.01.01ZM7.746 1.5c-.79 0-1.44.58-1.56 1.33.39-.1.8-.16 1.22-.16h1.87c-.18-.67-.8-1.17-1.53-1.17Z'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M.666 0h14.83v13.5H.666z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 8px 11px;
  background-size: 24px;
  padding: 8px 8px 8px 48px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 20px;
}

#adsar .deposit > div {
  font-size: 20px;
  font-weight: 600;
  margin-top: 6px;
}

#adsar .totalamount {
  align-items: center;
  border-radius: 50%;
  display: flex;
  height: 152px;
  width: 152px;
  justify-content: center;
  margin: 8px auto 0;
  grid-area: totalamount;
  text-align: center;
  cursor: pointer;
}

#adsar .totalamount .totalamountheader {
  z-index: 2;
  font-size: 12px;
  line-height: 17px;
}

#adsar .totalamount .totalamountheader + .totalamountheader {
  margin-top: 4px;
}

#adsar .totalamount .totalamounthover {
  display: none;
  z-index: 2;
}

#adsar .totalamount .totalamountvalue {
  font-size: 18px;
  line-height: 25px;
  font-weight: 600;
  margin-top: 2px;
}

#adsar .totalamount span {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 4px;
  margin-bottom: -3px;
}

#adsar .totalamount span.totalamountbalance {
  background-color: #5b5ebf;
}

#adsar .totalamount span.totalamountinterest {
  background-color: #d9d8ff;
}

#adsar .savings {
  font-size: 19px;
  line-height: 27px;
  margin-bottom: 16px;
}

#adsar .savings span {
  font-weight: 600;
  color: #007a72;
  font-size: 19px;
  line-height: 27px;
}

#adsar .chart {
  position: absolute;
  width: 152px;
  height: 152px;
  top: 50%;
  left: 50%;
  margin: -76px 0 0 -76px;
}

#adsar .doughnutTip,
#adsar .doughnutTip2 {
  position: absolute;
  min-width: 30px;
  max-width: 300px;
  padding: 4px 8px;
  background: #291d4c;
  border: 1px solid #291d4c;
  border-radius: 4px;
  font-size: 12px;
  line-height: 14px;
  color: #f2f6fe;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 1;
}

#adsar .doughnutTip::after,
#adsar .doughnutTip2::after {
  position: absolute;
  left: 50%;
  bottom: -6px;
  content: '';
  height: 0;
  margin: 0 0 0 -6px;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-top: 6px solid rgba(0, 0, 0, 0.7);
  line-height: 0;
}

#adsar .doughnutSummary {
  position: absolute;
  top: 55px;
  left: 30px;
  right: 30px;
  bottom: 55px;
  text-align: center;
  cursor: default;
  display: flex;
  flex-direction: column;
  align-self: center;
}

#adsar .doughnutSummaryTitle {
  font-size: 12px;
  line-height: 17px;
  color: var(--primary-text-color);
  margin: 0;
}

#adsar .doughnutSummaryNumber {
  font-size: 18px;
  line-height: 25px;
  font-weight: 600;
  margin-top: 2px;
  margin-bottom: 0;
  color: var(--primary-text-color);
}

#adsar .chart:has(path:hover) path {
  opacity: 0.25;
  cursor: pointer;
}

#adsar .chart:has(path:hover) path:hover {
  opacity: 1;
}

#adsar .tryswitching {
  border-top: 1px solid #d9d8ff;
  margin-top: 8px;
  padding-top: 16px;
}

#adsar .tryswitching .h1 {
  margin-bottom: 12px;
}

#adsar .tryswitching p {
  color: #291d4c;
}

#adsar .savingsfilters {
  display: flex;
  gap: 16px;
}

#adsar .savingsfilters > div {
  flex-basis: 50%;
}

#adsar .savingsfilters .heading {
  margin-top: 4px;
  font-weight: bold;
}

#adsar .savingstable {
  margin-top: 8px;
}

#adsar .savingstable table {
  width: 100%;
}

#adsar .savingstable table th {
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  color: #291d4c;
  padding: 16px;
  text-align: right;
}

#adsar .savingstable table tbody td {
  background-color: #ffffff;
  font-size: 12px;
  line-height: 17px;
  color: #291d4c;
  text-align: left;
  padding: 16px;
}

@media (max-width: 767px) {
  #adsar .savingstable table tbody td {
    font-size: 12px;
    line-height: 17px;
    color: #291d4c;
    text-align: left;
  }
}

#adsar .savingstable table tbody td:nth-child(2) {
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  text-align: right;
}

#adsar .savingstable table tbody td:nth-child(3) {
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: #5b5ebf;
  text-align: right;
}

#adsar .savingstable table tbody tr:first-child td:first-child {
  border-radius: 8px 0 0;
}

#adsar .savingstable table tbody tr:first-child td:last-child {
  border-radius: 0 8px 0 0;
}

#adsar .savingstable table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 8px;
}

#adsar .savingstable table tbody tr:last-child td:last-child {
  border-radius: 0 0 8px;
}

#adsar .savingstable table tbody tr {
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #f0f2fe;
}

#adsar .savingstable table tbody tr:last-child {
  border-bottom: 0;
}

.resultstabs {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

#adsar .resultstabs a {
  text-decoration: none;
  color: #291d4c;
  background-color: #d9d8ff;
  border-radius: 4px;
  padding: 8px 12px;
  display: inline-block;
  margin-bottom: 12px;
  margin-top: 4px;
  box-shadow: none !important;
  font-size: 12px;
  line-height: 17px;
}

@media (max-width: 767px) {
  #adsar .resultstabs a {
    font-size: 11px;
    line-height: 16px;
  }
}

#adsar .resultstabs a.selected {
  color: #f2f6fe;
  background-color: #4a3c70;
}

#adsar .resultstabs a:hover {
  background-color: #8987dc;
  color: #f2f6fe;
}

#adsar .resultstabs a.selected:hover {
  color: #f2f6fe;
  background-color: #4a3c70;
}

#adsar .termlengthtiny {
  font-size: 12px;
  line-height: 17px;
  color: #756899;
}

#adsar .tooltip {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath fill='%23291D4C' fill-rule='evenodd' d='M7.9997 2.083c-3.2677 0-5.9167 2.649-5.9167 5.9167 0 3.2677 2.649 5.9166 5.9167 5.9166 3.2677 0 5.9166-2.6489 5.9166-5.9166S11.2674 2.083 7.9997 2.083ZM.583 7.9997C.583 3.9036 3.9036.583 7.9997.583s7.4166 3.3206 7.4166 7.4167-3.3205 7.4166-7.4166 7.4166S.583 12.0958.583 7.9997Zm7.5747-2.5683a1.25 1.25 0 0 0-1.3905.8172.75.75 0 0 1-1.415-.4978 2.75 2.75 0 0 1 5.3441.916c-.0002 1.0646-.7887 1.7601-1.334 2.1236-.2954.197-.5855.3415-.7989.4363a5.3101 5.3101 0 0 1-.2641.1093 3.8584 3.8584 0 0 1-.0792.0292l-.024.0084-.0078.0026-.0028.001-.001.0003c-.0003.0001-.001.0004-.2382-.7112l.2381.7112c-.393.131-.8186-.081-.9496-.474a.75.75 0 0 1 .4738-.9485l.009-.0031a2.3166 2.3166 0 0 0 .0477-.0177 3.8187 3.8187 0 0 0 .189-.0782c.1616-.0719.3715-.1773.576-.3137.4547-.3031.666-.6074.666-.876v-.001a1.25 1.25 0 0 0-1.0386-1.234Zm-.908 5.9016a.75.75 0 0 1 .75-.75h.0066a.75.75 0 0 1 0 1.5h-.0066a.75.75 0 0 1-.75-.75Z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
  display: inline-block;
  background-color: transparent !important;
  box-shadow: none !important;
}

#adsar .tip,
#adsar .tip2 {
  position: absolute;
  width: 250px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 8px;
  font-weight: 380;
  font-size: 16px;
  line-height: 140%;
  color: #291d4c;
  text-align: left;
  filter: drop-shadow(8px 8px 24px rgba(91, 94, 191, 0.16));
  z-index: 1;
  top: -25px;
  margin-left: 9px;
}

#adsar .tip::after,
#adsar .tip2::after {
  position: absolute;
  left: 50%;
  bottom: -6px;
  content: '';
  height: 0;
  margin: 0 0 0 -6px;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-top: 6px solid rgba(255, 255, 255, 0.7);
  line-height: 0;
}

#adsar .tip b,
#adsar .tip2 b {
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
}

#adsar .tooltipclose {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none'%3E%3Cpath fill='%23525096' fill-rule='evenodd' d='M.2929.2929c.3905-.3905 1.0237-.3905 1.4142 0L7 5.5858l5.2929-5.293c.3905-.3904 1.0237-.3904 1.4142 0 .3905.3906.3905 1.0238 0 1.4143L8.4142 7l5.2929 5.2929c.3905.3905.3905 1.0237 0 1.4142-.3905.3905-1.0237.3905-1.4142 0L7 8.4142l-5.2929 5.2929c-.3905.3905-1.0237.3905-1.4142 0-.3905-.3905-.3905-1.0237 0-1.4142L5.5858 7 .2928 1.7071C-.0975 1.3166-.0975.6834.2929.293Z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  width: 14px;
  height: 14px;
  background-color: transparent !important;
  box-shadow: none !important;
  float: right;
}
