.ib-edu-frame {
  padding: 4rem 0;
  position: relative;
  color: #fff;
}

.ib-edu-frame h3 {
  margin-top: -10px;
}

.ib-edu-frame a {
  color: #96c93d;
}

.ib-edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2rem;
  margin: 10px 0;
}

.ib-full-card.ib-edu-grid {
  grid-template-columns: repeat(1, 1fr);
}

.ib-edu-grid:last-child {
  margin-bottom: 0;
}

.ib-edu-internal-content a {
  color: #96c93d;
}

.ib-edu-internal-content a:hover {
  color: #ccc;
}

.ib-edu-internal-content > p {
  margin-bottom: 0;
  color: #fff;
}

.ib-edu-internal-content > h2,
.ib-edu-internal-content > h4 {
  color: #fff;
}

.ib-edu-internal-content ul,
.ib-edu-internal-content li {
  list-style-type: disc;
}

.ib-edu-internal-content > h2:first-child {
  margin-top: 0;
}

.ib-edu-card a {
  font-weight: bold;
  color: #8e2e87;
}

.ib-edu-color {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #8c2e83;
  opacity: 0.7;
}

.ib-edu-card {
  position: relative;
  box-sizing: border-box;
  padding: 1rem;
  color: #666;
}

.ib-edu-card-overlay {
  background: #fff;
  opacity: 0.8;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 4;
}

.ib-edu-card-internal {
  position: relative;
  left: -1px;
  top: -1px;
  height: 100%;
  width: 100%;
  z-index: 5;
  border: 2px solid #fff;
}

.ib-edu-card-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  color: #666;
  height: 100%;
}

.ib-edu-card-content h4 {
  color: #666;
  font-size: 2rem;
  line-height: 2rem;
  margin: 0;
}

.ib-edu-card-content p {
  margin: 0.5rem 0;
}

.ib-edu-desc {
  margin-bottom: 0.5rem;
  width: 100%;
}

.ib-edu-desc h4 {
  margin-bottom: 1rem;
}

.ib-edu-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  width: 100%;
}

.ib-edu-subheader {
  color: #8c2e83;
  font-weight: bold;
  font-size: 15px;
  line-height: 18px;
}

.ib-edu-card-footer .ib-edu-subheader {
  margin: 0;
  padding: 0;
}

.ib-edu-spons-frame {
  max-height: 64px;
  max-width: 33%;
}

.ib-edu-card-footer img {
  max-height: 46px;
  max-width: 100%;
}

.ib-edu-spons-frame .ib-edu-subheader {
  text-align: right;
}

.ib-btn-container-flex {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
}

/* Style Break */

ul.ib-edu-flex {
  display: flex;
  align-items: center;
  justify-content: start;
  margin: 0;
  padding: 0;
  list-style-type: none;
  list-style: none;
}

.ib-edu-note {
  font-size: 0.9rem;
  line-height: 1rem;
  font-style: italic;
}

.ib-edu-note a {
  font-weight: bold;
  text-decoration: none;
}

.ib-equivalency li {
  list-style-type: none;
}

.ib-equivalency span {
  font-weight: bold;
  color: #ff5000;
}

ul.ib-edu-objectives {
  margin: 1rem;
  padding-left: 2rem;
  display: flex;
  flex-wrap: wrap;
}

ul.ib-edu-objectives li {
  min-width: 50%;
}

.ib-tab-button {
  position: relative;
  font-size: 1.5rem;
  line-height: 1.5rem;
  padding: 1rem;
  background: none;
  border: 2px solid #ddd;
  bottom: -3px;
  color: #666;
}

.ib-tab-button:hover {
  color: #fff;
  background: #8c2e83;
  border-color: #7a2c73;
  opacity: 0.75;
}

.ib-tab-btn-active {
  background: #8c2e83;
  font-size: 2rem;
  line-height: 2rem;
  color: #fff;
  bottom: 0;
  z-index: 2;
  opacity: 0.75;
  border: none;
  bottom: 2px;
  position: relative;
}

/* Speaker Buttons */
.ib-tab {
  position: relative;
  display: none;
  z-index: 1;
  height: 100%;
}

.ib-edu-active {
  display: block;
}

.ib-foreground {
  position: relative;
  z-index: 5;
}

/* Modal */
.ib-modal {
  display: none;
  position: fixed;
  z-index: 50;
  padding-top: 15vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.ib-modal::-webkit-scrollbar {
  display: none;
}

.ib-modal-content {
  position: relative;
  background-color: white;
  color: #515151;
  margin: auto;
  padding: 2rem;
  width: 85%;
  max-width: 1320px;
  box-sizing: border-box;
  margin-bottom: 30vh;
  border-radius: 0;
}

.ib-modal-internal {
  padding: 2rem;
  border: 2px solid #8c2e83;
}

.ib-modal-internal h2 {
  margin-top: 0;
}

.ib-modal-internal > p:last-child,
.ib-modal-internal > ul:last-child,
.ib-modal-internal > h4:last-child {
  margin-bottom: 0;
}

.ib-modal-internal > ol {
  margin-top: 1rem;
}

/* The Close Button */
a.ib-close {
  color: #aaaaaa;
  position: absolute;
  right: 1rem;
  top: 1rem;
  padding: 0.5rem;
  font-size: 28px;
  font-weight: bold;
  background: #fff;
  border-radius: 50%;
}

.ib-close:hover,
.ib-close:focus {
  color: #000;
  text-decoration: none;
}

@supports (-webkit-touch-callout: none) {
  .ib-tab-btn-active {
    bottom: 0;
  }
}

/* Style Break */
p.ib-para-indent {
  padding-left: 1rem;
  margin: 1rem 0;
}

/* Section Backgrounds */
.ib-edu-frame.ib-aicLic {
  background: url('/images/generic/backdrop/edu-bkgd-aic.png') center center/cover no-repeat;
}

.ib-edu-frame.ib-web {
  background: url('/images/generic/backdrop/edu-bkgd-web.png') center center/cover no-repeat;
}

.ib-edu-frame.ib-cpib {
  background: url('/images/generic/backdrop/edu-bkgd-cpib.png') center center/cover no-repeat;
}

.ib-edu-frame.ib-caib {
  background: url('/images/generic/backdrop/edu-bkgd-caib.png') center center/cover no-repeat;
}

.ib-edu-frame.ib-csip {
  background: url('/images/generic/backdrop/edu-bkgd-csip.png') center center/cover no-repeat;
}

.ib-edu-frame.ib-btcmp {
  background: url('/images/generic/backdrop/edu-bkgd-commbtcmp.png') center center/cover no-repeat;
}

.ib-edu-frame.ib-b101 {
  background: url('/images/generic/backdrop/edu-bkgd-b101.png') center center/cover no-repeat;
}

.ib-edu-frame.ib-caib .button-ibg:hover,
.ib-edu-frame.ib-cpib .button-ibg:hover,
.ib-edu-frame.ib-aicLic .button-ibg:hover,
.ib-edu-bab-career-content .button-ibg:hover {
  color: #fff;
}

/* Style Break */
.ib-edu-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
}

.ib-edu-grid3:last-child {
  margin-bottom: 0;
}

.ib-edu-cpib-elec ul {
  padding-left: 1rem;
  margin-bottom: 0;
}

.ib-edu-cpib-elec li {
  margin: 0.5rem 0;
  list-style-type: none !important;
}

.ib-edu-faq-cont {
  margin: 2rem 0;
}

.ib-edu-faq-cont > p,
.ib-edu-faq-cont > h2,
.ib-edu-faq-cont > h4 {
  color: #fff;
}

.ib-edu-desc > *:first-child,
.ib-modal-internal > *:first-child,
.ib-edu-faq-cont > *:first-child,
.ib-edu-faq-cont:first-child {
  margin-top: 0;
}

.ib-edu-desc > *:last-child,
.ib-modal-internal > *:last-child,
.ib-edu-faq-cont > *:last-child,
.ib-edu-faq-cont:last-child {
  margin-bottom: 0;
}

button.ib-edu-cpib-btn {
  font-family: 'Muli', sans-serif;
  background: none;
  cursor: pointer;
  padding: 0;
  color: #8e2e87;
  border: none;
  font-size: 1rem;
  font-weight: bold;
  text-align: left;
}

button.ib-edu-cpib-btn:hover {
  color: #333;
}

/* Speaker Buttons */
.ib-edu-faq-cont {
  margin: 2rem 0;
}

.ib-edu-faq-cont:first-child {
  margin-top: 0;
}

.ib-edu-faq-cont:last-child {
  margin-bottom: 0;
}

.ib-edu-sponsor-bar {
  color: white;
  background-color: #515151;
  text-align: right;
  justify-content: center;
  width: 100%;
  height: 50px;
}

.ib-edu-sponsor-bar > p {
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 50px;
  padding-right: 2rem;
}

.ib-edu-spons-bar-img {
  display: flex;
  flex-wrap: wrap;
  justify-content: right;
  align-items: center;
}

.ib-edu-spons-bar-img img {
  max-height: 70px;
  margin: 1rem;
}

/* Style Break */
.ital-purp {
  font-size: 0.8rem;
  font-style: italic;
  color: #8e2e87;
  font-weight: bold;
}

.ib-edu-categories {
  margin-bottom: 2rem;
}

.s-collapsible {
  background-color: #8e2e87;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 1rem 1.5rem;
  width: 100%;
  border: none;
  text-align: left;
  justify-content: center;
  margin: 0.1rem 0;
  line-height: 18px;
}

.s-collapsible:after {
  content: '\002B';
  font-size: 3rem;
  color: white;
  font-weight: bold;
  float: right;
  margin-left: 0.5rem;
}

.s-collapsible:hover:after {
  color: #96c93d;
}

.s-collapsible.ib-edu-active:after {
  content: '\2212';
  color: #96c93d;
}

.ib-coll-content {
  max-height: 0;
  transition: all 0.3s ease-in;
  overflow: hidden;
  opacity: 0;
}

.ib-coll-content.content-active {
  opacity: 1;
}

.ib-coll-content ul {
  list-style-type: none;
  margin-bottom: 0;
  padding-bottom: 1rem;
}

.ib-edu-web-courses {
  margin: 1rem 4rem;
}

.ib-edu-web-desc {
  border-left: 2px solid #ff5000;
}

.ib-edu-web-desc p {
  margin: 1rem;
}

/* BAB */

.ib-edu-bab-flex {
  display: flex;
  justify-content: space-between;
}

.ib-edu-bab-c1 {
  width: 30%;
}

.ib-edu-bab-c2 {
  width: 60%;
}

.ib-edu-bab-career {
  display: block;
  position: relative;
  color: #fff;
  padding: 30px;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.ib-edu-bab-career-back {
  background: url('/images/generic/backdrop/edu-bkgd-caib.png') center center/cover no-repeat;
  opacity: 1;
}

.ib-edu-bab-career-purp {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #8e2e87;
  opacity: 0.7;
  z-index: 0;
}

.ib-edu-bab-career-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  z-index: 2;
  height: 100%;
  gap: 15px;
}

.ib-edu-bab-career h2 {
  color: #fff;
  margin: 0;
  font-size: 1.8rem;
  font-weight: bold;
}

.ib-edu-bab-career p {
  position: relative;
  margin: 2rem 0;
  color: #fff;
}

.ib-edu-coll-internal {
  margin: 1rem 4rem;
}

.ib-edu-coll-internal h3 {
  color: #ff5000;
}

.ib-edu-coll-internal h4 {
  color: #96c93d;
}

.ib-edu-coll-internal-note {
  border-left: 3px solid #ff5000;
  padding: 0 0 1rem 2rem;
  margin-left: 3px;
}

.ib-edu-coll-internal-note p:first-child {
  padding-top: 1rem;
}

.ib-edu-coll-internal-note p:last-child {
  margin-bottom: 0;
}

.ib-edu-coll-indent {
  border-left: 3px solid #96c93d;
  padding: 0 0 1rem 2rem;
  margin-left: 3px;
}

.ib-edu-coll-indent-note {
  font-size: 0.9rem;
  font-style: italic;
  color: #8e2e87;
}

.d-collapsible {
  background-color: #8e2e87;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 1.5rem;
  width: 100%;
  border: none;
  text-align: left;
  justify-content: center;
  margin-bottom: 0.3rem;
  line-height: 18px;
}

.d-collapsible:after {
  content: '\002B';
  font-size: 3rem;
  color: white;
  font-weight: bold;
  float: right;
  margin-left: 0.5rem;
}

.d-faq-text .ib-edu-faq-ans:before {
  content: '\002B';
  font-size: 2rem;
  color: #96c93d;
  font-weight: bold;
  float: left;
  margin-right: 0.5rem;
}

.d-collapsible:hover:after,
.ib-edu-active > .collapsible:after,
.d-faq-text .ib-edu-faq-ans:hover:before,
.d-faq-text .ib-edu-active > .ib-edu-faq-ans:before {
  content: '\2212';
  color: #96c93d;
}

.d-faq-text .ib-edu-faq-ans:hover:before,
.ib-edu-active > .ib-edu-faq-ans:before {
  color: #ff5000;
}

.d-faq-text .ib-edu-faq-ans {
  margin: 0.5rem 0 0.5rem 2rem;
  padding: 0;
  border: none;
  background: white;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: inline;
  color: #ff5000;
  font-size: 1.3rem;
  line-height: 18px;
  font-weight: bold;
}

.ib-edu-faq-ans-note {
  border-left: 3px solid #ff5000;
  padding: 0 0 1rem 2rem;
  margin-left: 6px;
}

.last-note {
  margin-bottom: 2rem;
}

.ib-edu-faq-ans-note p {
  padding: 0;
  margin-top: 0;
}

.ib-edu-faq-ans-note p:last-child {
  padding: 0;
  margin: 0;
}

.d-faq-text ul {
  list-style-type: disc;
  margin: 1rem 0;
  padding-inline-start: 40px;
}

.d-faq-text {
  max-height: 0;
  opacity: 0;
  transition: all 0.3s ease-in;
  overflow: hidden;
}

.ib-edu-nested {
  margin-left: 2rem;
}

.ib-edu-nested p {
  margin-top: 0.5rem;
}

.faq.ib-edu-active > .d-faq-text {
  max-height: 1000px;
  opacity: 1;
  transition: max-height 0.25s ease-in;
}

.mentor-btn-flx {
  gap: 2rem;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
}

.ib-mentor {
  background: url('https://ibaa.ca/images/mentorship/mentor-back.jpg') center center/cover no-repeat;
}

.ib-mentor-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 992px) {
  .ib-mentor-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mentor-btn-flx {
    flex-direction: row;
  }
}

@media (max-width: 992px) {
  .ib-edu-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .ib-edu-grid3 {
    grid-template-columns: repeat(1, 1fr);
  }

  .ib-edu-bab-flex {
    flex-direction: column;
  }

  .ib-edu-bab-c1,
  .ib-edu-bab-c2 {
    width: 100%;
  }
}
