.tui-formRow{margin-bottom:1.5rem}.tui-formField{padding-top:1.5rem}.tui-themeSettings__content{margin-top:var(--gap-8)}.tui-themeSettings__forms>*+*{margin-top:var(--gap-8)}.tui-themeTenants__content{margin-top:var(--gap-8)}.tui-themeTenants__section+.tui-themeTenants__section{margin-top:var(--gap-12)}.tui-themeTenants__section>*+*{margin-top:var(--gap-4)}:root{--nav-bg-color: #ffffff;--nav-text-color: #1e365c;--color-primary: #ff6b5a;--btn-prim-accent-color: #018094;--btn-accent-color: #1e365c;--link-color: #3763A9;--color-state: #018094;--color-text: #1e365c;--footer-bg-color: #ffffff;--footer-text-color: #262626;--btn-prim-accent-color-focus: #00768a;--btn-prim-accent-color-active: #006579;--btn-accent-color-focus: #142c52;--btn-accent-color-active: #031b41;--link-color-hover: #2d599f;--color-state-hover: #00768a;--color-state-focus: #00768a;--color-state-active: #006579;--footer-text-color-hover: #1c1c1c;}
/* ============================================================
   CHARTWELL LEARNING – TOTARA LMS CUSTOM CSS
   ============================================================ */


/* ============================================================
   GLOBAL
   ============================================================ */

body {
    color: #1e365c;
    font-size: 16px !important;
}

h1 { font-size: 36px !important; }
h2 { font-size: 28px !important; }
h3 { font-size: 22px !important; }
h4 { font-size: 18px !important; }

.breadcrumb-nav .breadcrumb li,
.breadcrumb-nav .breadcrumb li a {
    font-size: 14px !important;
}


/* ============================================================
   MAIN NAVIGATION BAR – matches www.chartwell-learning.com
   ============================================================ */

/* Remove default nav border and shadow */
.totaraNav {
    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* Header bar: same fixed height (124px, 94px on phones) and width rules as the website */
.totaraNav_prim {
    padding: 0 !important;
    margin-top: -20px !important;   /* cancels the gap Totara leaves above the bar */
}
.totaraNav_prim > .container-fluid {
    width: min(100% - 2 * clamp(16px, 2.5vw, 30px), max(90%, 1140px));
    max-width: 1800px;
    margin: 0 auto;
    padding: 0;
    height: 124px;
    display: flex;
    align-items: center;
}
@media (max-width: 1200px) {
    .totaraNav_prim > .container-fluid { width: 90%; }
}

/* Centre the logo vertically (Totara stretches its wrapper to full height,
   which pins the logo to the top once the menu is showing) */
.totaraNav_prim .masthead_logo {
    height: auto !important;
    margin: auto 0 !important;
    align-self: center;
}
.totaraNav_prim .masthead_logo--header {
    margin-left: 0 !important;
}

/* Hamburger on the right (after the icons), logo first on the left, like the website */
.totaraNav_prim .masthead_logo      { order: 1; }
.totaraNav_prim--list               { order: 2; }
.totaraNav_prim--side               { order: 3; margin-left: auto; }
.totaraNav_prim--toggleNav          { order: 4; margin-left: 16px; }

/* Profile picture: centre it with the other icons (Totara pins it to the top) */
.totaraNav_prim--side .usermenu {
    height: auto !important;
    display: flex;
    align-items: center;
}
.totaraNav_prim--side .usermenu .moodle-actionmenu li {
    vertical-align: middle;
}

/* Mobile menu: slide in from the right, next to the hamburger */
@media (max-width: 991px) {
    .totaraNav_prim--list {
        left: auto !important;
        right: -100%;
    }
    .totaraNav_prim--list_showMobile {
        right: 0;
    }
    /* Close (X) button on the right, in white so it shows on teal */
    .totaraNav_prim--list_item_close {
        justify-content: flex-end;
    }
    .totaraNav_prim--list_close,
    .totaraNav_prim--list_close:hover,
    .totaraNav_prim--list_close:focus {
        color: #fff !important;
        background: transparent !important;
    }
}

/* Keep the logo, icons, profile and hamburger on one line on phones
   (Totara lets them wrap, which pushed the icons below the bar) */
.totaraNav_prim > .container-fluid {
    flex-wrap: nowrap !important;
}
@media (max-width: 767px) {
    .totaraNav_prim > .container-fluid { width: 92%; }
    .totaraNav_prim .masthead_logo { flex: 0 1 auto !important; min-width: 0; }
    .totaraNav_prim--side { flex-shrink: 0; padding-left: 8px !important; }
    .totaraNav_prim--side .popover-region { margin: 0 !important; }
    .totaraNav_prim--toggleNav { margin-left: 8px !important; flex-shrink: 0; }
}

/* Logo: 260px wide on desktop and tablet, 200px on phones */
.totaraNav_prim .masthead_logo--header_img {
    width: 260px !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    padding: 0 !important;
}

/* Teal stripe under the header: 10px white + 20px teal + 10px white */
.totaraNav::after {
    content: "";
    display: block;
    height: 40px;
    box-sizing: border-box;
    background: #00aeb9;
    border-top: 10px solid #fff;
    border-bottom: 10px solid #fff;
}

@media (max-width: 767px) {
    .totaraNav_prim > .container-fluid {
        height: 94px;
    }
    .totaraNav_prim .masthead_logo--header_img {
        width: clamp(130px, 38vw, 200px) !important;   /* shrinks on narrow phones to make room for the icons */
    }
}

/* Fix text colour in dropdown menus */
.totaraNav .popover-region div,
.totaraNav .popover-region a,
.totaraNav .popover-region h2,
.totaraNav .popover-region .timestamp {
    color: #fff;
}

/* Fix icon colour in notification dropdown */
.totaraNav .notification-image img {
    filter: brightness(0) invert(1);
}

/* Hide notifications nav link */
.popover-region-notifications .nav-link {
    display: none;
}


/* ============================================================
   PAGE & HEADER BACKGROUNDS
   ============================================================ */

#page-content,
#page-header,
.breadcrumb-container .breadcrumb-nav {
    background-color: #fff !important;
}

#region-main {
    background-color: #fff;
    margin-top: 5px !important;
    padding: 5px;
}

#page.container-fluid {
    padding-left: 60px;
}
/* Phones: even spacing either side, lined up with the header logo */
@media (max-width: 767px) {
    #page.container-fluid {
        padding-left: 4%;
        padding-right: 4%;
    }
}


/* ============================================================
   COURSE PAGE – GENERAL
   ============================================================ */

.pagelayout-course #region-main {
    background-color: #fff;
    color: #1e365c;
}
.pagelayout-course #region-main h2 {
    background-color: #fff;
    color: #1e365c;
}

/* Activity item rows */
.pagelayout-course #region-main .section .content > div {
    background-color: #fff;
    color: #1e365c;
    border-radius: 0px;
    margin-bottom: 2px;
}
.pagelayout-course #region-main .section .content > div p {
    color: #1e365c;
}
.pagelayout-course .section li.activity {
    padding: 2px;
    background-color: #fff !important;
}

/* Paragraph colour inside activity list items */
li.activity p {
    color: #fff;
}


/* ============================================================
   COURSE PAGE – ACTIVITY BUTTONS
   ============================================================ */

/* Shared base styles for activity links and feedback button */
.pagelayout-course .activityinstance > a,
#page.container-fluid .complete-feedback > a {
    background-color: #fff;
    color: #1e365c;
    padding: 15px;
    border-radius: 0px;
    display: block;
    border: 1px solid #1e365c;
    margin-bottom: 10px;
}

/* Teal shadow on activity links */
.pagelayout-course .activityinstance > a {
    box-shadow: 10px 10px rgb(0, 174, 185);
}

/* Hover states */
.pagelayout-course .activityinstance > a:hover,
#page.container-fluid .complete-feedback > a:hover {
    text-decoration: none;
    background-color: #fff;
}
.pagelayout-course .activityinstance > a:hover {
    box-shadow: 3px 3px rgb(0, 174, 185);
}

/* Feedback completion button – coral shadow, larger text */
#page.container-fluid .complete-feedback > a {
    box-shadow: 10px 10px rgb(255, 107, 90);
    margin-top: 30px;
    max-width: 500px;
    font-size: 18px;
}
#page.container-fluid .complete-feedback > a:hover {
    box-shadow: 3px 3px rgb(255, 107, 90);
}


/* ============================================================
   CLS TOPIC FORMAT
   ============================================================ */

/* Section header text */
.cls-course-header h2 {
    color: #fff;
}

/* Remove background and border from SVG items */
.format-cls_topics #region-main .section .content .svg-item {
    background-color: #fff;
    border: 0px;
}

/* Donut chart colours */
.donut-percent {
    fill: #1e365c !important;
}
.donut-segment,
.donut-segment-2 {
    stroke: #ffbc42 !important;
}


/* ============================================================
   SIDEBAR BLOCKS
   ============================================================ */

/* Block box styling – navy border, amber shadow */
#block-region-side-pre .block,
#block-region-side-post .block,
#block-region-bottom {
    box-shadow: 10px 10px #ffbc42;
    border: 1px solid #1e365c;
    border-radius: 0px;
}

/* Side block right margin */
#block-region-side-pre .block,
#block-region-side-post .block {
    margin-right: 30px;
}

/* Bottom block width */
#block-region-bottom {
    width: 80%;
}

/* Coral shadow variant */
#block-region-side-pre .block.shadow-coral,
#block-region-side-post .block.shadow-coral {
    box-shadow: 10px 10px #ff6b5a;
}

/* Pale grey background variant */
.block.bg-pale-grey {
    background-color: #f4f4f9;
    padding: 30px;
}

/* Block title */
.block-title h2 {
    font-size: 22px !important;
    color: #1e365c !important;
}

/* Block summary padding */
.content .summary {
    padding: 10px;
}

/* Block header padding */
.header.block-header {
    padding: 20px;
}


/* ============================================================
   TOP BLOCK REGION – TEAL BORDER ACCENT
   ============================================================ */

#block-region-top {
    border-top: 6px solid #00aeb9;
    margin-bottom: 10px;
}


/* ============================================================
   CURRENT LEARNING TILES
   ============================================================ */

.block_current_learning-tile {
    border-top: 10px solid #00aeb9;
    border-radius: 0;
}

/* Hide tile image */
.block_current_learning-tile__image {
    display: none;
}

/* Normal weight title */
.block_current_learning-tile__link_title {
    font-weight: normal !important;
}


/* ============================================================
   FEATURED LINKS TILES
   ============================================================ */

/* Navy border, no radius */
.block-totara-featured-links-tile {
    border: 1px solid #1e365c;
    border-radius: 0 !important;
}

/* Remove radius from inner containers */
.block-totara-featured-links-content-container,
.block-totara-featured-links-content,
.block-totara-featured-links-content-top {
    border-radius: 0 !important;
}

/* Remove background gradient from link area */
.block-totara-featured-links-link {
    background: none !important;
    border-radius: 0 !important;
}

/* Remove pseudo-element overlays */
.block-totara-featured-links-layout .block-totara-featured-links-content::before,
.block-totara-featured-links-layout .block-totara-featured-links-content-top::before {
    display: none !important;
}

/* Pale grey semi-transparent content background */
.block-totara-featured-links-layout .block-totara-featured-links-content,
.block-totara-featured-links-layout .block-totara-featured-links-content-top {
    background-color: rgba(244, 244, 249, 0.8) !important;
}

/* Tile heading */
.block-totara-featured-links-content-top h3 {
    color: #1e365c !important;
    font-weight: normal !important;
}


/* ============================================================
   IFRAME EMBED
   ============================================================ */

/* Full-width iframe with no border or overflow */
#resourceobject {
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    display: block !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    overflow-x: hidden !important;
}

/* Chartwell embedded content iframes */
.chartwell-embed,
iframe[src*="chartwell-learning.com"] {
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    display: block !important;
    overflow-x: hidden !important;
}


/* ============================================================
   DASHBOARD TITLE BLOCK
   ============================================================ */

.dash-title p {
    font-size: 60px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .dash-title p {
        font-size: 32px;
        line-height: 1.3;
    }
}


/* ============================================================
   FOOTER
   ============================================================ */

.page-footer {
    position: relative;
    min-height: 200px;
}

/* Hide unused footer regions */
#cls-footer-1,
#cls-footer-3 {
    display: none;
}

/* Hide Totara 'powered by' credit */
.page-footer-poweredby {
    display: none;
}

/* Main footer region */
#cls-footer-2 {
    width: 100%;
    padding-top: 40px;
}
#cls-footer-2 .footnote {
    text-align: left;
}

/* Stop Totara's automatic line breaks adding stray gaps */
#cls-footer-2 .text_to_html > br,
.cl-footer br {
    display: none;
}

/* Base */
.cl-footer {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    padding: 0 50px 24px;
}
.cl-footer p {
    margin: 0;
}
.cl-footer a {
    color: #fff;
    border-bottom: 2px solid #00aeb9;
    padding-bottom: 2px;
}
.cl-footer a:hover,
.cl-footer a:focus {
    color: #fff;
    border-bottom-color: #fff;
}
.cl-footer a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* Remove Totara's default link underline in the footer */
.cl-footer a,
.cl-footer a:hover,
.cl-footer a:focus,
.cl-footer a span {
    text-decoration: none !important;
}

/* Logo (links to website) */
.cl-footer a.cl-footer-logo-link {
    display: inline-block;
    border-bottom: none;
    padding-bottom: 0;
}
.cl-footer-logo {
    display: block;
    width: 110px;
    height: auto;
    margin-bottom: 30px;
}

/* Contact details */
.cl-footer-label {
    font-size: 14px !important;
    font-weight: 700;
    margin-bottom: 4px !important;
}
.cl-footer-big {
    font-size: 16px !important;
    margin-bottom: 20px !important;
    overflow-wrap: anywhere;
}

/* LinkedIn icon + Follow button */
.cl-footer a.cl-footer-follow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-bottom: none;
    padding-bottom: 0;
}
.cl-footer-in {
    font-size: 18px !important;
    font-weight: 700;
    line-height: 1;
}
.cl-footer-follow-btn {
    font-size: 13px !important;
    border: 1px solid #fff;
    border-radius: 3px;
    padding: 5px 11px;
}
.cl-footer a.cl-footer-follow:hover .cl-footer-follow-btn,
.cl-footer a.cl-footer-follow:focus .cl-footer-follow-btn {
    background: #fff;
    color: #018094;
}

/* Bottom row: legal details left, privacy right */
.cl-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
}
.cl-footer-bottom p {
    font-size: 12px !important;
}
.cl-footer-legal {
    line-height: 1.7;
}
.cl-footer-legal span {
    display: block;
}
.cl-footer-bottom a {
    font-size: 13px !important;
    white-space: nowrap;
}

/* Mobile: stack everything */
@media (max-width: 768px) {
    .cl-footer {
        padding: 0 20px 24px;
    }
    .cl-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ============================================================
   LOGIN PAGE
   ============================================================ */

/* Transparent page background so theme background shows through */
#page-login-index #page,
#page-login-index #region-main {
    background-color: transparent;
}

/* Login box – white with navy border and teal shadow */
#page-login-index .loginbox {
    background-color: #fff;
    color: #1e365c;
    border-radius: 0px;
    border: 1px solid #1e365c;
    box-shadow: 10px 10px rgb(0, 174, 185);
}

/* All text inside login box */
#page-login-index .loginbox h2,
#page-login-index .loginbox a,
#page-login-index .loginbox div,
#page-login-index .loginbox label {
    color: #1e365c;
}

/* Decorative underline on 'Sign in' heading – swap coral for teal */
#page-login-index .loginbox h2::after {
    background-color: #00aeb9;
}

/* Input fields – white with thin amber border */
#page-login-index .loginbox input[type="text"],
#page-login-index .loginbox input[type="password"] {
    border: 1px solid #ffbc42;
    border-radius: 0px;
    color: #1e365c;
    background-color: #fff;
}

/* Sign in button – navy pill */
#page-login-index .loginbox .btn-primary {
    background-color: #1e365c;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 30px;
    box-shadow: none;
}

/* Sign in button hover – teal */
#page-login-index .loginbox .btn-primary:hover {
    background-color: #00aeb9;
    color: #fff;
    box-shadow: none;
}

/* Error message box – white background, navy text, amber border */
.loginbox .loginerrors {
    background-color: #fff;
    color: #1e365c;
    border: 1px solid #ffbc42;
    border-radius: 0px;
    padding: 10px;
}

/* ============================================================
   INSIGHTS BLOCK (DASHBOARD)
   ============================================================ */

/* In a side column: teal shadow, stretch to the column edge */
#block-region-side-pre .block.insightsblock,
#block-region-side-post .block.insightsblock {
    box-shadow: 10px 10px #00aeb9;
    margin-right: 10px;   /* just enough room for the shadow */
}

/* In the bottom region: line up with the blocks above, teal shadow */
#block-region-bottom:has(.insightsblock) {
    width: calc(100% - 50px) !important;   /* 12px left + 38px right */
    margin-left: 12px !important;
    margin-right: 38px !important;
    box-shadow: 10px 10px #00aeb9;
}

/* Let the frame use the whole block width */
.block.insightsblock .content {
    padding-left: 0;
    padding-right: 0;
}





.modified {
    display: none !important;
}

.cls-course-header {
    border-top: 4px solid #00aeb9;
}

hr.brand-divider {
  border: none;
  border-top: 2px solid #00aeb9;
  margin: 20px 0;
}
