@font-face {
  font-family: "HeaderFont";
  src: url("./fonts/FoundersGrotesk-Bold.otf");
}
@font-face {
  font-family: "BodyFont";
  src: url("./fonts/FoundersGrotesk-Regular.otf");
}
@font-face {
  font-family: "LightFont";
  src: url("./fonts/FoundersGrotesk-Light.otf");
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  border: 0;
  font-size: 100%;
  font: inherit;
  margin: 0;
  padding: 0;
}

.wrapper {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  /* max-height: 100vh; */
}

.results .section-wrap {
  flex-direction: column;
  flex-grow: 1;
  width: 24%;
  border: none;
  display: flex;
  justify-content: flex-end;
}
.results .section-wrap .value {
  width: 100% !important;
  height: 50px !important;
  border-radius: 5px !important;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
  scroll-behavior: smooth;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

body {
  background: #fff;
  color: #022d2d;
  font-size: 90%;
  font-family: BodyFont, Helvetica, Arial, sans-serif;
  font-display: swap;
  font-stretch: normal;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  -webkit-text-size-adjust: none;
}

/* Fonts */

h1,
h2 {
  line-height: 125%;
  font-family: HeaderFont, Helvetica, Arial, sans-serif;
}

h1 {
  font-size: 41px;
  line-height: 67px;
  padding: 0;
  margin-bottom: 30px;
  margin-top: 0;
  color: #022d2d;
  font-family: HeaderFont, Helvetica, Arial, sans-serif;
}

h2 {
  font-size: 24px;
  line-height: 34px;
  font-family: HeaderFont, Helvetica, Arial, sans-serif;
  padding: 0 0 0.75em 0;
}

h3 {
  font-size: 30px;
  font-family: BodyFont, Helvetica, Arial, sans-serif;
  line-height: 42px;
  padding: 0 0 22px;
}
/* .results.select_two {
  display: none;
} */
@media only screen and (max-width: 767px) {
  /* .results.select_two {
    display: block;
  }
  .results.select_one {
    display: none;
  } */
  .checkbox input {
    margin-top: 3px !important;
  }
  .bodytitle {
    display: none;
  }
  .white-container .slider-toggler {
    display: block;
  }
  .hide-display {
    display: none;
  }
}

h3 strong {
  font-family: HeaderFont, Helvetica, Arial, sans-serif;
  font-size: 50px;
  display: block;
  line-height: 71px;
}

h4 {
  font-size: 130%;
  line-height: 125%;
  font-family: BodyFont, Helvetica, Arial, sans-serif;
  padding: 1em 0;
}

p {
  line-height: 150%;
  padding: 0.6em 0;
  color: #022d2d;
  font-size: 20px;
}
p.top-content {
  padding: 0;
  margin: 0;
}

.intro p,
.intro button {
  display: inline;
  color: #022d2d;
}

.intro button {
  background: none;
  text-decoration: underline;
  font-family: HeaderFont, Helvetica, Arial, sans-serif;
  border: none;
  outline: none;
  font-size: 20px;
  cursor: pointer;
}

strong {
  font-family: HeaderFont, Helvetica, Arial, sans-serif;
}

em {
  font-style: italic;
}

small,
p small {
  font-size: 90%;
  padding: 0 0 0.5em 0;
  line-height: 140%;
  font-family: BodyFont, Helvetica, Arial, sans-serif;
  display: block;
  color: #999;
}

@media only screen and (max-width: 767px) {
  h1 {
    font-size: 26px;
    line-height: 40px;
    margin-bottom: 17px;
  }
  .intro button,
  .top-content {
    font-size: 14px;
    text-align: left;
  }
  .intro {
    margin-bottom: 35px;
  }

  h2 {
    font-size: 20px;
    padding: 0;
    line-height: 28px;
    margin-bottom: 10px;
  }
  .range-sliders .column {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: flex-start;
    margin-bottom: 26px;
  }
  .range-sliders .column:last-child {
    margin-bottom: 46px;
  }
  .section-wrap {
    padding: 7px 10px;
  }
  .section-wrap .title {
    padding: 0 !important;
    display: flex;
    align-items: center;
  }
  .range-sliders .column .amount-slider,
  .range-sliders .column .months-slider {
    width: 100%;
    position: relative;
  }
  .range-sliders .column .output-value {
    top: -50px;
    position: absolute;
    right: 0;
    border: none;
    margin: 0;
    font-size: 18px;
  }
  .range-sliders .column .output-value i {
    display: none;
  }
  .white-container {
    padding: 30px 24px !important;
    border-radius: 40px !important;
  }
  h3 {
    font-size: 125%;
  }
}
.notification img {
  height: 180px;
  width: auto;
}

@media only screen and (max-width: 420px) {
  h1 {
    font-size: 160%;
  }
  h2 {
    font-size: 130%;
  }
  h4 {
    font-size: 100%;
    color: #001928;
  }
}

/* Headings */

.bodytitle {
  text-align: left;
}

.bodytitle h3 {
  padding-bottom: 0;
  font-size: 18px;
  font-family: HeaderFont, Helvetica, Arial, sans-serif;
}

/* Hide and Display Buttons */

.hide-display {
  padding: 0 0 1em;
  text-align: center;
}
.feature-icon img {
  height: 180px;
  width: auto;
}
.hide-display .btn-1 {
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 0 auto;
  background-color: transparent;
  border: none;
  cursor: pointer;
  color: #022d2d;
}

.hide-display .btn-2 {
  display: none;
  flex-direction: column;
  text-align: center;
  margin: 0 auto;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
.error-congrats h3 {
  font-family: HeaderFont;
}

.hide-display button img {
  height: 15px;
  display: flex;
  margin: 5px auto 0;
}

/* Breakdown Div - Display */

/* .full-breakdown {
  display: none;
} */

/* Read More/ Read Less, Expand/ Collapse Buttons */

#more {
  display: none;
}

/* Links */

a {
  color: #022d2d;
  cursor: pointer;
}

input[type="submit"],
.btn,
button,
.btn i {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.btn,
input[type="submit"] {
  -webkit-appearance: none;
  display: inline-block;
  cursor: pointer;
  padding: 1em;
  font-size: 20px;
  min-width: 300px;
  margin: 1em 0;
  border: 0;
  font-family: HeaderFont, Helvetica, Arial, sans-serif;
  color: #022d2d;
  text-align: center !important;
  text-decoration: none;
  border-radius: 50px;
  background: #dee965;
}

.btn.alt {
  background: #041b2b;
  min-width: 50px;
  padding: 0.8em 1.6em;
  font-size: 100%;
}

.btn:hover,
input[type="submit"]:hover {
  background: #d4e13d;
  cursor: pointer;
}

.btn:active,
input[type="submit"]:active {
  background: #cad733;
  cursor: pointer;
}

.btn.alt:hover {
  background: #144160;
  cursor: pointer;
}

.btn i,
.btn span {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  cursor: pointer;
}

.btn i {
  color: white;
  font-size: 150%;
}

.btn:hover i {
  color: white;
  cursor: pointer;
}

@media only screen and (max-width: 420px) {
  .btn,
  input[type="submit"] {
    padding: 1em;
    letter-spacing: 0px;
    min-width: 240px;
  }
  .btn i,
  .btn span {
    margin-right: 4px;
  }
}

/* Header */

/* header {
    background: white;
    z-index: 100;
    padding: 0;
    text-align: left;
    display: grid;
    grid-template-columns: auto auto;
    grid-column-gap: 0;
    grid-row-gap: 0;
    justify-items: stretch;
    position: relative;
    align-items: center;
    box-shadow: 0 1px 5px rgba(25, 25, 25, 0.2)
}

.logo {
    padding: 0 0 0 3vw;
}

.logo img {
    width: 150px;
}

header .btn {
    margin: 0 3vw 0 0;
}

.retail-capital {
    padding: 1em 3vw 1em 0;
    text-align: right;
}

.retail-capital img {
    width: 200px;
    float: right;
}

header img {
    display: block;
}

@media only screen and (max-width:767px) {
    header {
        grid-template-columns: auto auto;
    }
    .logo img {
        width: 125px;
    }
    .retail-capital img {
        width: 160px;
    }
}

@media only screen and (max-width:500px) {
    .logo img {
        width: 110px;
    }
    .retail-capital img {
        width: 130px;
    }
    header .btn {
        display: none;
    }
} */

header {
  background: #f8f4ef;
  z-index: 100;
  text-align: left;
  display: flex;
  height: 106px;
  justify-content: space-between;
  align-items: center;
  padding: 20px 110px;
}
header .logo,
header .retail-capital {
  height: 100% !important;
  width: auto !important;
}
header img {
  height: 100%;
  width: auto;
}

@media only screen and (max-width: 767px) {
  header {
    padding: 20px;
    height: 80px;
  }
  .section-wrap {
    display: flex;
    border: 1px solid #022d2d !important;
    border-radius: 5px;
    flex-direction: row !important;
    width: 100% !important;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2px;
  }
  .section-wrap .title {
    display: flex !important;
    font-size: 17px !important;
    line-height: 23px !important;
    /* padding: 7px 10px !important; */
    align-items: center !important;
    font-family: BodyFont, Helvetica, sans-serif !important;
  }
  .section-wrap .title span {
    margin: 1px 0 0 5px !important;
  }
  .results .section-wrap .value {
    background-color: #e5e8e7 !important;
    width: 96px !important;
    height: 29px !important;
    font-family: BodyFont, Helvetica, sans-serif !important;
    font-size: 16px !important;
    color: #022d2d !important;
    line-height: 22px !important;
    border-radius: 0 !important;
    position: relative !important;
    right: 0 !important;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }
  .section-wrap:last-of-type .value {
    background-color: #022d2d !important;
    width: 96px !important;
    height: 29px !important;
    font-family: BodyFont, Helvetica, sans-serif !important;
    font-size: 16px !important;
    color: #e8f5d1 !important;
    line-height: 22px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .logo,
  .retail-capital {
    height: 20px !important;
    width: auto !important;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1200px) {
  header {
    padding: 20px 50px;
    height: 80px;
  }
  header .logo,
  header .retail-capital {
    height: 30px;
  }
}

/* Main Structure */
.error-congrats {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.error-congrats .container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.main-content {
  display: block;
  clear: both;
  padding: 46px 13px 58px;
  position: relative;
  z-index: 10;
  text-align: center;
}
/* .results .section-wrap:last-of-type div {
  display: block !important;
} */
.results .section-wrap:last-of-type .value {
  background-color: #022d2d;
  color: #e8f5d1;
}
.intro {
  padding: 0 1em;
  margin-bottom: 40px;
}

@media only screen and (min-width: 768px) {
  .main-content {
    max-width: 900px;
    margin: 0 auto;
  }
  .intro p {
    font-size: 20px;
    line-height: 25px;
  }
}

@media only screen and (max-width: 767px) {
  .main-content {
    padding: 22px 13px;
  }
}

/* Form Elements */

.white-container {
  background: white;
  clear: both;
  padding: 2.5em;
  margin: 0;
  position: relative;
  border: 1px solid #022d2d;
  border-radius: 56px;
}

.feature-icon {
  display: inline-block;
  position: relative;
  z-index: 10;
  margin: 23px 0 0;
}
#tandc_error {
  max-width: 450px;
}
#tandc_error p {
  font-size: 16px;
  padding: 0;
}
.feature-icon img {
  max-width: 250px;
}

.notification {
  display: inline-block;
  position: relative;
  z-index: 10;
  margin: 0;
}

.notification h3 {
  padding: 0 0 1em 0;
  font-family: HeaderFont, Helvetica, Arial, sans-serif;
}

.notification p {
  padding: 0 0 1em 0;
  font-size: 20px;
}

.notification img {
  max-width: 200px;
}

.back {
  border: 0;
  padding: 0;
  background: none;
  text-decoration: underline;
  font-weight: bold;
  cursor: pointer;
  font-size: 20px;
  padding: 0;
  font-family: BodyFont, Helvetica, sans-serif;
  color: #022d2d;
}

.span-columns {
  grid-column-end: span 2;
}

.form-item {
  display: block;
  padding: 0.6em 0;
  max-width: 600px;
  margin: 0 auto;
}

.form-item .btn,
.form-item input[type="submit"] {
  margin: 0;
}

.field-title {
  line-height: 125%;
  font-size: 17px;
  line-height: 21px;
  color: #022d2d;
  padding: 5px 0;
  font-family: BodyFont, Helvetica, Arial, sans-serif;
}

.form-grid {
  margin-bottom: 63px;
}

.form-grid .form-item {
  display: block;
  padding: 0;
  max-width: 100%;
  margin: 0;
  text-align: left;
}

input,
select,
textarea {
  font-size: 17px;
  font-family: "Lato", Helvetica, Arial, sans-serif;
  border: 0;
  background: #fff;
  border: 1px solid #022d2d;
  outline: none;
  text-align: left;
  border-radius: 8px;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea {
  padding: 1em;
  color: #022d2d;
  width: 100%;
}

input:focus,
textarea:focus {
  border-color: #022d2d;
  background: #fff !important;
}

.divider {
  display: block;
  padding: 1.5em 0;
  clear: both;
}

input.readonly,
input.readonly:focus {
  background: #fff !important;
  border-color: #022d2d;
}

input[type="checkbox"] {
  width: auto !important;
  margin: 0;
}

input[type="checkbox"] {
  font-size: 150%;
}

input#datepicker {
  width: 125px !important;
  margin-right: 4px;
}

input[type="submit"] {
  display: block;
  width: 100%;
  -webkit-appearance: none;
}

select {
  min-width: 50%;
  width: 100%;
}

::placeholder {
  color: #022d2d;
  font-family: BodyFont, Helvetica, Arial, sans-serif;
}

span.optional {
  display: inline-block;
  color: #999;
  font-size: 85%;
}

fieldset {
  display: block;
  padding: 0 0 1em;
}

.otp input {
  width: 40px;
  display: inline-block;
}

input.error,
select.error,
textarea.error {
  border-color: red;
  background: #fef3f3;
}

fieldset .response.error {
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  margin: 0.25em 0;
}

.select {
  display: block;
  position: relative;
}

.select.autowidth {
  display: inline-block;
  min-width: 100px;
}

.select:before {
  position: absolute;
  color: #999;
  right: 1em;
  top: 0.8em;
  font-family: HeaderFont, Helvetica, Arial, sans-serif;
  content: "\f0dd";
}

.select select {
  -webkit-appearance: none;
  padding: 0 1em;
  width: 100%;
  height: 40px;
  background: white;
}

input:not(:placeholder-shown) {
  background: #f5f7fa;
}

/* Checkboxes */

.form-item.checkbox label {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.checkbox input {
  display: inline-block;
  vertical-align: top;
  margin-right: 5px;
  accent-color: #dee965;
}

.checkbox p {
  display: inline-block;
  vertical-align: top;
  width: 90%;
  width: calc(100% - 40px);
  text-align: left;
  padding: 0;
  font-size: 16px;
}

span.checkbox {
  display: inline-block;
  vertical-align: top;
  margin-right: 2em;
}

.response {
  display: block;
  text-align: center;
  margin: 1em 0;
  padding: 1em;
  font-size: 90%;
  line-height: 125%;
  border-radius: 4px;
}

.response i {
  margin-right: 0.5em;
}

.response.error {
  color: red;
  margin: 0;
  padding: 0.5em 0;
}

.response.success {
  color: #18c00b;
  border: 1px solid #18c00b;
  background: #f4fdf3;
}

@media only screen and (min-width: 768px) {
  .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 1.5em;
    grid-row-gap: 1em;
  }
  .checkbox {
    display: block;
    max-width: 90%;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 767px) {
  .white-container {
    padding: 1.5em;
  }
  .intro p {
    font-size: 14px;
  }
  .white-container h2 {
    font-size: 24px;
    line-height: 34px;
  }
  .white-container .column h2 {
    font-size: 20px;
    line-height: 28px;
  }
  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  textarea {
    padding: 15px 13px;
  }
  .form-item.checkbox label {
    justify-content: flex-start;
    gap: 8px;
  }
  .checkbox p {
    width: 100%;
  }
  .results {
    flex-direction: column;
  }
  .form-grid .form-item {
    padding: 0.5em 0;
  }
  .response {
    padding: 0.5em;
  }
  .feature-icon img {
    max-width: 200px;
  }
}

@media only screen and (max-width: 420px) {
  .white-container {
    padding: 1em;
  }
}

/* Range Slider */

.rangeslider,
.rangeslider__fill {
  display: block;
  border-radius: 15px;
}

.rangeslider {
  /* background: #e0e5f0; */
  background: linear-gradient(
      90deg,
      transparent,
      transparent 90%,
      #869c97 50%,
      #869c97 100%
    ),
    linear-gradient(90deg, #022d2d, #022d2d, #022d2d, #022d2d, #022d2d);
  background-size: 40px 1px, 100% 40px;
  border: none;
  position: relative;
}

.rangeslider--vertical {
  width: 10px;
  min-height: 150px;
  max-height: 100%;
  margin: 0 auto;
}

.rangeslider--horizontal {
  width: 95%;
  min-height: 10px;
  max-width: 95%;
  margin: 0 auto;
}

.rangeslider--disabled {
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=40);
  opacity: 0.4;
}

.rangeslider__fill {
  /* background: #041B2B; */
  background: linear-gradient(
      90deg,
      transparent,
      transparent 90%,
      #f1e6fc 50%,
      #f1e6fc 100%
    ),
    linear-gradient(90deg, #b88df0, #b88df0, #b88df0, #b88df0, #b88df0);
  background-size: 40px 1px, 100% 40px;
  border: none;
  position: absolute;
}

.rangeslider--vertical .rangeslider__fill {
  bottom: 0;
  width: 100%;
}

.rangeslider--horizontal .rangeslider__fill {
  left: 0;
  height: 100%;
}

.rangeslider__handle {
  background: white;
  cursor: pointer;
  display: inline-block;
  width: 34px;
  height: 34px;
  position: absolute;
  background: #dbbfff;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.25);
}

.rangeslider__handle:after {
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  top: 12px;
  left: 13px;
  z-index: +1;
  background-color: #fff;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}

.rangeslider__handle:active,
.rangeslider--active .rangeslider__handle {
  background: #d6e6ba;
}

.rangeslider--vertical .rangeslider__handle {
  left: -12px;
  touch-action: pan-x;
  -ms-touch-action: pan-x;
}

.rangeslider--horizontal .rangeslider__handle {
  top: -12px;
  touch-action: pan-y;
  -ms-touch-action: pan-y;
}

.amount-slider,
.months-slider {
  text-align: center;
  position: relative;
}

.dragbar {
  clear: both;
  padding: 1em 35px;
}

.amount-slider output:before {
  content: "R";
}

.output-value {
  font-size: 150%;
  height: 55px;
  line-height: 55px;
  display: block;
  position: relative;
  font-family: HeaderFont, Helvetica, Arial, sans-serif;
  margin: 1em 0;
  background: white;
  color: #022d2d;
}

.output-value output {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3px;
  outline: none;
}

.output-value {
  border-radius: 50px;
  background: white;
  border: 1px solid #022d2d;
}

.output-value i {
  position: absolute;
  left: 1em;
  top: 0;
  color: #022d2d;
  line-height: 54px;
}

#monthsOutput:after {
  content: "months";
  margin-left: 5px;
}

.range-sliders button {
  background: #022d2d;
  border: none;
  text-align: center;
  display: inline-block;
  color: #d6e6ba;
  border: 1px solid #022d2d;
  font-size: 28px;
  line-height: 28px;
  width: 34px;
  height: 34px;
  border-radius: 30px;
  text-indent: 0;
  padding: 0;
  cursor: pointer;
  outline: inherit;
  overflow: hidden;
}

.range-sliders button:hover {
  color: #b9c2d6;
  border-color: #b9c2d6;
}

.range-sliders button.less-amount,
.range-sliders button.less-months {
  position: absolute;
  left: 0px;
  top: 2px;
  cursor: pointer;
}

.range-sliders button.more-amount,
.range-sliders button.more-months {
  position: absolute;
  right: 0px;
  top: 2px;
  cursor: pointer;
}

.results {
  display: flex;
  margin: 1.5em 0;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  font-family: HeaderFont, Helvetica, Arial, sans-serif;
}

.results.official {
  display: grid;
  margin: 1.5em 0;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 4px;
  font-family: HeaderFont, Helvetica, Arial, sans-serif;
}
.full-breakdown {
  display: none;
}

.results .title {
  font-family: BodyFont, Helvetica, Arial, sans-serif;
  padding: 0 0 6px 0;
  position: relative;
  color: #022d2d;
  font-size: 16px;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.results .value {
  background: #ccd2d0;
  height: 55px;
  line-height: 55px;
  border-radius: 10px;
  font-family: BodyFont, Helvetica, Arial, sans-serif;
}

/* .results div.value:last-of-type {
  background: #022d2d;
  color: #e8f5d1;
} */
.spacer {
  height: 20px;
}
.breakdown {
  display: flex;
  margin: 1.5em 0;
  gap: 4px;
  font-weight: 700;
}

.breakdown .title {
  font-family: BodyFont, Helvetica, Arial, sans-serif;
  padding: 10px 0;
  position: relative;
  color: #022d2d;
}

.breakdown .value {
  background: #ccd2d0;
  height: 55px;
  line-height: 55px;
  border-radius: 10px;
}

/* .breakdown div.value:last-of-type {
  color: #e8f5d1;
  background-color: #022d2d;
} */

@media only screen and (min-width: 768px) {
  .range-sliders {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 2em;
    justify-items: stretch;
    position: relative;
  }
  .results .value {
    font-size: 125%;
  }
  .breakdown .value {
    font-size: 125%;
  }
  .amount-btns,
  .months-btns {
    display: block;
  }
  .range-sliders button {
    float: right;
    cursor: pointer;
  }
  .range-sliders button:last-of-type {
    float: left;
  }
}

@media only screen and (max-width: 767px) {
  .results .title {
    font-size: 10px;
    font-family: HeaderFont, Helvetica, Arial, sans-serif;
    letter-spacing: 0;
  }
  .breakdown .title {
    font-size: 10px;
    font-family: HeaderFont, Helvetica, Arial, sans-serif;
    letter-spacing: 0;
  }
  .results .value {
    height: 45px;
    line-height: 45px;
  }
  .breakdown .value {
    height: 45px;
    line-height: 45px;
  }
  .output-value {
    font-size: 125%;
    height: 45px;
    line-height: 45px;
    margin: 0.5em 0;
  }
  .output-value i {
    line-height: 44px;
  }
}

@media only screen and (max-width: 420px) {
  .results {
    margin: 1em 0;
    grid-column-gap: 1px;
  }
  .breakdown {
    margin: 1em 0;
    grid-column-gap: 1px;
  }
}

/* Tooltip Styles */

[data-tooltip],
.tooltip {
  position: relative;
  cursor: pointer;
  bottom: 3px;
}

[data-tooltip]:before,
[data-tooltip]:after,
.tooltip:before,
.tooltip:after {
  position: absolute;
  visibility: hidden;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  -webkit-transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out,
    -webkit-transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
  -moz-transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out,
    -moz-transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out,
    transform 0.2s cubic-bezier(0.71, 1.7, 0.77, 1.24);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after,
.tooltip:hover:before,
.tooltip:hover:after {
  visibility: visible;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.tooltip:before,
[data-tooltip]:before {
  z-index: 10001;
  border: 6px solid transparent;
  background: transparent;
  content: "";
}

.tooltip:after,
[data-tooltip]:after {
  z-index: 10000;
  padding: 10px 15px;
  width: fit-content;
  min-width: 150px;
  max-width: 200px;
  background-color: #022d2d;
  color: #e8f5d1;
  border-radius: 4px;
  content: attr(data-tooltip);
  font-size: 13px;
  line-height: 1.3em;
  text-align: left;
}

[data-tooltip]:before,
[data-tooltip]:after,
.tooltip:before,
.tooltip:after,
.tooltip-top:before,
.tooltip-top:after {
  bottom: 100%;
  left: 50%;
}

[data-tooltip]:before,
.tooltip:before,
.tooltip-top:before {
  margin-left: -6px;
  margin-bottom: -11px;
  border-top-color: #022d2d;
}

[data-tooltip]:after,
.tooltip:after,
.tooltip-top:after {
  margin-left: -80px;
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after,
[data-tooltip]:focus:before,
[data-tooltip]:focus:after,
.tooltip:hover:before,
.tooltip:hover:after,
.tooltip-top:hover:before,
.tooltip-top:hover:after {
  -webkit-transform: translateY(-12px);
  -moz-transform: translateY(-12px);
  transform: translateY(-12px);
}

span.tooltip i {
  color: #022d2d;
  margin: 0 3px;
  font-size: 14px;
}

span.tooltip i:hover {
  color: #022d2d;
}

.tooltip.left:after,
.tooltip-top:after {
  margin-left: -250px;
}

@media only screen and (max-width: 480px) {
  .results .tooltip {
    display: block;
    margin-top: 5px;
  }
  .breakdown .tooltip {
    display: block;
    margin-top: 5px;
  }
  .tooltip:after,
  [data-tooltip]:after {
    min-width: 135px;
    max-width: 150px;
    width: fit-content;
    font-size: 12px;
  }
  [data-tooltip]:after,
  .tooltip:after,
  .tooltip-top:after {
    margin-left: -90px;
  }
}

/* Footer */

footer {
  background: #f8f4ef;
  color: #022d2d;
  padding: 2em 1em;
  font-size: 90%;
  text-align: center;
}

footer .support {
  padding-top: 1em;
}

@media only screen and (min-width: 768px) {
  .contain {
    min-height: 95vh;
    min-height: calc(100vh - 65px);
  }
  footer {
    padding: 10px 44px;
    min-height: 84px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 20px;
    line-height: 28px;
  }
  footer .support {
    text-align: right;
    padding: 0;
  }
}

/* Overview Page */

.overview-payments,
.advance-details,
.qualify-readvance {
  background: white;
  padding: 2em;
  position: relative;
  box-shadow: 0 1px 10px rgba(25, 25, 25, 0.1);
  border-radius: 10px;
}

.overview-payments {
  display: grid;
  grid-template-columns: 70% auto;
  justify-items: stretch;
  grid-column-gap: 2em;
}

.paid-so-far {
  text-align: left;
}

.overview-payments p {
  padding: 0;
  line-height: 150%;
}

.overview-payments p strong.highlight {
  line-height: 150%;
}

strong.highlight {
  font-size: 200%;
}

.paid-so-far strong.highlight {
  margin-right: 1em;
}

/* Animated Progress bar */

.progress {
  justify-content: flex-start;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 0;
  display: flex;
  width: 100%;
  background: #e3e7e9;
  border: 1px solid #cdd4d7;
  border-radius: 25px;
  margin-top: 1em;
}

div#loading_placeholder img {
  height: 100%;
  width: auto;
}

.progress-value {
  animation: load 1s normal forwards;
  border-radius: 25px;
  background: #e0182d;
  height: 28px;
  min-width: 28px;
  width: 0;
  z-index: 1;
}

.progress-lines {
  position: absolute;
  width: 100%;
  height: 80%;
  top: 10%;
  left: 0px;
}

.progress-lines span {
  position: absolute;
  height: 100%;
  width: 1px;
  left: 10%;
  z-index: 2;
  opacity: 0.1;
  border-left: 1px solid black;
  border-right: 1px solid white;
}

.progress-lines span:nth-of-type(2) {
  left: 20%;
}

.progress-lines span:nth-of-type(3) {
  left: 30%;
}

.progress-lines span:nth-of-type(4) {
  left: 40%;
}

.progress-lines span:nth-of-type(5) {
  left: 50%;
}

.progress-lines span:nth-of-type(6) {
  left: 60%;
}

.progress-lines span:nth-of-type(7) {
  left: 70%;
}

.progress-lines span:nth-of-type(8) {
  left: 80%;
}

.progress-lines span:nth-of-type(9) {
  left: 90%;
}

.advance-blocks {
  display: grid;
  grid-template-columns: 55% auto;
  justify-items: stretch;
  grid-column-gap: 2em;
  margin: 2em 0;
}

.advance-blocks h2 {
  padding: 0;
  font-size: 140%;
  margin-bottom: 10px;
}

.advance-details {
  text-align: left;
}

.advance-details .grid {
  display: grid;
  grid-template-columns: auto auto;
  justify-items: stretch;
  grid-column-gap: 0em;
  align-items: start;
}

.advance-details .button {
  text-align: right;
  margin-bottom: 10px;
}

.advance-details .btn {
  min-width: 50px;
  font-size: 100%;
  padding: 0.6em 1em;
  margin: 0;
}

.advance-details p a {
  color: #0070e1;
}

.advance-details .data {
  padding: 1em 0;
  border-bottom: 1px solid #e0e5f0;
}

.qualify-readvance .btn {
  font-size: 100%;
  display: inline-block;
  min-width: 200px;
  margin: 1.5em 0 0;
}

@media only screen and (min-width: 768px) {
  .next-payment {
    border-left: 1px solid #e0e5f0;
    padding-left: 1em;
  }
}

@media only screen and (max-width: 767px) {
  .overview-payments,
  .advance-details,
  .qualify-readvance {
    padding: 1.5em;
  }
  .advance-blocks h2 {
    font-size: 125%;
    margin: 0;
  }
  .progress {
    margin: 1em 0;
  }
  .overview-payments {
    display: block;
  }
  .next-payment {
    text-align: left;
  }
  strong.highlight {
    font-size: 175%;
    display: block;
    margin: 0;
  }
  .advance-blocks {
    display: block;
    margin: 0;
    text-align: left;
  }
  .advance-details {
    margin: 1em 0;
  }
}

@media only screen and (max-width: 400px) {
  .overview-payments,
  .advance-details,
  .qualify-readvance {
    padding: 1em;
  }
  .advance-blocks h2 {
    font-size: 120%;
    margin: 0;
  }
  strong.highlight {
    font-size: 140%;
  }
  .advance-details .grid {
    display: block;
  }
  .advance-details .data {
    padding: 0.25em 0;
    border-bottom: 0;
  }
  .advance-details .data:nth-of-type(even) {
    font-weight: bold;
  }
  .qualify-readvance .btn {
    min-width: 100%;
  }
  .advance-details .button {
    text-align: left;
    margin: 0px;
    padding: 1em 0;
  }
}

/* Checkbox toggler styling  */
.slider-toggler .current:active,
.slider-toggler .current:focus,
.slider-toggler .current.active,
.slider-toggler .new.active,
.slider-toggler .new:focus,
.slider-toggler .new:active {
  background-color: #022d2d;
  color: #e8f5d1;
}
.slider-toggler .current {
  height: 38px;
  width: 85px;
  border-radius: 20px 0 0 20px;
  background-color: #e5e8e7;
  color: #022d2d;
  font-size: 18px;
  border: none;
}
.slider-toggler .new {
  border: none;
  height: 38px;
  width: 85px;
  border-radius: 0 20px 20px 0;
  background-color: #e5e8e7;
  color: #022d2d;
  font-size: 18px;
}
.slider-toggler {
  display: none;
}
.breakdown .title {
  display: flex !important;
  font-weight: 500;
}
.results .section-wrap:last-of-type .value {
  display: flex;
  align-items: baseline !important;
  justify-content: center;
}
.results .section-wrap:last-of-type .value {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
@media only screen and (max-width: 767px) {
  #breakdown {
    display: block;
  }
  .error-congrats h3 strong {
    font-size: 40px !important;
    line-height: 56px !important;
  }
  .error-congrats h3 {
    font-size: 25px;
    line-height: 35px;
  }
  .results .section-wrap {
    justify-content: space-between;
  }
  .error-congrats h4 {
    padding: 0 20px !important;
  }

  .results .section-wrap:last-of-type .value {
    align-items: flex-end !important;
  }
  #fullBreakdown {
    display: none;
  }
}
.fa-calendar-alt:before {
  content: url(/img/payment-term.svg) !important;
}
.calculator-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}
