/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

#heloc-calculator {
  max-width: none;
  font-size: 15px;
  position: relative;
  z-index: 1;
}

#heloc-calculator p {
  margin-bottom: 16px;
}

#heloc-calculator input,
#heloc-calculator textarea {
  border: 1px solid #ced4da;
  font-size: .875rem;
  font-weight: 400;
  color: #212529;
}

#heloc-calculator input[type="radio"] {
  width: 1.5em;
  height: 1.5em;
  margin-right: 5px;
}

#heloc-calculator input[type="radio"]:checked::after {
  background: transparent;
}

#heloc-calculator input:focus {
  outline: none;
  outline-offset: 0;
}

#heloc-calculator .results table td,
#heloc-calculator .results table th {
  padding: 0;
  border: 0;
}

#heloc-calculator .bg-theme-primary {
  /* background: linear-gradient(to right, #02d3c9 , #40ea99); */
  /*background: #80BB5F;*/
  background: #42EA98;
}

#heloc-calculator .bg-theme-secondary {
  /*background: #53AF4F;*/
  background: linear-gradient(to right, #11D6C3, #3FE89D);
}

#heloc-calculator .bg-theme-secondary-100 {
  background: #07A05B;
}

#heloc-calculator .text-secondary-100 {
  color: #07A05B;
}

#heloc-calculator .bg-theme-secondary:hover {
  /*background: #53AF4F;*/
  background: linear-gradient(to right, #11D6C3, #3FE89D);
  /*opacity: 0.8;*/
}

#heloc-calculator .btn-check:checked+.btn,
.btn.active,
#heloc-calculator .btn.show,
#heloc-calculator .btn:first-child:active,
.btn:focus-visible,
#heloc-calculator :not(.btn-check)+.btn:active {
  background: #53AF4F;
}

#heloc-calculator small {
  font-size: .675em;
}

#heloc-calculator .btn {
  width: 250px;
}

#heloc-calculator .form-select-sm {
  padding-left: 13px;
}

#heloc-calculator .active {
  /* height: 100% !important; */
  opacity: 1 !important;
  position: absolute;
  z-index: 100;
  width: 100%;
  top: 0;
  left: 0;
  transition: all 0.65s ease;
  visibility: visible !important;
}

#heloc-calculator .dv-tabs {
  opacity: 0;
  /* height: 0 !important; */
  visibility: hidden;
}

#heloc-calculator .dv-tabs.active {
  /* height: 100% !important; */
  opacity: 1 !important;
  position: absolute;
  z-index: 100;
  width: 100%;
  top: 0;
  left: 0;
  transition: all 0.65s ease;
  visibility: visible !important;
}

#heloc-calculator #container .card-body--wrapper {
  min-height: 450px;
}

/* #heloc-calculator #container .card-body--wrapper:has(> .existing-home.active) {
  height: 550px;
}

#heloc-calculator #container .card-body--wrapper:has(> .results.active) {
  height: 650px;
}

#heloc-calculator #container .card-body--wrapper:has(> .unlock-result-details.active) {
  height: 500px;
}

#heloc-calculator #container .card-body--wrapper:has(> #side-by-side-comparison.current) {
  height: 1150px;
}

#heloc-calculator #container .card-body--wrapper:has(> #side-by-side-comparison.current) {
  height: 1150px;
  650 default
} */




#heloc-calculator #container a.list-group-item {
  background: transparent;
  box-shadow: none;
  border: none;
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}


/* tabs */
#heloc-calculator .cc-tab ul.tabs {
  margin: 0px;
  padding: 0px;
  list-style: none;
}

#heloc-calculator .cc-tab ul.tabs li {
  background: none;
  color: #222;
  display: inline-block;
  padding: 10px 15px;
  cursor: pointer;
}

#heloc-calculator .cc-tab ul.tabs li.current {
  background: #ededed;
  color: #222;
}

#heloc-calculator .cc-tab .tab-content {
  visibility: hidden;
}

#heloc-calculator .cc-tab .tab-content.current {
  visibility: visible;
  position: absolute;
  top: 0;
  width: 100%;
  padding: 1rem 3rem 0 0;
  height: 100%;
}

#heloc-calculator .cc-tab table td,
table th {
  border-style: solid !important;
  border-width: 0 1px !important;
  border-color: inherit !important;
}

#heloc-calculator .cc-tab .table.table-borderless tr {
  border: transparent !important;
}

/* tabs */

#heloc-calculator #mortgage .mortgage-paydown,
#heloc-calculator #first-lien-heloc .heloc-paydown {
  font-size: 12px;
}

#heloc-calculator .payment-schdule {
  position: absolute !important;
  opacity: 0;
  top: -12px;
  height: 100%;
  width: 100%;
  transition: all 0.1s ease;
  background: #fff;
  z-index: 9999;
  visibility: hidden;
}

/* #heloc-calculator .side-by-side-chart.payment-schdule.active {
    visibility:
 } */

#heloc-calculator .payment-schdule.active .btn {
  width: auto;
  font-size: 1.5rem;
  position: absolute;
  top: 0px;
  right: 0px;
}

#heloc-calculator .btn.btn-close-payment-schdule {
  background: #80BA5F;
  font-size: 12px !important;
  color: #fff;
}

#heloc-calculator .payment-schdule.active .close:active {
  background: transparent
}

#heloc-calculator .comparison-label {
  background: #53AF4F;
  color: #fff;
}

#heloc-calculator #helocpaymentschedule tr:nth-child(12n),
#heloc-calculator #mortagepaymentschedule tr:nth-child(12n) {
  background-color: #A9A9A9;
  color: #ffffff;
}

#heloc-calculator #helocpaymentschedule tr:nth-child(12n + 1),
#heloc-calculator #mortagepaymentschedule tr:nth-child(12n + 1) {
  background-color: #f7f7f7;
}

#heloc-calculator #helocpaymentschedule tr:first-child,
#heloc-calculator #mortagepaymentschedule tr:first-child {
  background-color: transparent;
}

#heloc-calculator .list-group-item {
  cursor: pointer;
}


@media screen and (max-width: 768px) {
  #heloc-calculator .btn {
    width: 100% !important;
  }
}

@media screen and (max-width: 992px) {
  /* #heloc-calculator .card-body--wrapper:has(.calculate-personal-cash-flow.active) {
    height: 1200px !important;
  }

  #heloc-calculator .card-body--wrapper .row.h-100 {
    height: auto !important;
  }

  #heloc-calculator .card-body--wrapper:has(.results.active) {
    height: 1500px !important;
  }

  #heloc-calculator .card-body--wrapper:has(.unlock-result-details.active) {
    height: 1000px !important;
  }

  #heloc-calculator .card-body--wrapper:has(.comparison.active) {
    height: 1200px !important;
  }

  #heloc-calculator .card-body--wrapper:has(.existing-home.active) {
    height: 1200px !important;
  } */
}

@media screen and (max-width: 992px) {
  /* #heloc-calculator .card-body--wrapper:has(.comparison.active) {
    height: 1400px !important;
  }

  #heloc-calculator .card-body--wrapper:has(.comparison) {
    height: 1200px !important;
  } */
}

@media screen and (max-width: 500px) {
  /* #heloc-calculator .card-body--wrapper:has(.comparison.active) {
    height: 1800px !important;
  } */
}

/* print */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;500;800;900&family=Work+Sans:wght@300;600;700&display=swap');

#strategy-guide {
  font-family: 'Montserrat', sans-serif;
  color: #000000;
}

.st--title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 4rem;
  letter-spacing: 2px;
  font-weight: 800;
}

.st--sub-title {
  font-family: 'Work Sans', sans-serif !important;
  font-weight: 100;
  font-size: 2.4rem;
}

.st--sub-title-lists {
  font-family: 'Work Sans', sans-serif !important;
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: .5rem;
}

.st-lead1 {
  font-size: 1.2rem;
}

#strategy-guide .page p {
  line-height: 1.8rem;
}

#strategy-guide .page a {
  color: #1255CC;
}

#strategy-guide .page {
  page-break-inside: avoid;
  page-break-after: always;
}

#strategy-guide .page:last-child {
  page-break-after: auto
}


/* records */
.you-could-save,
.paid-off-sooner,
.mortgagetotalloancost,
.mortgagetotalinterestpaid,
.heloctotalloancost,
.heloctotalinterestpaid {
  font-size: 23px;
  color: #3e873a;
  margin-left: 4px;
}

.card-guage {
  height: 350px;
  width: 300px;
}

#canvas-preview,
#canvas-preview2 {
  width: 260px;
  height: 120px;
  margin-left: -5px;
}

@media screen and (max-width: 1100px) and (min-width: 992px) {
  .card-guage {
    height: 400px;
    width: 256px;
  }

  #canvas-preview,
  #canvas-preview2 {
    margin-left: -19px;
  }
}


@media screen and (max-width: 991px) {
  .card-guage {
    height: 400px;
    width: 100%;
  }

  #canvas-preview,
  #canvas-preview2 {
    margin-left: -3px;
  }
}

@media screen and (max-width: 400px) {

  #canvas-preview,
  #canvas-preview2 {
    margin-left: -15px;
  }
}

@media screen and (max-width: 375px) {

  #canvas-preview,
  #canvas-preview2 {
    margin-left: -29px;
  }
}

@media screen and (max-width: 600px) {
  .side-by-side-comparison {
    font-size: 10px;
    line-height: 15px;
  }
}