@import url(https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700&subset=latin,latin-ext);
@import url(https://fonts.googleapis.com/css?family=Fira+Sans:400,300,500&subset=latin,latin-ext);

header {
  background-color: #fff !important;
  border-bottom: solid 1px #c4c8cc;
}

header #header .logo-wpr .logo-img img {
  width: 147px !important;
}

header .mobile-header-content .logo-image {
  float: left;
}

header .mobile-header-content .mobile-logo-wpr .logo-image img {
  height: 40px;
}

html.overlay-visible #floatingBar {
  z-index: 100005 !important;
}

.w-85 {
  width: 85%;
}

.tooltip {
  font-size: 1.6rem;
  line-height: 2.4rem;
  font-weight: 300;
}

#transaction_estimate_q1a {
  background-color: white;
  height: auto !important;
}

#transaction_estimate_q1a .input-wpr {
  max-width: 456px;
  margin-left: auto;
  margin-right: auto;
}

.noscroll {
  overflow: hidden;
}

.highlight-green {
  color: #097B24
}

.container-wpr .container-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: auto;
  margin-bottom: auto;
}

.inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.max-width-wrap {
  max-width: 812px;
}

.content-section {
  display: flex;
  flex-direction: column;
}

.inner-content-section {
  margin: 0 auto;
}

.questions .slider-wpr {
  margin-left: 10px;
}

.slider-wpr label,
#question_transactions label,
#question_creditcards label {
  display: none !important;
}

.progress-text {
  position: absolute;
  right: -33px;
  top: 10px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.05);
}

.progress-text.progress-end {
  transform: translateX(-45px);
  transition: transform 800ms;
}

.progress-status {
  height: 8px !important;
  transition: width 800ms;
  z-index: 1;
}

.progress-bar {
  background: none !important;
  width: 80%;
  max-width: 80%;
  height: 0px;
  margin: 0;
}

.language-dropdown {
  position: absolute;
  right: 10%;
  top: 23px;
}

.language-dropdown #nav-language {
  color: #006AC3;
  margin-right: 5px;
  margin-left: 15px;
  font-size: 16px;
}

.language-dropdown #nav-language:before {
  content: "";
  display: inline-block;
  width: 22px;
  margin-right: 5px;
  background: url(../images/icon-flag-canada.svg) no-repeat left center;
  height: 12px;
}

.language-dropdown #nav-language:after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #006AC3;
  margin-bottom: 4px;
  margin-left: 5px;
}

.language-dropdown #content-language {
  position: absolute;
  margin-top: 5px;
  border: 1px solid #fff;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
  background-color: #f5f5f5;
  padding: 15px;
  z-index: 9;
}

.language-dropdown #content-language li {
  list-style-type: none;
}

.language-dropdown #content-language a {
  color: #006AC3;
  font-size: 16px;
  display: flex;
}

.language-dropdown #content-language a:before {
  content: "";
  display: inline-block;
  width: 21px;
  margin-top: 4px;
  margin-right: 5px;
  background: url(../images/icon-flag-canada.svg) no-repeat left center;
  height: 12px;
}

.language-dropdown #content-language .language-close {
  display: block;
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  content: url(../assets/images/icon-close-blue.svg);
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
  .language-dropdown #content-language .language-close:before {
    content: url(../assets/images/icon-close-blue.svg);
    width: 8px;
    height: 8px;
  }
}

@media(min-width: 769px) {
  #floatingBar .card-compare-inner .card-details .rebate1,
  #floatingBar .card-compare-inner .card-details .rebate2 {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .language-dropdown {
    top: 25px;
    right: 25px;
  }

  #floatingBar .card-compare-inner .card-details {
    flex-direction: column !important;
  }

  #floatingBar .card-compare-inner .card-details .rebate1,
  #floatingBar .card-compare-inner .card-details .rebate2 {
    text-align: center;
  }
}

@media (max-width: 639px) {
  .language-dropdown {
    top: 20px;
  }
}

.selectedHeadLine,
.if_vip,
#accountComparisonTable,
#transaction_estimate_q1a,
#question_atm,
#question_rbcservices,
#question_rewards,
#question_forwho,
.back,
#results,
#results_content,
#nav_buttons,
#error,
#prevStep,
.inactive {
  display: none;
}

#question_atm .tool_intro {
  max-width: 706px;
}

#question_rbcservices fieldset,
#question_forwho fieldset {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  flex-direction: column;
}

.trigger-icon {
  margin-left: 5px !important;
}

.bottom-nav {
  margin-top: 60px;
}

#intro-notice {
  height: auto;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #F3F7F8;
  border: 1px solid #E1EBEF;
  width: 100%;
  padding: 15px;
  position: absolute;
}

@media(max-width: 1410px) {
  #intro-notice {
    padding-top: 35px;
    position: relative;
  }
}

#intro-notice-content,
.q1_tip,
.q4_cardNote,
#recommendationCard strike,
#floatingBar .card-inner strike,
.comparison-callout strike,
.activeCardHeader span,
.font-14 {
  font-size: 1.4rem;
  line-height: 2.1rem;
}

.q1_tip,
.q4_cardNote {
  padding-left: 20px;
}

.q1_tip:before,
.q4_cardNote:before {
  content: "";
  border-left: 4px solid #FBAA26;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

@media (max-width: 639px) {
  .q1_tip:before {
    display: none;
  }
  .q1_tip {
    border-left: 4px solid #FBAA26;
    padding-left: 15px;
  }
}

.flex-between {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: space-between;
}

.flex-center {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
}

@media (min-width: 920px) {
  .rewards-cust-nowrap {
    white-space: nowrap;
  }
}

.benefits-card {
  padding: 30px 15px;
  background: white;
  border-radius: 10px;
  box-shadow: 0px 2px 60px rgba(44, 54, 109, 0.11);
}

input[type=checkbox].disabled+label:before {
  cursor: default !important;
}

.text-cap-sm {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 500;
}

/******** Sliders ********/

input[type=tel] {
    padding: 10px;
    border: 1px solid #c4c8cc;
    outline: 0!important;
    line-height: 1.6rem;
    border-radius: 0;
    border-collapse: collapse;
    min-height: 50px;
    width: 0;
    min-width: 130px;
    color: #252525;
    font-size: 1.6rem;
}

.slider_transactions {
  width: calc(100% - 85px) !important;
}

.slider-input {
  min-width: 46px !important;
  height: 50px;
  max-width: 46px !important;
}

.irs .irs .irs-max,
.irs .irs .irs-min {
  margin-top: 20px;
}

.irs .irs .irs-max {
  right: 24px;
}

.irs .irs-grid .irs-grid-pol {
    border: 1px solid #C6C7C9;
    background: #C6C7C9;
    height: 25px;
    top: -2.5px;
}

.slider_transactions .irs .irs-grid .irs-grid-pol:first-of-type,
.slider_transactions .irs .irs-grid .irs-grid-pol:nth-last-of-type(2),
.slider_transactions .irs .irs-grid .js-grid-text-1 {
  display: none !important;
}

.irs .irs-grid .irs-grid-text.js-grid-text-2 {
  left: 98% !important;
}

#question_transactions .irs-grid-text,
#helpMeEstimate,
#question_forwho .tool_intro p,
.float-summary .openThisAccount,
.font-16 {
  font-size: 16px;
  line-height: 24px;
}

.slider_transactions .js-grid-text-2::after,
#transactionSliderWrapMob .irs-max::after {
  content: "+";
  display: inline-block;
}

.irs-slider.single span {
  top: -35px;
  position: absolute;
  left: 50%;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Roboto';
  color: #006AC3;
  transform: translatex(-50%);
}

.align-center {
  align-self: center;
}

.error-msg {
  position: relative;
  padding-left: 35px !important;
  display: block;
  margin-bottom: 5px;
}

.error-msg::before {

  content: url('/dvl/v1.0/assets/images/icons/icon-error.svg');
  display: inline-block;
  height: 20px;
  width: 20px;
  vertical-align: text-top;
  line-height: 0;
  font-size: 0;
  -webkit-transform: translate(0, 12%);
  -ms-transform: translate(0, 12%);
  transform: translate(0, 12%);
  position: absolute;
  left: 0;

}

/************************/
/************************/
/************************/
/******** RESULTS *******/
/************************/
/************************/
/************************/

#loader {
  position: absolute;
  left: 50%;
  top: 50%;
  /*
    background-color: rgba(255,255,255,0.7);*/
  background-color: black;
  z-index: 9999;
}

.activeCardHeader {
  width: 170px;
  height: 26px;
  background-color: #ffc72c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activeCardHeader span {
  color: #252525;
}

.loader-overlay-small {
  margin-top: 50px;
  z-index: 3000;
  width: 100%;
  height: 100%;
}

.loader-small {
  position: relative;
  margin: 0 auto;
  margin-top: -40px;
  width: 20px;
}

.loader-small:before {
  content: '';
  display: block;
  padding-top: 100%;
}

.loader-small:after {
  content: '';
  width: 46px;
  height: 60px;
  display: block;
  margin: auto;
  top: -76px;
  position: relative;
}

.circular {
  animation: rotate 2s linear infinite;
  height: 100%;
  transform-origin: center center;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.path-small {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  animation: dash 1.5s ease-in-out infinite;
  stroke-linecap: round;
  stroke: #000000;
}

.loader-overlay {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 13000;
  background: rgba(0, 0, 0, 0.90);
  width: 100%;
  height: 100%;
}

.loader {
  position: relative;
  margin: 0 auto;
  top: 50%;
  margin-top: -152px;
  width: 152px;
}

.loader:before {
  content: '';
  display: block;
  padding-top: 100%;
}

.loader:after {
  background-position: -177px -10px;
  content: '';
  width: 46px;
  height: 60px;
  display: block;
  margin: auto;
  top: -76px;
  position: relative;
  background: url('../images/logo_outline_white.svg') no-repeat;
}

.circular {
  animation: rotate 2s linear infinite;
  height: 100%;
  transform-origin: center center;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.path {
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  animation: dash 1.5s ease-in-out infinite;
  stroke-linecap: round;
  stroke: #FEDF01;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }

  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}

.selector-botttom-border {
  border-bottom: solid 1px #C6C7C9;
  margin-bottom: 30px;
  padding-bottom: 30px;
}

.results-header {
  padding-top: 20px;
  padding-bottom: 20px;
}

.results .slider_transactions,
.editDetailsModal .slider_transactions {
  width: calc(100% - 80px) !important;
}

.results .slider_creditcards {
  width: calc(100% - 135px);
}

.results .irs .irs .irs-max,
.editDetailsModal .irs .irs .irs-max {
  right: 25px;
}

#nonRbcAtmMob {
  background: inherit;
}

.text-green {
  color: #109f17;
}

.fw-700 {
  font-weight: 700;
}

#extraPerks_sec {
  background: #F3F7F8;
}

.panel {
  border-color: #bdbdbd;
  min-height: 152px;
}

.panel-top {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  border-top: 5px solid #006ac3;
}

.panel-top-left {
  padding: 15px 20px;
  flex: 1.25;
}

.panel-top-right {
  border-left: 1px solid #E1EBEF;
  background: #FAFAFA;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 15px 20px;
  flex: 1;
}

.panel-top-right .hasAdditionalFees {
  font-size: 14px;
}

.panel-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-top: 1px solid #E0E0E0;
}

.panel-primary-low {
  border: solid 1px #c4c8cc;
  background-color: #ffffff;
}

.edit-compare-wpr {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.edit-compare-divider:before {
  content: "";
  border-left: 1px solid #B3B3B3;
}

#compareAccounts, #editDetailsBtn {
  flex: 1;
  justify-content: center;
}

.edit-compare-divider {
  flex: 0;
}

@media (max-width: 420px) {
  .edit-compare-divider {
    display: none;
  }
  .edit-compare-wpr {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #editDetailsBtn {
    padding-right: 0 !important;
    margin-bottom: 10px !important;
  }

  #compareAccounts {
    padding-left: 0 !important;
  }
}

#recommendationCard strike {
  font-weight: 700;
  color: #565656;
}

#floatingBar .card-inner strike,
.comparison-callout strike {
  font-weight: 700;
  color: #585858;
}

#account-comparison-table strike,
#accountSummary_sec strike {
  color: #585858;
}

.btn.blue-button:not(.tablesaw-nav-btn) {
  font-size: 12px;
  background: #EDF7FC;
  color: #006AC3;
  border-radius: 4px;
  padding: 10px;
  min-width: 220px;
  text-transform: none !important;
}

.font-12 {
  font-size: 12px;
  line-height: 14px;
}

.recommendation_callOut {
  padding: 0;
  min-height: 150px;
}

.recommendation_callOut .finalPresCost {
  font-size: 30px;
}

.closeComparisonLink {
  padding-left: 35px;
  background-image: url(/dvl/v1.0/assets/images/ui/ui-close-blue.svg);
  background-size: 20px 19px;
  background-repeat: no-repeat;
  background-position: 0 50%;
}

.text-transform-none {
  text-transform: none !important;
}

.comparison-callout {
  padding: 0 20px;
}

.comparison-callout .compare-cost-wpr {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  margin-top: 10px;
  margin-bottom: 10px;
}

.comparison-callout .compare-rebate-wpr-1,
.comparison-callout .compare-rebate-wpr-2 {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.comparison-callout.panel-primary-low {
  border-top: 5px solid #006ac3;
  box-shadow: 0 2px 24px 0 rgba(0, 0, 0, 0.07), inset 0 4px 0 0 #006ac3;
  border: solid 1px #c4c8cc;
  background-color: #ffffff;
}

.comparison-callout .close-icon,
.card-compare-inner .close-icon {
  margin: 0;
  padding: 0;
  position: absolute;
  height: 20px;
  width: 20px;
  right: 12px;
  top: 15px;
  cursor: pointer;
  background: 0 0;
}

.comparison-callout .close-icon {
  right: 12px;
  top: 25px;
}

@media (min-width: 1200px) {
  .card-compare-inner .close-icon {
    right: 25px;
    top: 0px;
  }
}


.comparison-callout .card {
  margin-top: 30px;
  margin-bottom: 25px;
}

.comparison-callout .card .openThisAccount {
  margin-top: 20px;
}

@media (min-width: 900px) and (min-height: 840px) {
  #compareAccountsModal.modal .modal-inner,
  #value-program-modal.modal .modal-inner {
    max-height: 700px;
  }
}

#cardsWpr {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

#cardsWpr .cardSelector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  padding: 20px;
  padding-top: 26px;
}

#cardsWpr .card-title {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  width: 100%;
}

#cardsWpr .leftCard,
#cardsWpr .rightCard {
  margin-top: 4px;
}

#cardsWpr .leftCard {
  border-right: solid 1px #c4c8cc;
  padding-right: 20px;
}

#cardsWpr .cardB {
  padding-left: 20px;
}

.accountCard {
  width: calc(50% - 10px);
  padding: 15px;
  height: auto;
  border: solid 1px #c4c8cc;
  margin-bottom: 20px;
}

.accountCard.active {
  border: solid 2px #006ac3;
  background-color: #f9fcff;
}

.close_account_comparison,
.edit_compare_accounts {
  border: solid 1px #e7eef1;
  background-color: #f5f8f9;
  margin: 0 auto;
  height: 80px;
}

.close_account_comparison {
  margin-bottom: 30px;
}

.close_account_comparison.desktop-only,
.edit_compare_accounts.desktop-only {
  padding-top: 30px;
}

.edit_compare_accounts.desktop-hidden {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  padding: 0;
  justify-content: center;
}

.mar-b-20 {
  margin-bottom: 10px;
}

h5.mar-t-20 {
  margin-top: 20px;
}

@media screen and (min-width: 1200px) {
  .mar-b-20 {
    margin-bottom: 20px;
  }

  .grid-wpr.major {
    margin-right: -30px;
    margin-left: -30px;
  }

  .results .resultsViewCol {
    padding-left: 31px;
    max-width: 816px;
  }

  .results .account-controls-desktop {
    padding-left: 30px;
    padding-right: 22px;
    max-width: 385px;
  }
}

.recommendation .modal-links {
  margin-top: 15px;
  margin-bottom: 15px;
}

.modal-links .compareAccountLink,
.modal-links .editDetailsLink {
  margin-top: 0px;
  margin-bottom: 0px;
  display: -webkit-flex !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  justify-content: center;
}

.no-padding {
  padding: 0 !important;
}

#value-program-modal {
  background-color: #ffffff;
}

.compare-modal {
  max-width: 860px;
  background-color: #ffffff;
}

.compare-modal input[disabled]+label:before {
  content: "";
  background-color: #eee !important;
  color: #585858 !important;
  pointer-events: none;
}

.compare-modal .checkbox-wpr {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
}

.value-program-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 790px;
  margin: 0 auto;
  margin-bottom: 30px;
}

.value-program-grid fieldset {
  flex: 1;
}

.value-program-grid .value-program-cards {
  display: flex;
  flex: 2;
  align-items: stretch;
  justify-content: center;
}

.value-program-grid .value-program-cards .benefits-card:first-of-type {
  margin-right: 10px;
}

/******************************************/
/******************************************/
/******** Results Account Summary *********/
/******************************************/
/******************************************/

.account-summary-table-wpr,
.table-comparison {
  box-shadow: 0px 5px 40px rgba(0,0,0,0.08);
  border-radius: 10px;
}

.account-summary-table-wpr tbody tr th {
  width: 60%;
}

table.grey-table {
  border-bottom: 2px solid #C4C8CC;
  border-top: 2px solid #C4C8CC;
}

table.grey-table:not(.table-stack) tbody tr td.grey,
table.grey-table:not(.table-stack) tbody tr th.grey {
  background-color: #FAFAFA;
}

table.grey-table:not(.table-stack) tbody tr {
  border-bottom: solid 1px rgba(151,151,151, 0.3);
}

#floatingBar {
  margin: 0;
  top: 0px;
  position: fixed;
  background-color: #ffffff;
  min-height: 61px;
  width: 100%;
  z-index: 10001;
  padding-top: 15px;
  padding-bottom: 15px;
  border: solid 1px #c4c8cc;
  border-top: 4px solid #006AC3;
  box-shadow: 0px 2px 24px rgba(0, 0, 0, 0.0683184);
  animation: slide-down 0.5s;
  opacity: 1;
}

#floatingBar .card-inner {
  max-width: 1200px;
  position: relative;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-content: center;
}

#floatingBar .card-title {
  align-self: center;
}

#floatingBar .float-summary {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

#floatingBar .card-compare-inner .cardSelector.leftCard:after {
  content: "";
  border-right: 1px solid #C6C7C9;
  position: absolute;
  right: 0px;
  top: -15px;
  width: 1px;
  height: calc(100% + 30px);
}

@media (min-width: 1200px) {
  #floatingBar .float-summary {
    padding-right: 30px !important;
  }
  
  #floatingBar .card-compare-inner .cardSelector.leftCard:after {
    right: 15px;
  }
}

#floatingBar .card-compare-inner .card-details {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.openAcctFloatBar {
  flex-shrink: 0;
}

.float-cost-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 460px) {
  #floatingBar .float-summary {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

/************************/
/************************/
/************************/
/******** large ********/
/************************/
/************************/
/************************/

@media screen and (min-width: 1200px) {
  .results-header {
    padding-left: 15px;
  }
}

@media screen and (min-width: 1195px) {
  .container-wpr .container-inner {
    margin-top: 30px;
  }

  .container-wpr .container-inner .q1_description {
    margin-bottom: 30px;
  }

  .questions .tool_intro {
    margin-bottom: 30px;
  }

  .q1 .tool_intro {
    margin-bottom: 20px;
    max-width: 726px;
  }

}

/************************/
/************************/
/************************/
/******** Desktop ********/
/************************/
/************************/
/************************/

@media (min-width: 639px) and (max-width: 1200px) {
  .mar-b-20 {
    margin-bottom: calc((10px + 20 - 10) * ((100vw - 639px)/ (1200 - 639)));
  }
}

@media screen and (min-width: 640px) {

  header #header {
    height: 73px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  body.overlay-visible {
      overflow: auto !important;
  }

  .desktop-pad-l-10 {
    padding-left: 10px !important;
  }

  .desktop-pad-r-10 {
    padding-right: 10px !important;
  }

  #cardsWpr .selectedAccName {
    width: 85%;
  }

  .inner-content-section {
    padding-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .card-compare-inner .card-title {
    margin-right: 15px !important;
  }

  .edit-compare-wpr {
    display: block;
  }

  .bottom-nav {
    min-height: 100px;
  }

  .irs {
    margin-top: 20px;
  }

  .pad-r-20-md {
    padding-right: 20px !important;
  }

  .pad-r-10-md {
    padding-right: 10px !important;
  }

  .results .results-callout {
    margin-bottom: 15px;
    margin-top: 15px;
  }

  .table-subtitle {
    padding: 20px 0 20px 20px;
  }  

  td.text-right {
    padding: 20px 20px 20px 0;
  }
}

/************************/
/************************/
/************************/
/*** Comparison Table ***/
/************************/
/************************/
/************************/

.table-comparison tr td, 
.table-comparison tr th {
  padding: 20px;
}

.table-comparison table tr td {
  text-align: center;
  width: 25%;
  position: relative;
}

.table-comparison table tr td:before {
  content: "";
  border-left: 1px solid #B3B3B3;
  position: absolute;
  height: 50%;
  left: 0;
  top: 25%;
}

.table-comparison table tr td.leftCol:before {
  display: none;
}

.table-comparison table tr th.table-subtitle {
  text-align: center;
  background: #FAFAFA;
}

table#compare-table-save.grey-table {
  border-bottom: none;
}

table#compare-table-save.grey-table tr:nth-last-of-type(2) {
  border-bottom: 2px solid #C4C8CC;
}

table#compare-table-save.grey-table tr:last-of-type {
  border-bottom: none;
}

table#compare-table-save.grey-table tr:last-of-type td:before {
  display: none;
}

#accountComparisonCards,
#comparisonTable,
.cardD2D,
.cardAdv,
.cardSNL,
.cardVIP,
.if_D2D {
  display: none;
}

/************************/
/************************/
/************************/
/******** Portrait ********/
/************************/
/************************/
/************************/

@media screen and (max-width: 639px) and (orientation: portrait) {

  .floating-bar-mobile-comparison {
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffff;
    min-height: 196px;
    width: 100%;
    z-index: 10001;
    padding-top: 15px;
    padding-bottom: 15px;
    border: solid 1px #c4c8cc;
    border-top: none;
  }

  .floating-bar-mobile-comparison {
    min-height: auto;
    padding-top: 0;
    padding-bottom: 0;
  }

}


/************************/
/************************/
/************************/
/******** MOBILE ********/
/************************/
/************************/
/************************/
.transition {
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;

}

@keyframes slide-down {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 639px) {
  .mob-mar-auto {
    margin-right: auto;
    margin-left: auto;
  }

  .mob-wrap {
    white-space: normal !important;
  }

  .mob-table-cell {
    display: table-cell;
  }

  #question_rbcservices fieldset, 
  #question_forwho fieldset {
    -webkit-align-items: start;
    -ms-flex-align: start;
    align-items: start;
  }

  html.overlay-visible {
    overflow: hidden !important;
    touch-action: none;
    -ms-touch-action: none;
  }

  html.overlay-visible #floatingBar {
    z-index: 1000 !important;
  }

  #floatingBar {
    padding-bottom: 7.5px;
  }

  #floatingBar .card-inner {
    flex-direction: column;
    justify-content: center;
    align-content: center;
  }

  #floatingBar .card-title {
    align-self: center;
  }

  #floatingBar .float-summary {
    flex-wrap: wrap;
  }

  #floatingBar h4.finalPresCost {
    font-size: 2rem;
    line-height: 2.5rem;
  }

  #floatingBar .card-compare-inner h4.finalPresCost {
    margin-right: 0 !important;
  }

  #floatingBar .rebateDetails {
    max-width: 165px;
  }


  #floatingBar .recommendedProductFloatBar {
    font-size: 16px;
    line-height: 24px;
  }

  #floatingBar .openAcctFloatBar {
    font-size: 12px;
    line-height: 16px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  #floatingBar .baseCost {
    color: #6f6f6f
  }

  #floatingBar .card-compare-inner .cardSelector.leftCard:after {
    height: calc(100% + 23.5px);
  }

  header {
    background-color: #fff !important;
    border: solid 1px #c4c8cc;
  }

  .text-center-mob {
    text-align: center !important;
  }

  .progress-bar {
    margin-left: -20px;
    margin-right: -15px;
    width: calc(100% + 35px);
    /*max-width: calc(100% + 35px);*/
  }

  .input-wpr {
    min-width: initial;
  }

  #page-title {
    text-align: center;
  }

  .h2-mob {
    font-size: 2.4rem !important;
    line-height: 3rem !important;
  }

  .mob-pad-t-20 {
    padding-top: 20px !important;
  }

  .bottom-nav {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .bottom-nav .helpMeEstimate,
  .bottom-nav .prevStep {
    margin-bottom: 25px;
  }

  .panel-bottom {
    padding: 15px;
  }

  .compare-modal .accountCard {
    margin-bottom: 15px;
    width: 100%;
  }

  #nextStep {
    margin-bottom: 25px;
  }

  .slider-wpr .slider {
    display: block !important;
  }

  .resultsViewCol .recommendation .top-section {
    padding: 0px !important;
  }

  .recommendation .modal-links {
    margin-top: 24px;
    margin-bottom: 20px;
  }

  .recommendation_callOut .recommendedProduct {
    margin-top: 10px !important;
    margin-bottom: 5px !important;
  }

  .value-program-grid {
    flex-direction: column;
  }

  .panel-top-right {
    border-left: none;
    border-top: 1px solid #E1EBEF;
  }

  #extraPerks_sec .benefits-card {
    padding: 20px;
  }

  #extraPerks_sec .benefits-card {
    height: auto !important;
  }

  #extraPerks_sec .benefits-card h5 {
    height: auto !important;
  }

  .compareAccountLink::before {
    content: "";
    display: block;
    width: 1px;
    height: 100%;
    max-height: 43px;
    background-color: #c4c8cc;
    position: absolute;
    top: 20;
    left: 0;
  }

  .comparison-callout .close-icon {
    top: 20px;
    right: 5px;
    width: 11px;
    height: 11px;
  }

  .card-compare-inner .close-icon {
    top: 0;
    right: 5px;
    width: 11px;
    height: 11px;
  }

  .card-compare-inner .close-icon img,
  .comparison-callout .close-icon img {
    width: 11px;
    height: 11px;
  }

  .card-compare-inner .leftCard {
    padding-left: 0 !important;
  }

  .card-compare-inner .rightCard {
    padding-right: 0 !important;
  }

  .card-compare-inner .leftCard .card-title {
    margin-right: 7.5px;
  }

  .comparison-callout.panel-primary-low {
    border-radius: 0;
  }

  .table-comparison tr td, 
  .table-comparison tr th {
    padding: 15px;
  }

  #comparisonCard .activeCardHeader,
  #floatingBar .activeCardHeader {
    width: 127px !important;
    height: 20px !important;
  }

  #comparisonCard .activeCardHeader span,
  #floatingBar .activeCardHeader span {
    font-size: 11px !important;
    line-height: 10px !important;
  }

  #floatingBar .card-inner.isRecommended .card-title {
    margin-top: 15px !important;
  }

  #value-program-modal .modal-inner {
    margin-left: 0;
    padding-left: 20px;
  }

  #compareAccountsModal .modal-inner {
    margin: 20px 4px 20px 0 !important;
    padding-right: 40px !important;
    padding-left: 20px;
  }
}

.popup_wrapper.tooltipwpr {
  z-index: 100003 !important;
}

.compare-text {
  line-height: 1.38;
  font-size: 16px;
}

#accountSummary_sec {
  margin-bottom: 24px;
}

#comparison_sec,
#unlockSavings_sec {
  margin-bottom: 20px;
}

#comparisonCard .activeCardHeader {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  border-radius: 3px;
}

#floatingBar .activeCardHeader {
  display: none;
  border-radius: 3px;
  left: 50%;
  transform: translate(-50%, 0);
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

#floatingBar .card-inner .activeCardHeader {
  display: none;
}

#floatingBar .card-inner.isRecommended .activeCardHeader {
  display: flex;
  position: fixed;
  top: 4px;
}

#floatingBar .card-compare-inner .activeCardHeader {
  display: flex;
  position: absolute;
  top: -15px;
  width: 170px;
}

@media screen and (min-width: 640px) and (max-width: 767px) {
  .recommendation_callOut .grid-wpr>div[class*="col-"] {
    width: 100%;
    text-align: left;
  }

  .recommendation_callOut .grid-wpr>div[class*="col-"]:first-child {
    margin-bottom: 20px;
  }

  .account-controls-desktop .slider-wpr {
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
  }

  .account-controls-desktop .slider-wpr .slider {
    width: 100% !important;
    margin-right: 0;
    padding-right: 15px;
  }

  .account-controls-desktop .slider-wpr .input-wpr {
    width: 100%;
    padding-right: 15px;
    margin-top: 15px;
  }

  .account-controls-desktop .slider-wpr .input-symbol {
    width: 100%;
  }

  .account-controls-desktop .slider-wpr input {
    width: 100%;
    max-width: 100% !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .reward_summary_grid div[class*="col-"] {
    width: 100%;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-top: 10px;
  }
}

@media screen and (min-width: 640px) and (max-width: 900px) {
  .comp_reward_summary_grid div[class*="col-"] {
    width: 100%;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-top: 20px;
  }
}

@media (max-width: 639px) {
  .accountCard {
    min-height: min-content !important;
  }

  #question_atm,
  #question_creditcards {
    margin-bottom: 20px;
  }

  .tooltip-overlay {
    opacity: 0.7;
    visibility: visible;
    background-color: rgb(0, 0, 0);
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    z-index: 100002;
    transition: all 0.2s ease 0s;
  }

  .overlay.overlay-visible {
    z-index: 100002;
  }
}

@media (min-width: 640px) {
  .overlay.overlay-visible {
    display: none !important;
  }
}

/* DVL MODAL FIX FOR IPHONE X */
@media (max-width: 825px) and (orientation: landscape) {
  #intro-notice {
    padding-top: 40px;
    position: relative;
  }
  .modal {
    height: 100%;
  }

  .modal .modal-inner {
    max-height: calc(100% - 40px) !important;
    min-height: 0;
    margin-right: 0;
    padding-right: 40px;
  }

  .modal .close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 15px;
    z-index: 300;
    cursor: pointer;
  }

  .modal .close:before {
    content: url(/dvl/v1.0/assets/images/ui/ui-close-blue.svg);
    display: inline-block;
    height: 15px;
    width: 15px;
    line-height: 0;
    font-size: 0;
  }
}

@media (max-width: 404px) {
  #compareAccounts {
    padding-left: calc(10px + (26 - 10) * ((100vw - 300px)/ (388 - 300)));
  }
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}