.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
   ============================================================ */

/* Remove default nav shadow */
.totaraNav {
    box-shadow: unset;
}

/* Increase logo size */
.totaraNav_prim {
    padding: 20px;
    margin-top: -20px !important;
}
.totaraNav_prim .masthead_logo--header_img {
    height: 100px;
    padding: 15px;
}

/* 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;
}


/* ============================================================
   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: 250px;
}

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

/* Main footer region */
#cls-footer-2 {
    width: 100%;
    padding-top: 50px;
}
#cls-footer-2 .footnote {
    text-align: left;
    font-size: 11px;
    line-height: 1.8em;
}

/* Footer content layout */
#cls-footer-2 .text_to_html {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 0px 50px;
}

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


/* ============================================================
   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;
}

css/* 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;
}

.modified {
    display: none !important;
}
