p {
  font-size: 16px;
}

.disclaimer-list li {
  font-size: 1.4rem !important;
  font-weight: 300 !important;
}

body section.disclaimer ol li,
body section.disclaimer p,
body section.disclaimer ul li {
  line-height: 2rem !important;
}

@media (min-width: 1200px) {
  .is-sticky .nav-bar .nav-inner .nav-location,
  .is-sticky .nav-bar .nav-inner #page-title {
    font-size: 2.4rem;
    line-height: 3rem;
  }
}

/* added for the redesign */
.banner.fw-bnr {
  max-height: unset !important;
  height: 560px !important;
  align-items: center;
  padding: 60px 0;
}

.banner.fw-bnr .section-inner .grid-wpr .grid-half + .grid-half {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.banner.fw-bnr a {
  color: #006ac3;
}

.banner-bg {
  background-color: transparent;
}

.banner-help-me-choose.banner {
  background-size: 125%;
  background-color: black;
  background-position-y: 25% !important;
  background-image: url("../images/banner-help-me-choose.png");
}

.transactions-less,
.transactions-more {
  border-radius: 5px !important;
  font-weight: 400 !important;
}

.transactions-less.selected,
.transactions-more.selected {
  font-weight: 600 !important;
}

@media only screen and (max-width: 639px) {
  .banner.fw-bnr {
    padding: 0;
    height: 540px !important;
  }

  .banner.fw-bnr .section-inner .grid-wpr .grid-half img {
    width: 213px !important;
  }

  .products-section .section-inner {
    margin-top: 0px;
    padding-top: 15px !important;
  }

  .banner-bg {
    background-color: #f3f7f8 !important;
  }

  .banner-help-me-choose.banner {
    background-size: 500%;
    background-position: center 40% !important;
  }
}

.acc-type-container {
  display: flex;
  flex-wrap: nowrap;
  -ms-overflow-style: none;
  /* for Internet Explorer, Edge */
  scrollbar-width: none;
  /* for Firefox */
  overflow-x: scroll;
}

@media only screen and (min-width: 720px) {
  .acc-type-container {
    justify-content: center;
  }
}

.acc-type-container::-webkit-scrollbar {
  display: none;
  /* for Chrome, Safari, and Opera */
}

.acc-type:first-child {
  justify-content: end;
}

.acc-type:last-child {
  justify-content: start;
}

@media only screen and (max-width: 639px) {
  .acc-type:first-child {
    justify-content: center;
  }

  .acc-type:last-child {
    justify-content: center;
  }

  .acc-type {
    padding: 0 15px !important;
  }
}

.btn-num-minus {
  margin-right: 30px;
  width: 40px;
  height: 40px;
  background-image: url(../images/icon-num-minus.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.btn-num-minus.disabled {
  opacity: 0.3;
}

.btn-num-plus {
  margin-left: 30px;
  width: 40px;
  height: 40px;
  background-image: url(../images/icon-num-plus.svg);
  background-repeat: no-repeat;
  background-size: contain;
}

.btn-num-plus.disabled {
  opacity: 0.3;
}

@media only screen and (max-width: 639px) {
  .help-continue {
    width: 100%;
  }

  /* cannot find the design from figma */
  .help-back {
    background-color: #ffffff99;
    padding: 10px 15px;
  }
}

.type-btn {
  display: flex;
  flex: 0 0 auto;
  border-radius: 30px;
  border: 1px solid #b3b3b3;
  padding: 10px 15px;
  margin: 0px 10px;
  align-items: center;
  justify-content: center;
}

.type-btn img {
  margin-right: 10px;
  width: 16px;
  height: 16px;
}

.type-btn a {
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
}

.type-btn.active {
  border: 1px solid #006ac3;
  background-color: #edf7fc;
}

.apply-btn {
  padding: 15px 20px !important;
}

@media only screen and (max-width: 639px) {
  .type-btn a {
    font-size: 14px;
    white-space: nowrap;
  }
}

.bank-acc-container {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  top: -110px;
  margin-bottom: -110px;
  box-shadow: 0px 3.59106px 7.84712px 0px rgba(37, 37, 37, 0.08),
    0px 12.06161px 26.35684px 0px rgba(37, 37, 37, 0.06),
    0px 54px 118px 0px rgba(37, 37, 37, 0.04);
  /* box-shadow is copied from figma*/
}

.bank-acc-header {
  padding: 30px 0 40px 0;
  background-color: white;
}

.acc-new-to-rbc,
.acc-student,
.acc-new-to-canada,
.acc-help-me-choose {
  padding-bottom: 60px;
}

.bank-acc-title {
  font-weight: 700;
  margin-top: 0;
}

.bank-acc-title-white {
  color: white;
  font-weight: 700;
  margin-top: 0;
}

.bank-acc-subtitle {
  font-weight: 700;
}

.bank-acc-subtitle-white {
  color: white;
  font-weight: 700;
}

.bank-acc-3-months {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.high-interest-esavings {
  position: relative;
  padding: 30px 30px 80px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media only screen and (max-width: 639px) {
  .bank-acc-container {
    top: unset;
    margin-bottom: unset;
    box-shadow: none;
    padding-bottom: 10px;
  }

  .bank-acc-header {
    padding: 0 0 30px 0;
    background-color: white;
  }

  section .section-inner {
    padding: 30px 15px;
  }

  section .section-inner:has(> .bank-acc-container) {
    padding: 30px 0;
  }

  .acc-new-to-rbc,
  .acc-student,
  .acc-new-to-canada,
  .acc-help-me-choose {
    padding-bottom: 0px;
  }

  .acc-new-to-canada .acc-type {
    justify-content: center !important;
  }

  .bank-acc-title {
    font-weight: 700;
    font-size: 28px;
    line-height: 36px;
  }

  .bank-acc-title-white {
    color: white;
    font-weight: 700;
    font-size: 28px;
    line-height: 36px;
  }

  .bank-acc-subtitle {
    font-weight: 700;
    font-size: 14px;
    line-height: 27px;
  }

  .bank-acc-subtitle-white {
    color: white;
    font-weight: 700;
    font-size: 14px;
    line-height: 27px;
  }

  .high-interest-esavings {
    padding: 30px;
  }
}

body .callout.callout-navy {
  background: #003168;
  color: #fff;
}

.vantage-carousel {
  display: flex;
  flex-wrap: nowrap;
  -ms-overflow-style: none;
  /* for Internet Explorer, Edge */
  scrollbar-width: none;
  /* for Firefox */
  overflow-x: scroll;
  padding-left: 45%;
}

.vantage-carousel::-webkit-scrollbar {
  display: none;
  /* for Chrome, Safari, and Opera */
}

.vantage-carousel-item {
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: 13px;
  padding: 40px;
  width: 570px;
  height: 333px;
  margin-top: 10px !important;
  margin-left: 15px;
}

.vantage-carousel-item h2 {
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 44px;
  margin-top: 0px !important;
}

.vantage-carousel-padding {
  width: 10%;
  flex-shrink: 0;
}

.carousel-progress__bar-wrapper {
  height: 1.5rem;
  width: 100%;
  outline: none;
  border: 0;
  padding-left: 45%;
  padding-top: 30px;
  background: transparent;
  display: flex;
  align-items: center;
}

.carousel-progress__bar {
  width: 356px;
  background: #b3b3b3;
  height: 3px;
  scrollbar-width: none;
  display: block;
  border-radius: 4px;

  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.carousel-progress__bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 169px;
  height: 3px;
  background: #006ac3;
  cursor: grab;
}

.carousel-progress__bar::-moz-range-thumb {
  width: 169px;
  height: 3px;
  background: #006ac3;
  cursor: grab;
}

@media only screen and (max-width: 1199px) {
  .vantage-carousel,
  .carousel-progress {
    padding-left: 526px;
  }

  .vantage-carousel-padding {
    width: 0;
  }
}

@media only screen and (max-width: 639px) {
  .vantage-carousel,
  .carousel-progress {
    padding-left: unset;
  }

  .vantage-carousel-item {
    padding: 20px 20px;
    width: 308px;
    height: 400px;
    margin-top: 0 !important;
    margin-left: unset;
    margin-right: 20px;
  }

  .vantage-carousel-item:last-child {
    margin-right: 0;
  }

  .vantage-carousel-item h2 {
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 44px;
  }
}

.slick-slide {
  margin: 0 15px;
  /* spacing between the vantange slides */
}

.slick-list {
  margin: 0 -15px;
  /* remove the spacing at the start and end */
  overflow: visible;
}

i {
  font-family: RBCDisplay;
}

.progress-bar {
  width: 40px;
  height: 4px;
  background-color: #edf7fc;
  opacity: 0.3;
  margin: 0 10px 0 0;
}

.progress-bar:last-child {
  margin: 0;
}

.progress-bar.current {
  opacity: 1;
}

.help-atms {
  color: white;
  font-size: 44px;
}

.vertical-line {
  width: 2px;
  height: 27.5%;
  background-color: #e0e0e0;
  margin: 0 auto;
}

a.standalone-link {
  padding-right: 15px;
}

a.standalone-link:before {
  left: unset;
  right: 0px;
}

.value-program-container {
  transition: top 2s;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #edf7fc;
  padding: 15px 20px;
}

.value-program .chevron-up {
  display: inline-block;
  width: 15px;
  height: 15px;
  background: url(/dvl/v1.0/assets/images/ui/ui-chevron-up-blue.svg) no-repeat
    center center transparent;
  transition: 0.5s all;
}

.value-program.expanded .chevron-up {
  transform: rotate(180deg);
}

.btn.alternate {
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 30px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase;
  padding: 0px 15px !important;
}

@media only screen and (max-width: 639px) {
  .btn.alternate {
    border-radius: 8px !important;
  }
}

.tabs .tab-nav {
  display: flex;
  border-top: 1px solid #b3b3b3;
}

.tabs .tab-nav li {
  width: 50%;
  text-align: center;
  background-color: #f3f7f8;
  padding: 0;
}

.tabs .tab-nav li a {
  padding: 15px 0 !important;
}

.tabs .tab-nav li.active {
  text-align: center;
  border: 0;
  background-color: #fff;
  padding: 0px 0 0 0;
}

.tab-pane {
  padding-top: 5px !important;
  padding-bottom: 0 !important;
}

@media only screen and (max-width: 639px) {
  .tabs .tab-nav li {
    padding: 0 !important;
  }

  .tabs .tab-nav li.active {
    padding: 0 !important;
    border-left: 0 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
  }

  .tabs .tab-content .tab-pane {
    padding: 0 !important;
  }
}

.tabs .tab-nav li.active a:after {
  content: "";
  border-bottom: 2px solid #006ac3;
}

.tabs .tab-nav li.active a:focus {
  outline: none;
}

ul li {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 15px;
}

.check-list {
  width: 100%;
}

.icon-24 {
  width: 20px;
  height: 20px;
}

.advantages-container {
  padding: 0 !important;
}

.adv-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.adv-icon-b {
  width: 115px;
  height: 60px;
  margin-bottom: 20px;
}

.value-program-video-label {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  width: 100px;
  position: absolute;
  bottom: 40px;
  text-align: center;
}

.value-program-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -50px;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 30px 15px;
  background-color: rgba(235, 241, 244);
  background-image: url("../images/vp-bg.png");
  background-repeat: no-repeat;
  background-position: top;
  background-position-y: 50px;
}

.vantage-txt-container {
  width: 45%;
  float: left;
  position: relative;
  z-index: 10;
  background: url("../images/vantage-bg.png") right top / cover no-repeat;
}

@media (max-width: 639px) {
  .advantages-container {
    padding: 0 15px !important;
  }

  .adv-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 10px;
  }

  .adv-icon-b {
    width: 103px;
    height: 56px;
    margin-bottom: 10px;
  }

  .advantages-container h5 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
  }

  .advantages-container p {
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
  }

  .general-advantage {
    margin-bottom: 30px !important;
  }

  .vantage-txt-container {
    width: 100%;
    position: relative;
    z-index: 1;
    background: url("../images/vantage-bg-mobile.png") bottom / contain
      no-repeat;
  }

  .value-program-banner {
    padding: 30px 15px;
    background: #f3f4f5;
  }

  .value-program-video-label {
    font-size: 8px;
    font-weight: 400;
    line-height: 12px;
    width: 57px;
    text-align: center;
    margin-bottom: 0px;
    position: initial;
  }
}

.vantage-snapshot {
  width: 458px;
  float: right;
  right: -30px;
}

@media (max-width: 639px) {
  .vantage-snapshot {
    width: 345px;
  }
}

.btn {
  border: 0 !important;
}

.btn.tertiary.selected {
  background-color: #edf7fc !important;
  font-weight: 600;
}

.btn.account-type {
  margin: -18px 0 0 0 !important;
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid #e0e0e0 !important;
  font-weight: 500;
  color: #006ac3;
  background-color: white;
  font-size: 14px;
  width: 174px;
}

/* video {
  object-fit: cover;
  height: 100%;
  width: 100%;

  position: absolute;
  top: 0;
  left: 0;
} */

input[type="checkbox"] + label:before {
  border-radius: 4px;
}

.pbap-benefits-banner-img {
  position: absolute;
  right: 0;
  top: -10px;
  width: auto;
  height: 107%;
}

.pbap-benefits-banner-cashback-img {
  position: absolute;
  right: 0;
  top: -10px;
  width: auto;
  height: 107%;
}

.pbap-benefits-callout-safety-container {
  padding: 85px 55px 182px 41px;
  overflow: hidden;
}

.pbap-benefits-callout-safety-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
}

.pbap-benefits h2,
.pbap-benefits h3 {
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  margin-bottom: 15px;
}

.pbap-benefits h2.large,
.pbap-benefits h3.large {
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
}

.benefits-rbc-x-music-img {
  width: 367px;
}

.benefits-unlimited-debits {
  padding: 48px !important;
  border: 0 !important;
}

@media (max-width: 639px) {
  .pbap-benefits-banner {
    flex-direction: column;
    padding-bottom: 210px;
  }

  .pbap-benefits-banner-cashback {
    flex-direction: column;
    padding-bottom: 200px;
  }

  .pbap-benefits-banner-cashback-container {
    margin-bottom: 65px;
  }

  .pbap-benefits-banner-img {
    position: absolute;
    top: unset;
    right: unset;
    bottom: 0;
    left: 20%;
    width: 260px;
    height: auto;
  }

  .pbap-benefits-banner-cashback-img {
    position: absolute;
    top: unset;
    right: unset;
    bottom: -40px;
    left: 10%;
    width: 300px;
    height: auto;
  }

  .pbap-benefits-callout-safety {
    flex-direction: column !important;
  }

  .pbap-benefits-callout-safety-container {
    padding: 30px 55px 182px 41px;
  }

  .pbap-benefits-callout-safety-img {
    width: 200px;
  }

  .pbap-benefits h2 {
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
  }

  .pbap-benefits h3 {
    font-size: 28px;
    font-weight: 500;
    line-height: 36px;
  }

  .pbap-benefits h2.mob-large {
    font-size: 36px;
    font-weight: 500;
    line-height: 44px;
  }

  .benefits-rbc-x-music-img {
    width: 100%;
  }

  .benefits-unlimited-debits {
    padding: 30px !important;
  }

  .pbap-benefits {
    background: #f3f4f5;
    margin: 0;
  }
}

.callout .callout-content {
  /* padding: 0px; */
}

.rounded-corners {
  border-radius: 10px;
}

body .align-start {
  align-items: flex-start;
}

@media (max-width: 639px) {
  body .mob-align-start {
    align-items: flex-start;
  }
}

body .align-center {
  align-items: center;
}

@media (max-width: 639px) {
  body .mob-align-center {
    align-items: center;
  }
}

body .align-end {
  align-items: end;
}

@media (max-width: 639px) {
  body .mob-align-end {
    align-items: end;
  }
}

body .justify-center {
  justify-content: center;
}

body .justify-space-between {
  justify-content: space-between;
}

body .flex-row {
  flex-direction: row;
}

body .flex-column {
  flex-direction: column;
}

@media (max-width: 639px) {
  body .mob-flex-row {
    flex-direction: row;
  }

  body .mob-flex-column {
    flex-direction: column;
  }
}

.desktop-only-flex {
  display: flex !important;
}

.desktop-only-rel {
  display: relative !important;
}

.mobile-only-flex {
  display: none !important;
}

.mobile-only-rel {
  display: none !important;
}

.desktop-only-inline {
  display: inline !important;
  white-space: nowrap;
}

.mobile-only-inline {
  display: none !important;
}

@media (max-width: 639px) {
  .desktop-only-flex {
    display: none !important;
  }

  .desktop-only-rel {
    display: none !important;
  }

  .mobile-only-flex {
    display: flex !important;
  }

  .mobile-only-rel {
    display: relative !important;
  }

  .desktop-only-inline {
    display: none !important;
  }

  .mobile-only-inline {
    display: inline !important;
  }
}

.font-14 {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.font-16 {
  font-size: 16px !important;
  font-weight: 300 !important;
}

@media only screen and (max-width: 999px) {
  .value-program-banner .desktop-only {
    > video {
      top: -25px;
      left: 10px;
    }

    > div {
      padding: 85px 30px !important;
    }

    > div > .pos-rel {
      max-width: 346px !important;
    }

    .value-program-video-label:nth-child(3) {
      bottom: 25px;
      right: 44.8% !important;
    }
    .value-program-video-label:nth-child(4) {
      bottom: 25px;
      right: 34.2% !important;
    }
    .value-program-video-label:nth-child(5) {
      bottom: 25px;
      right: 22.7% !important;
    }
    .value-program-video-label:nth-child(6) {
      bottom: 25px;
      right: 12% !important;
    }
  }
}

@media only screen and (max-width: 800px) {
  .value-program-banner .desktop-only {
    > video {
      top: -15px;
      left: 0px;
    }

    > div {
      padding: 10px 12px !important;
    }

    > div > .pos-rel {
      max-width: 275px !important;
    }

    .value-program-video-label:nth-child(3) {
      bottom: 25px;
      right: 44% !important;
    }
    .value-program-video-label:nth-child(4) {
      bottom: 25px;
      right: 31.2% !important;
    }
    .value-program-video-label:nth-child(5) {
      bottom: 25px;
      right: 18.7% !important;
    }
    .value-program-video-label:nth-child(6) {
      bottom: 25px;
      right: 6% !important;
    }
  }
}

@media only screen and (max-width: 450px) {
  #disclaimer .table-wpr {
    display: block;
  }

  #disclaimer .table-wpr .table-row {
    display: flex;
  }

  #disclaimer .table-wpr .table-cell:last-child {
    display: block;
    width: 90%;
  }

  #disclaimer .table-wpr .table-cell:last-child a {
    word-wrap: break-word;
  }
}

@media (min-width: 1200px) {
  .banner-student .grid-half,
  .banner-student-international .grid-half,
  .banner-new-to-canada .grid-half {
    padding: 30px 15px !important;
  }
}
