/* Rupay offer start */
#offers-container .offer-card,
#similar-offers-container .offer-card {
  border: 1px solid rgba(0, 0, 0, .125);
  border-radius: .25rem;
  padding: 7px;
}

#offers-container .offer-card .card,
#similar-offers-container .offer-card .card {
  border: 0;
  border-radius: 0;
  height: 100%;
}

#offers-container .offer-card .card picture,
#similar-offers-container .offer-card .card picture {
  align-self: center;
}

#offers-container .offer-card .card-valid-time .limited-time,
#similar-offers-container .offer-card .card-valid-time .limited-time {
  color: #008E7E;
}

div#offers-container,
.Debit_Card_Benefits,
#similar-offers-container {
  gap: 39px;
  justify-content: space-between;
  column-gap: 3.5%;
  padding: 0;
}

.category-list .item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 5px;
  padding-bottom: 10px;
}

.category-list .item.active {
  border-bottom: 5px solid #248c75;
}

#category-list img {
  max-width: 32px;
}

#category-list p {
  font-size: 16px;
  font-family: 'Ubuntu-Regular';
  line-height: 1.2;
}

h2#offers-summary,
.UjjivanSFB_Debit_Card .sec-title h2 {
  font-size: 30px;
  font-family: 'Roboto-Bold';
}

#offers-container .offer-card h5.card-title,
#similar-offers-container .offer-card h5.card-title {
  font-size: 18px;
  font-family: 'Ubuntu-Regular';
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.4;
  text-align: left;
}

#offers-container .offer-card p,
#similar-offers-container .offer-card p {
  font-size: 16px;
  font-family: 'Ubuntu-Regular';
  line-height: 1.4;
  margin-bottom: 10px;
  white-space: pre-line;
}

#offers-container .offer-card p.card-valid-time,
#similar-offers-container .offer-card p.card-valid-time {
  font-size: 16px;
  font-family: 'Ubuntu-Regular';
  color: #878787;
}

#offers-container .offer-card p.card-tags-text,
#similar-offers-container .offer-card p.card-tags-text {
  font-size: 14px;
  font-family: 'Ubuntu-Regular';
  margin-bottom: 26px;
}

input#search-input {
  background: #f6f7f9;
  outline: 0;
  border: none;
  width: 100%;
  padding: 17px 48px;
  border-radius: 9px;
  font-size: 17.6px;
  font-family: 'Ubuntu-Regular';
}

.search-container::after {
  content: '';
  background: url(/sites/default/files/styles/wide/public/2024-04/search.webp) no-repeat center center;
  position: absolute;
  width: 18px;
  height: 18px;
  right: 40px;
  top: 24px;
}

#category-list .owl-stage-outer {
  border-bottom: 1px solid #c1c1c1;
}

#category-list button.owl-prev {
  position: absolute;
  top: 7px;
  left: -12px;
  outline: 0;
  width: 28px;
  height: 28px;
  margin: 5px;
  background-image: url(/themes/ujjivan/images/Ujjivan_Rupay_Assets/Icon_Left.png);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 14px;
}

#category-list button.owl-next {
  position: absolute;
  right: -12px;
  top: 7px;
  outline: 0;
  width: 28px;
  height: 28px;
  margin: 5px;
  background-image: url(/themes/ujjivan/images/Ujjivan_Rupay_Assets/Icon_Right.png);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 14px;
}

#category-list .owl-nav {
  display: block;
}

#category-list .owl-nav span {
  display: none;
}

#offers-container .offer-card .card-body,
#similar-offers-container .offer-card .card-body {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
}

#offers-container .offer-card .card-body .primary-cta,
#similar-offers-container .offer-card .primary-cta {
  justify-self: center;
  font-family: 'Ubuntu-Regular';
  font-weight: 600;
  padding: 7px 49px;
}

#offers-container .offer-card .card .card-img-top,
#offer-details .card .card-img-top,
#similar-offers-container .offer-card .card .card-img-top {
  min-height: 123px;
  max-height: 123px;
  max-width: max-content;
}

#offer-details .offer-logo {
    display: flex;
    align-items: center;
    gap: 19px;
}

.Debit_Card_Benefits .three-col-card {
  border-radius: 9px;
  padding: 23px 26px;
  background: #f7f7f7;
}

.cards {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-clip: border-box;
  border-radius: .25rem;
  height: 100%;
}

.Debit_Card_Benefits .three-col-card .cards h3 {
  font-size: 20px;
  font-family: 'Roboto-Medium';
  margin-top: 19px;
  margin-left: 10px;
  margin-bottom: 0px !important;
}

.Debit_Card_Benefits .three-col-card .cards ul {
  padding-left: 26px;
}

.Debit_Card_Benefits .three-col-card .cards ul li {
  margin-bottom: 3px;
  line-height: 24px;
  list-style: disc;
}

.Debit_Card_Benefits .three-col-card .cards ul li::marker {
  font-size: 13px;
}

.Debit_Card_Benefits .three-col-card .cards .primary-cta,
#offers-container .offer-card .card-body .primary-cta,
.Debit_Card_Benefits .three-col-card p,
#similar-offers-container .offer-card .card-body .primary-cta {
  align-self: center;
  margin-top: auto;
  margin-bottom: 0;
}

section.b1-section.new-banner.bottom-image a.orange-button {
  padding: 6px 35px;
  font-size: 18px;
}

#offers-container .offer-card:nth-last-child(1),
#similar-offers-container .offer-card:nth-last-child(1),
.Debit_Card_Benefits .three-col-card:nth-last-child(1) {
  margin-left: 0;
  margin-right: auto;
}

#offer-details .tab-container {
  width: 100%;
  margin: 12px 0;
}

#offer-details .tab-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  overflow-x: scroll;
}

#offer-details .tab-item {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 19px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  color: #229e82;
  margin-bottom: 0;
  border-bottom: 2px solid #ccc;
  font-size: 16px;
  font-family: 'Ubuntu-Bold';
}

#offer-details .tab-item.active {
  border-bottom: 2px solid #229e82;
}

#offer-details .tab-content {
  display: none;
  padding-top: 20px;
  border-top: none;
}

#offer-details .tab-content.active {
  display: block;
}

button.expand-details-btn {
  outline: 0;
  border: 0;
  width: fit-content;
  background: unset;
  color: #229e82;
  font-size: 16px;
  font-family: 'Ubuntu-bold';
}

#offer-details .col-md-8 .card p,
#offer-details .tab-content p {
  font-size: 16px;
  font-family: 'Ubuntu-Regular';
  white-space: pre-line;
  word-wrap: break-word;
}

#offer-details .tab-content p br {
    display: contents;
}

#offer-details .col-md-4 .cards {
  background: #229e82;
  align-items: center;
  padding: 30px;
  height: auto;
  row-gap: 8px;
}

#offer-details .col-md-4 .cards p {
  font-family: 'Ubuntu-Regular';
  color: #fff;
  font-weight: 600;
}

#offer-details .col-md-4 p.card-valid-time {
  font-size: 14px !important;
  font-family: 'Ubuntu-Regular';
  font-weight: 100;
}

#offer-details .col-md-4 .cards hr {
  color: #fff;
  opacity: 1;
  border: 1px solid;
  width: 100%;
}

#offer-details .tab-list::-webkit-scrollbar {
  display: none;
}

#offer-details .card .card-img-top {
  margin-bottom: 22px !important;
}

#offer-details .tab-content h5 {
  text-align: left;
  margin-bottom: 0;
}

.similar-offers h2 {
  font-size: 26px;
  line-height: 1.3;
  font-family: 'Roboto-Bold';
}

#error-content {
  display: none;
}

#error-content p {
  font-size: 16px;
  font-family: 'Roboto-Regular';
  color: red;
  text-align: center;
}

#error-content h2 {
  font-size: 26px;
  font-family: 'Roboto-Bold';
  margin: 0;
}

body.path-rupay-offer-detail, body.path-rupay-offer {
  visibility: hidden;
}

#loader {
  visibility: hidden;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

@media(min-width: 0px) {

  #offers-container .offer-card,
  .Debit_Card_Benefits .three-col-card,
  #similar-offers-container .offer-card {
    width: 100%;
  }

  section.b1-section.new-banner.bottom-image .banner-content {
    padding: 18px 46px !important;
  }

  section.b1-section.new-banner.bottom-image h1 {
    font-size: calc(18px + 1.7vw);
    margin-bottom: 7px;
    line-height: 1.2;
  }

  section.b1-section.new-banner.bottom-image .banner-content p {
    font-size: calc(14px + 0.4vw) !important;
    line-height: 1.3;
  }

  section.b1-section.new-banner.bottom-image a.orange-button {
    padding: 6px 25px;
    font-size: 13px;
    margin-top: 12px !important;
  }

  div#offer-details {
    background: #f8f8f8;
    padding: 22px;
  }

  #offer-details .card {
    background: none;
    border: none;
  }

  #offer-details .offer-logo {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0;
  }
}

@media(min-width: 374px) {
  section.b1-section.new-banner.bottom-image a.orange-button {
    font-size: 16px;
    padding: 6px 35px;
  }
}

@media(min-width: 576px) {

  #offers-container .offer-card,
  .Debit_Card_Benefits .three-col-card,
  #similar-offers-container .offer-card {
    width: 48%;
  }

  section.b1-section.new-banner.bottom-image a.orange-button {
    font-size: 18px;
    margin-top: 20px !important;
  }
  
  section.b1-section.new-banner.bottom-image h1 {
    margin-bottom: 10px;
  }

}

@media(min-width: 768px) {

  #offers-container .offer-card,
  #similar-offers-container .offer-card {
    width: 48%;
  }

  .similar-offers h2{
    text-align: left;
    padding-left: 0;
  }

  #offer-details .offer-logo {
    flex-direction: row;
    gap: 19px;
  }
}

@media(min-width: 992px) {

  #offers-container .offer-card,
  .Debit_Card_Benefits .three-col-card,
  #similar-offers-container .offer-card {
    width: 31%;
  }

  section.b1-section.new-banner.bottom-image .banner-content {
    margin-top: 50px;
    margin-bottom: auto;
  }
}

@media(max-width: 767px) {
  section.b1-section.new-banner.bottom-image {
    padding-bottom: 25px !important;
  }

  #offers-container .offer-card .card .card-img-top,
  #offer-details .card .card-img-top,
  #similar-offers-container .offer-card .card .card-img-top {
    margin: auto;
  }
}

/* Rupay offer end */
