.flpweb-legacy .carousel-control.right {

background-image: none;
}
.flpweb-legacy .carousel-control.left {
  background-image: none;
}

table.table-bordered tbody tr td:first-child {
  border-left: 1px dotted #cfcece;
}
.page-module .row-fluid .tabcontent table td:last-child {
  border-right: 1px dotted #cfcece;
}
table.table-bordered tbody tr:last-child td {
  border-bottom: 1px dotted #cfcece;
}
.msg_error {
  display: none;
  font-size: 0.8rem;
  color: #f00;
}
.msg_error.active {
  display: block;
}
.step-grid tr td {
  border: 0;
}
.step-grid p {
  font-size: 0.8em;
}
#Calculator .col-3 {
  margin-bottom: 0.5em;
}

.col-table {
  display: table;
  width: 100%;
}
.col-cell {
  display: table-cell;
  vertical-align: middle;
  float: none;
}
.qr_wrap {
  border-left: #f3cfcf 1px solid;
}
.red {
  color: #be0000;
}

#currency_table {
  border: #be0000 1px solid;
  background: #fff
    url("/iwov-resources/images/home/promotions/20220412_TD_promo_select.png")
    no-repeat right;
  padding: 0px 25px 0px 5px;
  font-size: 15px;
  font-weight: 400;
  color: #333;
}
.currency_table_wrap table {
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
}
.currency_table_wrap table th,
.currency_table_wrap table td {
  border: #be0000 1px solid;
}
.currency_table_wrap table tr td:last-child {
  border: #be0000 1px solid;
}
.currency_table_wrap table tr th,
.currency_table_wrap table tr td {
  vertical-align: middle;
  text-align: center;
  padding: 8px 11px 8px;
  border-right: 1px solid #be0000;
  border-bottom: 1px solid #be0000;
}
.currency_table_wrap .periodTH {
  width: 20%;
}
.currency_table_wrap .otherTH {
  width: 20%;
}

.smaller {
  font-size: 14px;
}
.currency_table {
  display: none;
}
.currency_table:first-child {
  display: block;
}
table.currency_table-select tr td:last-child {
  border-bottom: none;
}
.currency_table_wrap table th {
  font-weight: bold;
}

.promo_offer {
  text-align: center;
  width: 30%;
  vertical-align: top;
}
.add {
  font-size: 50px;
  font-weight: bold;
  padding: 20px 10px;
  text-align: center;
  vertical-align: top;
}
.promo_img {
  margin-bottom: 10px;
}
.align-middle {
  vertical-align: middle;
}
.calculator_table {
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  border: #be0000 1px solid;
}
.calculator_wrap table tr td {
  border: none;
  font-size: 14px;
}
.calculator_wrap table th {
  font-weight: bold;
}
table .red-bg {
  background: #be0000;
  color: #fff !important;
}
.calculator_wrap table .head {
  font-weight: bold;
}
table.calculator_result tr td {
  border-top: 1px solid #be0000;
}
.calculator_wrap input {
  width: 145px;
  height: 24px;
  background: none;
  border: 1px solid #be0000;
  padding: 12px 10px 12px 8px;
}
.calculator_wrap select {
  width: 145px;
  height: 24px;
}
.calculator_wrap input[type="number"] {
  padding: 12px 0 12px 8px;
}
.calculator_wrap button {
  width: 111px;
  height: 40px;
  background: #be0000;
  border: none;
  color: #fff;
  font-weight: bold;
  margin: 0 15px 40px;
}
.calculator_wrap button:last-child {
  background: #959595;
}
.currency_table-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 13.5px 0 13.5px;
  border-color: #be0000 transparent transparent transparent;
}
.cal_wrap {
  margin-top: -60px;
}
.fund_tab {
  list-style-type: none;
  margin: 8px 0 0 16px;
  padding: 0;
  display: flex;
  justify-content: center;
}
.fund_tab li {
  position: relative;
  display: inline-flex;
  padding: 10px 18px 5px 40px;
  background: #fff;
  background: linear-gradient(
    180deg,
    rgba(223, 224, 225, 1) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  border: 1px solid #d1d3d4;
  border-radius: 8px 8px 0 0;
  margin: 0 2px !important;
}
.fund_tab li a {
  font-weight: bold;
  color: #808285;
}
.fund_tab li.active {
  background: rgb(235, 28, 36);
  background: linear-gradient(
    180deg,
    rgba(235, 28, 36, 1) 0%,
    rgba(204, 29, 42, 1) 100%
  );
  border: 1px solid #cc1d2a;
}
.fund_tab li.active a {
  color: #fff;
}
.fund_tab li:before {
  content: " ";
  position: absolute;
  left: 10px;
  top: 15px;
  width: 16px;
  height: 10px;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNS41MSA5LjQ0Jz48ZyBkYXRhLW5hbWU9J0xheWVyMic+PHBhdGggZD0nTTAgMS42OUExLjY0IDEuNjQgMCAwIDEgLjEzIDFhMS42OSAxLjY5IDAgMCAxIDEuNTYtMWgxMi4xM2ExLjY5IDEuNjkgMCAwIDEgMS41NiAxIDEuNjQgMS42NCAwIDAgMSAuMTMuNjVBMS42NSAxLjY1IDAgMCAxIDE1IDIuODhMOSA4Ljk0YTEuNjkgMS42OSAwIDAgMS0yLjM5IDBMLjUgMi44OEExLjY1IDEuNjUgMCAwIDEgMCAxLjY5WicgZGF0YS1uYW1lPSdMYXllcjEnIHN0eWxlPSdmaWxsOiNlZDFjMjQnLz48L2c+PC9zdmc+");
}
.fund_tab li.active:before {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNS41MSA5LjQ0Jz48ZyBkYXRhLW5hbWU9J0xheWVyMic+PHBhdGggZD0nTTAgMS42OUExLjY0IDEuNjQgMCAwIDEgLjEzIDFhMS42OSAxLjY5IDAgMCAxIDEuNTYtMWgxMi4xM2ExLjY5IDEuNjkgMCAwIDEgMS41NiAxIDEuNjQgMS42NCAwIDAgMSAuMTMuNjVBMS42NSAxLjY1IDAgMCAxIDE1IDIuODhMOSA4Ljk0YTEuNjkgMS42OSAwIDAgMS0yLjM5IDBMLjUgMi44OEExLjY1IDEuNjUgMCAwIDEgMCAxLjY5WicgZGF0YS1uYW1lPSdMYXllcjEnIHN0eWxlPSdmaWxsOiNmZmZmZmYnLz48L2c+PC9zdmc+");
}
.clickable:hover {
  text-decoration: underline;
  cursor: pointer;
}

.td-tab-menu ul {
  display: block !important;
  width: max(100%, max-content) !important;
  overflow-x: auto;
  white-space: nowrap;
}
.td-tab-menu ul li {
  display: inline-flex;
  justify-content: center;
  float: none;
  margin: 0;
}
.td-tab-menu ul li a {
  white-space: nowrap;
  min-height: initial !important;
  font-weight: bold;
}

.mobile {
  display: none !important;
}

.flpweb-legacy .calculator_wrap input {
  width: 145px;
  height: 24px;
  background: none;
  border: 1px solid #be0000;
  padding: 12px 10px 12px 8px;
}

@media (max-width: 767px) {
  .btn {
    white-space: inherit;
  }
  .col-cell {
    display: block;
  }
  .qr_wrap {
    margin-top: 20px;
    border-left: #f3cfcf 0px solid;
  }
  .currency_table_wrap table tr th,
  .currency_table_wrap table tr td {
    padding: 8px 3px;
    font-size: 13px;
  }
  .qr_wrap .col-cell,
  .promo_img,
  .promo_cont {
    display: table-cell;
  }
  .promo_offer {
    width: 100%;
    vertical-align: middle;
  }
  .promo_img {
    margin-bottom: 0px;
    padding-right: 10px;
    width: 110px;
  }
  .promo_cont {
    vertical-align: middle;
    text-align: left;
  }
  .add {
    vertical-align: middle;
    padding: 0px;
  }
  .calculator_wrap table tr td {
    font-size: 13px;
  }
  .calculator_wrap input {
    width: 105px;
    height: 20px;
  }
  .calculator_wrap button {
    width: 90px;
    height: 34px;
    margin: 0 5px 30px;
  }
  .cal_wrap {
    margin-top: 0;
  }

  .desktop {
    display: none !important;
  }

  .mobile {
    display: block !important;
    width: 100%;
    margin: auto;
  }
}

/* carousel */
.steps-carousel {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  gap: 25px;
}
.steps-carousel.topBottom {
  flex-direction: column;
}
.steps-carousel-right {
  position: relative;
  width: 50%;
}
.steps-carousel-left {
  position: relative;
  width: 50%;
  align-self: flex-start;
}
.steps-carousel-bottom {
  position: relative;
  width: 100%;
}
.steps-carousel-top {
  position: relative;
  width: 100%;
  /* max-width: 400px; */
}
.steps-carousel-left .carousel-control, .steps-carousel-top .carousel-control {
  background: #a7a9ac;
  width: 30px;
  height: 30px;
  border-radius: 30px;
  top: calc(50% - 15px);
}
.steps-carousel-left .carousel-control:after, .steps-carousel-top .carousel-control:after {
  content: " ";
  width: 30px;
  height: 30px;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' fill='none'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-width='1.5' d='m11 24.727 9-9-9-9'/%3E%3C/svg%3E");
}
.steps-carousel-left .carousel-control.left:after, .steps-carousel-top .carousel-control.left:after {
  transform: scaleX(-1);
}
.steps-carousel-left .carousel-inner, .steps-carousel-top .carousel-inner {
  width: calc(100% - 80px);
  margin: 0 auto;
}
.savings-steps {
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  bottom: initial !important;
  left: initial !important;
  z-index: initial !important;
  width: initial !important;
  margin-left: initial !important;
  padding-left: initial !important;
  list-style: initial !important;
  text-align: initial !important;
}
.savings-steps li {
  background-color: initial !important;
  width: initial !important;
  height: initial !important;
  margin: 0 !important;
  border: initial !important;
  display: flex !important;
  width: 100% !important;
  /* max-width: 290px; */
  gap: 10px; !important
  justify-content: flex-start !important;
}
.savings-steps .active {
  background-color: initial !important;
  width: initial;
  height: initial;
  margin: initial;
}
.savings-steps .active .step-indicator {
  background-color: #f33 !important;
}

.step-container {
  display: flex !important;
  width: fit-content !important;
  /* max-width: 290px; */
  gap: 10px !important;
  justify-content: flex-start !important;
}

.step-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* flex: 1; */
}

.step-indicator {
  background-color: #FFFFFF;
  border-radius: 50%;
  align-self: center;
  width: 15px;
  height: 15px;
  border: 2px solid #f33;
}

.step-indicator.active {
  background-color: #fff;
}

.step-line {
  display: flex;
  width: 100%;
  /* padding-right: 2px; */
  gap: 10px;
  justify-content: center;
  flex: 1;
  height: 100%;
}

.step-line-inner {
  width: 0;
  flex: 0;
  border: 1px solid #f33;
}

.step-description {
  align-self: stretch;
  /* width: 258px;
  min-width: 240px; */
  padding-bottom: 18px;
  color: #2e2e2e;
  font-weight: 400;
  font-size: 1.6rem;
  text-indent: initial !important;
}

.bold-text {
  font-weight: 700;
}

@media (max-width: 599px) {
  .step-indicator {
    width: 18px;
    height: 18px;
  }
  .savings-steps {
    position: relative !important;
    z-index: 1 !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    margin-bottom: 80px !important;
  }
  .steps-carousel-bottom .savings-steps {
    margin-bottom: 120px;
  }
  .savings-steps:before {
    content: " ";
    position: absolute;
    z-index: -1;
    top: 8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e8483f;
  }
  .savings-steps li {
    justify-content: initial;
  }

  .step-content {
    flex-direction: row;
  }
  .step-line {
    align-items: center;
  }
  .step-line-inner {
    width: 100%;
    height: 0;
    flex: 0;
  }
  .step-description {
    display: none;
    position: absolute;
    left: 50%;
    top: 30px;
    text-align: center;
    transform: translateX(-50%);
    width: 100%;
  }
  .savings-steps li.active .step-description {
    display: block;
  }
}
@media (max-width: 599px) {
  .steps-carousel {
    /* gap: 10px; */
    flex-direction: column;
  }
  .steps-carousel-left,
  .steps-carousel-right {
    width: 100%;
    min-height:220px;
  }

  .steps-carousel-left .carousel-inner {
    width: 90%;
  }
}

/* qr code */
.qr-platform-container {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
  max-width: 100%;
  gap: 25px;
}

.qr-code {
  aspect-ratio: 0.98;
  object-fit: contain;
  max-width: 190px;
  width: 50%;
}

.platform-icons {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.platform-icon {
  aspect-ratio: 3.34;
  object-fit: contain;
  width: 137px;
  align-self: stretch;
  margin: auto 0;
}