/* Fix Hero Banners */
.AL_Custom_NavBg {
    background-color: rgb(21,61,89) !important;
}

.academy-content-banner-wrapper {
  margin: 60px auto !important;
}
.academy-banner-content {
  max-width: 768px;
}

/* Download Attachments */
.task-previewer-file-header::before{
  content: "Download ";
}
.task-previewer-file-header {
    font-weight: bold;
}

/* Max-width to iframes */
[id^="ExternalTraining"] div:has(> div > iframe){
   max-width: 720px;
   position: relative;
   box-shadow: 0 2px 4px 2px rgba(0, 0, 0, 0.07);
}

/* Links and iframes on top */
iframe, a {
   position: relative;
   z-index: 99;
}

/* Fix My Trainings Badge */
.CountingBadgeWrapper-sc-831698d4-0 {
color: white !important;
}

/* Add Warning to Incorrect Hot Spots */
.task-object-hot-spot-test:has(h2):has(svg[aria-label='Incorrect'])::after {
    content: 'Incorrect. \A\A Please click "Retake Questions" below to try again.';
    position: relative;
    display: block;
    margin-top: 20px;
    color: red;
    font-weight: bold;
    white-space: pre-wrap;
}
.wr-modals-alert--text::after {
    content: '\A TIP: Click and drag the existing Hot Spot "target" marker.';
    display: block;
}

/* Remove "Expand Image" button from HotSpot */
.hot-spot-photo + button {
    display: none;
}