.ib-brokerscare-grid {
  display: grid;
  grid-gap: 0;
  grid-template-columns: 1fr;
}

.ib-bc-text {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  align-items: space-between;
}

.ib-bc-carousel img {
  max-width: 100%;
  object-fit: cover;
}

.ib-bc-carousel {
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.ib-bc-image-container {
  display: flex;
  transform: translateX(0);
  transition: transform 0.5s ease-in-out;
}

.ib-bc-gallery-frame {
  width: 100%;
  margin: 2rem 0 0;
}

#ib-bc-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 0.5rem;
  position: relative;
}

#ib-bc-gallery img {
  width: 100%;
  transition: transform 0.3s ease-in-out;
  height: 100%;
}

.ib-bc-jump {
  cursor: pointer;
  overflow: hidden;
}

.ib-bc-jump img {
  display: block;
  width: 100%;
  max-height: 80px;
}

.ib-bc-jump img:hover {
  transform: scale(1.1);
}

.ib-bc-img {
  position: relative;
  min-width: 136px;
  max-height: 500px;
  grid-area: a;
}

.ib-bc-img img {
  position: relative;
  z-index: 5;
  max-height: 500px;
}

.ib-bc-img-clr {
  position: absolute;
  width: 45%;
  height: 30%;
  top: 57%;
  left: 29%;
  background: #4d79e3;
  z-index: 4;
}

.ib-bc-img-txt {
  color: yellow;
  position: absolute;
  bottom: 60px;
  left: 20%;
  z-index: 6;
  font-size: 32px;
}

.ib-bc-btn {
  margin-bottom: 2rem;
  margin-top: 0rem;
  background: #4d79e3;
  grid-area: c;
  padding: 2rem;
  position: relative;
  color: #fff;
}

.ib-bc-btn p {
  color: #fff;
}

.ib-bc-btn-border {
  border: white 4px solid;
  position: absolute;
  top: 14px;
  left: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
}

.ib-bc-goal {
  margin: 2rem 0;
}

.ib-bc-goal p {
  font-size: 2rem;
  font-weight: bold;
}

.ib-bc-goal span {
  color: #4d79e3;
}

a.button-ibp:hover {
  color: #8c2e83;
}

.ib-edu-frame .container > * {
  position: relative;
  z-index: 2;
}

.ib-btn-container {
  justify-content: center;
}

.bc-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2rem;
}

.bc-info-grid p {
  text-align: center;
}
.innerPageBanner h1 {
  text-transform: none;
}

.bc-bar {
  border: 5px solid #555;
  height: 50px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

#bc-info {
  background-color: #4d79e3;
  padding: calc(4rem + 2px);
  position: relative;
}

#bc-info:after {
  position: absolute;
  content: "";
  border: solid #fff 2px;
  left: 2rem;
  top: 2rem;
  width: calc(100% - 4rem);
  height: calc(100% - 4rem);
}

#bc-info p,
#bc-info h4 {
  color: #fff;
}

.bc-bar-fill {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: #4d79e3;
  z-index: 2;
}

.bc-bar h4 {
  position: absolute;
  top: -5px;
  z-index: 3;
  margin: 0;
  line-height: 2;
}

.bc-bar h4:first-of-type {
  left: 10px;
  color: #fff;
  background-color: #4d79e3;
  padding-right: 5px;
}

.bc-bar h4:last-of-type {
  right: 10px;
  color: #4d79e3;
}

.sponsors-flex {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-items: center;
  list-style-type: none;
  margin: 0;
  position: relative;
  padding: 0;
  gap: 2rem;
  flex-direction: column;
}

.sponsor img {
  width: 100%;
  height: 100%;
  max-height: 200px;
  max-width: 500px;
}

.wawanesa img {
  max-height: 200px;
  max-width: 500px;
}

.smi img {
  max-height: 100px;
  max-width: 200px;
}

.button-bc {
  position: relative;
  z-index: 5;
  color: #4d79e3;
}

.button-bc:hover {
  color: #fff !important;
}

.donation-banner {
  position: relative;
  display: none;
}

.donation-banner.active {
  display: block;
}

.donation-label {
  background: #fec439;
  position: initial;
  top: 20px;
  left: -5px;
  padding: 10px 20px;
}

.donation-buttons {
  position: relative;
  z-index: 100;
}

.donoButton {
  cursor: pointer;
}

.donoButton.active {
  color: #fec439;
}

@media (min-width: 968px) {
  .bc-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .donation-label {
    position: absolute;
  }
}

@media (min-width: 1200px) {
  .ib-brokerscare-grid {
    grid-template-columns: 3fr 2fr;
    grid-gap: 4rem;
  }

  .ib-bc-btn {
    margin-bottom: 2rem;
  }
}

@media (min-width: 1400px) {
  .ib-bc-btn {
    margin-bottom: 9.5rem;
  }
}
