.ic-Layout-contentMain > * {
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 0.3s;
}
.abm-global-wrapper {
  max-width: 80rem;
  margin: 0 auto;
animation: fadeIn 0.5s;
}

.abm-menu-wrapper {
  width: 60%;
  margin-left: 40%;
  @media screen and (max-width: 768px) {
    width: 100%;
    margin-left: 0;
    margin-bottom: 10px;

  }
}
.abm-round-link-active {
  font-size: 16px;
  background-color: #0374b5;
  margin: auto;
  width: 100%;
  min-height: 100%;
  border-radius: 100%;
}
.abm-round-link {
  font-size: 16px;
  background-color: #001b37;
  margin: 10px;
  width: 100%;
  min-height: 100%;
  border-radius: 100%;
}

.abm-round-link:hover {
  transform: scale(1.05);
}
.scale-on-hover {
  transform: scale(1);
}
.scale-on-hover:hover {
  width: max-content;
  transform: scale(1.05);
}
/* ---------- Ben Added 24.07.25 ---------- */
/* ---------- Responsive grid for fullÃ¢â‚¬â€˜quadrant clickÃ¢â‚¬â€˜swap ---------- */
.abm-click-grid-full-quadrant {
  display: grid;
  grid-template-columns: repeat(2, min(582px, 50%));
  gap: 1rem;
  justify-content: center;
}

/* Below 800px: switch to one column (1Ãƒâ€”4) */
@media (max-width: 800px) {
  .abm-click-grid-full-quadrant {
    grid-template-columns: 1fr;
  }
}

/* ---------- Responsive clickÃ¢â‚¬â€˜swap container (582Ãƒâ€”388 ratio) ---------- */
.abm-click-swap-full-quadrant {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 582 / 388;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none; /* if youÃ¢â‚¬â„¢re using an <a> wrapper */
}

/* Base image fills container */
.abm-click-swap-full-quadrant img.base-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Revealed image sits on top, invisible by default */
.abm-click-swap-full-quadrant img.reveal-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease-in-out;
}

/* On click (focus or active), show the reveal image */
.abm-click-swap-full-quadrant:focus img.reveal-image,
.abm-click-swap-full-quadrant:active img.reveal-image {
  opacity: 1;
}
/* ---------- ClickÃ¢â‚¬â€˜toÃ¢â‚¬â€˜swap fullÃ¢â‚¬â€˜width images ---------- */
.abm-click-swap-fullwidth {
  position: relative;
  display: block;
  width: 100%;               /* fills the page width */
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;     /* if using an <a> wrapper */
}

.abm-click-swap-fullwidth img.base-image {
  display: block;
  width: 100%;
  height: auto;              /* preserves aspect ratio */
}

.abm-click-swap-fullwidth img.reveal-image {
  position: absolute;
  inset: 0;                  /* top/right/bottom/left = 0 */
  width: 100%;
  height: 100%;
  object-fit: cover;         /* fills container without distortion */
  opacity: 0;                /* hidden by default */
  transition: opacity .35s ease-in-out;
}

/* show the reveal image on click/focus */
.abm-click-swap-fullwidth:focus img.reveal-image,
.abm-click-swap-fullwidth:active img.reveal-image {
  opacity: 1;
}

/* ---------- ClickÃ¢â‚¬â€˜toÃ¢â‚¬â€˜swap small 400Ãƒâ€”600 images ---------- */
.abm-click-swap-small {
  position: relative;
  display: inline-block;
  width: 400px;
  height: 600px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none; /* remove underline from the <a> */
}

/* both images fill the container */
.abm-click-swap-small img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* top image starts invisible */
.abm-click-swap-small img.reveal-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .35s ease-in-out;
}

/* make it appear on click/focus */
.abm-click-swap-small:focus img.reveal-image,
.abm-click-swap-small:active img.reveal-image {
  opacity: 1;
}

/* ---------- HoverÃ¢â‚¬â€˜toÃ¢â‚¬â€˜swap images ---------- */
/* ---------- HoverÃ¢â‚¬â€˜toÃ¢â‚¬â€˜swap small 400Ãƒâ€”300 images ---------- */
.abm-hover-swap-small {
  position: relative;
  display: inline-block;    /* shrinkÃ¢â‚¬â€˜wraps to the image */
  width: 400px;             /* fixed size */
  height: 300px;
  overflow: hidden;
  cursor: pointer;
}

.abm-hover-swap-small img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* the Ã¢â‚¬Å“revealedÃ¢â‚¬Â image sits on top, starts transparent */
.abm-hover-swap-small img.reveal-image {
  position: absolute;
  inset: 0;                 /* stretch to cover the base image */
  opacity: 0;
  transition: opacity .35s ease-in-out;
}

/* on hover, fade the top image in at 100% opacity */
.abm-hover-swap-small:hover img.reveal-image {
  opacity: 1;
}
/* ---------- HoverÃ¢â‚¬â€˜toÃ¢â‚¬â€˜swap tall 400Ãƒâ€”600 images ---------- */
.abm-hover-swap-tall {
  position: relative;
  display: inline-block;    /* shrinkÃ¢â‚¬â€˜wraps to the image */
  width: 400px;             /* fixed size */
  height: 600px;
  overflow: hidden;
  cursor: pointer;
}

.abm-hover-swap-tall img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* the Ã¢â‚¬Å“revealedÃ¢â‚¬Â image sits on top, starts transparent */
.abm-hover-swap-tall img.reveal-image {
  position: absolute;
  inset: 0;                 /* stretch to cover the base image */
  opacity: 0;
  transition: opacity .35s ease-in-out;
}

/* on hover, fade the top image in at 100% opacity */
.abm-hover-swap-tall:hover img.reveal-image {
  opacity: 1;
}

/* ---------- HoverÃ¢â‚¬â€˜toÃ¢â‚¬â€˜swap small 800Ãƒâ€”600 images ---------- */
.abm-hover-swap {
  position: relative;
  display: inline-block;    /* shrinkÃ¢â‚¬â€˜wraps to the image */
  width: 800px;             /* fixed size */
  height: 600px;
  overflow: hidden;
  cursor: pointer;
}

.abm-hover-swap img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* the Ã¢â‚¬Å“revealedÃ¢â‚¬Â image sits on top, starts transparent */
.abm-hover-swap img.reveal-image {
  position: absolute;
  inset: 0;                 /* stretch to cover the base image */
  opacity: 0;
  transition: opacity .35s ease-in-out;
}

/* on hover, fade the top image in at 100% opacity */
.abm-hover-swap:hover img.reveal-image {
  opacity: 1;
}
/* ---------- Responsive hoverÃ¢â‚¬â€˜toÃ¢â‚¬â€˜swap full images ---------- */
.abm-hover-swap-full {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 1164px;    /* wonÃ¢â‚¬â„¢t ever grow beyond original size */
  overflow: hidden;
  cursor: pointer;
}

.abm-hover-swap-full img {
  display: block;
  width: 100%;
  height: auto;         /* maintains aspect ratio */
  vertical-align: middle;
}

.abm-hover-swap-full img.reveal-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .35s ease-in-out;
}

.abm-hover-swap-full:hover img.reveal-image {
  opacity: 1;
}

/* ---------- Hover Text below ---------- */
/* ---------- Hover Card Container ---------- */
.abm-hover-card{
  position:relative;
  display:inline-block;      /* shrinkÃ¢â‚¬â€˜wrap to image */
  overflow:hidden;
  cursor:pointer;
}

/* ---------- Image ---------- */
.abm-hover-card img{
  display:block;             /* removes baseline gap */
  width:100%;
  height:auto;
  vertical-align:middle;
}

/* ---------- Overlay ---------- */
.abm-overlay{
  position:absolute;
  inset:0;                   /* stretch across entire image */
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1rem;
  color:#ffffff;
  font-size:1rem;          /* adjust as needed */
  text-align:center;
  font-family:inherit;

  background:rgba(0,0,0,0.70);  /* 70Ã¢â‚¬Â¯% translucent black */
  opacity:0;                    /* hidden by default */
  transition:opacity .35s ease-in-out;
  pointer-events:none;          /* overlay itself wonÃ¢â‚¬â„¢t block clicks */
}

/* ---------- Interaction States ---------- */
.abm-hover-card:hover  .abm-overlay,
.abm-hover-card:focus  .abm-overlay,
.abm-hover-card:active .abm-overlay{
  opacity:1;
}

.text-fade-in {
  animation: fadeIn 1s;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.abm-accordion {
  background-color: #007bff;
  color: white;
  cursor: pointer;
  padding: 15px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 16px;
  transition: background-color 0.3s ease;
  margin-top: 5px;
}

.abm-accordion:hover {
  background-color: #0056b3;
}

.abm-active {
  background-color: #0056b3;
}

.abm-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #f1f1f1;
  padding: 0 15px;
}

.slide-in-from-left {
  animation: slideInFromLeft 2s;
}
.slide-in-from-right {
  animation: slideInFromRight 2s;
}
.slide-in-from-top {
  animation: slideInFromTop 2s;
}
.slide-in-from-bottom {
  animation: slideInFromBottom 2s;
}

.abm-body-text {
  font-size: 14px;
}
.abm-round-link-active {
  font-size: 16px;
  background-color: #0374b5;
  margin: auto;
  width: 100%;
  min-height: 100%;
  border-radius: 100%;
}
.abm-round-link {
  font-size: 16px;
  background-color: #001b37;
  margin: 10px;
  width: 100%;
  min-height: 100%;
  border-radius: 100%;
}

.abm-round-link:hover {
  transform: scale(1.05);
}

.abm-mobile-table {
  box-sizing: border-box;
  @media screen and (max-width: 900px) {
    display: flex;
    flex-direction: column;
  }
}
.abm-mobile-table > td {
  box-sizing: border-box;
  @media screen and (max-width: 900px) {
    width: 100% !important;

    padding: 0 !important;
  }
}
.abm-mobile-table ul {
  @media screen and (max-width: 900px) {
    margin: 20px !important;
    padding: 20px !important;
  }
}
.text-fade-in {
  animation: fadeIn 5s;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.abmflowbody {
  font-family: Arial, sans-serif;
  text-align: center;
  margin: 20px;
}

.abmflowtable {
  margin: 0 auto;
  border: none;
  border-collapse: collapse;
}

.abmflowtd {
  border: none;
  background-color: transparent;
  width: 25%;
  padding: 20px;
  text-align: center;
  /* border: 1px solid #ddd; */
}

.abmflownode {
  display: block;
  padding: 2px;
  background-color: #3498db;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s;
}

.abmflownode:hover {
  background-color: #2980b9;
}

.abmflowcontent {
  display: none;
  padding: 15px;
  min-height: 6rem;
  margin-top: 20px;
  background: #ecf0f1;
  border-radius: 8px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 1s;
  box-sizing: border-box;
  @media screen and (max-width: 768px) {
    width: 100%;
  }
}

.abmflowcontent:target {
  display: block;
  margin-bottom: 10px;
}
.abmflowimg {
  width: 100%;
  height: auto;
  padding: 5px;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
  box-sizing: border-box;
  @media screen and (max-width: 768px) {
    padding: 0;
  }
}
.abmflowimg:hover {
  transform: scale(1.1);
}
.abm-flow-wrapper {
  display: grid;
  grid-template-columns: 60% 40%;
  max-width: 80%;
  gap: 16px;
  margin: 0 auto;
  @media screen and (max-width: 768px) {
    display: flex;
    flex-direction: column;
    max-height: 100vh;
    max-width: 100%;
  }
}
@keyframes slideInFromBottom {
  from {
    transform: translateY(50px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes slideInFromTop {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

.abm-nav-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  height: 130px;
}
.abm-nav-link {
  max-width: 130px;
  min-width: 50px;
  margin: 5px;
  padding: 5px;
  border-radius: 100%;
  background-color: #1f1b32;
  color: white;
  text-align: center;
  align-content: center;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  flex: 1 1 calc(20% - 1rem);
}
.abm-nav-link:active {
  background-color: #ba65f1;
}

.abm-nav-link-text {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  align-self: center;
  text-decoration: none;
  color: white;
}
.abm-nav-link:hover {
  transform: scale(1.1);
}

.ic-DashboardCard__header_hero {
opacity: 0.1;
}

/* Common click-swap text behaviour */
.abm-click-swap-text {
  position: relative;
  display: block;
  width: 100%;
  min-height: 150px;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  padding: 1rem;
  box-sizing: border-box;
}

.abm-click-swap-text .base-text,
.abm-click-swap-text .reveal-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity .35s ease-in-out;
}

.abm-click-swap-text .base-text { opacity: 1; }
.abm-click-swap-text .reveal-text { opacity: 0; }

.abm-click-swap-text:focus .base-text,
.abm-click-swap-text:active .base-text { opacity: 0; }

.abm-click-swap-text:focus .reveal-text,
.abm-click-swap-text:active .reveal-text { opacity: 1; }

/* 2Ã—2 grid by default */
.abm-click-text-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* switch to 1Ã—4 below 500px */
@media (max-width: 500px) {
  .abm-click-text-grid {
    grid-template-columns: 1fr;
  }
}
/* Don't center/cap the Canvas LTI wrapper */
.ic-Layout-contentMain > .tool_content_wrapper {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
}

/* Make the iframe fill and have sensible height */
.tool_content_wrapper > iframe {
  display: block;
  width: 100% !important;
  height: auto !important;   /* allow Canvas to resize it */
  min-height: 70vh;          /* avoids tiny scroll box */
}

