/*
Dxdy custom css
*/

.patners__list li div {
  height: 250px;
  width: 250px;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  margin: 0 auto;
}

.patners-mini__list {
  text-align: center;
}

.patners-mini__list li div {
  height: 130px;
  width: 130px;
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  margin: 0 auto;
}

.school-dropdown .select2-selection__arrow {
  top: 7px !important;
  margin-left: -18px !important;
}

@media (min-width: 764px) {
  .form-block {
    display: flex;
    flex-wrap: wrap;
  }
}

.imagebg {
  background-color: #ffffff00 !important;
}

.background-image-holder-blue {
  background-image: linear-gradient(#1b4e9a, #2581d2) !important;
}

.right-side-block {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.content-warper {
  display: flex;
  flex-direction: column;
}

.height-100-percentage {
  height: 100%;
}

.right-side-block .myfees-logo {
  background: url("../images/logo-new.svg") center right no-repeat;
  background-size: contain;
  min-height: 140px;
  min-width: 555px;
  margin-bottom: 20px;
  display: flex;
  align-self: center;
  margin: 50px 0 0 auto;
}

.right-side-block h1 {
  color: #004aad !important;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 0;
}

.right-side-block h2 {
  color: #fff !important;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}

.percentage {
  /* align-items: center;
  display: flex;
  flex-wrap: nowrap; */
  height: 100%;
  /* justify-content: center; */
  /* padding-left: 30px;  */
  padding-right: 0;
  position: relative;
  width: 60%;
  text-align: left;
}

.percentage h1 span {
  font-size: 60px;
  right: 40px;
  position: relative;
}

/* .percentage::after {
  background-repeat: no-repeat;
  background-size: contain;
  content: '';
  position: absolute;
  right: unset;
  transform: translate(-50%, -50%);
  z-index: 0;
  background-image: url('../images/percentage-icon.svg');
  height: 524px;
  left: 45%;
  top: 25%;
  width: 544px;
} */

.installment {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  height: max-content;
  width: 40%;
  padding-left: 50px;
  padding-right: 0;
  margin-top: 40px;
}

.plans-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 30px;
  margin-top: -160px;
}

.percentage h1 {
  font-size: 165px !important;
  font-weight: 600 !important;
  color: #fff !important;
  margin-bottom: 0 !important;
  line-height: 1 !important;
}

.percentage h3 {
  font-size: 64px !important;
  font-weight: 600 !important;
  line-height: 66px !important;
  color: #fff !important;
  margin-bottom: 20px !important;
}

.installment p {
  text-align: left;
}

.installment h1 {
  font-size: 52px !important;
  font-weight: bold !important;
  color: #fff !important;
  text-align: left;
}

.payment-card-wrapper-desktop {
  background-image: url("../images/arrow-new-bg.svg");
  padding: 25px 70px 20px 15px;
  margin-bottom: 0;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 120px;
  z-index: 1;
  position: relative;
}

.payment-card-grid-desktop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  align-items: center;
  grid-column-gap: 10px;
  max-width: 450px;
}

.payment-card-wrapper-desktop h4 {
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  margin-bottom: 0 !important;
}

.payment-card-wrapper-desktop h6 {
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  margin-bottom: 10px !important;
}

.payment-card-wrapper-mobile {
  display: none;
}

.payment-card-wrapper-desktop img {
  cursor: pointer;
  width: auto;
  height: auto;
  margin-bottom: 0;
}

.right-side-block .button-tag {
  margin-bottom: 53px;
}

.right-side-block .button-tag {
  padding: 13px 30px;
  border-radius: 50px;
  background-color: #004aad;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  margin: 0 auto 50px;
}

.title-bank {
  font-size: 22px;
  font-weight: 400;
  line-height: 39px;
  color: #fff;
  margin-bottom: 0;
  text-align: left;
  padding-left: 20px;
}

.right-side-block p {
  font-size: 20px;
  font-weight: 300;
  line-height: 26px;
  opacity: 1 !important;
  max-width: 553px;
  display: flex;
  align-self: center;
  /* margin-bottom: 14px; */
}

.terms-text {
  font-size: 12px !important;
  padding: 10px 40px 20px 20px !important;
  width: 100%;
  max-width: 850px !important;
  justify-content: flex-start;
  position: relative;
  text-align: left;
  line-height: 19px !important;
  display: block !important;
  color: #fff;
}

.terms-text strong {
  color: #fff;
}

.modal-custom-ul {
  list-style: disc;
  margin-left: 14px;
}

.modal-custom-ul.dfcc {
  list-style: auto;
}
.modal-custom-ul.dfcc {
  li {
    margin-bottom: 0;
  }
}

.modal-custom-ol {
  margin-left: 14px;
}

.modal-custom-ul > li {
  margin-bottom: 5px;
}

th,
tr,
td {
  vertical-align: middle !important;
}

.modal-custom-ol > li {
  margin-bottom: 5px !important;
}

.right-side-block .terms {
  color: #000000 !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 34px;
  margin-bottom: 31px;
}

.right-side-block .terms a {
  color: #004aad !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 34px;
}

.right-side-block .bottom-box {
  background-color: #e3e3e3;
  width: 100%;
  display: flex;
  padding: 20px 30px;
  align-items: center;
  justify-content: center;
}

.right-side-block .bottom-box .bottom-text-box h1 {
  color: #1c80d1 !important;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0;
  line-height: 1;
  text-align: right;
}

.right-side-block .bottom-box .bottom-text-box h1 span {
  color: #1c80d1 !important;
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
}

.right-side-block .bottom-box p {
  color: #000000;
  font-size: 14px;
  font-weight: 500;
  line-height: 26px;
  text-align: left;
  margin-left: 40px;
  padding: 0;
}

/* .main-menu ul li a {
  color: #fff !important;
} */

.home-hero div[class*="col-"][class*="height-"] {
  padding-bottom: 0 !important;
}

.benifits-cover {
  padding: 0 15px !important;
}

.modal-custom-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
}

.close-icon {
  color: #000000 !important;
  opacity: 1;
}

.modal-title {
  margin-bottom: 0 !important;
  color: #000000 !important;
}

.modal-header .close-modal {
  opacity: 1;
  margin-top: -2px;
  padding: 1rem;
  margin: -1rem -1rem -1rem auto;
  height: auto;
}

.modal-body ul,
.modal-body p {
  color: #000 !important;
  font-size: 14px;
  font-weight: 400;
  font-family: "Montserrat";
}

.terms-content {
  justify-content: flex-end;
  text-align: right;
}

.btn-hsbc {
  background-color: #db0011;
  border-color: #db0011;
  color: white !important;
  border: none !important;
  padding: 8px 20px !important;
  font-style: normal;
  font-weight: 600 !important;
  font-size: 1rem !important;
  font-variant: normal;
  max-width: 175px;
  width: 100%;
}

.btn-hsbc:last-child {
  margin-left: 14px !important;
}

.offer_view .modal-dialog {
  max-width: 400px;
  width: auto;
}

.space-ten {
  padding: 10px 0;
}

.pop-close-btn {
  float: right;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: #db0011;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity=20);
}

.modal-content {
  border-radius: 5px !important;
}

.offer_img > img {
  width: 100%;
  max-width: 370px;
  object-fit: cover;
}

.offer-title {
  font-size: 17px;
}

.btn-hsbc:hover {
  background-color: #af000d;
}

@media (min-height: 720px) {
  .right-side-block .myfees-logo {
    margin-bottom: 20px;
  }

  .right-side-block h1 {
    margin-bottom: 20px;
  }

  .right-side-block h2 {
    margin-bottom: 20px;
  }

  .right-side-block .button-tag {
    margin-bottom: 20px;
  }

  /* .right-side-block img {
    margin-bottom: 10px;
  } */

  .right-side-block .terms {
    margin-bottom: 10px;
  }
}

@media (min-height: 768px) {
  .right-side-block h1 {
    margin-bottom: 8px !important;
  }
  .right-side-block .bottom-box {
    padding: 15px 30px;
  }

  .right-side-block .bottom-box .bottom-text-box h1 {
    font-size: 21px;
  }

  .right-side-block {
    height: 100vh;
  }
}

@media (min-height: 969px) {
  .right-side-block .bottom-box {
    padding: 45px 30px;
  }

  .right-side-block .bottom-box .bottom-text-box h1 {
    font-size: 26px;
  }
}

@media (max-width: 1920px) {
  .payment-card-grid-desktop {
    max-width: 440px;
  }
}

@media (max-width: 1440px) {
  .payment-card-wrapper-desktop {
    margin-right: 50px;
    padding: 22px 70px 20px 15px;
  }

  .percentage h1 {
    font-size: 180px !important;
  }

  .plans-wrapper {
    margin-top: -180px;
  }

  .payment-card-grid-desktop {
    max-width: 410px;
  }
}

@media (max-width: 1366.98px) {
  .right-side-block .myfees-logo {
    min-height: 100px;
    min-width: 450px;
    margin: 56px 0 0 auto;
  }

  .plans-wrapper {
    margin-top: -130px;
  }

  .percentage h1 {
    font-size: 160px !important;
  }

  .installment h1 {
    margin-bottom: 0 !important;
  }

  .title-bank {
    font-size: 20px;
  }

  /* .terms-text {
    padding: 10px 0 10px !important;
  } */
}

@media (max-width: 767px) {
  .home-hero div[class*="col-"][class*="height-"] {
    height: auto;
  }
}

/* @media (min-width: 768px) and (max-width: 1300px) {
  .home-hero div[class*='col-'][class*='height-'] {
    height: 100vh;
  }
} */

@media (max-width: 1280px) {
  .plans-wrapper {
    margin-top: -120px;
  }

  .payment-card-wrapper-desktop {
    padding: 18px 70px 20px 15px;
  }

  .percentage h3 {
    font-size: 60px !important;
  }

  .installment {
    margin-top: 20px;
  }
}

@media (max-width: 1199.98px) {
  .percentage h1 {
    font-size: 100px !important;
    font-weight: bold !important;
    color: #fff !important;
    /* padding-left: 20px; */
    padding-right: 20px;
  }

  .installment h1 {
    font-size: 42px !important;
    font-weight: bold !important;
    color: #fff !important;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
  }

  .payment-card-wrapper-desktop {
    display: none;
  }

  .payment-card-wrapper-mobile {
    background-color: #93bfe6;
    display: grid;
    margin: 0 15px 0 0;
    padding: 15px 0 0 0;
  }

  .payment-card-wrapper-mobile h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    margin-bottom: 0 !important;
  }

  .payment-card-wrapper-mobile h6 {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 10px !important;
  }

  .grid-2 img {
    cursor: pointer;
    display: block;
    width: auto;
    height: auto;
    margin-bottom: 0;
  }

  .grid-3 img {
    cursor: pointer;
    display: block;
    width: auto;
    height: auto;
    margin-bottom: 0;
  }

  .grid-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    padding: 0 10px 0;
    grid-gap: 5px;
  }

  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    padding: 10px 10px 15px;
    grid-gap: 5px;
  }

  .right-side-block h2 {
    margin-bottom: 10px;
  }

  .right-side-block p {
    margin: 0 0 26px;
  }

  .plans-wrapper {
    display: flex;
    flex-direction: column;
    margin-top: -80px;
    padding: 0 0px;
  }

  .percentage {
    width: 100%;
    height: 100%;
    text-align: center;
  }

  .percentage h3 {
    font-size: 45px !important;
    line-height: 55px !important;
  }

  .percentage h1 span {
    font-size: 30px;
    right: 20px;
    position: relative;
  }

  .installment {
    width: 100%;
    height: 100%;
    justify-content: center;
    margin-top: 30px;
    padding-left: 0px;
  }
}

@media (max-width: 991.98px) {
  .right-side-block .myfees-logo {
    min-height: 100px;
    min-width: 375px;
  }

  .installment p {
    text-align: center;
  }

  .plans-wrapper {
    display: flex;
    flex-direction: column;
    margin-top: -20px;
    padding: 0 20px;
  }

  .percentage h3 {
    font-size: 35px !important;
    line-height: 45px !important;
    text-align: center;
  }

  .percentage,
  .installment {
    padding-left: 0;
  }

  .title-bank {
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 20px;
    text-align: center;
    padding: 0 20px 0 5px;
  }

  .percentage::after {
    height: 280px;
    left: 65%;
    top: 55%;
    width: 390px;
  }

  .percentage h1 {
    font-size: 80px !important;
    font-weight: bold !important;
    color: #fff !important;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
  }

  .installment h1 {
    font-size: 42px !important;
    font-weight: bold !important;
    color: #fff !important;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
  }

  .payment-card-wrapper-desktop {
    display: none;
  }

  .payment-card-wrapper-mobile {
    padding: 0 0 0 0;
    background-color: #93bfe6;
    display: grid;
    margin: 0 15px 0 0;
  }

  .grid-2 img {
    cursor: pointer;
    display: block;
    width: auto;
    height: auto;
    margin-bottom: 0;
  }

  .grid-3 img {
    cursor: pointer;
    display: block;
    width: auto;
    height: auto;
    margin-bottom: 0;
  }

  .grid-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    padding: 20px 10px 0;
  }

  /* new changes */
  /* .grid-3 img:last-child {
    grid-column: 2;
  } */

  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    padding: 0 10px 20px;
  }

  .terms-text {
    width: 100%;
    max-width: 100% !important;
    justify-content: center;
    right: 0;
    text-align: center;
  }

  .right-side-block h2 {
    margin-bottom: 10px;
  }

  .right-side-block p {
    margin: 0 0 15px;
  }

  .percentage {
    width: 100%;
    height: 100%;
  }

  .installment {
    width: 100%;
    height: 100%;
    margin-top: 0;
  }
}

@media (max-width: 767.98px) {
  .percentage h1 {
    font-size: 80px !important;
    font-weight: bold !important;
    color: #fff !important;
    padding-left: 20px;
    padding-right: 20px;
  }

  .installment h1 {
    font-size: 42px !important;
    font-weight: bold !important;
    color: #fff !important;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
  }

  .payment-card-wrapper-desktop {
    display: none;
  }

  .payment-card-wrapper-mobile {
    background-color: #93bfe6;
    display: grid;
    margin: 0 15px 0 0;
  }

  .grid-2 img {
    cursor: pointer;
    display: block;
    width: auto;
    height: auto;
    margin-bottom: 0;
  }

  .grid-3 img {
    cursor: pointer;
    display: block;
    width: auto;
    height: auto;
    margin-bottom: 0;
  }

  .grid-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    padding: 20px 10px 0;
  }

  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    padding: 10px 10px 15px;
  }

  .right-side-block h2 {
    margin-bottom: 10px;
  }

  .right-side-block p {
    margin: 0 0 15px;
  }

  .plans-wrapper {
    display: flex;
    flex-direction: column;
  }

  .percentage {
    width: 100%;
    height: 100%;
  }

  .installment {
    width: 100%;
    height: 100%;
    margin-bottom: 20px;
  }

  .btn-hsbc:not(:last-child) {
    margin-bottom: 0 !important;
  }

  .offer_view .modal-dialog {
    margin: 30px auto;
  }
}

@media (max-width: 575.98px) {
  .plans-wrapper {
    margin-top: 0px;
  }

  .installment p {
    text-align: center;
  }

  .title-bank {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 20px;
    margin-top: 20px !important;
    text-align: center;
    padding: 0 20px;
  }

  .percentage h1 {
    font-size: 80px !important;
    font-weight: bold !important;
    color: #fff !important;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 0;
  }

  .installment h1 {
    font-size: 42px !important;
    font-weight: bold !important;
    color: #fff !important;
    padding: 20px;
    text-align: center;
    margin-bottom: 0;
  }

  .payment-card-wrapper-desktop {
    display: none;
  }

  .payment-card-wrapper-mobile {
    background-color: #93bfe6;
    display: grid;
    margin: 0 15px 0 !important;
  }

  .grid-2 img {
    cursor: pointer;
    display: block;
    margin-bottom: 0;
    width: auto;
    height: auto;
  }

  .grid-3 img {
    cursor: pointer;
    display: block;
    width: auto;
    height: auto;
    margin-bottom: 0;
  }

  /* new changes */
  /* .grid-3 img:last-child {
    grid-column: 2;
  } */

  .grid-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    padding: 20px 10px 0;
    grid-gap: 0;
  }

  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    justify-items: center;
    padding: 0 10px 15px;
    grid-gap: 0;
  }

  .right-side-block h2 {
    margin-bottom: 10px;
  }

  .right-side-block p {
    margin: 0 0 15px;
  }

  .plans-wrapper {
    display: flex;
    flex-direction: column;
  }

  .percentage {
    width: 100%;
    height: 100%;
  }

  .installment {
    width: 100%;
    height: 100%;
    justify-content: center;
  }

  .content-warper {
    display: flex;
    flex-direction: column;
    padding-top: 15px;
  }

  .right-side-block {
    height: 100%;
  }

  .btn-hsbc {
    max-width: 100%;
    font-size: 16px !important;
  }

  .btn-hsbc:not(:last-child) {
    margin-bottom: 15px !important;
  }

  .btn-hsbc:last-child {
    margin-left: 0 !important;
  }

  .offer_view .modal-dialog {
    max-width: 100%;
    width: auto;
    margin: 10px;
  }

  .offer_img > img {
    max-width: 100%;
  }
}

/* Update by Sidesh */
/* .ad-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 50% 50%;
  height: 95%;
  margin-top: 66px;
  width: 100%;
}

.top-ad-container img {
  height: 100%;
  object-fit: cover;
  position: relative;
  width: 100%;
}

.top-ad-container {
  grid-column: 1 / span 3;
}

.bottom-ad-box img {
  height: 100%;
  object-fit: cover;
  position: relative;
  width: 100%;
}

@media (max-width: 1440px) {
  .ad-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      grid-template-rows: 50% 50%;
      margin-top: 60px;
  }
}

@media (max-width: 991px) {
  .ad-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      grid-template-rows: 1fr 1fr;
      height: 100%;
      margin-top: 0;
  }

  .nav-container {
      background: linear-gradient(90deg, transparent 50%, #31639c 50%);
  }
}

@media (max-width: 767px) {
  .ad-wrapper {
      display: flex;
      flex-direction: column;
      height: 100%;
      margin-top: 0;
      width: 100%;
  }

  .top-ad-container {
      height: 300px;
  }

  .bottom-ad-box {
      height: 200px;
  }

  .nav-container {
      background: transparent;
  }
} */

/* Amex radio btn styles */
.amex-type-group {
  display: flex;
  justify-content: space-between;
}

.amex-type-group-active {
  visibility: visible !important;
  opacity: 1 !important;
  margin-bottom: 0 !important;
  display: flex !important;
  height: 300px !important;
}

.amex-type-inner {
  display: flex;
  align-items: center;
}

.amex-type-inner-img {
  margin-bottom: 0;
  max-width: 40px;
  text-align: center;
}

.amex-type-inner-text {
  display: block;
  text-align: center;
  max-width: 40px;
  position: relative;
  font-size: 9px;
  font-weight: 600;
}

.amex-type-title > p {
  font-weight: 600 !important;
  color: #000 !important;
  font-size: 12px !important;
  text-transform: uppercase;
}

@media (max-width: 1440px) {
  .amex-type-inner-img {
    max-width: 50px;
  }

  .amex-type-inner-text {
    max-width: 55px;
  }
}

@media (max-width: 1199.98px) {
  .amex-type-inner-img {
    max-width: 35px;
  }

  .amex-type-inner-text {
    max-width: 35px;
  }
}

@media (max-width: 991.98px) {
  .amex-type-inner-img {
    max-width: 30px;
  }
  .amex-type-inner-text {
    max-width: 25px;
  }

  .amex-type-title > p {
    font-size: 10px !important;
  }
}

@media (max-width: 767.98px) {
  .amex-type-inner-img {
    max-width: 30px;
  }

  .amex-type-inner-text {
    max-width: 25px;
  }

  .amex-type-title > p {
    font-size: 10px !important;
  }
}

@media (max-width: 575.98px) {
  .amex-type-inner-img {
    max-width: 50px;
  }

  .amex-type-inner-text {
    max-width: 55px;
  }

  .amex-type-group {
    max-width: 260px;
  }
}

/* Myfees og header logo */
.logo-wrapper {
  display: block;
}

@media only screen and (min-width: 1024px) {
  .logo-wrapper {
    display: none !important;
  }
}

/* Myfees bank top header logo */
.logo-wrapper-top {
  display: none;
  flex-direction: row;
  bottom: 0;
  width: 100%;
  align-content: flex-end;
  @media (min-width: 1024px) {
    display: block;
  }
}

@media only screen and (min-width: 1024px) {
  .logo-wrapper-top {
    /* display: flex; */
    /* position: absolute; */
    top: 0;
  }

  .main-navigation .bar .logo {
    display: none;
  }

  .pos-fixed .bar__module .logo {
    display: block;
  }

  /* .bank-logo-n.hnb {
    margin-left: 50px !important;
  } */
}

@media only screen and (min-width: 768px) {
  .logo-wrapper-top {
    /* position: absolute; */
  }
}

.bank-logo-n {
  padding: 10px 15px;
  color: #222;
  display: flex;
  flex-direction: column;
  width: 50%;
  align-items: flex-end !important;
}

.bank-logo-n.amex img {
  width: 100%;
  max-width: 257px;
  margin: 0;
}

.bank-logo-n h6 {
  margin: 0;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}
.bank-logo-n h5 {
  margin: 0 !important;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.bank-logo-n.hnb {
  align-items: flex-start !important;
  margin-left: 20px;
}

.bank-logo-n img {
  width: 200px;
  margin: 0;
}

.bank-logo.hnb img {
  width: 190px !important;
}

@media (max-width: 767px) {
  .bank-logo {
    align-items: center;
    margin: auto;
  }
}

@media only screen and (max-width: 372px) {
  .logo-wrapper {
    flex-direction: row !important;
    align-items: center;
  }

  .logo-wrapper-top {
    flex-direction: column;
    position: inherit;
  }

  .bank-logo-n {
    width: 100%;
    align-items: flex-end;
  }
}

/* Myfees bottom logo */
.logo-wrapper-myfees {
  display: none;
  flex-direction: row;
  /* bottom: 0; */
  width: 100%;
  align-content: flex-end;
}

.bank-logo h5 {
  margin: 0;
  font-size: 10px !important;
  display: block !important;
  font-weight: 600;
  text-transform: uppercase;
}

@media only screen and (min-width: 1024px) {
  /* .logo-wrapper-myfees {
    display: flex;
  } */
}

@media only screen and (min-width: 768px) {
  .logo-wrapper-myfees {
    position: absolute;
  }
}

.myfees-logo {
  padding: 10px 15px;
  color: #222;
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-end;
}

.myfees-logo img {
  width: 100%;
  max-width: 131px;
  margin: 0;
}

.myfees-logo.hnb {
  align-items: flex-end;
}

@media only screen and (max-width: 372px) {
  .logo-wrapper-myfees {
    flex-direction: column;
    position: inherit;
  }

  .bank-logo {
    width: 100%;
    align-items: flex-end;
  }
}

@media only screen and (min-width: 767px) {
  .pos-vertical-center {
    top: 10% !important;
    transform: none !important;
  }
}

@media only screen and (min-width: 1024px) {
  .pos-vertical-center {
    top: 20% !important;
  }
}

/* modal override */
.modal-body p {
  margin-bottom: 18px;
}

/* Home Banner Component*/
.addscomponent {
  background: #1d5aa7; /* Old browsers */
  background: -moz-linear-gradient(top, #1b4e9a, #2581d2);
  background: -webkit-linear-gradient(top, #1b4e9a, #2581d2);
  background: linear-gradient(top, #1b4e9a, #2581d2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 !important;
  position: relative;
}
@media screen and (max-width: 1024px) {
  .addscomponent {
    height: 100% !important;
  }
}
@media screen and (max-width: 768px) {
  .addscomponent {
    max-width: 100% !important;
  }
}

.addscomponent .menuitems {
  display: flex;
  height: auto;
  justify-content: flex-end;
  margin: 0;
  padding: 0 30px;
}

@media screen and (max-width: 768px) {
  .addscomponent .menuitems li a {
    display: none;
  }
}

.addscomponent .menuitems li {
  list-style: none;
  margin: 0 15px;
  padding: 30px 0;
}

.addscomponent .menuitems li a {
  color: #fff;
  font-family: "Open Sans", Roboto, "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 20px 0;
  text-decoration: none;
}

/* Banner Content Container */
.content_container {
  font-family: "Montserrat";
  padding-left: 0;
  @media (min-width: 1200px) {
    margin: 76px 60px 0 48px;
  }
}

@media screen and (max-width: 1200px) {
  .content_container {
    grid-template-columns: 1fr;
    padding-bottom: 0;
  }
}

.content_container .contents {
  background-position: -30px 100px;
  background-repeat: no-repeat;
  background-size: contain;
  max-width: 450px;
  position: relative;
}

@media screen and (max-width: 768px) {
  .content_container .contents {
    padding: 12px;
    text-align: left;
    margin: 0 auto;
  }
}

.content_container * {
  font-family: "Montserrat" !important;
}

.content_container .contents h2,
.content_container .contents h4,
.content_container .contents p {
  margin-bottom: 15px;
  color: white;
}

.content_container .contents h2 span:nth-child(1) {
  font-size: 150px;
  font-weight: 600;
}
@media screen and (min-width: 1600px) {
  .content_container .contents h2 span:nth-child(1) {
    font-size: 200px;
  }
}

.content_container .contents h2 span:nth-child(2) {
  font-size: 82px;
  font-weight: 600;
  margin-left: 6px;
}
.content_container .contents h2 {
  color: #fff;
  font-weight: 700;
  line-height: 62px;
}

@media screen and (max-width: 1024px) {
  .content_container .contents h2 span:nth-child(2) {
    font-size: 52px;
  }

  .content_container .contents h2 {
    font-size: 38px;
    line-height: 52px;
  }
}

/* .content_container .contents h4 {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
} */
.content_container .contents p {
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
}

/* Bank List */
.content_container .backslist .logo {
  align-items: center;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    #fff
  );
  display: flex;
  height: 80px;
  justify-content: right;
  margin-right: -20px;
  margin-top: -20px;
  padding-right: 20px;
}

@media screen and (max-width: 768px) {
  .content_container .backslist {
    margin: 0;
    padding-right: 0;
    /* padding: 20px; */
  }

  .content_container .backslist .logo {
    background: #fff;
    justify-content: center;
    margin-left: -20px;
    margin-right: 0;
    width: calc(100% + 40px);
  }
}

.content_container .backslist .logo div {
  background-image: url("../images/logo.svg");
  background-repeat: no-repeat;
  background-size: contain;
  height: 50px;
  width: 200px;
}

@media screen and (max-width: 768px) {
  .content_container .backslist h4 {
    text-align: center;
  }
}

/* @media (min-width:769px){
  .content_container .backslist h4 {
    margin-right: 12px;
    text-align: right;
  }
} */

.content_container .backslist .banks {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 10px;
  margin-top: 0;
  margin-bottom: 10px;
}
/* Isolate image if no any images in the column  */
/* .banks .img:last-child {
  grid-column: 2;
} */

@media screen and (max-width: 1024px) {
  .content_container .backslist .banks {
    grid-gap: 0;
  }
}

@media screen and (max-width: 768px) {
  .content_container .backslist .banks {
    text-align: center;
  }
}

.content_container .backslist .banks img {
  margin-bottom: 0;
  cursor: pointer;
}

/* GIF Banners */
/* .add-gifs {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: auto;
  margin-top: auto;
  padding: 20px;
  padding-top: 0;
} */

@media (max-width: 575.98px) {
  .add-gifs {
    grid-template-columns: 1fr;
  }
}

.add-gifs .item {
  background: #fff;
  border-radius: 8px;
  height: auto;
  /* max-height: 410px; */
  overflow: hidden;
  /* padding: 15px; */
  width: 100%;
  cursor: pointer;
}

/* @media screen and (max-width:1024px){
  .add-gifs {
    padding: 30px;
  }
} */

@media screen and (max-width: 768px) {
  .add-gifs .item {
    height: auto;
    /* max-width: 300px; */
    margin: 0 auto;
  }
}

.add-gifs .item img {
  border-radius: 8px;
  min-width: 100%;
  object-fit: contain;
}

.bank-logo.hnb {
  width: 48% !important;
}

@media (max-height: 599px) and (min-width: 1299px) {
  .home-wizard {
    padding-top: 110px !important;
  }
}

.list-inline li:last-child {
  margin-right: 1.85714286em;
}

.list-inline:not(.social-list):not(.list-inline--images) li:not(:last-child) {
  margin-bottom: 1.46428571em !important;
}

ul.list-inline.patners-mini__list {
  display: grid;
  grid-auto-flow: dense;
}

@media (min-width: 769px) and (max-width: 1024px) {
  ul.list-inline.patners-mini__list {
    display: grid !important;
  }
}

@media (min-width: 651px) and (max-width: 768px) {
  ul.list-inline.patners-mini__list {
    display: grid !important;
  }
}

@media (min-width: 426px) and (max-width: 650px) {
  ul.list-inline.patners-mini__list {
    display: grid !important;
  }
}

@media (max-width: 425px) {
  ul.list-inline.patners-mini__list {
    display: grid !important;
  }
}

.list-inline li:not(:last-child) {
  margin-bottom: 1.85714286em;
}

/* new formatting stylings */

.banner-click {
  text-align: center;
  color: white;
}

.boc-ul {
  a {
    color: #1766b0 !important ;
  }
}

.banner-inner-img {
  max-height: 350px;
  margin: 0 auto;
  padding-bottom: 10px;
  display: block;
}

.img.center {
  grid-column: 2 / span 1;
}
