/* move the border to the whole login container, as opposed to the login box */
div#content
  > div.ic-Login
  > div.ic-Login__container
  > div.ic-Login__content
  > div.ic-Login__innerContent {
  border: none;
}

div#content > div.ic-Login > div.ic-Login__container > div.ic-Login__content {
  border: 2px solid #fff;
}

/* reduce some of the whitespace */
div#content
  > div.ic-Login
  > div.ic-Login__container
  > div.ic-Login__content
  > div.ic-Login__innerContent
  > div.ic-Login__body {
  padding-bottom: 0px;
  padding-top: 0px;
}

div#content
  > div.ic-Login
  > div.ic-Login__container
  > div.ic-Login__content
  > footer#footer
  > div#footer-links {
  padding-top: 0px;
}

/* Reduce the size of the top image and centre it*/
div#content
  > div.ic-Login
  > div.ic-Login__container
  > div.ic-Login__content
  > div.ic-Login__innerContent
  div.ic-Login-header__logo
  > img {
  width: 50%;
}

div#content
  > div.ic-Login
  > div.ic-Login__container
  > div.ic-Login__content
  > div.ic-Login__innerContent
  div.ic-Login-header__logo {
  text-align: center;
}

div#content
  > div.ic-Login
  > div.ic-Login__container
  > div.ic-Login__content
  > div.ic-Login__innerContent
  div.ic-Login-header {
  display: block;
}

/* centre element in the middle of the page */
div#content > div.ic-Login > div.ic-Login__container {
  position: fixed;
  top: 45%;
  left: 50%;
  right: 50;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

a.external .ui-icon-extlink {
  display: none;
}

/* fix blueprint zindex */
.bcs__trigger {
  z-index: 12 !important;
}

/* .ig-published:not(.student-view) .ig-type-icon,
  .publish-icon.publish-icon-published {
      color: #c0a06b !important;
  } */

body.primary-nav-expanded .menu-item__text {
  font-size: 12px;
}

/** hide page titles **/
h1.page-title {
  display: none !important;
}

/** hide course titles **/
h2.course-title {
  display: none !important;
}

/* custom styling */

.user_content * {
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.blocks {
  margin-bottom: 1rem;
}

.blocks > * {
  display: block;
}

/* text */

body {
  font-family: "Arial", sans-serif;
  font-size: 14px;
}

h1,
h2 {
  margin: 0.5rem 0 !important;
  /* font-family: "Arial black"; */
  /* font-weight: 500; */
  line-height: 1;
  color: inherit;
}

h1 {
  font-size: 26px;
  line-height: 30px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

h5 {
  font-size: 14px;
}

/* strong {
  font-family: "Arial Black", sans-serif;
} */

.section-title {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.5px;
  width: 100%;
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 3px;
  display: block;
  border-bottom: 1px solid #979797;
}

.text-14 {
  font-size: 14px !important;
}

.text-16 {
  font-size: 16px !important;
}

.text-18 {
  font-size: 18px !important;
}

/* colors */

.blue {
  background-color: #3c69ff;
}

.orange {
  background-color: #fdb516;
}

.green {
  background-color: #66bc4a;
}

.dark-grey {
  background-color: #323232;
}

.mld-grey {
  background-color: #969696;
}

/* links & buttons */

a {
  color: #3c69ff;
  text-decoration: none !important;
  transition: all 0.15s ease-in-out;
}

a:hover,
a:active,
a:focus {
  text-decoration: none !important;
  cursor: pointer;
}

a.file_preview_link {
  display: none !important;
}

.button-actuaries {
  display: inline-block;
  font-family: "Arial Black", sans-serif;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.25;
  border-radius: 3px;
  max-width: 143px;
  width: 100%;
  transition: all 0.15s ease-in-out;
  text-decoration: none !important;
  color: #fff;
  border-radius: 3px;
  border: 0px;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-align: center;
  background-color: #3c69ff;
}

.button-actuaries:focus,
.button-actuaries:hover,
.button-actuaries.active {
  background-color: #5872b7;
  color: #ffffff;
  cursor: pointer;
}

.button-actuaries.disabled {
  background-color: #5872b7;
}

.button-actuaries.button-actuaries.disabled:hover {
  cursor: not-allowed;
}

/* table */

.table-actuaries {
  border-collapse: collapse !important;
  width: 100%;
  max-width: 1000px;
  margin: 1rem auto 0px;
}

.table-actuaries td {
  padding: 1rem !important;
  vertical-align: top;
  border: 1px solid #d8dbdd;
  color: #656565;
}

.table-actuaries thead th {
  font-family: "Arial Black", sans-serif;
  font-weight: bold;
  letter-spacing: 0.5px;
  padding: 0.5rem;
  border: 1px solid #ffffff;
  color: #ffffff;
  background-color: #3c69ff;
}

.table-actuaries .section-heading td {
  font-family: "Arial Black", sans-serif;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-align: center;
  color: #969696;
  border: none;
  background-color: #ebebeb;
}

/* page break */

hr {
  display: block;
  width: 100%;
  margin: 2rem 0rem;
  border: none;
  border-radius: 3px;
  border-top: 3px solid;
}

hr.blue {
  border-color: #00a3da;
}

hr.orange {
  border-color: #ea9217;
}

hr.grey {
  border-color: #e9eced;
}

hr.small {
  margin: 0rem;
}

/* lists */

.user_content ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
  display: table;
}

.user_content ul li::before {
  content: "Ã¢â‚¬Â¢" !important;
  color: #3c69ff;
  padding-right: 1rem;
  display: table-cell;
}

.user_content ol {
  counter-reset: item;
  padding: 0px;
  margin: 0px;
  display: table;
}

.user_content ol > li:before {
  content: counter(item) ".";
  color: #3c69ff;
  counter-increment: item;
  padding-right: 0.8rem;
  display: table-cell;
  font-weight: bold;
}

.user_content ul li,
.user_content ol li {
  display: table-row;
}

/* footer */

.user_content .footer {
  min-height: 60px;
  width: 100%;
  padding: 0.5rem 0rem;
  display: flex;
  display: -ms-flexbox;
  -ms-flex-direction: row;
  flex-direction: row;
  align-items: center;
}

.user_content .footer {
  border-top: 1px solid #00a3da;
  margin-top: 1rem;
}

.user_content .footer .footer-text {
  flex-grow: 1;
  width: 100%;
}

.user_content .footer .footer-image {
  width: 45px;
  flex: 45px 0 0;
  display: flex;
  display: -ms-flexbox;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  flex-grow: 1;
}

.user_content .footer .footer-image img {
  width: 45px;
  max-height: 45px;
  min-width: 70px;
}

/* banner */

.banner-actuaries {
  margin: 1rem 0rem;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
  flex-direction: row;
  border-radius: 3px;
  overflow: hidden;
}

.banner-actuaries.banner {
  color: #ffffff;
  border-radius: 3px;
  min-height: 112px;
}

.banner-actuaries .banner__title {
  padding: 1rem;
  display: flex;
  display: -ms-flexbox;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.banner-actuaries .banner__right {
  padding: 0px;
}

.banner-actuaries .banner__right > img {
  max-width: 71px !important;
}

/* media box */

.media-box-actuaries {
  max-width: 1000px;
  margin: 0 auto 1rem;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
}

/* Removing overlay on dashboard card image*/
.ic-DashboardCard__header_hero {
  background-color: transparent !important;
}

/* Added */
.media-box-actuaries_accordion {
  position: relative;
  /* margin-bottom: 20px; */
  text-decoration: none;
}

.media-box-actuaries_accordion {
  position: relative;
  /* margin-bottom: 20px; */
}
.media-box-actuaries_accordion_content {
  position: relative;
  overflow: hidden;
  display: none;
  overflow-y: auto;
  transition: all 0.5s ease-out;
}

.media-box-actuaries_accordion.active .media-box-actuaries_accordion_content {
  height: 100%;
  display: block;
  transition: all 0.5s ease-out;
}

.media-box-actuaries .media-box-header {
  min-height: 69px;
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
  flex-direction: row;
  background-color: #ebebeb;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

/* accordion */
.media-box-actuaries .media-box-header-accordion {
  min-height: 69px;
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: row;
  flex-direction: row;
  background-color: #ebebeb;
  border: 1px solid #e2e2e2 !important;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.media-box-actuaries .media-box-header.only {
  padding: 0rem 2rem;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: center;
  align-items: baseline;
  color: #3c69ff;
  border-radius: 3px;
  border: none;
}

.media-box-actuaries .media-box-header-accordion::before {
  content: " \2304";
  position: absolute;
  right: 20px;
  transform: translateY(50%);
  font-size: 1.5em;
  color: #3c69ff;
}

.media-box-actuaries
  .media-box-actuaries_accordion.active
  .media-box-header-accordion::before {
  content: "\2303";
  transform: translateY(80%);
  font-size: 1.5em;
}

.media-box-actuaries .media-box-header-accordion.only {
  padding: 0rem 2rem;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: center;
  align-items: baseline;
  color: #00a3da;
  border-radius: 3px;
  border: 1px solid #e2e2e2;
}

.media-box-actuaries .media-box-header-accordion__icon {
  min-width: 75px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 3px 0px 0px 3px;
  border: 1px solid #e2e2e2;
  border-right: none;
}

.media-box-header-accordion p {
  padding-left: 5px;
}

.media-box-actuaries .media-box-header-accordion__icon i {
  border-width: 2px;
}

.media-box-actuaries .media-box-header-accordion__title {
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  border: 0 !important;
  border-right: none;
  border-left: none;
}

.media-box-actuaries .media-box-header-accordion__title {
  color: #fdb516;
}

.media-box-actuaries .media-box-header-accordion__title h3 {
  color: #00a3da;
}

.media-box-header-accordion__title.only {
  border-right: 1px solid #e2e2e2;
}

/* accordion end */
.media-box-actuaries .media-box-header.only {
  padding: 0rem 2rem;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: center;
  align-items: baseline;
  color: #3c69ff;
  border-radius: 3px;
  border: none;
}

.media-box-actuaries .media-box-header__icon {
  min-width: 75px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 3px 0px 0px 3px;
  border: none;
  border-right: none;
}

.media-box-header p {
  padding-left: 5px;
}

.media-box-actuaries .media-box-header__icon i {
  border-width: 2px;
}

.media-box-actuaries .media-box-header__title {
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  border: 0 !important;
  border-right: none;
  border-left: none;
}

.media-box-actuaries .media-box-header__title {
  color: #969696;
}

.media-box-actuaries .media-box-header__title h3 {
  color: #3c69ff;
}

.media-box-header__title.only {
  border-right: 1px solid #e2e2e2;
}

.media-box-header__right {
  flex-grow: 1;
  width: 84px;
  display: flex;
  display: -ms-flexbox;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  border-radius: 0px 3px 3px 0px;
}

.media-box-header__right a {
  font-family: "Arial Black", sans-serif;
  font-weight: bold;
  color: #ffffff;
  width: 100%;
  height: 100%;
  display: flex;
  display: -ms-flexbox;
  -ms-flex-direction: row;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border-radius: 0px 3px 3px 0px;
  background-color: #3c69ff;
}

.media-box-header__right a .ui-icon-extlink {
  display: none;
}

.media-box-header__right a:hover,
.media-box-header__right a:focus,
.media-box-header__right a:active {
  background-color: #5872b7;
}

.media-box-header__right a span {
  text-decoration: none !important;
}

.media-box-header__right .link_holder {
  display: flex;
  height: 100%;
  width: 100%;
}

.media-box-header__right .file_preview_link {
  /* display: none !important; */
}

.media-box-header__right a .actuaries-icons {
  margin-left: 10px;
}

.media-box-body {
  padding: 1rem 0rem;
}

.media-box-body .media-box-video-wrap {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding-top: 1rem;
}

.media-box-body .media-box-video {
  position: relative;
  padding-bottom: 56.25% !important;
}

.media-box-body .media-box-video iframe {
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  border: none;
}

.media-box-body .media-box-image {
  display: block;
  max-width: 800px !important;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 0rem;
}

.media-box-body.image {
  border-bottom: 1px solid #00a3da;
}

.media-box-header.quote {
  text-align: center;
  padding: 0.5rem;
  display: flex;
  display: -ms-flexbox;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 3px;
}

.media-box-header.quote h3 {
  display: block;
  color: #00a3da;
}

.media-box-header.quote .dash {
  width: 20px;
  margin: 0.5rem auto;
  color: #fdb516;
  border-radius: 2px;
  border-top: 3px solid;
}

/* home page */
.homepage-main {
  min-height: 200px;
  margin: 0rem 0rem 2rem;
  padding: 1.5rem 2rem;
  display: flex;
  display: -ms-flexbox;
  -ms-flex-direction: row;
  flex-direction: row;
  border-radius: 3px;
  color: #ffffff;
  background-color: #3c69ff;
}

.homepage-main-cpd {
  min-height: 200px;
  margin: 2rem 0rem;
  padding: 1.5rem 2rem;
  display: flex;
  display: -ms-flexbox;
  -ms-flex-direction: row;
  flex-direction: row;
  border-radius: 3px;
  color: white;
  background-color: #66bc4a;
}

.homepage-main-body {
  width: 100%;
  height: auto;
  display: flex;
  display: -ms-flexbox;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: flex-end;
  flex-grow: 1;
  color: #ffffff;
}

.homepage-main-image {
  width: 150px;
  flex: 150px 0 0;
  text-align: right;
}

.homepage-main-image img {
  width: 100%;
  max-width: 150px;
}

.homepage-main h1 {
  color: #ffffff;
}

.homepage-secondary {
  margin-bottom: 2rem;
  display: flex;
  display: -ms-flexbox;
}

.homepage-secondary .homepage-secondary__nav {
  min-width: 310px;
  width: 310px;
  height: auto;
  padding: 2rem;
  border-radius: 3px;
  color: #000000;
  background-color: #d8e1ff;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.07);
}

.homepage-secondary .homepage-secondary__nav hr {
  border-top-width: 2px;
  margin: 1rem 0rem;
}

.homepage-secondary .homepage-secondary__body {
  width: 100%;
  flex-grow: 1;
  padding: 0rem 2rem;
}

.homepage-secondary .homepage-secondary__body p {
  margin: 0.75rem 0rem;
}

/* info box */
.info-box {
  text-align: center;
  min-height: 359px;
  margin-bottom: 2rem;
  padding: 2rem;
  display: flex;
  display: -ms-flexbox;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 3px;
  border: 2px solid #e9eced;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.07);
}

.info-box .info-box-icons-container {
  margin-top: 2rem;
  width: 61%;
}

.info-box-icons__row {
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0px !important;
}

.info-box-icons__block {
  width: 16%;
  padding-bottom: 0.5rem;
  display: flex;
  display: -ms-flexbox;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.info-box-icons__block span {
  display: inline-block;
  width: 100%;
}

/* module box */
.module-box-container > .row {
  margin-bottom: 1rem;
}

.module-box {
  position: relative;
  min-height: 129px;
  width: 100%;
  padding: 0.5rem;
  display: flex;
  display: -ms-flexbox;
  -ms-flex-direction: row;
  flex-direction: row;
  justify-content: center;
  border-radius: 3px;
  overflow: hidden;
  transition: all 0.15s ease-in-out;
}

.module-box-container a {
  color: transparent;
  width: 100%;
  height: 100%;
  min-height: 129px;
  position: absolute;
  top: 0;
  left: 0;
  cursor: inherit;
}

.module-box:hover,
.module-box:active,
.module-box:focus {
  cursor: pointer;
}

/*
  .module-box.blue:hover,
  .module-box.blue:active,
  .module-box.blue:focus {
    background-color: #1db3e5;
  }
  */

.module-box.orange:hover,
.module-box.orange:active,
.module-box.orange:focus {
  background-color: #ffca54;
}

.module-box.green:hover,
.module-box.green:active,
.module-box.green:focus {
  background-color: #84cb6c;
}

.module-box-info {
  width: 100%;
  padding: 0.5rem;
  flex-grow: 1;
  color: #ffffff;
}

.module-box-icon {
  min-width: 112px;
  height: 100%;
  flex: 112px 0 0;
  text-align: center;
  padding: inherit;
}

.module-box-icon img {
  width: 60px;
}

/* responsive custom */

@media (max-width: 1200px) {
  .info-box-icons__block {
    width: 20%;
  }
}

@media (max-width: 1024px) {
  .info-box-icons__block {
    width: 25%;
  }
}

@media (max-width: 992px) {
  .homepage-main {
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }

  .homepage-main-image {
    width: 100%;
  }

  .homepage-secondary {
    display: block;
  }

  .homepage-secondary__nav {
    max-height: fit-content;
    margin: auto;
    margin-bottom: 1rem;
  }

  .module-box {
    margin: auto;
    margin-bottom: 0.5rem;
  }

  .info-box-icons__block {
    width: 30%;
  }
}

@media (max-width: 768px) {
  .info-box-icons__block {
    width: 50%;
  }
}

@media (max-width: 576px) {
  .info-box-icons__block {
    width: 100%;
  }
}

/* responsive */

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -10px;
  margin-left: -10px;
  margin-bottom: 2rem;
}

.column {
  -ms-flex-direction: column;
  flex-direction: column;
}

.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.col-1,
.col-2,
.col-20,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12,
.col,
.col-auto,
.col-sm-1,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm,
.col-sm-auto,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md,
.col-md-auto,
.col-lg-1,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg,
.col-lg-auto,
.col-xl-1,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl,
.col-xl-auto {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  box-sizing: border-box;
  padding-left: 10px;
  padding-right: 10px;
  display: -ms-flexbox;
  display: flex;
}

.col {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
}

.col-auto {
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

.col-1 {
  -ms-flex: 0 0 8.333333%;
  flex: 0 0 8.333333%;
  max-width: 8.333333%;
}

.col-2 {
  -ms-flex: 0 0 16.666667%;
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.col-20 {
  -ms-flex: 0 0 20%;
  flex: 0 0 20%;
  max-width: 20%;
}

.col-3 {
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%;
}

.col-3 {
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  max-width: 25%;
}

.col-4 {
  -ms-flex: 0 0 33.333333%;
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.col-5 {
  -ms-flex: 0 0 41.666667%;
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}

.col-6 {
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
}

.col-7 {
  -ms-flex: 0 0 58.333333%;
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}

.col-8 {
  -ms-flex: 0 0 66.666667%;
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.col-9 {
  -ms-flex: 0 0 75%;
  flex: 0 0 75%;
  max-width: 75%;
}

.col-10 {
  -ms-flex: 0 0 83.333333%;
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

.col-11 {
  -ms-flex: 0 0 91.666667%;
  flex: 0 0 91.666667%;
  max-width: 91.666667%;
}

.col-12 {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

.order-1 {
  -ms-flex-order: 1;
  order: 1;
}

.order-2 {
  -ms-flex-order: 2;
  order: 2;
}

.order-3 {
  -ms-flex-order: 3;
  order: 3;
}

.order-4 {
  -ms-flex-order: 4;
  order: 4;
}

.order-5 {
  -ms-flex-order: 5;
  order: 5;
}

.order-6 {
  -ms-flex-order: 6;
  order: 6;
}

.order-7 {
  -ms-flex-order: 7;
  order: 7;
}

.order-8 {
  -ms-flex-order: 8;
  order: 8;
}

.order-9 {
  -ms-flex-order: 9;
  order: 9;
}

.order-10 {
  -ms-flex-order: 10;
  order: 10;
}

.order-11 {
  -ms-flex-order: 11;
  order: 11;
}

.order-12 {
  -ms-flex-order: 12;
  order: 12;
}

@media (min-width: 576px) {
  .col-sm {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }

  .col-sm-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
  }

  .col-sm-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }

  .col-sm-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }

  .col-sm-20 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }

  .col-sm-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-sm-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-sm-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .col-sm-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-sm-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  .col-sm-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }

  .col-sm-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }

  .col-sm-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }

  .col-sm-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }

  .col-sm-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .order-sm-1 {
    -ms-flex-order: 1;
    order: 1;
  }

  .order-sm-2 {
    -ms-flex-order: 2;
    order: 2;
  }

  .order-sm-3 {
    -ms-flex-order: 3;
    order: 3;
  }

  .order-sm-4 {
    -ms-flex-order: 4;
    order: 4;
  }

  .order-sm-5 {
    -ms-flex-order: 5;
    order: 5;
  }

  .order-sm-6 {
    -ms-flex-order: 6;
    order: 6;
  }

  .order-sm-7 {
    -ms-flex-order: 7;
    order: 7;
  }

  .order-sm-8 {
    -ms-flex-order: 8;
    order: 8;
  }

  .order-sm-9 {
    -ms-flex-order: 9;
    order: 9;
  }

  .order-sm-10 {
    -ms-flex-order: 10;
    order: 10;
  }

  .order-sm-11 {
    -ms-flex-order: 11;
    order: 11;
  }

  .order-sm-12 {
    -ms-flex-order: 12;
    order: 12;
  }
}

@media (min-width: 768px) {
  .col-md {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }

  .col-md-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
  }

  .col-md-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }

  .col-md-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }

  .col-md-20 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }

  .col-md-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-md-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-md-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-md-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  .col-md-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }

  .col-md-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }

  .col-md-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }

  .col-md-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }

  .col-md-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .order-md-1 {
    -ms-flex-order: 1;
    order: 1;
  }

  .order-md-2 {
    -ms-flex-order: 2;
    order: 2;
  }

  .order-md-3 {
    -ms-flex-order: 3;
    order: 3;
  }

  .order-md-4 {
    -ms-flex-order: 4;
    order: 4;
  }

  .order-md-5 {
    -ms-flex-order: 5;
    order: 5;
  }

  .order-md-6 {
    -ms-flex-order: 6;
    order: 6;
  }

  .order-md-7 {
    -ms-flex-order: 7;
    order: 7;
  }

  .order-md-8 {
    -ms-flex-order: 8;
    order: 8;
  }

  .order-md-9 {
    -ms-flex-order: 9;
    order: 9;
  }

  .order-md-10 {
    -ms-flex-order: 10;
    order: 10;
  }

  .order-md-11 {
    -ms-flex-order: 11;
    order: 11;
  }

  .order-md-12 {
    -ms-flex-order: 12;
    order: 12;
  }
}

@media (min-width: 992px) {
  .col-lg {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }

  .col-lg-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
  }

  .col-lg-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }

  .col-lg-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }

  .col-lg-20 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }

  .col-lg-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-lg-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-lg-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .col-lg-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-lg-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  .col-lg-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }

  .col-lg-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }

  .col-lg-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }

  .col-lg-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }

  .col-lg-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .order-lg-1 {
    -ms-flex-order: 1;
    order: 1;
  }

  .order-lg-2 {
    -ms-flex-order: 2;
    order: 2;
  }

  .order-lg-3 {
    -ms-flex-order: 3;
    order: 3;
  }

  .order-lg-4 {
    -ms-flex-order: 4;
    order: 4;
  }

  .order-lg-5 {
    -ms-flex-order: 5;
    order: 5;
  }

  .order-lg-6 {
    -ms-flex-order: 6;
    order: 6;
  }

  .order-lg-7 {
    -ms-flex-order: 7;
    order: 7;
  }

  .order-lg-8 {
    -ms-flex-order: 8;
    order: 8;
  }

  .order-lg-9 {
    -ms-flex-order: 9;
    order: 9;
  }

  .order-lg-10 {
    -ms-flex-order: 10;
    order: 10;
  }

  .order-lg-11 {
    -ms-flex-order: 11;
    order: 11;
  }

  .order-lg-12 {
    -ms-flex-order: 12;
    order: 12;
  }
}

@media (min-width: 1200px) {
  .col-xl {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
  }

  .col-xl-auto {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
  }

  .col-xl-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
  }

  .col-xl-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }

  .col-xl-20 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }

  .col-xl-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
  }

  .col-xl-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .col-xl-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

  .col-xl-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .col-xl-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }

  .col-xl-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }

  .col-xl-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }

  .col-xl-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }

  .col-xl-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
  }

  .col-xl-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .order-xl-1 {
    -ms-flex-order: 1;
    order: 1;
  }

  .order-xl-2 {
    -ms-flex-order: 2;
    order: 2;
  }

  .order-xl-3 {
    -ms-flex-order: 3;
    order: 3;
  }

  .order-xl-4 {
    -ms-flex-order: 4;
    order: 4;
  }

  .order-xl-5 {
    -ms-flex-order: 5;
    order: 5;
  }

  .order-xl-6 {
    -ms-flex-order: 6;
    order: 6;
  }

  .order-xl-7 {
    -ms-flex-order: 7;
    order: 7;
  }

  .order-xl-8 {
    -ms-flex-order: 8;
    order: 8;
  }

  .order-xl-9 {
    -ms-flex-order: 9;
    order: 9;
  }

  .order-xl-10 {
    -ms-flex-order: 10;
    order: 10;
  }

  .order-xl-11 {
    -ms-flex-order: 11;
    order: 11;
  }

  .order-xl-12 {
    -ms-flex-order: 12;
    order: 12;
  }
}

/* icons */

@font-face {
  font-family: "icomoon";
  src: url("https://s3-ap-southeast-2.amazonaws.com/canvas-hosting/actuaries/icons/icomoon.eot?31gpbd");
  src: url("https://s3-ap-southeast-2.amazonaws.com/canvas-hosting/actuaries/icons/icomoon.eot?31gpbd#iefix")
      format("embedded-opentype"),
    url("https://s3-ap-southeast-2.amazonaws.com/canvas-hosting/actuaries/icons/icomoon.ttf?31gpbd")
      format("truetype"),
    url("https://s3-ap-southeast-2.amazonaws.com/canvas-hosting/actuaries/icons/icomoon.woff?31gpbd")
      format("woff"),
    url("https://s3-ap-southeast-2.amazonaws.com/canvas-hosting/actuaries/icons/icomoon.svg?31gpbd#icomoon")
      format("svg");
  font-weight: normal;
  font-style: normal;
}

[class^="actuaries-icons-"],
[class*=" actuaries-icons-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: "icomoon" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.actuaries-icons-articles:before {
  content: "\e910";
}

.actuaries-icons-elearning:before {
  content: "\e911";
}

.actuaries-icons-events:before {
  content: "\e912";
}

.actuaries-icons-logo-icon:before {
  content: "\e913";
}

.actuaries-icons-other:before {
  content: "\e914";
}

.actuaries-icons-presentation-slides:before {
  content: "\e915";
}

.actuaries-icons-publications:before {
  content: "\e916";
}

.actuaries-icons-tools-resources:before {
  /*content: "\e917";*/
  content: "";
  background-image: url("https://actuaries.instructure.com/files/59199/download?download_frd=1");
  width: 25px;
  height: 25px;
  display: inline-block;
  background-size: 25px 25px;
  background-repeat: no-repeat;
}

.actuaries-icons-tutorials:before {
  /*content: "\e918";*/
  content: "";
  background-image: url("https://actuaries.instructure.com/files/59202/download?download_frd=1");
  width: 25px;
  height: 25px;
  display: inline-block;
  background-size: 25px 25px;
  background-repeat: no-repeat;
}

.actuaries-icons-videos-podcasts:before {
  content: "\e919";
}

.actuaries-icons-webinars:before {
  content: "\e91a";
}

.actuaries-icons-workshops:before {
  content: "\e91b";
}

.actuaries-icons-call:before {
  content: "\e90f";
  color: #0454ff;
}

.actuaries-icons-peer-coaching:before {
  content: "\e90a";
}

.actuaries-icons-challenge:before {
  content: "\e908";
}

.actuaries-icons-virtual-workshop:before {
  content: "\e90d";
}

.actuaries-icons-content:before {
  content: "\e90e";
}

.actuaries-icons-arrow:before {
  content: "\e907";
}

.actuaries-icons-explore:before {
  content: "\e900";
}

.actuaries-icons-reflect:before {
  content: "\e903";
}

.actuaries-icons-listen:before {
  content: "\e905";
}

.actuaries-icons-read:before {
  /*content: "\e904";*/
  content: "";
  background-image: url("https://actuaries.instructure.com/files/59195/download?download_frd=1");
  width: 25px;
  height: 25px;
  display: inline-block;
  background-size: 25px 25px;
  background-repeat: no-repeat;
}

.actuaries-icons-case-study:before {
  content: "\e901";
}

.actuaries-icons-discussion:before {
  content: "\e902";
}

.actuaries-icons-image:before {
  content: "\e906";
}

.actuaries-icons-quote:before {
  content: "\e909";
}

.actuaries-icons-task:before {
  content: "\e90b";
}

.actuaries-icons-watch:before {
  /*content: "\e90c";*/
  content: "";
  background-image: url("https://actuaries.instructure.com/files/59198/download?download_frd=1");
  width: 25px;
  height: 25px;
  display: inline-block;
  background-size: 25px 25px;
  background-repeat: no-repeat;
}

.actuaries-icons.circle {
  font-size: 24px;
  height: 45px;
  width: 45px;
  display: flex;
  display: -ms-flex;
  -ms-flex-direction: row;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background: white;
  border-radius: 50px;
  border: 1px solid #3c69ff;
}

.actuaries-icons-logo-icon {
  background-color: transparent !important;
}

.actuaries-icons-logo-icon.banner {
  font-size: 84px;
}

.actuaries-icons-logo-icon.module {
  font-size: 112px;
}

.actuaries-icons-logo-icon.blue {
  color: #007ab0;
}

.actuaries-icons-logo-icon.orange {
  color: #f98e0b;
}

.actuaries-icons-logo-icon.green {
  color: #3f972a;
}

/* sample code */

pre.example {
  white-space: pre;
  white-space: -moz-pre;
  white-space: -pre;
  white-space: -o-pre;
  word-wrap: normal;
  margin: 20px 0;
  padding: 0;
  max-height: 250px;
  overflow: scroll;
}

pre.example code {
  display: block;
  padding: 0px;
  padding-left: 20px;
}

/* SS changes */

#left-side #section-tabs li a,
#right-side a {
  color: #3c69ff;
}

#toggle-canvas-ui {
  background-color: #3c69ff !important;
}

button.btn-published.disabled,
button.btn-published {
  background: #3ad698;
  border: 1px solid #1e5e46;
}

button.btn-unpublished.disabled,
button.btn-unpublished {
  background-color: #f54f46;
}

.font-black {
  color: #000000;
}

.user_content .footer {
  padding-left: 30px;
  padding-right: 30px;
  border-top: 1px solid #3c69ff;
}

.footer-text h4 {
  font-size: 12px;
}

.ic-Login__body .ic-Login__actions {
  display: flex;
  justify-content: center;
}

.ic-Login__actions a.Button.Button--login {
  background: #3c69ff;
  color: #ffffff;
  border: none;
  padding: 10px 25px;
}

/* ----- Learning Journal Page Styling ------- */
.ai4573-jnl-container *,
.ai4573-jnl-container *::before,
.ai4573-jnl-container *::after {
  box-sizing: border-box;
}

/* Main layout */
.ai4573-jnl-body {
  margin: 0;
  padding: 20px 30px;
  color: #2d3748;
}

.ai4573-jnl-container {
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  position: relative;
}

/* Header styles */
.ai4573-jnl-header {
  background: linear-gradient(135deg, #3c69ff, #4c7cff);
  color: white;
  padding: 24px;
  text-align: center;
}

.ai4573-jnl-title {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* Journal page with paper texture and lines */
.ai4573-jnl-page {
  background-color: #fefefe;
  position: relative;
  background-image: radial-gradient(
      circle at 1px 1px,
      rgba(0, 0, 0, 0.03) 1px,
      transparent 0
    ),
    repeating-linear-gradient(
      transparent,
      transparent 25px,
      rgba(0, 0, 0, 0.045) 25px,
      rgba(0, 0, 0, 0.045) 26px
    );
  background-size: 20px 20px, 100% 26px;
  overflow: visible;
}

/* Binding elements */
.ai4573-binding-holes {
  position: absolute;
  left: 22px;
  top: 60px;
  bottom: 60px;
  width: 18px;
  z-index: 1;
}

.ai4573-binding-hole {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #e2e8f0;
  border: 1px solid #cbd5e0;
}

.ai4573-binding-hole-top {
  top: 40px;
}

.ai4573-binding-hole-middle {
  top: 50%;
  transform: translateY(-50%);
}

.ai4573-binding-hole-bottom {
  bottom: 40px;
}

.ai4573-margin-line {
  position: absolute;
  left: 55px;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #e2e8f0;
  opacity: 0.7;
  z-index: 0;
}

/* Content area */
.ai4573-jnl-content {
  padding: 40px 40px 40px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* FIXED: Allow grid items to shrink */
  gap: 24px;
  z-index: 2;
}

/* Reflection prompts - FIXED: Prevent overflow */
.ai4573-rfln-prompts {
  background-color: #f0f7ff;
  border: 1px solid #bfd7ff;
  padding: 20px;
  border-radius: 8px;
  max-width: 100%; /* FIXED: Prevent overflow on small screens */
  min-width: 0; /* FIXED: Critical for allowing grid item to shrink */
  overflow-wrap: break-word; /* FIXED: Handle long words gracefully */
}

.ai4573-rfln-title {
  margin: 0 0 16px 0;
  color: #3c69ff;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.ai4573-rfln-icon {
  margin-right: 8px;
  flex-shrink: 0;
}

.ai4573-rfln-list {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  color: #4a5568;
  line-height: 1.7;
}

.ai4573-rfln-item {
  margin-bottom: 8px;
}

.ai4573-last-item {
  margin-bottom: 0;
}

/* iframe container */
.ai4573-iframe-container {
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  background-color: #ffffff;
  padding: 0;
  min-width: 0; /* FIXED: Allow iframe container to shrink */
  width: 100%;
}

/* FIXED: Reduce padding on smaller screens to prevent overflow */
@media (max-width: 768px) {
  .ai4573-jnl-content {
    padding: 30px 20px 30px 70px;
  }

  .ai4573-rfln-prompts {
    padding: 16px;
  }
}

/* Larger screens: switch to two-column grid with narrower prompts and wider iframe */
@media (min-width: 1250px) {
  .ai4573-jnl-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: start;
    gap: 24px;
  }

  .ai4573-rfln-prompts {
    grid-column: 1;
  }

  .ai4573-iframe-container {
    grid-column: 2;
    min-width: 0;
  }
}

/* ----- Blue Header Banner ------- */
.ai4573-banner {
  background: #3c69ff;
  padding: 10px 20px;
  margin-bottom: 1rem;
  border-radius: 0 15px 0 5px;
}

.ai4573-banner h2 {
  color: #ffffff;
  margin: 0.5rem 0;
}

.ai4573-banner p {
  color: #ffffff;
  margin: 0;
}

/* ----- Button Hover Effect ------- */
.ai4573-button-effect:hover {
  opacity: 95%;
  filter: brightness(1.1);
  -webkit-transform: scale(1.02);
  -ms-transform: scale(1.02);
  transform: scale(1.02);
  transition: 0s ease;
}

.ai4573-no-outline:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* ----- Resource Cards Container ----- */
.ai-4573-resource-container {
  container-type: inline-size;
  container-name: resource-grid;
}

/* Grey container styling for divs */
.ai-4573-grey-container {
  padding: 30px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
  border-radius: 12px;
}

.ai-4573-resource-container * {
  box-sizing: border-box;
}

/* Grid - single column default styling */
.ai-4573-resource-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 0;
  padding: 0;
}

/* Two columns when container is larger than 800px */
@container resource-grid (min-width: 800px) {
  .ai-4573-resource-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

/* Resource card styling */
.ai-4573-resource-item,
.ai-4573-topic-cards,
.ai-4573-footer-container {
  background: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Default image styling for mobile */
.ai-4573-resource-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 8px;
}

/* Default text styling */
.ai-4573-resource-item h2 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: #1a202c;
  line-height: 1.4;
}

.ai-4573-resource-item p {
  margin: 0;
  font-size: 13px;
  color: #4a5568;
  line-height: 1.6;
}

.ai-4573-image-container {
  display: grid;
  align-items: center;
}

/* Two-column layout for cards when container is larger than 800px */
@container resource-grid (min-width: 800px) {
  .ai-4573-resource-item {
    grid-template-columns: 70px 1fr;
    gap: 20px;
  }

  /* Position the image wrapper div */
  .ai-4573-resource-item > div:first-child {
    grid-column: 1;
    grid-row: 1 / -1;
  }

  /* Image sizing for desktop - fixed square */
  .ai-4573-resource-item img {
    width: 70px;
    height: 70px;
    max-height: 140px;
  }

  /* Position the content wrapper div */
  .ai-4573-resource-item > div:last-child {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* ----- Topic Cards Container ----- */
.ai-4573-topic-container {
  container-type: inline-size;
  container-name: grid-container;
  overflow: auto;
}

.ai-4573-topic-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr;
}

/* 2 columns when container > 500px */
@container grid-container (min-width: 500px) {
  .ai-4573-topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3 columns when container > 900px */
@container grid-container (min-width: 900px) {
  .ai-4573-topic-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ai-4573-topic-cards h3 {
  margin: 0;
  padding: 0;
  font-size: 20px;
  font-weight: bold;
}

/* Anchor Styling on topic cards */
.ai-4573-topic-cards a {
  color: #3c69ff;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
  position: relative;
}

.ai-4573-topic-cards a::after {
  content: "→";
  font-size: 1.1em;
  transition: transform 0.3s ease;
}

.ai-4573-topic-cards a:hover {
  color: #2342b4;
  cursor: pointer;
}

.ai-4573-topic-cards a:hover::after {
  transform: translateX(3px);
}

.ai-4573-topic-cards a:active,
.ai-4573-topic-cards a:focus {
  border: thin solid rgb(88, 88, 88);
  border-radius: 4px;
  padding: 0 2px;
  outline: none;
}

/* Visible outline for keyboard navigation */
.ai-4573-topic-cards a:focus-visible {
  border: thin solid rgb(88, 88, 88);
  border-radius: 4px;
  padding: 0 2px;
  outline: 2px solid #3c69ff;
  outline-offset: 2px;
}

/* ----- Page wrapper to cap page content at 1400px for very large screens ----- */
.ai-4573-page-container {
  max-width: 1600px;
  margin: 0 auto;
}

/* ----- Footer Component Styling ----- */

/* Media query for larger screens */
@media (min-width: 800px) {
  .ai-4573-footer-container {
    display: flex;
    align-items: center;
    text-align: center;
  }

  .ai-4573-footer-logo {
    float: left;
    margin-right: 20px;
  }

  .ai-4573-footer-logo img {
    width: 70px !important;
    height: auto;
  }

  .ai-4573-footer-copyright {
    flex: 1;
    text-align: center;
  }
}

/* Additional footer-specific styling - AFTER base styles */
.ai-4573-footer-container {
  background: #f5f5f5;
  border: 1px solid #dadada;
  border-radius: 12px 12px 0 0;
  padding: 16px 20px;
  text-align: center;
  margin-top: 32px;
  margin-bottom: 10px;
  color: #666;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Footer grid items */
.ai-4573-footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ai-4573-footer-logo img {
  width: 90px;
  height: auto;
}

.ai-4573-footer-copyright {
  text-align: center;
}

/* ----- Video feature Card ----- */
.ai-4573-featured-video-card {
  max-width: 1200px;
  margin: 4rem auto;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  min-height: 600px;
}

.ai-4573-featured-video-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(59, 130, 246, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(147, 51, 234, 0.15) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}

.ai-4573-featured-video-content {
  padding: 4rem 3rem;
  padding-right: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.ai-4573-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e0e7ff;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.ai-4573-featured-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.6);
}

.ai-4573-featured-video-title {
  margin: 0 0 1rem 0;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.ai-4573-featured-video-subtitle {
  margin: 0 0 1.5rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: #cbd5e1;
  line-height: 1.6;
}

.ai-4573-featured-video-description {
  margin: 0 0 2rem 0;
  font-size: 1rem;
  color: #e2e8f0;
  line-height: 1.7;
}

.ai-4573-featured-video-meta {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-4573-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ai-4573-meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  font-weight: 600;
}

.ai-4573-meta-value {
  font-size: 0.875rem;
  color: #f1f5f9;
  font-weight: 500;
}

/* Video layer with higher z-index */
.ai-4573-featured-video-player {
  position: absolute;
  top: 50%;
  right: 3rem;
  transform: translateY(-50%);
  width: 640px;
  height: 360px;
  background: #000000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.ai-4573-video-aspect-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ai-4573-video-aspect-wrapper iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  display: block !important;
}

/* Decorative gradient overlay on video */
.ai-4573-featured-video-player::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.3) 0%, transparent 15%);
  pointer-events: none;
  z-index: 1;
}

/* Focus styles for accessibility */
.ai-4573-featured-video-card iframe:focus {
  outline: 3px solid #3b82f6;
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 1500px) {
  .ai-4573-featured-video-player {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: calc(100% - 4rem);
    height: 0;
    padding-bottom: 56.25%;
    margin: 2rem auto 2rem;
  }

  .ai-4573-featured-video-content {
    padding: 3rem 2rem;
    padding-right: 2rem;
    max-width: 100%;
  }

  .ai-4573-featured-video-title {
    font-size: 2rem;
  }

  .ai-4573-featured-video-card {
    min-height: auto;
  }
}

/* ----- Video Feature Card Link Styles ----- */

.ai-4573-featured-video-card a {
  color: #93c5fd !important;
  text-decoration: underline;
  text-decoration-color: rgba(147, 197, 253, 0.5);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  transition: all 0.2s ease;
}

.ai-4573-featured-video-card a:hover {
  color: #bfdbfe !important;
  text-decoration-color: rgba(191, 219, 254, 0.8);
}

.ai-4573-featured-video-card a:active {
  color: #dbeafe !important;
}

.ai-4573-featured-video-card a:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  border-radius: 2px;
}