.provider-wrap {
  width: 100%;
  display: block;
  overflow: hidden;
}
.provider-logo img {
  width: 100% !important;
}
.provider_name {
  margin-bottom: 20px;
}
.tab-container {
  border: 0;
  padding: 0;
}
.tab-buttons {
  display: flex;
  justify-content: left;
  margin-bottom: 10px;
  border-bottom: 1px solid #ccc;
}
.tab-button {
  background-color: transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #979797;
  border: none;
  cursor: pointer;
  padding: 10px 20px 10px 0;
  text-align: left;
  margin-right: 10px;
}
.tab-button:hover {
  color: #62b96a;
  background: transparent;
  border-bottom: 2px solid #62b96a;
}
.tab-button.active {
  color: #62b96a;
  border-bottom: 2px solid #62b96a;
  background: transparent;
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
}

.review-url-btn {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background: #444444;
  margin: 50px auto 20px;
  max-width: 80%;
  color: #fff;
  text-align: center;
  text-decoration: none !important;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 4.8px;
}
.review-url-btn:hover {
  background: #000;
  color: #fff;
  font-weight: 600;
}
.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two columns with equal width */
  grid-gap: 10px; /* gap between columns */
}

.grid-item {
  background-color: transparent;
  padding: 10px;
}

.provider_details {
  width: 100%;
  overflow: hidden;
}
.three-col {
  width: 33%;
  display: inline-block;
  float: left;
}
.col-title {
  margin-bottom: 10px !important;
}
.provider_name h4 {
  font-weight: 700;
  font-size: 32px;
  text-transform: uppercase;
  margin-bottom: 10px !important;
}
.provider-logo-wrap {
  width: 30%;
  float: left;
  display: inline-block;
  padding: 40px 20px;
}
.provider-meta-wrap {
  width: 70%;
  display: inline-block;
  float: left;
}

.loan-providers-wrap table {
  width: 100%;
  border: 0;
}
.loan-providers-wrap table th {
  border-bottom: 1px solid #000 !important;
  padding: 10px;
  background: none;
  color: #000;
  text-transform: none;
  text-align: left;
  font-size: 16px;
  line-height: 25px;
}

.loan-providers-wrap table tr:nth-child(even) td {
  padding: 10px;
  background: #efefef;
}
.loan-providers-wrap table td {
  padding: 10px !important;
  font-size: 16px;
  color: #000;
}

@media screen and (max-width: 924px) {
  .provider-logo-wrap,
  .provider-meta-wrap,
  .three-col {
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .grid-container {
    grid-template-columns: 1fr; /* one column */
  }
  .loan-providers-wrap table th:first-child {
    width: 100px;
  }
  .loan-providers-wrap table th,
  .loan-providers-wrap table td {
    font-size: 14px;
    line-height: 18px;
  }
}

/*

CARDDIFF PRODUCT CARD

*/

.card {
  margin: 48px 0;
  flex-direction: column;
  border: 1px solid #cccccc;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16);
  position: relative;
}

.card .top-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card .top-left {
  padding: 10px;
}

.card .top-left h4 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
}

.card .top-right {
  padding: 10px;
}

.card .second-row {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.card .left-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card .right-column {
  padding: 10px;
}

.card .badge {
  color: #251670;
  background: #e9e7f0;
  border-radius: 16px;
  padding: 8px 16px;
  margin-bottom: 8px;
  display: inline-block;
  word-break: normal;
}

.card .badge p {
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  margin: 0;
}

.card .img-container {
  padding: 10px;
}

.card .img-container img {
  max-width: 215px;
  width: 100%;
  height: auto;
}

.card.credit_card .img-container img {
  filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.24));
}

.card .accordion h6 {
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  display: block;
  color: #395bb6;
  width: 100%;
  padding: 15px 20px;
  border-top: 1px solid #d5d8dc;
  text-align: left;
  position: relative;
  background-color: #fff;
  cursor: pointer;
  margin: 0;
}

.card .accordion .content {
  padding: 15px 20px;
  border-top: 1px solid #d5d8dc;
}

.card .list-points ul {
  list-style: none;
  padding: 0;
}

.card .list-points li {
  list-style-type: none;
  position: relative;
  margin-bottom: 16px;
  padding-left: 25px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: #333;
}

.card .list-points.pros li::after {
  background: rgba(16, 178, 1, 0.2)
    url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNOS41IDFMNCA2LjUgMS41IDQiIHN0cm9rZT0iIzEwQjIwMSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L3N2Zz4=")
    no-repeat 3px 5px;
  content: "";
  width: 17px;
  height: 17px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 4px;
}

.card .list-points.cons li::after {
  background: rgba(238, 106, 106, 0.2)
    url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSI5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik02LjkgNy44MjJhLjY1LjY1IDAgMTAuOTItLjkyTDUuNDE3IDQuNSA3LjgyIDIuMDk3YS42NDkuNjQ5IDAgMTAtLjkxNy0uOTE3TDQuNSAzLjU4MyAyLjEgMS4xNzhhLjY1MS42NTEgMCAxMC0uOTIyLjkyMmwyLjQwNSAyLjQtMi40MDUgMi40YS42NTEuNjUxIDAgMTAuOTIyLjkyMmwyLjQtMi40MDUgMi40IDIuNDA1eiIgZmlsbD0iI0VFNkE2QSIgc3Ryb2tlPSIjRUU2QTZBIiBzdHJva2Utd2lkdGg9Ii40Ii8+PC9zdmc+")
    no-repeat 4px 4px;
  content: "";
  width: 17px;
  height: 17px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 4px;
}

.card .facts-wrapper {
  background: #fff;
  display: flex;
  justify-content: space-between;
}

.card .facts-wrapper .fact {
  color: #333;
  padding: 0 12px;
  border-right: 1px solid #e2e2e2;
  width: 100%;
  overflow: hidden;
  word-break: break-word;
}

.card .facts-wrapper .fact h6 {
  font-size: 12px;
  line-height: 24px;
  margin-bottom: 5px;
  opacity: 0.6;
}

.card .facts-wrapper .fact p {
  font-weight: 400;
  font-size: 18px;
  margin: 0;
  color: #333;
}

.card .rewards-wrapper {
  background: #e8f6fc;
  border: 1px solid #76caef;
  border-radius: 8px;
  /* padding: 10px 9px; */
  margin-bottom: 16px;
  display: flex;
  /* gap: 12px; */
}

.card .rewards-content {
  flex: 1;
  padding: 10px;
}

.card .rewards-wrapper h6 {
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
  color: rgb(27, 168, 229);
  margin-bottom: 8px;
}

.card .rewards-wrapper p {
  font-size: 18px;
  font-weight: 400;
  line-height: 18px;
  color: rgb(51, 51, 51);
  margin: 0;
}

.card .rewards-wrapper .icon-wrapper {
  padding: 10px;
  margin: auto;
  min-width: 70px;
}

.card .rewards-wrapper .icon {
  border-radius: 50%;
  background-color: #ffffff;
  padding: 8px;
  width: 48px;
  height: 48px;
}

.card .rating-wrapper {
  border-radius: 32px;
  /* box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.16); */
  border: 1px solid #cccccc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  color: rgb(51, 51, 51);
}

.card .rating-wrapper:hover {
  color: rgb(51, 51, 51);
}

.card .rating-wrapper > div {
  display: flex;
  flex-direction: column;
}

.card .rating-wrapper h6 {
  font-size: 25px;
  margin: 0;
}

.card .rating-wrapper img {
  width: 100px;
}

.card .rating-wrap span {
  font-size: 16px;
  width: initial;
  height: initial;
}

.card .rating-wrap .half:before {
  content: "";
}

.card .rating-wrap .star {
  font-family: dashicons;
  display: inline-block;
  line-height: 1;
  font-weight: 400;
  font-style: normal;
  speak: never;
  text-decoration: inherit;
  text-transform: none;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 20px;
  height: 20px;
  font-size: 20px;
  vertical-align: top;
  text-align: center;
  transition: color 0.1s ease-in;
  color: rgb(240, 173, 78);
  position: relative;
}

.card .rating-wrap .star.full:before {
  content: "★";
}

.card .rating-wrap .star.empty:before {
  content: "☆";
}

.card .rating-wrap .star.half:before {
  content: "☆";
}
.card .rating-wrap .star.half:after {
  content: "★";
  color: #f0ad4e;
  position: absolute;
  margin-left: -20px;
  width: 10px;
  overflow: hidden;
}

.card .rewards-wrapper .icon svg {
  width: 32px;
  height: 32px;
  fill: #1ba8e5;
}

/* @media screen and (max-width: 1023px) {
  .card .rewards-wrapper {
      padding: 12px 14px;
      align-items: center;
      margin-bottom: 20px;
  }

  .card .rewards-wrapper span {
      font-size: 14px;
      line-height: 16px;
      margin-bottom: 4px;
  }
} */

@media screen and (max-width: 768px) {
  .card .top-left h4 {
    font-size: 20px;
  }

  .card .badge {
    margin-bottom: 16px;
  }

  .card .top-right {
    display: none;
  }

  .card .second-row {
    flex-direction: column;
    margin-top: 0;
  }

  .card .left-column {
    max-width: 100%;
  }

  .card .img-and-rating {
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .card .img-container img {
    max-width: 170px;
  }

  .card .rating-wrapper {
    flex: 1;
    margin-right: 8px;
    height: 50px;
    border-radius: 25px;
    border: 1px solid #e5e5e5;
    justify-content: space-between;
    padding: 10px 8px;
    max-width: 150px;
  }

  .card .rating-wrapper h6 {
    font-size: 24px;
    max-width: 34px;
    flex: 1;
    font-weight: 900;
  }

  .card .rating-img-container {
    top: -6px;
    position: relative;
    height: 12px;
    margin-top: 2px;
  }

  .card .rating-wrapper img {
    max-width: 82px;
    height: 13px;
  }

  .card .rating-wrap .star {
    width: 17px;
    height: 14px;
  }

  .card .rating-wrap span:before {
    font-size: 16px;
  }

  .card .rating-wrap .star.half:after {
    width: 8px;
    font-size: 15px;
    left: 1px;
    top: 5px;
    margin-left: initial;
  }

  .card .rewards-wrapper h6 {
    font-size: 16px;
  }

  .card .rewards-wrapper p {
    font-size: 14px;
  }

  .card .facts-wrapper {
    flex-wrap: wrap;
  }

  .card .facts-wrapper .fact {
    width: 50%;
    border-right: none;
    padding: 10px;
  }

  .card .facts-wrapper .fact h6 {
    margin: 0;
  }

  .card .facts-wrapper .fact p {
    font-size: 14px;
  }

  .card .facts-wrapper .fact:first-child {
    border-right: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
  }

  .card .facts-wrapper .fact:nth-child(2) {
    border-bottom: 1px solid #e2e2e2;
  }

  .card .facts-wrapper .fact:nth-child(3) {
    border-right: 1px solid #e2e2e2;
  }

  .card .facts-wrapper .fact.only-three {
    border-right: none;
    width: 100%;
  }

  .card .accordion {
    margin-top: 8px;
  }

  .card .accordion .item:last-child h6 {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }
}

@media screen and (min-width: 768px) {
  .card {
    padding: 10px;
  }

  .card .right-column {
    flex: 1;
  }

  .card .top-left {
    max-width: calc(100% - 333px);
  }

  .card .top-right {
    width: 100%;
    max-width: 333px;
  }

  .card .apply-now a {
    flex: 1;
    max-width: 220px;
  }

  .card .second-row .apply-now,
  .card .second-row .apply-now-company {
    display: none;
  }

  .card .facts-wrapper .fact:last-child {
    border-right: none;
  }

  .card .rating-wrapper {
    margin: auto;
    max-width: 204px;
  }

  .card .rating-wrapper > div {
    flex: 1;
  }

  .card .rating-wrapper h6 {
    min-width: 60px;
  }

  .card .rating-wrap {
    margin: auto;
    display: flex;
    height: 24px;
    align-items: center;
  }

  .card .facts-wrapper .fact h6 {
    margin-top: 0;
  }

  .card .accordion .content.pros-cons {
    display: flex;
    gap: 20px;
  }
  .card .accordion .content.pros-cons div {
    flex: 1 0 50%;
  }

  .card .accordion .content.details ul {
    list-style: none;
    padding: 0;
    white-space: initial;
  }

  .card .accordion .content.details,
  .card .accordion .content.why-picked {
    white-space: break-spaces;
  }
}

/* PRODUCT TABLE */

.table {
  overflow: auto;
}

/* RESET */
.table thead,
table thead:first-child tr:first-child th,
table td,
table th {
  -webkit-border-before: none !important;
  border-block-start: none !important;
  border: none;
}

.table thead tr th,
.table tbody td {
  width: 15%;
}

.table thead tr th:first-child,
.table thead tr th:last-child,
.table tbody td:first-child,
.table tbody td:last-child {
  width: 25%;
}

.table thead th {
  background-color: #005fb9;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border-right: 1px solid #cccccc !important;
}
.table thead th:first-child {
  border-top-left-radius: 16px;
}
.table thead th:last-child {
  border-right: none !important;
  border-top-right-radius: 16px;
}

.table tbody tr td {
  border-right: 1px solid #cccccc;
  color: #000000;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.125em;
  padding: 10px;
}
.table tbody tr td:first-child {
  border-left: 1px solid #cccccc;
}

.table tbody tr:nth-child(even) td {
  background-color: #fff;
}

.table tbody tr:nth-child(odd) td {
  background-color: #f2f7fb;
}

.table tbody tr:last-child td {
  border-bottom: 1px solid #cccccc;
}
.table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 16px;
}
.table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 16px;
}

.table .product {
  display: flex;
}

.table .img-container img {
  max-width: 60px;
  height: auto;
  margin-right: 15px;
}

.table .product h4 {
  font-size: 14px !important;
  color: #005fb9;
  margin: 0;
}

html {
  margin: 0 !important;
}

.hidden {
  display: none !important;
}

#sticky-cta {
  background: #fff;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 20px;
  box-shadow: 0px 0px 9px 6px rgba(0, 0, 0, 0.16);
  z-index: 1;
}
#sticky-cta .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: auto;
}
#sticky-cta img {
  max-width: 150px;
}
#sticky-cta .apply-now {
  padding: 15px 30px;
  margin: 0;
}
#sticky-cta .apply-now-company {
  display: none;
}

/*
* APPLY NOW
*/

.apply-now {
  background: #30c060;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.24);
  border-radius: 8px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 20px;
  font-weight: 600;
  padding: 20px 40px;
  margin-bottom: 12px;
  text-align: center;
}

.apply-now span {
  flex: 1;
  margin-right: 10px;
}

.apply-now span,
.apply-now svg {
  color: #fff !important;
  fill: #fff;
}

.apply-now:hover {
  background-color: #6ed28f;
}

.apply-now-company {
  margin: 0;
  font-size: 12px;
  line-height: 1;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .apply-now span {
    flex: 1;
    max-width: 220px;
  }

  .second-row .apply-now,
  .second-row .apply-now-company {
    display: none;
  }
}

