/* Variables: */
:root {
    /* Base colour variables */
    --primary-colour: #e16558;
    --primary-colour-RGB: 225, 101, 88;
    --on-primary-colour: #fff;
    --on-primary-colour-RGB: 255, 255, 255;

    --secondary-colour: #2ea88c;
    --secondary-colour-RGB: 46, 168, 140;
    --on-secondary-colour: #fff;
    --on-secondary-colour-RGB: 255, 255, 255;

    --surface-colour: #fff;
    --surface-colour-RGB: 255, 255, 255;
    --on-surface-colour: rgba(0, 0, 0, .87);
    --on-surface-colour-RGB: 0, 0, 0;
    --on-surface-mid-colour: rgba(0, 0, 0, .54);

    --container-radius: 6px;
    --container-colour: #f5f7fa;

    --global-menu-colour: #e16558;
    --global-menu-colour-RGB: 225, 101, 88;
    --on-global-menu-colour: rgba(0, 0, 0, .87);
    --on-global-menu-colour-RGB: 0, 0, 0;

    --button-colour: #1890ff;
    --button-colour-RGB: 24, 144, 255;
    --on-button-colour: #fff;
    --on-button-colour-RGB: 255, 255, 255;
    --button-colour-disabled: #959595;
    --on-button-colour-disabled: #888888;
    --button-colour-disabled-light: #ececec;
    --button-colour-hover: var(--secondary-colour);
    --on-button-colour-hover: var(--on-secondary-colour);
    --button-colour-hover-variant: rgba(0, 0, 0, .06);
    --on-button-hover-variant: rgba(255, 255, 255, 0.2);
    --button-radius: 8px;
    --button-font: 14px;
    --button-font-weight: 500;
    --button-padding: 0 8px;
    --button-hover-scale: scale(100%);
    --button-hover-opacity: .15;
    --button-link-hover-opacity: .75;

    --input-colour: #1890ff;
    /*--input-colour: #1890ff !important;*/
    --input-colour-RGB: 24, 144, 255;
    --on-input-colour: #fff;
    --on-input-colour-RGB: 255, 255, 255;

    --link-colour: #1890ff;
    --hover-link-colour: #1890ff;
    --hover-bg-colour:  rgb(245, 245, 245);

    /* Font variables */
    --main-font-size: 14px;
    --main-font-family: 'Open Sans';

    /* Variables generated off base colours */
    --focus-on-primary: rgba(var(--on-primary-colour-RGB), .40);
    --hover-on-primary: rgba(var(--on-primary-colour-RGB), .06);
    --borderless-hover-on-primary: rgba(var(--on-primary-colour-RGB), .06);

    --focus-on-secondary: rgba(var(--on-secondary-colour-RGB), .40);
    --hover-on-secondary: rgba(var(--on-secondary-colour-RGB), .06);
    --borderless-hover-on-secondary: rgba(var(--on-secondary-colour-RGB), .06);

    --focus-on-surface: rgba(var(--input-colour-RGB), .68);
    --hover-on-surface: rgba(35, 35, 35, .06);
    --borderless-hover-on-surface: rgba(35, 35, 35, .06);

    --focus-on-global-menu: rgba(var(--on-global-menu-colour-RGB), .40);
    --hover-on-global-menu: rgba(var(--on-global-menu-colour-RGB), .06);
    --borderless-hover-global-menu: rgba(var(--on-global-menu-colour-RGB), .06);

    --focus-on-input: rgba(var(--on-input-colour-RGB), .48);
    --input-border-colour: rgba(0,0,0,0.44);
    --input-radius: 4px;
    --input-focus-size: 3px;
    --input-borderless-focus-size: 3px;

    --focus-primary: rgba(var(--primary-colour-RGB), 0.48);

    --dialog-title-bg-colour: var(--secondary-colour);
    --dialog-title-font-colour: var(--on-secondary-colour);

    /* Other variables */
    --border-colour: rgba(0, 0, 0, .12);
    --box-shadow-colour: rgba(0, 0, 0, .17);
    --table-header-colour: rgba(var(--secondary-colour-RGB), 0.1);
    --table-row-highlight-colour: rgba(var(--secondary-colour-RGB), 0.06);
    --table-border-darkened-colour: rgba(var(--secondary-colour-RGB), 0.4);
    --table-border-colour: rgba(var(--secondary-colour-RGB), 0.25);
    --divider-colour: rgba(0, 0, 0, .12);
    --light-fill: rgba(0, 0, 0, .04);
    --tooltip-background:rgba(0, 0, 0, 0.74);

    --correct-colour: #8BC34A;
    --incorrect-colour: #F44336;
    --marked-colour: lightBlue;
    --unmarked-colour: #C2C2C2;
    --incomplete-colour: rgba(0,0,0,.24);
    --complete-colour: #2196F3;
    --on-complete-colour: #fff;
    --selected-complete-colour: #B0E0E6;
    --success-colour: #52C41A;
    --success-bg-colour: #52C41A22;
    --warning-colour: #BA5B03;
    --warning-bg-colour: #FAAD1422;
    --error-colour: #F44336;
    --error-colour-RGB: 244, 67, 54;
    --error-bg-colour: #F4433622;
    --disabled-alpha: .38;
    --icon-colour: #1890ff;

    /* Calendar colours */
    --rbc-event-test-colour: #F57C00;
    --rbc-event-pathway-colour: #2196F3;
    --rbc-event-competition-colour: #8BC34A;

    /* Dimensional */
    --small-spacing-unit: 4px;
    --medium-spacing-unit: 6px;
    --spacing-unit: 8px;
    --large-spacing-unit: 16px;
    --extra-large-spacing-unit: 24px;
    --component-radius: 4px;
    --header-height: 40px;
    --page-header-height: 96px;
    --nav-compressed-width: 12px;
    --nav-ribbon-width: 68px;
    --nav-contextual-width: 256px;
    --nav-page-width: 200px;
    --menuCompressBtnWidth: 56px;
    --menuChevronBtnWidth: 40px;

    /* Animation */
    --easing: cubic-bezier(0.4, 0.0, 0.2, 1);
    --ani-small: 100ms;
    --ani-mid: 250ms;
    --ani-large: 300ms;
}

.ant {
    --ant-color-primary: var(--primary-colour);
    --ant-color-primary-active: var(--primary-colour);
    --ant-color-primary-hover: var(--primary-colour);
    --ant-color-primary-border: var(--focus-on-surface);
    --ant-color-link-active: var(--on-button-colour);
    --ant-button-primary-color: var(--on-button-colour);
    --ant-table-header-bg: var(--table-border-colour)!important;
    --ant-color-bg-spotlight: var(--tooltip-background);
    --ant-font-family: 'Open Sans';
}


.ant.ant-input-number-css-var {
    --ant-input-number-hover-border-color: var(--primary-colour);
    --ant-input-number-active-border-color: var(--primary-colour);
}
.ant.ant-radio-css-var {
    --ant-color-primary-hover: var(--secondary-colour);
}

.ant-radio-group {
    display: flex;
    text-align: center;
}
.ant-radio-group > * {
    flex: 1;
}
.ant-statistic-content-value, .ant-statistic-content-prefix {
    font-size: var(--main-font-size);
    font-family: var(--main-font-family);
    font-weight: 600;
}
.ch-expired .ant-statistic-content-value {
    color: var(--error-colour);
}
.ant-collapse-item-active .ant-collapse-header {
    color: var(--on-secondary-colour) !important;
    background-color:  var(--secondary-colour) !important;
}

.ant-collapse-item-active:last-of-type .ant-collapse-header {
    border-radius: 0 !important;
}

.ant-collapse-item-active:first-of-type .ant-collapse-header {
    border-radius: var(--ant-border-radius-lg) var(--ant-border-radius-lg) 0 0 !important;
}
.ant-list-item-meta-avatar svg {color:  var(--secondary-colour) !important;}

.ant-select-item-option.focused {
    outline: 2px solid var(--focus-on-surface);
    outline-offset: -2px;
}

.ant-select-item-option-selected.ant-select-item-option.focused {
    outline: var(--input-focus-size) solid white;
    outline-offset: -5px;
    border-radius: var(--input-radius);
}

/* Margin styles: */
.margin-l--xs, .margin-x--xs, .margin--xs {margin-left: calc(var(--spacing-unit) / 4);}
.margin-l--s, .margin-x--s, .margin--s {margin-left: calc(var(--spacing-unit) / 2);}
.margin-l--m, .margin-x--m, .margin--m {margin-left: var(--spacing-unit);}
.margin-l--l, .margin-x--l, .margin--l {margin-left: calc(var(--spacing-unit) * 2);}
.margin-l--xl, .margin-x--xl, .margin--xl {margin-left: calc(var(--spacing-unit) * 4);}
.margin-l--rm, .margin-x--rm, .margin--rm {margin-left: 0 !important;}

.margin-t--xs, .margin-y--xs, .margin--xs {margin-top: calc(var(--spacing-unit) / 4);}
.margin-t--s, .margin-y--s, .margin--s {margin-top: calc(var(--spacing-unit) / 2);}
.margin-t--m, .margin-y--m, .margin--m {margin-top: var(--spacing-unit);}
.margin-t--l, .margin-y--l, .margin--l {margin-top: calc(var(--spacing-unit) * 2);}
.margin-t--xl, .margin-y--xl, .margin--xl {margin-top: calc(var(--spacing-unit) * 4);}
.margin-t--rm, .margin-y--rm, .margin--rm {margin-top: 0 !important;}

.margin-r--xs, .margin-x--xs, .margin--xs {margin-right: calc(var(--spacing-unit) / 4);}
.margin-r--s, .margin-x--s, .margin--s {margin-right: calc(var(--spacing-unit) / 2);}
.margin-r--m, .margin-x--m, .margin--m {margin-right: var(--spacing-unit);}
.margin-r--l, .margin-x--l, .margin--l {margin-right: calc(var(--spacing-unit) * 2);}
.margin-r--xl, .margin-x--xl, .margin--xl {margin-right: calc(var(--spacing-unit) * 4);}
.margin-r--rm, .margin-x--rm, .margin--rm {margin-right: 0 !important;}

.margin-b--xs, .margin-y--xs, .margin--xs {margin-bottom: calc(var(--spacing-unit) / 4);}
.margin-b--s, .margin-y--s, .margin--s {margin-bottom: calc(var(--spacing-unit) / 2);}
.margin-b--m, .margin-y--m, .margin--m {margin-bottom: var(--spacing-unit);}
.margin-b--l, .margin-y--l, .margin--l {margin-bottom: calc(var(--spacing-unit) * 2);}
.margin-b--xl, .margin-y--xl, .margin--xl {margin-bottom: calc(var(--spacing-unit) * 4);}
.margin-b--rm, .margin-y--rm, .margin--rm {margin-bottom: 0 !important;}

/* Padding styles: */
.padding-l--xs, .padding-x--xs, .padding--xs {padding-left: calc(var(--spacing-unit) / 4);}
.padding-l--s, .padding-x--s, .padding--s {padding-left: calc(var(--spacing-unit) / 2);}
.padding-l--m, .padding-x--m, .padding--m {padding-left: var(--spacing-unit);}
.padding-l--l, .padding-x--l, .padding--l {padding-left: calc(var(--spacing-unit) * 2);}
.padding-l--xl, .padding-x--xl, .padding--xl {padding-left: calc(var(--spacing-unit) * 4);}
.padding-l--rm, .padding-x--rm, .padding--rm {padding-left: 0 !important;}

.padding-t--xs, .padding-y--xs, .padding--xs {padding-top: calc(var(--spacing-unit) / 4);}
.padding-t--s, .padding-y--s, .padding--s {padding-top: calc(var(--spacing-unit) / 2);}
.padding-t--m, .padding-y--m, .padding--m {padding-top: var(--spacing-unit);}
.padding-t--l, .padding-y--l, .padding--l {padding-top: calc(var(--spacing-unit) * 2);}
.padding-t--xl, .padding-y--xl, .padding--xl {padding-top: calc(var(--spacing-unit) * 4);}
.padding-t--rm, .padding-y--rm, .padding--rm {padding-top: 0 !important;}

.padding-r--xs, .padding-x--xs, .padding--xs {padding-right: calc(var(--spacing-unit) / 4);}
.padding-r--s, .padding-x--s, .padding--s {padding-right: calc(var(--spacing-unit) / 2);}
.padding-r--m, .padding-x--m, .padding--m {padding-right: var(--spacing-unit);}
.padding-r--l, .padding-x--l, .padding--l {padding-right: calc(var(--spacing-unit) * 2);}
.padding-r--xl, .padding-x--xl, .padding--xl {padding-right: calc(var(--spacing-unit) * 4);}
.padding-r--rm, .padding-x--rm, .padding--rm {padding-right: 0 !important;}

.padding-b--xs, .padding-y--xs, .padding--xs {padding-bottom: calc(var(--spacing-unit) / 4);}
.padding-b--s, .padding-y--s, .padding--s {padding-bottom: calc(var(--spacing-unit) / 2);}
.padding-b--m, .padding-y--m, .padding--m {padding-bottom: var(--spacing-unit);}
.padding-b--l, .padding-y--l, .padding--l {padding-bottom: calc(var(--spacing-unit) * 2);}
.padding-b--xl, .padding-y--xl, .padding--xl {padding-bottom: calc(var(--spacing-unit) * 4);}
.padding-b--rm, .padding-y--rm, .padding--rm {padding-bottom: 0 !important;}

/* Border styles */
.border-l--s, .border-x--s, .border--s {border-left: 1px solid var(--border-colour);}
.border-t--s, .border-y--s, .border--s {border-top: 1px solid var(--border-colour);}
.border-r--s, .border-x--s, .border--s {border-right: 1px solid var(--border-colour);}
.border-b--s, .border-y--s, .border--s {border-bottom: 1px solid var(--border-colour);}

.border-radius-component {border-radius: var(--component-radius);}

.noTransition * {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

@media print {
    body {overflow: visible !important;}
    .ch-base {position: relative !important;}
    #nav, #nav-r, .ch-title {display: none !important;}
}

/* Flex */
.flex {display: flex;}
.flexMax {display: flex; flex: 1;}
.flexColumn {display: flex; flex-direction: column;}
.flexRow {display: flex; flex-direction: row;}
.flexCentre {display: flex; justify-content: center;}
.flexSpaceAround {display: flex; justify-content: space-around;}
.flexSpaceBetween {display: flex; justify-content: space-between;}
.flexJustifyEnd {display: flex; justify-content: flex-end;}
.flexJustifyStart {display: flex; justify-content: flex-start;}
.flexAlignCentre {display: flex; align-items: center;}
.flexInline {display: inline-flex}
.flexAlignBaseline {display: flex; align-items: baseline;}
.flexAlignEnd {display: flex; align-items: flex-end;}
.flexAlignStart {display: flex; align-items: flex-start;}
.flexWrap {display: flex;flex-wrap: wrap}
.flexNoWrap {display: flex;flex-wrap: nowrap}
.flexWrapReverse {display: flex;flex-wrap: wrap-reverse}
.flex1 {flex:1}
.flex2 {flex:2}
.flex3 {flex:3}
.flex4 {flex:4}
.flex5 {flex:5}
.flex6 {flex:6}
.flex7 {flex:7}
.flex8 {flex:8}
.flex9 {flex:9}
.flex10 {flex:10}

.extraSmallGap {gap:2px}
.smallGap {gap: var(--small-spacing-unit)}
.mediumGap {gap: var(--spacing-unit)}
.largeGap {gap: var(--large-spacing-unit)}
.extraLargeGap {gap: var(--extra-large-spacing-unit)}

/* Floats */
.float-start { float: left !important; }
.float-end { float: right !important; }
.float-none { float: none !important; }
.clearfix:after {
    display: block;
    clear: both;
    content: "";
}
.ch-align-top {
    vertical-align: top;
}

/* Colours: */
.ch-surface-bg {background: var(--surface-colour) !important;}
.ch-container {padding: var(--large-spacing-unit); background-color: var(--container-colour);border-radius: var(--container-radius)}

/* Current style overrides: */
.reactNav .cont-nav {
    background-color: unset;
}
.reactNav .cont-nav .appBar-btn img {
    filter: invert(100%);
    opacity: .87;
}
.reactNav .cont-nav .appBar-btn img.demos-icon {
    filter: unset;
    opacity: 1;
}
.reactNav .cont-nav .gen-tab {
    color: var(--on-surface-colour);
    padding: 0 calc(var(--spacing-unit) * 2);
}
.reactNav .cont-nav .gen-tab.sel {
    border-color: var(--secondary-colour) !important;
    border-width: 2px;
    color: var(--on-surface-colour) !important;
}
.reactNav .cont-nav-blk:after {
    background-color: var(--surface-colour);
    border-bottom: 1px solid var(--border-colour);
    content: '';
    display: block;
    position: absolute;
    height: 56px;
    transform: translate(0, -100%);
    width: 100%;
}
.cont-nav-blk {
    position: sticky;
    top: 0;
}
.page {
    width: auto !important;
}

.page-bg-cover, .cont-head {
    display: none;
}

.reactNav .cont-body {
    background-color: var(--surface-colour);
    color: var(--on-surface-colour);
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-left: 48px;
}

.cont-body .lesson-content {
    padding: 8px 8px 8px 8px;
    min-height: unset;
}

.reactNav .ch-small-screen .cont-body {
    padding-left: 8px;
}

.cont-template-html .reactNav .cont-body .lesson-content {
    padding-left: 0px;
    padding-right: 0px;
}

.ch-dynamic-content {
    height: 100%;
}

.ch-lesson {
    width: 100%;
}

.ch-lesson-content {
    margin-top: var(--spacing-unit);
}

.ch-lesson-content-body {
    width: 100%;
}

.ch-widget {
    max-width: 700px;
}

.ch-content-blk-border {
    border:1px solid var(--border-colour);
}

.ui-tabs .ui-tabs-nav {
    padding: 0;
}
html .ui-tabs .ui-tabs-nav .ui-tabs-tab{
    margin: 0;
    padding: 0;
}
html .ui-tabs .ui-tabs-nav .ui-tabs-tab,
html .ui-tabs .ui-tabs-nav .ui-tabs-anchor,
.ntf .gen-sub-tab a {
    background: transparent !important;
    background-color: transparent !important;
    border: none;
    color: var(--on-surface-colour) !important;
    font-weight: normal;
}
html .ui-tabs-panel {
    border-top: 1px solid var(--border-colour) !important;
}
.ntf {
    border-bottom: 1px solid var(--border-colour) !important;
}
.gen-sub-tab a {
    background: var(--border-colour);
    color: var(--on-surface-colour);
}
.gen-sub-tab.sel a {
    background: var(--secondary-colour);
    color: var(--on-secondary-colour);
}
.ntf .gen-sub-tab a {
    background: transparent;
    color: var(--on-surface-colour);
}

/* Focus styles for main */
main {
    box-sizing: border-box;
}

main:focus-visible .ch-content-main {
    box-shadow: 0 0 0 4px var(--focus-on-surface) inset;
    -webkit-box-shadow: 0 0 0 4px var(--focus-on-surface) inset;
    -moz-box-shadow: 0 0 0 4px var(--focus-on-surface) inset;
}

/* Style resets: */
button, a {-webkit-tap-highlight-color: transparent;}

/* Core: */
html, body {
    background-color: var(--surface-colour);
    overflow-x: hidden;
    line-height: 1.43;
}
a {color: var(--link-colour); cursor: pointer}
a:not([disabled]):hover {text-decoration: underline;}
.ch-ribbon-header {
    display: none;
    position: relative;
    height: var(--header-height);
    z-index: 4;
}
.ch-base {
    display: grid;
    grid-template-columns: calc(var(--nav-ribbon-width) + var(--nav-page-width)) auto;
    transition: grid-template-columns var(--ani-mid) var(--easing) 0s;
    -webkit-transition: grid-template-columns var(--ani-mid) var(--easing) 0s;
    bottom: 0;
    left: 0;
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    top: 0;
}
.guideMode .ch-base {
    display: block;
}
.expiredUser .ch-base {
    grid-template-columns: var(--nav-ribbon-width) auto;
}
.ch-base.compressed {
    grid-template-columns: calc(var(--nav-ribbon-width) + var(--nav-ribbon-width)) auto;
}
#nav {
    position: relative;
    z-index: 10;
}
.ch-nav, .ch-content {
    position: relative;
    height: 100vh;
}
.ch-content {
    overflow: hidden;
    min-width: fit-content;
    width: 100%;
    flex-direction: column;
    flex: 1;
}
.ch-title {
    transform: translate(0, -100%);
    margin-bottom: calc(var(--page-header-height) * -1);
    position: absolute;
    width: 100%;
}
.ch-content-body {
    display: grid;
    grid-template-columns: auto calc(var(--nav-page-width));
    transition: grid-template-columns var(--ani-mid) var(--easing) 0s;
    -webkit-transition: grid-template-columns var(--ani-mid) var(--easing) 0s;
    position: relative;
    height: 100%;
    overflow: hidden;
}
.ch-content-body.ch-nav-r-closed {
    grid-template-columns: auto 0;
}
.ch-content-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: auto;
    height: 100%;
    width: 100%;
}
.ch-content-main {
    min-width: fit-content;
    width: 100%;
}
.ch-content-main-center {
    align-items: center;
}
.ch-content-main-center > * {
    width: 800px;
}
.ch-lesson-content-two-panel {
    position: relative;
    height: fit-content;
    width: 50%;
}

.content-loader {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    height: 100%;
}

.footer {
    border: none;
    position: relative;
    display: flex;
    min-height: 120px;
    z-index: 1;
}
.footer:after {
    background-color: var(--border-colour);
    display: block;
    content: '';
    height: 1px;
    position: absolute;
    top: 0;
    width: 100%;
}
.ch-nav-r {
    z-index: 4;
    transition: width var(--ani-mid) var(--easing) 0s;
    -webkit-transition: width var(--ani-mid) var(--easing) 0s;
    width: calc(var(--nav-page-width) + var(--menuCompressBtnWidth));
    position: relative;
    overflow: hidden;
    left: calc(var(--menuCompressBtnWidth) * -1);
    padding-left: var(--menuCompressBtnWidth);
    pointer-events: none;
}
.ch-nav-r-closed .ch-nav-r {
    width: 0;
}
.ch-nav-right {
    border-left: 1px solid;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.ch-nav-r-inner {
    height: 100%;
    overflow: auto;
    position: relative;
    width: var(--nav-page-width);
    pointer-events: auto;
}
/* Text: */
strong, .ch-text-b, .ch-text-bold {
    font-weight: 600;
}
.ch-text-small {
    font-size: 12px;
}
.ch-text-large {
    font-size: 18px;
}
.text-muted {
    color: var(--on-surface-mid-colour);
}
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ch-text-note {
    font-style: italic;
}
.align-right {
    display: flex;
    justify-content: right;
}
.MuiPaper-root {
    color: var(--on-surface-colour);
}

/* Header specific classes: */
.ch-header {
    background: var(--global-menu-colour);
    color: var(--on-global-menu-colour);
    fill: var(--on-global-menu-colour);
    position: fixed;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.ch-header .ch-header-title {
    color: var(--on-global-menu-colour);
    font-weight: 600;
}
.ch-page-header {
    border-bottom: 1px solid var(--border-colour);
    height: var(--page-header-height);
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.ch-page-header > div {
    display: flex;
    /*flex: 1;*/
    flex-direction: column;
    /*align-items: start;*/
    justify-content: center;
    height: 100%;
}
.ch-page-header-title {
    background-color: rgba(255, 255, 255, .92);
    color: rgba(0, 0, 0, .87);
    font-size: 12px;
    display: inline-flex;
    margin-left: calc(var(--spacing-unit) * 2);
    padding: calc(var(--spacing-unit) / 2) var(--spacing-unit);
}
.ch-page-header-title a.disabled {
    opacity: 0.25;
}

.ch-page-header-title a {
    color: inherit !important;
    text-decoration: none;
    user-select: none;
    position: relative;
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 25px;
    margin: 0 var(--small-spacing-unit);
}
.ch-page-header-title a:not(.disabled) {
    cursor: pointer;
}
.ch-page-header-title a:hover:not(.disabled) {
    background-color: rgba(255, 255, 255, .2);
    border-radius: 50%;
    text-decoration: none;
}
.ch-page-header-title a:focus-visible
{
    box-shadow: 0 0 0 var(--input-borderless-focus-size) rgba(var(--surface-colour-RGB), .80);
}
.ch-page-header-title-main {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}
.ch-page-header-title-concept {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
    font-weight: normal;
    margin: 0 0;
}
.ch-concept-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}
.ch-concept-info *:first-child {
    padding-right: 8px;
}
.ch-page-header-brand {
    display: flex;
    align-items: center;
    padding: 0 calc(var(--spacing-unit) * 2);
    margin-right: calc(var(--spacing-unit) * 4);
    flex-direction: column;
    justify-content: center;
}
/* Nav specific classes: */
.ch-nav-menuCompress {
    --menuCompressBtnIconDeg: 0deg;
    position: absolute;
    height: var(--menuCompressBtnWidth);
    width: var(--menuCompressBtnWidth);
    bottom: 0;
    right: 0;
    transform: translate(100%, 0);
    overflow: hidden;
    pointer-events: none;
    display: flex;
    align-items: center;
}
#nav-r .ch-nav-menuCompress {
    --menuCompressBtnIconDeg: 180deg;
    left: var(--menuCompressBtnWidth);
    transform: translate(-100%, 0) rotate(180deg);
}
.ch-nav-menuCompress-btn {
    background: var(--primary-colour);
    fill: var(--on-primary-colour);
    border: none;
    border-radius: 40px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    cursor: pointer;
    display: flex;
    height: 40px;
    outline: none;
    pointer-events: none;
    position: relative;
    transform: translate(-15px, 0);
    transition: all var(--ani-small) var(--easing);
    width: 40px;
    pointer-events: visible;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 1px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
}
.ch-nav-menuCompress-btn:hover {
    transform: translate(0, 0);
}
.ch-nav-menuCompress-btn:focus-visible {
    box-shadow: 0 0 0 var(--input-borderless-focus-size) var(--focus-on-surface);
}
.ch-nav-menuCompress-btn svg {
    transform: translate(6px, 0) rotate(calc(var(--menuCompressBtnIconDeg) + 0deg));
    transition: transform var(--ani-small) var(--easing);
}
.ch-nav-menuCompress-open .ch-nav-menuCompress-btn svg {
    transform: translate(6px, 0) rotate(calc(var(--menuCompressBtnIconDeg) + 180deg));
}
.ch-nav-menuCompress-btn:hover svg {
    transform: translate(0, 0) rotate(calc(var(--menuCompressBtnIconDeg) + 0deg));
}
.ch-nav-menuCompress-open .ch-nav-menuCompress-btn:hover svg {
    transform: translate(0, 0) rotate(calc(var(--menuCompressBtnIconDeg) + 180deg));
}

.ch-nav-pull-out {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ch-nav-pull-out-inner {
    background: var(--button-colour);
    fill: var(--on-button-colour);
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #fff;
    align-items: center;
    justify-content: center;
    display: flex;
    position: absolute;
    height: 24px;
    width: 24px;
}
.ch-nav-pull-out svg {
    padding-left: 1px;
    transition: transform var(--ani-small) var(--easing) 0ms;
    position: absolute;
}
.ch-nav-pull-out-l svg {
    transform: rotate(180deg);
}
.ch-nav a, .ch-nav-r a, .ch-nav a:hover, .ch-nav-r a:hover {
    text-decoration: none;
}
.ch-nav .ch-nav-pull-out {
    transform: translate(-50%, 62%);
    position: relative;
    margin-right: -40px; /* 100% of width */
    z-index: 3;
}
.ch-nav-r .ch-nav-pull-out {
    left: 0;
    transform: translate(-80%, 80%);
}
.ch-nav-r.ch-nav-r-open .ch-nav-pull-out {
    transform: translate(-60%, 80%);
}
.ch-nav-ssm.ch-nav-hide {
    transform: translateX(-101%);
}
.ch-nav-icon-btn {
    position: relative;
}
.ch-nav-columns {
    display: flex;
    height: 100%;
    flex-direction: row;
}
.ch-nav-column {
    display: flex;
    height: inherit;
    flex-direction: column;
}
.ch-nav-rail-column {
    width: var(--nav-ribbon-width);
    align-items: center;
}

.ch-nav-drawer-menu {
    width: var(--menuChevronBtnWidth);
    align-items: center;
}
.ch-nav-global {
    background: var(--global-menu-colour);
    fill: var(--on-global-menu-colour);
    padding-top: var(--spacing-unit);
    z-index: 4;
}
.ch-nav-global-top {align-items: center;}
.ch-nav-global-bottom {align-items: center;margin-bottom: var(--large-spacing-unit);}
.ch-nav-contextual {
    border-right: 1px solid;
    transform: translateX(0);
    z-index: 1;
}
.ch-nav-contextual .ch-button {
    color: var(--on-surface-colour);
    fill: var(--on-surface-colour);
}
.ch-nav-contextual-head {
    border-bottom: 1px solid var(--border-colour);
    display: flex;
    padding: var(--small-spacing-unit) var(--spacing-unit);
    position: relative;
    justify-content: center;
    align-items: center;
}
.ch-nav-contextual-head.ch-hide-border {
    border-bottom: none;
}
.compressed .ch-nav-contextual-head {
    height: 44px;
}
.ch-nav-contextual-body {
    height: 100%;
    flex: 1;
    flex-direction: column;
    overflow: hidden;
    overflow-y: auto;
}
.ch-page-navigation,
.ch-nav-shortcuts {
    height: max-content;
    /*overflow-y: auto;*/
    /*overflow-x: hidden;*/
    position: relative;
    display: block;
    padding: var(--spacing-unit) !important;
    transition: width var(--ani-mid) var(--easing) 0ms, padding var(--ani-mid) var(--easing) 0ms;
}

.compressed .ch-nav-shortcuts {
    width: var(--nav-ribbon-width);
}
.compressed .ch-nav-shortcuts {
    transform: translateX(calc(var(--spacing-unit) * -0.5));
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ch-nav-shortcuts-head {
    border-bottom: 1px solid var(--border-colour);
    padding: var(--spacing-unit);
    position: relative;
    display: flex;
    /*min-height: 50px;*/
    overflow: hidden;
}
.ch-nav-shortcuts-head-user {
    white-space: nowrap;
    overflow: hidden;
    max-width: 130px;
    font-weight: bold;
}
.ch-nav-shortcuts-head .loader {
    position: unset;
    margin: 0 3px;
}

.ch-list-header {font-weight: bold;}
.compressed .ch-nav-shortcuts .ch-list-item {
    width: 44px;
    height: 44px;
}
.ch-activity-navigation .ch-list-item {font-size: 12px;}
.ch-nav-shortcuts .ch-list-item,
.ch-nav-shortcuts .ch-list-item-icon,
.ch-nav-shortcuts .ch-list-item .ch-icon-sm {
    transition: transform var(--ani-mid) var(--easing) 0ms, height var(--ani-mid) var(--easing) 0ms, width var(--ani-mid) var(--easing) 0ms;
}
.compressed .ch-nav-shortcuts .ch-list-item .ch-icon-sm {
    border-radius: 50%;
}

.compressed .ch-nav-shortcuts .ch-list-item.ch-list-item-active {
    background-color: var(--input-colour);
    border-radius: 50%;
}

.compressed .ch-list-item a {
    padding: 0 0 0 2px;
}

.compressed .ch-nav-shortcuts .ch-list-item a:hover {
    background-color: transparent !important;
}
.compressed .ch-nav-shortcuts .ch-list-item a:focus-visible {
    box-shadow: none !important;
}
.compressed .ch-nav-shortcuts a:hover .ch-icon-sm {
    background-color: var(--borderless-hover-on-surface);
}

.compressed .ch-series-select-icon .ch-menu-icon, .compressed .ch-admin-school-icon .ch-menu-icon {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}
.compressed .ch-series-select-icon:hover .ch-menu-icon, .ch-admin-school-icon:hover .ch-menu-icon {
    background-color: var(--borderless-hover-on-surface);
}
.compressed .ch-series-select:hover, .compressed .ch-admin-school:hover {
    background-color: transparent !important;
}
.compressed .ch-nav-shortcuts a:focus-visible .ch-icon-sm {
    outline: var(--input-borderless-focus-size) solid var(--focus-on-surface);
    outline-offset: 4px;
}
.ch-icon-sm, .ch-icon-small  {
    width: 32px;
    height: 32px;
}
.ch-icon-medium {
    width: 48px;
    height: 48px;
}
.ch-icon-large {
    width: 64px;
    height: 64px;
}
.ch-nav-contextual {
    width: var(--nav-page-width);
    transition: width var(--ani-mid) var(--easing) 0ms, padding var(--ani-mid) var(--easing) 0ms;
}
.compressed .ch-nav-contextual {
    width: var(--nav-ribbon-width);
    overflow: hidden;
    padding: 0 !important;
}
/*.ch-page-navigation {*/
/*    overflow: unset;*/
/*    width: var(--nav-page-width);*/
/*}*/
/*.compressed .ch-page-navigation, .compressed .ch-menu-block {*/
/*    width: 0;*/
/*    overflow: hidden;*/
/*    padding: 0 !important;*/
/*}*/
.ch-nav-contextual .ch-list-group {
    background-color: rgba(0, 0, 0, 0.04);
    border-radius: var(--component-radius);
}
.ch-nav-contextual .ch-list-group-indicator {
    margin-right: var(--small-spacing-unit);
}
.ch-nav-contextual .ch-sub-list {
    padding: 0 var(--spacing-unit) var(--spacing-unit);
}
.ch-nav-contextual .ch-sub-list .ch-list-item:last-child {
    margin-bottom: 0;
}
.ch-page-navigation .ch-list-group {
    /*width: calc(var(--nav-page-width) - (var(--spacing-unit) * 2));*/
}
.ch-page-navigation .ch-list-group .ch-list-group {
    width: 100%;
}
.ch-page-navigation .ch-list-group .ch-list-group .ch-list-group-head {
    font-weight: 600;
    font-size: 12px;
}
.ch-nav-contextual, .ch-nav-right {
    background-color: #f8f8f8;
    color: var(--on-surface-colour);
    fill: var(--on-surface-colour);
    border-color: var(--border-colour);
}
.ch-nav-menu {
    left: 44px;
    top: 0;
    display: none;
    position: absolute;
    min-width: 200px;
}
.ch-nav-menu-inner,
.ch-menuWidget {
    border-radius: var(--component-radius);
    padding: var(--spacing-unit);
    position: relative;
    overflow-y: auto;
    box-shadow: 0 16px 32px 0 rgba(0, 0, 0, .08), 0 4px 16px 0 rgba(0, 0, 0, .24);
    border: 1px solid var(--border-colour);
}
.ch-nav-menu-arrow {
    position: absolute;
    height: 32px;
    width: 9px;
    top: 0;
    left: 1px;
    transform: translate(-100%, 0%);
    overflow: hidden;
}
.ch-nav-arrow-inner {
    width: 14px;
    height: 14px;
    transform: rotate(45deg) translate(-50%, -50%);
    border-radius: 0 0 0 2px;
    margin: 3px 0 0 3px;
    position: relative;
    top: 50%;
    left: 0;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .24);
    border: 1px solid var(--border-colour);
}
.ch-nav-menu-inner,
.ch-nav-arrow-inner,
.ch-menuWidget {
    background-color: var(--surface-colour);
    color: var(--on-surface-colour);
    fill: var(--on-surface-colour);
}
.ch-nav-menu-visible {
    display: block;
    z-index: 1;
}
.ch-nav-drawer {
    z-index: 3;
    opacity: 0;
    visibility: hidden;
}
.ch-nav-drawer-visible {
    visibility: visible;
    opacity: 1;
    transition: opacity var(--ani-mid) var(--easing) 0s;
}
.ch-nav-drawer-inner {
    position: absolute;
    left: 68px;
    max-width: 100vw;
}
.ch-series-drawer {
    position: relative;
    visibility: hidden;
    width: 0;
}
.ch-series-drawer-visible {
    visibility: visible;
}
.ch-series-drawer-hidden input {
    display: none;
}
.ch-series-drawer-content {
    border-right: 1px solid var(--border-colour);
    display: flex;
    flex-direction: column;
    position: absolute;
    height: 100%;
    width: 800px;
}
.ch-nav-drawer-inner, .ch-series-drawer, .ch-series-drawer-content {
    background: var(--surface-colour);
    display: flex;
    color: var(--on-surface-colour);
    fill: var(--on-surface-colour);
    transform: translateX(-101%);
    transition: transform var(--ani-mid) var(--easing) 0s;
}
.ch-nav-drawer-visible .ch-nav-drawer-inner, .ch-series-drawer-visible .ch-series-drawer-content {
    transform: translateX(0);
    margin-left: 0;
}

.ch-series-drawer-visible .ch-nav-column {
    visibility: visible;
    background-color: var(--surface-colour);
}

.ch-nav-drawer-content {
    flex: 1 1 0;
    max-width: 840px;
    overflow: auto;
}
.ch-nav-drawer-content-large {
    flex: 1 1 0;
    max-width: 720px;
}
.ch-nav-drawer-blk {
    padding: 12px 0;
}
.ch-nav-contextual-head .ch-series-select {
    background-color: transparent;
    color: var(--on-surface-colour);
    fill: var(--on-surface-colour);
    border: none;
    border-radius: var(--input-radius);
    padding: var(--spacing-unit) calc(var(--spacing-unit) + 24px) var(--spacing-unit) var(--spacing-unit);
    position: relative;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5rem;
    display: flex;
    width: 100%;
}
.ch-series-select-title {
    width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 3px 0 0px;
    /*white-space: nowrap;*/
}
.ch-admin-school {
    background-color: transparent;
    color: var(--on-surface-colour);
    fill: var(--on-surface-colour);
    border: none;
    border-radius: var(--input-radius);
    position: relative;
    font-weight: 600;
    line-height: 1.5rem;
    display: flex;
    width: 100%;
    justify-content: center;
}
.ch-admin-school-title {
    max-width: 154px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 18px 0 0;
    white-space: nowrap;
}
.ch-no-school .ch-admin-school-title {
    margin: 0;
}
.ch-series-select-icon, .ch-admin-school-icon {
    display: flex;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
}
.ch-admin-school-icon .ch-menu-icon {
    border-radius: 50%;
    cursor: pointer;
}
.compressed .ch-series-select-icon {
    right: 18px;
}
.compressed .ch-admin-school-icon {
    right: 12px;
}
.ch-series-select-icon.pull-out-l svg {
    transform: rotate(180deg);
}
.ch-series-menu-body {
    flex: 1;
    position: relative;
}
.ch-series-menu-body > div {
    display: flex;
    flex-basis: 1px;
    flex-grow: inherit;
    overflow: hidden;
}
.ch-series-nav-head, .ch-series-menu-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.ch-series-menu-topics-concepts {
    display: flex;
    height: 100%;
    flex-direction: row;
    overflow: hidden;
}

.ch-series-menu-group {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ch-series-menu-show-all {
    padding: 3px 3px;
    margin: 6px 6px;
    border-bottom: 1px solid var(--border-colour);
}

.ch-series-menu-topics {
    border-right: 1px solid var(--border-colour);
}
.ch-series-menu-topics, .ch-series-menu-concepts {
    height: 100%;
    width: 50%;
    display: flex;
    flex-direction: column;
    overflow: auto;
    padding: 3px var(--spacing-unit);
}
.ch-content-main .ch-series-menu-topics {
    padding: 0 var(--spacing-unit) 0 0;
}
.ch-content-main .ch-series-menu-concepts {
    padding: 0 0 0 var(--spacing-unit);
}
.ch-series-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ch-admin-cms-switch {
    border-bottom: 1px solid var(--border-colour);
}

/* Reusable classes: */
.ch-table-minCell {
    position: relative;
    width: 1px;
}
.ch-table-noWrap {
    white-space: nowrap;
}
.ch-dataTable .ant-table table {
    border: 1px solid var(--border-colour);
    border-radius: var(--component-radius);
    overflow: hidden;
    table-layout: fixed;
    width: 100%;
}
.ch-dataTable-error .ant-table table {
    border-color: var(--error-colour);
}
.ch-dataTable .ant-table td {
    flex: 1;
}
.ch-dataTable .ant-table .ant-table-thead th,
.ch-dataTable .ant-table .ant-table-row td {
    padding: var(--spacing-unit);
}
.ch-dataTable .ant-table-thead th {
    background: rgba(var(--border-colour), .2)
}
.ch-dataTable .ant-table .ant-table-thead > tr > th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {
    background-color: var(--border-colour);
}
.ch-dataTable-error .ant-table .ant-table-thead > tr > th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {
    background-color: rgba(var(--error-colour-RGB), .2);
}
.ch-dataTable .ant-table .ant-table-thead > tr > th {
    border-color: rgba(0,0,0,.04);
}
.ch-dataTable-error .ant-table .ant-table-thead > tr > th {
    border-color: rgba(var(--error-colour-RGB), .2);
}
.ch-dataTable .ant-table .ant-table-thead > tr:first-child > *:first-child {
    border-start-start-radius: var(--component-radius);
}
.ch-dataTable .ant-table .ant-table-thead > tr:first-child > *:last-child {
    border-start-end-radius: var(--component-radius);
}
.ch-dataTable .ant-table .ant-table-tbody > tr:last-child > *:first-child {
    border-end-start-radius: var(--component-radius);
}
.ch-dataTable .ant-table .ant-table-tbody > tr:last-child > *:last-child {
    border-end-end-radius: var(--component-radius);
}
.ch-dataTable .ant-table .ant-table-thead th {
    background: rgba(var(--secondary-colour-RGB), .2);
}
.ch-dataTable-error .ant-table .ant-table-thead th {
    background: rgba(var(--error-colour-RGB), .2);
}
.ch-dataTable .ant-table .ant-table-tbody tr td {
    border-color: rgba(0,0,0,.04);
}
.ch-dataTable-error .ant-table .ant-table-tbody tr td {
    border-color: rgba(var(--error-colour-RGB), .04);
}
.ch-dataTable .ant-table-row:last-child td,
.ch-dataTable .ant-table-placeholder:last-child td {
    border-bottom: none;
}
.ch-dataTable .ant-table-row:hover td {
    background: transparent !important;
}
.ch-dataTable .ant-table-footer {
    background: rgba(0,0,0,0.02);
    border-top: 1px solid var(--border-colour);
}
.ch-dataTable .ch-dataTable-highlight {
    background: var(--primary-colour);
    color: var(--on-primary-colour);
}
.ch-upload {
    display: flex;
}
.ch-upload .ant-upload-list {
    width: fit-content;
}

.ch-sticky {
    background-color: var(--surface-colour);
    border-bottom: 1px solid var(--border-colour);
    position: sticky;
    top: 0;
    transition: box-shadow 0.2s ease-in-out;
    z-index: 1;
}
.ch-sticky-bottom {
    border-top: 1px solid var(--border-colour);
    border-bottom: unset;
    top: unset;
    bottom: 0;
}

.ch-alert-success {
    background: var(--success-bg-colour);
    border-color: var(--success-colour);
}
.ch-alert-success .anticon {
    color: var(--success-colour);
}
.ch-alert-warning {
    background: var(--warning-bg-colour);
    border-color: var(--warning-colour);
}
.ch-alert-warning .anticon {
    color: var(--warning-colour);
}
.ch-alert-error {
    background: var(--error-bg-colour);
    border-color: var(--error-colour);
}
.ch-alert-error .anticon {
    color: var(--error-colour);
}
[class*="ch-alert-"] .ant .anticon {
    color: unset;
}
.ch-alert-success-fade {
    background-color: var(--success-bg-colour);
    animation: fadeOut 1.5s forwards;
}
@keyframes fadeOut {
    from {
        background-color: var(--success-bg-colour);
    }
    to {
        background-color: transparent;
    }
}

.custom-pagination {
    margin: var(--spacing-unit) !important;
}
.custom-pagination li {
    border: none;
    margin: 0;
}
.ch-page-button {
    background: transparent;
    border: none;
    outline: none;
    height: 32px;
    min-width: 32px;
}

/* -- Form items: */
.ch-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-unit);
    margin-bottom: var(--spacing-unit);
}

.ch-form-large {
    gap: calc(var(--medium-spacing-unit) * 2);
}
.ch-form-large .ant-row {
    gap: calc(var(--medium-spacing-unit) * 3);
}
/* -- End form items */

.material-font {
    font-family: 'Material Icons Round';
}
.ch-textField,
.ch-select,
.ch-checkbox-wrapper,
.ch-radio-wrapper {
    margin-bottom: calc(var(--spacing-unit) * 1);
}
.ch-textField:last-child,
.ch-select:last-child,
.ch-checkbox-wrapper:last-child,
.ch-radio-wrapper:last-child {
    margin-bottom: 0;
}
.ch-helper-text {
    font-weight: 400;
}
.ch-helper-text-error {
    color: var(--error-colour);
}

.ch-radioGroup,
.ch-checkboxGroup {
    display: flex;
    flex-direction: column;
}
.ch-radioGroup-hoz,
.ch-checkboxGroup-hoz {
    align-items: baseline;
    flex-direction: row;
}
.ch-checkbox-wrapper,
.ch-radio-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    width: fit-content;
}
.ch-radioGroup-hoz .ch-check-radio-wrapper,
.ch-checkboxGroup-hoz .ch-check-radio-wrapper {
    margin-bottom: 0;
}
.ch-checkbox,
.ch-radio {
    box-shadow: 0 0 0 0 transparent;
    transition: box-shadow var(--ani-small) var(--easing) 0ms;
    position: relative;
}
.ch-checkbox-inner,
.ch-radio-inner {
    display: flex;
    position: relative;
    width: 18px;
    height: 18px;
}
.ch-checkbox {
    border-radius: var(--input-radius);
}
.ch-checkbox-inner {
    background-color: transparent;
    border: 1px solid var(--input-border-colour);
    border-radius: inherit;
}
input:focus+.ch-checkbox .ch-checkbox-inner {
    border-color: var(--input-colour);
}
input:checked+.ch-checkbox .ch-checkbox-inner {
    background-color: var(--input-colour);
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16'><path fill='rgb(255,255,255)' d='M12 5c-.28 0-.53.11-.71.29L7 9.59l-2.29-2.3a1.003 1.003 0 00-1.42 1.42l3 3c.18.18.43.29.71.29s.53-.11.71-.29l5-5A1.003 1.003 0 0012 5z'/></svg>");
    border-color: var(--input-colour);
}
.ch-radio {
    border-radius: 50%;
}
.ch-radio-inner {
    box-shadow: 0 0 0 1px var(--input-border-colour) inset;
    border-radius: inherit;
    transition: border-color var(--ani-small) var(--easing) 0ms, box-shadow var(--ani-small) var(--easing) 0ms;
}
input:focus+.ch-radio .ch-radio-inner {
    box-shadow: 0 0 0 1px var(--input-colour) inset;
}
input:checked+.ch-radio .ch-radio-inner {
    box-shadow: 0 0 0 5px var(--input-colour) inset;
}
.ch-check-radio-wrapper input[type=radio],
.ch-check-radio-wrapper input[type=checkbox] {
    position: absolute;
    line-height: unset;
    inset: 0;
    margin: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
span.ch-checkbox+*,
span.ch-radio+* {
    padding-right: var(--spacing-unit);
    padding-left: var(--spacing-unit);
}


.ch-textField .ch-textField__input,
.ch-textarea,
.ch-select .ch-select__control {
    background: #fff;
    border: 1px solid var(--input-border-colour);
    border-radius: var(--input-radius);
    transition: box-shadow var(--ani-small) var(--easing) 0ms;
    min-height: 38px;
    display: flex;
    align-items: center;
    outline: none;
}
.ch-textField .ch-textField__input:focus,
.ch-textarea:focus,
.ch-select .ch-select__control.ch-select__control--is-focused {
    border-color: var(--input-colour);
}
.ch-select-borderless .ch-select__control,
.ch-select-borderless .ch-select__control--is-focused {
    border: none;
}
.ch-select .ch-select__single-value,
.ch-select .ch-select__input {
    color: inherit;
}
.ch-select__menu-portal {
    z-index: 1301;
}
.ch-select .ch-select__menu-list {
    border-color: var(--input-border-colour);
    border-radius: var(--input-radius);
    color: inherit;
    padding: 8px 0;
}
.ch-select .ch-select__option--is-focused {
    background-color: var(--borderless-hover-on-surface);
}
.ch-select .ch-select__option--is-selected {
    background-color: var(--input-colour);
    color: var(--on-input-colour);
    fill: var(--on-input-colour);
}
.ch-select .ch-select__indicator-separator {
    display: none;
}
.ch-select-indicator {
    display: flex;
    padding: 8px;
    box-sizing: border-box;
}
.ch-select-indicator svg {
    transition: transform var(--ani-small) var(--easing) 0ms;
}
.ch-select__control--menu-is-open .ch-select-indicator svg {
    transform: rotate(180deg);
}
.ch-textField .ch-textField__input {
    color: inherit;
    font-size: 16px;
    outline: none;
    padding: 2px 8px;
    margin: 0;
    width: inherit;
}
.ch-textarea {
    display: flex;
    padding: var(--spacing-unit);
    resize: none;
    width: 100%;
}
.ch-button-select {
    position: relative;
    display: flex;
}

.ch-button-select .ch-button {
    justify-items: flex-start;
    padding-right: 12px;
}
.ch-button-select .ch-btn-text {
    color: var(--on-surface-colour);
    fill: var(--on-surface-colour);
    font-weight: initial;
}
.ch-button-select .ch-btn-text:hover {
    background: transparent;
}

.ch-btn-text-underline{
    text-decoration: underline;
}

.ch-button-select-menu {
    bottom: 0;
    height: 0;
    position: absolute !important;
    width: 100%;
    z-index: 2;
    white-space: nowrap;
}
.ch-button-select-menu div {
    cursor: pointer;
}
.ch-button-select.ch-button-select-right {
    justify-content: flex-end;
}
.ch-button-select span {
    transition: transform var(--ani-small) var(--easing) 0ms;
    left: 8px;
    position: relative;
}
.ch-button-select .is-open span {
    transform: rotate(180deg);
}

.ch-button-select.ch-button-select-right .ch-borderless-select {
    justify-content: flex-end;
}
.ch-borderless-select .ch-borderless-select__control {
    height: 0;
    min-height: 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
    position: absolute;
}
.ch-switch .Mui-checked .MuiSwitch-thumb {
    background: var(--input-colour);
}
.ch-switch .Mui-checked+ .MuiSwitch-track {
    background-color: var(--input-border-colour);
}
.ch-menu {
    background: var(--surface-colour);
}
.ch-menuItem {
    color: var(--on-surface-colour);
}


.ch-button-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.ch-button-column .ch-button {
    margin-top: var(--small-spacing-unit);
    margin-bottom: var(--small-spacing-unit);
}

.ch-button-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: var(--spacing-unit) var(--medium-spacing-unit);
}

.ch-button-character {
    cursor: pointer;
    padding: var(--small-spacing-unit) var(--spacing-unit);
    font-weight: 600;
    margin: 0 var(--small-spacing-unit);
    border-radius: var(--input-radius);
    transition: background-color 0.3s;
    border: none;
}

.ch-button-character.ch-active, .ch-button-character:hover {
    color:  var(--on-button-colour);
    background-color: var(--button-colour);
    fill: var(--button-colour);
}

.ch-button-character:focus-visible {
    outline: 2px solid var(--focus-on-surface);
    outline-offset: 2px;
    border-radius: 2px;
}

.ch-item-focus {
    outline: 2px solid var(--focus-on-surface);
    outline-offset: 2px;
    border-radius: 2px;
}

.ant-popover-message-icon span[aria-label="exclamation-circle"]{
    color: orange;
}

.ant-popover-message-title{
    display: inline-block;
    padding-left: 10px;
}

.ant-popover-buttons .ant-btn-default{
    border: none;
    color: var(--secondary-colour);
}

.ant-popover-buttons .ant-btn-default:hover{
    background: var(--button-colour-hover-variant);
}

.ant-popover-buttons .ant-btn-primary:hover{
    background: var(--button-colour-hover-variant);
    color: var(--button-colour-hover);
}

.ant-popover-buttons .ant-btn-primary{
    border:1px solid var(--secondary-colour);
    background: var(--secondary-colour);
}

.ch-button.ch-activated{
    background: unset;
    color: var(--button-colour);
    border: 2px solid var(--button-colour);
}

.ch-button:not(.ch-mathjax) span {display: flex;}
.ch-modal {
    background: var(--surface-colour);
    color: var(--on-surface-colour);
    font-size: 14px;
}
.ch-modal > .ch-modal-block:not(:first-child) {
    padding-top: 0;
}
.ch-modal-head {
    font-size: 20px;
    font-weight: 600;
    padding: var(--spacing-unit) var(--large-spacing-unit);
}
.ch-modal-content {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: var(--spacing-unit) var(--large-spacing-unit);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.ch-modal-actions {
    position: relative;
}
.ch-modal-actions .ch-loader {
    margin: 2px;
}

/* Common styles: */
@media(hover: hover) and (pointer: fine) {
    .ch-checkbox-wrapper:hover .ch-checkbox,
    .ch-radio-wrapper:hover .ch-radio,
    .ch-textField__input:hover,
    .ch-textarea:hover,
    .ch-select .ch-select__control:hover {
        box-shadow: 0 0 0 var(--input-focus-size) var(--hover-on-surface);
    }
}
.ch-checkbox-wrapper input:focus + .ch-checkbox,
.ch-radio-wrapper input:focus + .ch-radio,
.ch-textField__input:focus,
.ch-textarea:focus,
.ch-select .ch-select__control.ch-select__control--is-focused,
.ch-switch .Mui-focusVisible + .MuiSwitch-track {
    box-shadow: 0 0 0 var(--input-focus-size) var(--focus-on-surface);
}

.ch-checkbox-wrapper .label {
    text-align: left
}
/* -- Other: */
.no-wrap {
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ch-emph-block {
    background: rgba(0, 0, 0, 0.04);
    border-radius: var(--container-radius);
}
.ch-emph-block hr {
    border-color: var(--border-colour);
    width: 100%;
}
.MuiTooltip-tooltip.ch-tooltip {
    background-color: var(--tooltip-background);
    font-size: 12px;
    font-weight: 400;
}
.MuiTooltip-tooltip.ch-tooltip .MuiTooltip-arrow {
    color: var(--tooltip-background);
}
.ch-center-tooltip{
    display:flex;
    flex-direction: column;
    gap:8px;
}
.ch-buttons-group,
.ch-icons-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.ch-buttons-group-right {
    justify-content: end;
}
.ch-buttons-group > [class^="ch-button"] {
    margin-right: var(--large-spacing-unit);
}
.ch-icon-btn,
.ch-icon-btn-hero,
.ch-tab-bar .ch-tab-icon {
    background-color: transparent;
    border: 0;
    display: flex;
    border-radius: 50%;
    position: relative;
    padding: 0;
    margin: 4px;
    height: 32px;
    width: 32px;
}
.ch-tab-bar .ch-tab-icon {
    height: 36px;
    width: 36px;
}

.ch-icon-btn-hero {
    height: 40px;
    width: 40px;
}
.ch-icon-btn-sm svg,
.ch-icon-btn-sm img {
    height: 24px;
    width: 24px;
}
.ch-icon-btn-lg svg {
    position: absolute;
    height: 40px;
    width: 40px;
}
.ch-icon-btn-on-primary {
    fill: var(--on-primary-colour);
}
.ant-btn.ch-pc-btn,
.ch-button,
.ch-btn-text,
.ch-btn-outline,
.ch-icon-btn,
.ch-btn-selector {
    border: none;
    cursor: pointer;
    display: flex;
    outline: none;
    align-items: center;
    justify-content: center;
    transform: scale(1);
    transition: outline var(--ani-small) var(--easing), transform var(--ani-mid) var(--easing);
}
.ch-icon-btn.ch-activated {
    fill: var(--on-secondary-colour);
    background-color: var(--secondary-colour);
}
.ant-btn.ch-pc-btn,
.ch-button,
.ch-btn-text,
.ch-btn-outline {
    border-radius: var(--button-radius);
    font: var(--button-font);
    font-weight: var(--button-font-weight);
    display: flex;
    min-height: 36px;
    min-width: fit-content;
    white-space: nowrap;
    padding: var(--button-padding);
    text-transform: capitalize;
}
.ant-btn.ch-pc-btn {
    display: unset;
}

.ant-btn.ch-pc-btn,
.ch-button {
    background: var(--primary-colour);
    color: var(--on-primary-colour);
    fill: var(--on-primary-colour)
}
.ant-btn.ch-pc-btn.ch-btn-text,
.ch-btn-text {
    background: transparent;
    color: var(--secondary-colour);
    fill: var(--secondary-colour);
}
.ant-btn.ch-pc-btn.ch-btn-outline,
.ch-btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-colour);
    color: var(--secondary-colour);
    fill: var(--secondary-colour);
}
.ch-btn-selector {
    background: transparent;
    justify-content: left;
    width: 100%;
    color: unset;
    fill: unset;
}
.ch-btn-selector.ch-activated {
    cursor: default;
    background: var(--input-colour);
    color: var(--on-input-colour);
    fill: var(--on-input-colour);
    border: unset;
}
 /* -- Disabled: */
.ch-button:disabled,
.ch-button[disabled],
.ch-button-disabled,
.ch-btn-text:disabled,
.ch-btn-text[disabled],
.ch-btn-outline:disabled,
.ch-btn-outline[disabled],
.ch-icon-btn:disabled,
.ch-icon-btn[disabled] {
    cursor: default;
}
.ch-button:disabled,
.ch-button[disabled],
.ch-button-disabled {
    background: var(--button-colour-disabled);
    color: var(--button-colour-disabled-light);
    fill: var(--on-button-colour-disabled);
    cursor: not-allowed;
}
.ch-btn-text:disabled,
.ch-btn-text[disabled] {
    background: transparent;
    color: var(--on-button-colour-disabled);
    cursor: not-allowed;
}
.ch-btn-outline:disabled,
.ch-btn-outline[disabled] {
    background: transparent;
    border-color: var(--button-colour-disabled);
    color: var(--on-button-colour-disabled);
    cursor: not-allowed;
}
.ch-icon-btn:disabled,
.ch-icon-btn[disabled] {
    background: transparent;
    fill: var(--on-button-colour-disabled);
    cursor: not-allowed;
}
/* -- Hover: */
.ant-btn.ch-pc-btn::before,
.ch-button::before,
.ch-btn-text::before,
.ch-btn-outline::before,
.ch-icon-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    border-radius: var(--button-radius);
}
.ch-btn-outline::before {
    border-radius: calc(var(--button-radius) - 2px); /* to offset the gap that is caused between the fill and back-ground having the same border radius but different sizes*/
}
.ant-btn.ch-pc-btn.ch-btn-text:hover,
.ant-btn.ch-pc-btn.ch-btn-outline:hover {
    color: var(--secondary-colour);
    background-color: rgba(0, 0, 0, 0);
}
.ch-btn-text-underline:hover:not([disabled]),
.ch-btn-selector:hover:not([disabled]):not(.ch-activated) {
    color: rgba(var(--secondary-colour-RGB), var(--button-link-hover-opacity));
    fill: rgba(var(--secondary-colour-RGB), var(--button-link-hover-opacity));
}
@media(hover: hover) and (pointer: fine) {
    .ch-button:hover:not([disabled]),
    .ch-btn-text:hover:not([disabled]),
    .ch-btn-outline:hover:not([disabled]),
    .ch-icon-btn:hover:not([disabled]) {
        transform: var(--button-hover-scale);
    }
    .ant-btn.ch-pc-btn:hover:not([disabled])::before,
    .ch-button:hover:not([disabled]):not(.ch-btn-text-underline)::before {
        background-color: rgba(var(--on-primary-colour-RGB), var(--button-hover-opacity));
    }
    .ant-btn.ch-pc-btn.ch-btn-text:hover:not([disabled])::before,
    .ch-btn-text:hover:not([disabled]):not(.ch-btn-text-underline)::before,
    .ch-btn-outline:hover:not([disabled]):not(.ch-btn-text-underline)::before {
        background-color: rgba(var(--secondary-colour-RGB), var(--button-hover-opacity));
    }
    .ant-btn.ch-pc-btn.ch-btn-outline:hover:not([disabled])::before,
    .ch-btn-outline:hover:not([disabled])::before {
        background-color: rgba(var(--secondary-colour-RGB), var(--button-hover-opacity));
    }
    .ch-icon-btn:hover:not([disabled])::before {
        background-color: rgba(var(--on-surface-colour-RGB), var(--button-hover-opacity));
    }
}
/* -- Focus: */
.ant-btn.ch-pc-btn:not(:disabled):focus-visible,
.ch-button:focus-visible,
.ch-btn:focus-visible,
.ch-icon-btn:focus-visible,
.ch-tab-bar a.ch-tab-icon:focus-visible {
    outline: var(--input-focus-size) solid var(--focus-on-surface);
    outline-offset: 1px;
}
.ch-nav-icon-btn .ch-icon-btn:focus-visible,
.ch-btn-on-global:focus-visible,
.ch-icon-btn-on-global:focus-visible {
    outline: var(--input-focus-size) solid rgba(var(--surface-colour-RGB), .80);
    outline-offset: 1px;
}
.ch-btn-on-primary:focus-visible,
.ch-icon-btn-on-primary:focus-visible {
    outline: var(--input-focus-size) solid var(--focus-on-primary);
    outline-offset: 1px;
}

.ch-btn.ch-btn-selector:not(.ch-activated):focus-visible{
    outline-offset: -3px;
}
/* -- Button sizes: */
.ch-btn-small {
    min-height: unset;
    font-size: 12px;
    height:24px;
}
.ch-btn-medium {
    min-height: unset;
    font-size: 13px;
    height: 32px;
}
/* -- Button icons: */
.ch-button-icon-l {
    padding-left: 12px;
}
.ch-button-icon-l svg {
    padding-right: 4px;
}
.ch-button-icon-r {
    padding-right: 12px;
}
.ch-button-icon-r svg {
    padding-left: 4px;
}

.button-group{
    display:flex;
    gap:4px;
    padding:4px;
}

.ch-list, .ch-sub-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ch-list-group-head {
    box-shadow: 0 0 0 0 transparent inset;
    color: inherit;
    flex-direction: row;
    outline: none;
    padding: 6px var(--small-spacing-unit);
    border-radius: var(--input-radius);
    /*justify-content: space-between;*/
    width: 100%;
    font-weight: bold;
    cursor: pointer;
}
.ch-list-group-label,
.ch-list-group-indicator {
    display: flex;
}
.ch-list-group-head > .ch-list-group-label+.ch-list-group-indicator {
    flex: 1;
    justify-content: flex-end;
}
.ch-list-group-label, .ch-expand-box-head span {
    display: flex;
    align-items: center;
}
.ch-list-group-label svg {
    padding-right: var(--small-spacing-unit);
}
.ch-list-group-indicator, .ch-expand-box-indicator svg {
    transition: transform var(--ani-small) var(--easing) 0ms;
}
.ch-list-group-closed .ch-list-group-indicator svg {
    transform: rotate(180deg);
}
.ch-sub-list {
    transition: max-height var(--ani-mid) var(--easing) 0s;
    padding: 0 0 0 var(--spacing-unit);
    max-height: 100vh;
}
.ch-list-group-closed .ch-sub-list {
    max-height: 0;
    display: none;
}
.ch-nav-divided {
    border-bottom: 1px solid var(--divider-colour);
    padding-top: var(--spacing-unit);
    padding-bottom: var(--spacing-unit);
}
.ch-nav-divided:first-of-type {
    padding-top: 0;
}
.ch-nav-divided:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}
.ch-list-item {
    background-color: transparent;
    font-size: 14px;
    list-style: none;
    outline: none;
    display: flex;
    align-items: center;
    position: relative;
    margin: 2px 0 2px 0;
    user-select: none;
}
.ch-list-item:focus-visible {
    outline: var(--input-focus-size) solid var(--focus-on-surface);
}
.ch-list-item a {
    box-shadow: 0 0 0 0 transparent inset;
    border-radius: var(--input-radius);
    color: inherit;
    display: flex;
    padding: 0 var(--spacing-unit);
    outline: none;
    align-items: center;
    flex: 1;
}

.ch-list-item-content {
    display: flex;
    flex: 1;
    padding: 0 var(--spacing-unit);
    outline: none;
    align-items: center;
}

.ch-list-item-active a {
    /*background-color: rgba(var(--input-colour-RGB), 0.2);*/
    background-color: var(--input-colour);
    color: var(--on-input-colour);
    fill: var(--on-input-colour);
}

.ch-list-item-active-text a {
    background-color: transparent;
    color: var(--input-colour);
}
.ch-list-item-highlight a {
    border: 3px solid rgba(var(--input-colour-RGB), .4);
}

.ch-list-item-highlight-text {
    height: 20px;
    padding: 0 4px;
    font-size: 12px;
    border-radius: var(--component-radius);
    border: 1px solid white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    background-color: red;
}

.compressed .ch-nav-shortcuts .ch-list-item-active  a {
    background-color: transparent ;
}

.ch-list-item-disabled,
.ch-tab-disabled,
.disabled-message {
    opacity: var(--disabled-alpha);
    cursor: unset;
}

li.ch-list-item-disabled {padding-left: 4px;}
.compressed li.ch-list-item-disabled {padding-left: 2px;}

.ch-list-item a:link, .ch-list-item a:visited {
    color: inherit;
}
.ch-list-item a:focus-visible,
.ch-list-group-head:focus-visible {
    outline: var(--input-borderless-focus-size) solid var(--focus-on-surface);
    outline-offset: -2px;
}
.ch-tabs .ant-tabs-tab-btn:focus-visible .ch-tab {
    background: rgba(var(--input-colour-RGB), .12) !important;
    outline: var(--input-focus-size) solid var(--focus-on-surface);
    outline-offset: -3px;
}
.ch-list-item-active a:focus-visible {
    outline: var(--input-borderless-focus-size) solid var(--focus-on-surface);
    outline-offset: 2px;
}

.compressed .ch-nav-shortcuts .ch-list-item a:focus-visible,
.compressed .ch-nav-shortcuts .ch-list-group-head:focus-visible,
.compressed .ch-nav-shortcuts .ch-list-item-active a:focus-visible {
    outline: unset;
}
.ch-list-item-icon {
    fill: #000; /* reset value */
}
.ch-list-item-active .ch-icon-sm-ol {
    stroke: #fff;
    stroke-width: 8px;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ch-list-item-icon .ch-menu-icon {
    fill: var(--on-surface-colour);
}
.ch-list-item-icon+.ch-list-item-text {
    margin-left: var(--spacing-unit);
}
.ch-list-group-head,
.ch-list-item-text {
    line-height: 1.75em;
    flex: 1;
    padding-top: var(--small-spacing-unit);
    padding-bottom: var(--small-spacing-unit);
    display: flex;
    align-items: center;
}
.ch-list-item-text {
    justify-content: space-between;
}
.ch-list-item-meta {
    margin-left: var(--spacing-unit);
}
.ch-list-item-icon, .ch-list-item-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transform-origin: center;
}
.ch-accordion:focus,
.ch-accordion .ch-accordion-btn:focus {
    outline: var(--input-focus-size) solid var(--focus-on-surface);
    outline-offset: 1px !important;
}
.ch-dashboard-widget-table {
    width: 100%;
}
.ch-dashboard-widget-table td.max-width-no-wrap {
    max-width: 0;
    width: 100%;
    padding-right: var(--spacing-unit);
}
.ch-table th, .ch-table td {
    padding: var(--small-spacing-unit) var(--small-spacing-unit);
}
.ch-table th.ch-left-align, .ch-table td.ch-left-align {
    text-align: left;
}
.ch-table th.ch-align-right, .ch-table td.ch-align-right {
    text-align: right;
}
.ch-table th.ch-align-center, .ch-table td.ch-align-center {
    text-align: center;
    justify-items: center;
}

td.right-align .ch-btn {
    display: inline-flex;
}

.ch-list-item-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}
.ch-list-item-details {
    font-size: 12px;
    padding-top: 4px;
}
.ch-list-item-details div {
    display: inline-block;
    white-space: nowrap;
}
.ch-list-item-details div:not(:last-child) {
    padding-right: var(--spacing-unit);
}
.ch-message-subject {
    text-decoration: underline;
    color: var(--link-colour);
    cursor: pointer;
}
.ch-message-subject:hover {
    color: var(--link-colour);
    cursor: pointer;
}
.ch-message-subject.read {
    font-weight: unset;
}

.ch-general-table-antd tr[role='button'] {
    cursor: pointer;
}
.ch-general-table-antd tr[role='button']:focus-visible {
    outline: unset;
}
/*Using border colours because pseudo elements after trs in safari surround whole table*/
.ch-general-table-antd tr[role='button']:focus-visible td::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-top: var(--input-focus-size) solid var(--focus-on-surface);
    border-bottom: var(--input-focus-size) solid var(--focus-on-surface);
    pointer-events: none;
}
.ch-general-table-antd tr[role='button']:focus-visible td:first-child::after {
    border-left: var(--input-focus-size) solid var(--focus-on-surface);
}
.ch-general-table-antd tr[role='button']:focus-visible td:last-child::after {
    border-right: var(--input-focus-size) solid var(--focus-on-surface);
}
.unread {
    font-weight: bold;
}
.ch-general-table-antd .ch-tg-f:focus,
.ch-general-table-antd .ch-tg-f :focus,
.ch-general-table-antd .ch-tg-f:focus-within .ant-checkbox-inner {
    outline-color: var(--focus-on-surface) !important;
    outline-style: dotted !important;
    outline-width: var(--input-focus-size) !important;
}
.ch-general-table-antd th.ch-tg-f:focus,
.ch-general-table-antd td.ch-tg-f:focus {
    outline-offset: calc((var(--input-focus-size) + 2px) * -1) !important;
}
.ch-general-table-antd th.ch-tg-f:focus,
.ch-general-table-antd th.ch-tg-f :focus,
.ch-general-table-antd th.ch-tg-f:focus-within .ant-checkbox-inner {
    outline-color: var(--primary-colour) !important;
}
.ch-general-table-antd .ch-tg-f:focus-within .ant-checkbox-inner {
    outline-offset: 1px;
}
/*.ch-general-table-antd .ch-tg-f :focus+.ant-checkbox-inner,*/
/*.ch-general-table-antd .ch-tg-f:focus-within .ant-checkbox-inner,*/
/*.ch-general-table-antd .ch-tg-f :active+.ant-checkbox-inner {*/
/*    outline-color: var(--focus-on-surface) !important;*/
/*    outline-style: dotted !important;*/
/*    outline-width: var(--input-focus-size) !important;*/
/*}*/
/*.ant-table-thead th.ant-table-column-has-filters:hover {background: #f0f0f0; cursor: pointer;}*/
/*.ant-table-thead th.ant-table-column-has-filters:hover .ant-table-filter-trigger {background: unset;}*/
/*.ant-table-thead th.ant-table-column-has-filters:hover .ant-table-filter-trigger:not(.active) {color: rgba(0, 0, 0, 0.57);}*/


.strong-no-wrap {
    font-weight: 600;
    white-space: nowrap;
}

.ch-ellipsis-list {
    width: 100%;
    list-style-position: inside;
    padding: 0;
    margin: 0;
    overflow-y: auto;
}
.ch-ellipsis-list li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    list-style-type: disc;
    padding: 0 var(--small-spacing-unit);
    width: 100%;
}

/* Common styles: */
/* --- Text */
.ch-h1, .ch-h2, .ch-h3, .ch-h4, .ch-h5, .ch-h6 {
    font-weight: 500;
    line-height: 1.2;
    color: var(--on-surface-colour);
    display: block;
}
.ch-h1 + *, .ch-h2 + *, .ch-h3 + *, .ch-h4 + *, .ch-h5 + *, .ch-h6 + * {
    /*margin-top: var(--spacing-unit);*/
}
.ch-h1 { font-size: 2rem; }
.ch-h2 { font-size: 1.5rem; }

.ch-icon-btn,
.ch-list-item a,
.ch-series-select,
.ch-tab-bar a.ch-tab-icon {
    cursor: pointer;
    transition: box-shadow var(--ani-small) var(--easing) 0ms;
    padding: 0 var(--small-spacing-unit);
}
.ch-list-item-no-hover a {
    cursor: unset;
}
.ch-list-item-disabled a { cursor: default; }
@media(hover: hover) and (pointer: fine) {
    .ch-list-item:not(.ch-list-item-active):not(.ch-list-item-active-text):not(.ch-list-item-disabled):not(.ch-list-item-no-hover) a:hover:not(.ch-no-hover),
    html .ui-tabs .ui-tabs-nav .ui-tabs-anchor:hover,
    .ntf .gen-sub-tab:hover a,
    .ch-list-group-head:not(.ch-list-item-disabled):hover,
    .ch-series-select:hover,
    .ch-tab:hover {
        background-color: var(--borderless-hover-on-surface) !important;
    }
    .ch-tab.ignore-hover:hover {
        background-color: #ffffff!important;
        cursor:default;
    }
    .compressed .ch-list-item:not(.ch-list-item-active):not(.ch-list-item-active-text):not(.ch-list-item-disabled):not(.ch-list-item-no-hover) a:hover {
        background-color: transparent !important;
    }
    .ch-icon-btn-on-global:hover {
        background-color: var(--borderless-hover-global-menu);
    }
    .ch-icon-btn-on-primary:hover {
        background-color: var(--borderless-hover-on-primary);
    }
}

.ch-notification-count {
    background: var(--secondary-colour);
    color: var(--on-secondary-colour);
    font-size: 12px;
    line-height: 12px;
    padding: 2px 6px;
    border-radius: 2em;
    margin: 2px 2px;
}

.ch-badge, .ch-list-group-badge {
    font-size: 12px;
    line-height: 12px;
    padding: 3px 6px;
    border-radius: 2em;
    font-weight: 600;
}

.ch-badge {
    background: var(--secondary-colour);
    color: var(--on-secondary-colour);
    border: 1px solid var(--on-input-colour);
    position: absolute;
    top: -2px;
    right: -2px;
}

.ch-list-group-badge {
    background: var(--input-colour);
    color: var(--on-input-colour);
    margin-left: var(--small-spacing-unit);
    position: relative;
    height: fit-content;
}
.ch-list-group-head .ch-list-group-badge {
    margin-right: var(--small-spacing-unit);
}
.ch-icon-badge:after {
    content: "";
    height: 8px;
    width: 8px;
    background: var(--primary-colour);
    outline: 2px solid var(--global-menu-colour);
    border-radius: 50%;
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translate(-50%, -50%);
}
.ch-icon-badge-lg {
    height: 14px;
    min-width: 12px;
    border-radius: 6px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(0, -50%);
    font-size: 8px;
    padding: 0 4px;
    line-height: 14px;
    color: var(--on-primary-colour);
    background: var(--primary-colour);
    outline: 2px solid var(--global-menu-colour);
}

.ch-nav-ssm,
.ch-nav-drawer-visible .ch-nav-drawer-inner {
    box-shadow: 0 8px 10px -5px rgba(0, 0, 0, .2), 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12);
}
.ch-input-label {
    font-size: 14px;
    font-weight: 600;
}

.ch-link {
    cursor: pointer;
    color: var(--link-colour) !important;
    text-decoration: underline;
}
.ch-link:hover {
    color: var(--hover-link-colour);
}
.ch-link:focus {
    outline: 2px solid var(--link-colour);
    outline-offset: 2px !important;
    border-radius: 2px;
}

.ch-shortcut-link {
    cursor: pointer;
}
.ch-nav-link {
    margin: var(--small-spacing-unit) 0 var(--small-spacing-unit) 0;
}
.ch-nav-link a {
    display: flex;
    flex: 1;
    outline: none;
    align-items: center;
    color: inherit;
    width: fit-content;
    padding: var(--spacing-unit) var(--small-spacing-unit);
    text-decoration: none;
    box-shadow: 0 0 0 0 transparent inset;
    border-radius: var(--input-radius);
}
.ch-nav-link a:hover {
    background-color: var(--borderless-hover-on-surface) !important;
}

.ch-shortcut-link.ch-highlight {
    padding: var(--medium-spacing-unit) var(--medium-spacing-unit);
    border-radius: var(--input-radius);
}
.ch-shortcut-link.ch-highlight a {
    border-radius: 50%;
}
.ch-shortcut-link.ch-highlight:hover {
    background-color: var(--borderless-hover-on-surface);
}
.ch-shortcut-title {
    padding: var(--spacing-unit) var(--spacing-unit);
}
tr.ch-shortcut-link td:first-child {
    padding-left: 4px;
}
tr.ch-shortcut-link td:last-child {
    padding-right: 4px;
}

.ch-loader.ch-loader-spinner-light svg {
    fill: #fff;
    stroke: #fff;
}
.ch-nav-global .ch-loader svg {
    stroke: var(--on-global-menu-colour);
    fill: var(--on-global-menu-colour);
}
.ch-loader-centered {
    left: 50%;
    top: 50%;
    position:absolute;
    width: 28px;
    height: 28px;
}
.ch-loader-centered-in-element {
    display:inline-flex;
    position:relative;
    justify-content: center;
    width: 100%;
    height: 28px;
    margin-top:8px;
}
.ch-loader-inline {
    display:inline-block;
    vertical-align: middle;
}
.ch-loader-spacing {
    margin: var(--spacing-unit) var(--spacing-unit);
}
.ch-loader {
    display: inline-block;
    position: relative;
    width: 28px;
    height: 28px;
}

.ch-loader svg {
    fill: var(--primary-colour);
    stroke: var(--primary-colour);
}

.ch-icon-spinner, .ch-icon-pulse {
    display: flex;
    justify-content: center;
    align-items: center;
}
.ch-icon-spinner svg {
    animation: ch-icon-rotate 1.8s linear infinite;
}
@keyframes ch-icon-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.ch-icon-pulse svg {
    animation: ch-icon-pulse 1.6s ease-in-out infinite;
}
@keyframes ch-icon-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

.ch-tab-bar {
    user-select: none;
    background: var(--surface-colour);
    border-bottom: 1px solid var(--border-colour);
    top: 0;
    position: sticky;
    width: 100%;
    z-index: 4;
}


/* Mobile styles: */
@media screen and (max-width: 1024px) {
    html, body {
        overflow: unset;
    }
    .ch-ribbon-header {
        display: flex;
    }
    .ch-base {
        display: block;
        position: relative;
    }
    .ch-header {
        height: var(--header-height);
        z-index: 1
    }
    .ch-content {
        overflow: unset;
        padding-top: 0 !important;
    }
    #nav {
        height: 100%;
        top: 0;
        position: fixed;
        transform: translateX(-101%);
        opacity: 0;
    }

    #nav.ch-nav-transition {
        opacity: 100%;
        transition: transform var(--ani-mid) var(--easing) 0s;
    }

    .ch-title {
        transform: unset;
        margin-bottom: unset;
        position: relative;
    }
    /*.ch-content {*/
    /*    height: 100%;*/
    /*}*/
    .ch-content-body {
        display: block;
        overflow: unset;
    }
    .ch-content-panel {
        overflow: unset;
    }
    .ch-tab-bar {
        top: 40px;
    }
    #nav-r {
        /*height: 100%;*/
        height: calc(100vh - var(--header-height));
        top: var(--header-height);
        right: 0;
        left: unset;
        position: fixed;
        transition: transform var(--ani-mid) var(--easing) 0s;
        box-shadow: 0 8px 10px -5px rgba(0, 0, 0, .2);
    }
    #nav.ch-nav-visible {
        transform: translateX(0);
    }
    .ch-nav-r-closed #nav-r {
        transform: translateX(101%);
    }
    .page {
        width: 100vw;
    }
    .ch-syllabus-title span {
        display: none;
    }
    .ch-series-drawer {
        flex-direction: row;
        position: absolute;
        visibility: hidden;
        transform: translateX(-101%);
        width: 100vw;
        z-index: 3;
    }
    .ch-series-drawer-visible {
        transform: translateX(0);
        visibility: visible;
    }
    .ch-series-drawer-content {
        border-left: 1px solid var(--border-colour);
        flex: 1;
        position: relative;
    }
    .ch-dashboard-blk-half {
        width: 100% !important;
    }
}

.reactNav .ant-form-item {margin-bottom: 0}


.ch-dashboard-blks {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 -8px;
    /*gap:8px;*/
}
.ch-dashboard-blk {
    padding: 0 8px 0 8px;
    margin-bottom: 16px;
    width: 100%;
    display: grid;
}
.ch-dashboard-blk-half {
    width: 50%;
}
.ch-dashboard-blk-inner {
    border-radius: var(--component-radius);
    background: var(--surface-colour);
    border: 1px solid var(--border-colour);
    color: var(--on-surface-colour);
    fill: var(--on-surface-colour);
    padding: calc(var(--spacing-unit) * 2);
    display: flex;
    flex-direction: column;
    overflow-x: auto;
}
.ch-dashboard-highlight .ch-dashboard-blk-inner {

}

.ch-dashboard-blk-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: calc(var(--spacing-unit));
    flex-wrap: wrap;
    gap: var(--spacing-unit);
}
.ch-dashboard-no-border .ch-dashboard-blk-title {
    border: none;
}
.ch-dashboard-no-border .ch-dashboard-blk-body {
    min-height: unset;
}
.ch-dashboard-blk-title-main {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
}
.ch-dashboard-title-with-icon {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: calc(48px + 0px); /* Icon size + padding */
}
.ch-dashboard-title-with-icon svg {
    padding-right: var(--spacing-unit);
    position: absolute;
    left: 0;
}
.ch-dashboard-blk-title-main span {
    font-size: 22px;
    font-weight: 600;
}
.ch-dashboard-blk-title span {
    display: flex;
}
.ch-dashboard-lesson-link {
    font-size: 12px;
}
.ch-dashboard-important-text {
    font-weight: 600;
    display: flex;
    align-items: center;
}
.ch-dashboard-warning-text {
    font-weight: 600;
    color: var(--warning-colour);
    margin-top: var(--small-spacing-unit);
    margin-bottom: var(--small-spacing-unit);
    white-space: pre-wrap;
}
.ch-warning-text {
    font-weight: 600;
    color: var(--warning-colour);
    text-align: center;
    margin-top: var(--small-spacing-unit);
    margin-bottom: var(--small-spacing-unit);
}
.ch-error-text {
    font-weight: 600;
    color: var(--error-colour);
    text-align: center;
    margin-top: var(--small-spacing-unit);
    margin-bottom: var(--small-spacing-unit);
}
.ch-title-case-text {
    text-transform:capitalize;
}
.ch-global-warning-text {
    font-weight: 600;
    color: white;
    background-color: var(--warning-colour);
    padding: var(--small-spacing-unit) var(--small-spacing-unit);
    margin: var(--spacing-unit) var(--medium-spacing-unit);
    text-align: center;
    border-radius: var(--component-radius);
}
.ch-global-warning-text a {
    font-weight: bold;
}
.ch-dashboard-blk-body, .ch-dashboard-blk-body-wrap {
    font-size: 14px;
}
.ch-dashboard-blk-body-wrap {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
}
.ch-dashboard-blk-large .ch-dashboard-blk-body {
    max-height: 320px;
}
.ch-dashboard-blk-body {
    margin-bottom: 16px;
    min-height: 40px;
    max-height: 240px;
    position: relative;
    overflow-y: auto;
}
.ch-welcome-blk-body {
    max-height: 600px;
}
.ch-dashboard-tabBlk {
    margin-bottom: calc(var(--spacing-unit) * 2);
}
.ch-dashboard-tabBlk .ant-tabs-nav:before {
    display: block !important;
    background: var(--border-colour);
    right: calc(var(--spacing-unit) * -2);
    left: calc(var(--spacing-unit) * -2);
}
.ch-dashboard-blk-body:last-child {
    margin-bottom: 0;
}
.ch-dashboard-blk-subhead {
    font-size: 16px;
    font-weight: 600;
}
.ch-dashboard-item-blk {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 4px 0;
}
.ch-menuWidget {
    padding: 0;
    width: 256px;
}
.ch-menuWidget-head {
    background: var(--secondary-colour);
    color: var(--on-secondary-colour);
    padding: var(--spacing-unit);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}
.ch-toDo-blk {
    border: none;
    border-radius: var(--component-radius);
    position: relative;
    width: 100%;
    font-size: 12px;
    padding: var(--small-spacing-unit);
    padding-left: calc(var(--small-spacing-unit) + 4px);
    cursor: pointer;
}
.ch-toDo-blk+.ch-toDo-blk {
    margin-top: 12px;
}
.ch-toDo-blk+.ch-toDo-blk:before {
    content: "";
    position: absolute;
    width: 1px;
    left: 50%;
    bottom: calc(100% + 2px);
    border-left: 1px dashed #000;
    height: 8px;
}
.ch-toDo-blk:after {
    border-radius: 3px;
    content: "";
    position: absolute;
    width: 6px;
    left: 0;
    top: 0px;
    bottom: 0px;
}
.ch-toDo-blk-1 {
    --toDo1: 247, 185, 100;
    background: rgba(var(--toDo1), 0.2);
}
.ch-toDo-blk-1:hover {
    background: rgba(var(--toDo1), 0.4);
}
.ch-toDo-blk-1:focus-visible {
    outline: var(--input-focus-size) solid rgba(var(--toDo1), 1);
    outline-offset: 1px;
}
.ch-toDo-blk-1 span {
    color: rgba(var(--toDo1), .8);
    text-shadow: 0 0 0 rgba(0, 0, 0, 1);
}
.ch-toDo-blk-1:after {
    background: rgb(var(--toDo1));
}
.ch-toDo-blk-2 {
    --toDo2: 117, 203, 73;
    background: rgba(var(--toDo2), 0.2);
}
.ch-toDo-blk-2:hover {
    background: rgba(var(--toDo2), 0.4);
}
.ch-toDo-blk-2:focus-visible {
    outline: var(--input-focus-size) solid rgba(var(--toDo2), 1);
    outline-offset: 1px;
}
.ch-toDo-blk-2 span {
    color: rgba(var(--toDo2), .8);
    text-shadow: 0 0 0 rgba(0, 0, 0, 1);
}
.ch-toDo-blk-2:after {
    background: rgb(var(--toDo2));
}
.ch-toDo-blk-3 {
    --toDo3: 232, 101, 197;
    background: rgba(var(--toDo3), 0.2);
}
.ch-toDo-blk-3:hover {
    background: rgba(var(--toDo3), 0.4);
}
.ch-toDo-blk-3:focus-visible {
    outline: var(--input-focus-size) solid rgba(var(--toDo3), 1);
    outline-offset: 1px;
}
.ch-toDo-blk-3 span {
    color: rgba(var(--toDo3), .8);
    text-shadow: 0 0 0 rgba(0, 0, 0, 1);
}
.ch-toDo-blk-3:after {
    background: rgb(var(--toDo3));
}
.ch-toDo-blk-4 {
    --toDo4: 175, 137, 255;
    background: rgba(var(--toDo4), 0.2);
}
.ch-toDo-blk-4:hover {
    background: rgba(var(--toDo4), 0.4);
}
.ch-toDo-blk-4:focus-visible {
    outline: var(--input-focus-size) solid rgba(var(--toDo4), 1);
    outline-offset: 1px;
}
.ch-toDo-blk-4 span {
    color: rgba(var(--toDo4), .8);
    text-shadow: 0 0 0 rgba(0, 0, 0, 1);
}
.ch-toDo-blk-4:after {
    background: rgb(var(--toDo4));
}


.ch-dashboard-item-column-main {
    display: grid;
}

.ch-dashboard-item-column-main div {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ch-dashboard-note .ch-dashboard-blk-inner {
    border: 1px solid var(--border-colour);
}
/*.ch-dashboard-note .ch-dashboard-blk-inner {*/
/*    !*border: 1px solid var(--border-colour);*!*/
/*}*/

.ch-dashboard-note-title {
    border-bottom: 1px solid var(--border-colour);
}
.ch-dashboard-list tr {
    border-bottom: 1px solid var(--border-colour);
}
.ch-dashboard-list tr:last-child {
    border-bottom: unset;
}
.ch-dashboard-list th {
    font-width: 600;
    font-size: 12px;
    padding-bottom: calc(var(--spacing-unit) * 2);
    font-weight: bold;
}
.ch-dashboard-list td {
    font-size: 13px;
    padding: var(--spacing-unit) 0 var(--spacing-unit) 0;
}
.ch-dashboard-item-title {
    font-weight: bold;
}

.ch-listItem-testResults {
    display: flex;
    flex-direction: row;
    position: relative;
    height: 8px;
    align-self: center;
}
.ch-testResult-mark {
    display: flex;
    flex-grow: 1;
    position: relative;
    height: 100%;
    padding-left: 1px;
}
.ch-testResult-mark:first-child {
    padding-left: 0;
}
.ch-testResult-mark-inner {
    background: var(--incomplete-colour);
    position: relative;
    height: 100%;
    width: 100%;
}
.ch-testResult-mark-success {
    background: var(--correct-colour);
}
.ch-testResult-mark-fail {
    background: var(--incorrect-colour);
}
.ch-testAssignment {
    border-bottom: 1px solid var(--border-colour);
    padding: var(--spacing-unit) 0;
    padding-right: var(--spacing-unit);
    width: 100%;
}
.ch-testAssignment-details {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.ch-testAssignment:last-child {
    border-bottom: unset;
}
.ch-listItem-trailResults {
    display: flex;
    position: relative;
}
.ch-listItem-trailResults svg {
    position: absolute;
    left: 0;
    width: 100%;
}
.ch-listItem-trailResults text {
    fill: rgba(0, 0, 0, .54);
    font-size: 10px;
}
.ch-trail-result-marks {
    display: flex;
    flex: 1;
    padding-left: 32px;
}
.ch-trail-result-mark {
    display: flex;
    align-items: flex-end;
    /*flex: auto;*/
    height: 100%;
    padding: 0 1px;
    max-width: 40px;
    width: 100%;
}
.ch-trail-result-mark div {
    position: relative;
    width: 100%;
}
.ch-trail-result-mark-skipped {
    background: pink;
}
.ch-trail-result-mark-noResult {
    background: var(--marked-colour);
}
.ch-trail-result-mark-correct {
    background: var(--correct-colour);
}

.ch-self-mark-option {display: inline-block; vertical-align: middle; width: 20px; height: 20px; margin: 0 var(--small-spacing-unit); cursor: pointer; border-radius: 50%; background-color: rgba(0, 0, 0, .26);}
.ch-self-mark-selected-1 {background-color:#BD0000;opacity:1;}
.ch-self-mark-selected-2 {background-color:#FF7400;opacity:1;}
.ch-self-mark-selected-3 {background-color:#FFC607;opacity:1;}
.ch-self-mark-selected-4 {background-color:#8BC34A;opacity:1;}

/*react-big-calendar styles*/
.ch-dashboard-blk-calendar {
    height: 480px;
}
.ch-dashboard-blk-half .ch-dashboard-blk-calendar {
    height: 320px;
}
.ch-dashboard-blk-half .rbc-btn-group {
    font-size: 12px;
}
.ch-dashboard-blk-half .rbc-toolbar-label {
    font-size: 14px;
}
.ch-dashboard-blk-half .rbc-month-view {
    font-size: 10px;
}
.ch-dashboard-blk-half .rbc-toolbar button {
    padding: 0.200rem .55rem;
    cursor: pointer;
}
.ch-dashboard-blk-half .rbc-event, .ch-dashboard-blk-half .rbc-day-slot, .ch-dashboard-blk-half .rbc-background-event,
.rbc-overlay .rbc-event, .rbc-overlay .rbc-day-slot, .rbc-overlay .rbc-background-event,
.rbc-event.rbc-selected, .rbc-day-slot .rbc-selected.rbc-background-event {
    padding: 0;
    background-color: transparent;
    border-radius: 0;
}
.rbc-date-cell .rbc-button-link {
    cursor: default;
}
.rbc-event:focus, .rbc-day-slot .rbc-background-event:focus {
    outline: none;
}
.rbc-event-test, .rbc-event-pathway, .rbc-event-competition {
    padding: 1px 2px;
}
.rbc-event-test {
    background: var(--rbc-event-test-colour);
}
.rbc-event-pathway {
    background: var(--rbc-event-pathway-colour);
}
.rbc-event-competition {
    background: var(--rbc-event-competition-colour);
}

.reactNav .gen-cont #ln-content {
    margin: 0 0 0 0px;
}

.reactNav .gen-sub-cont {border: none;}
.reactNav .gen-sub-cont.widget-block {border:1px solid #E0E0E0;max-width: 700px}
.reactNav .embeddedWidget .gen-sub-cont.widget-block {border:unset;}
.widgetDialog .gen-sub-cont.widget-block {border:none;max-width:unset}
.gsc-star-blk {
    border: 1px solid var(--border-colour);
}

.reactNav .js-stickyNav { display: none}

.reactNav .helpVideo { display: none}

.reactNav .question-cont.gen-sub-cont {
    border: none !important;
}

.reactNav .cont-question-content-block {
    border-bottom: 1px solid var(--border-colour);
}

.reactNav .cup-text {
    max-width: unset !important;
    padding: 0 0 0 0 !important;
}

.reactNav ::-webkit-scrollbar {width: 10px; height: 10px}
.reactNav ::-webkit-scrollbar-track {background: #e1e1e1;}
.reactNav ::-webkit-scrollbar-thumb {background: #888;}
.reactNav ::-webkit-scrollbar-thumb:hover {background: #555;}

.ch-page-header .ch-page-header-title {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ch-page-header .ch-page-header-title,
.ch-syllabus-title span {
    background-color: rgba(0, 0, 0, .54);
    border-radius: var(--component-radius);
    color: #FFF;
}
.ch-page-header .ch-page-header-title.lesson-title {
    margin-top: 1px;
    margin-bottom: 1px;
    border-radius: var(--component-radius);
    align-content: center;
}

.ch-page-header .cont-head-icon {
    width: 60px;
    height: 60px;
}

.ch-page-header-right .ch-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, .54);
    border-radius: var(--component-radius);
    margin: 3px 3px;
}

.ch-page-header .ch-page-header-right {
    flex-direction: row;
    align-items: center;
    padding-right: var(--large-spacing-unit);
}

.ch-page-header.compressed .ch-page-header-right {
    flex-direction: row;
    align-items: center;
    padding-right: 24px;
}

.ch-page-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.ch-page-header-brand-main, .ch-page-header-brand-second {
    display: flex;
    align-self: flex-end;
}

.ch-page-header-lesson-title {
    font-size: 1rem;
    margin: 0;
}

.ch-syllabus-title {
    font-size: 13px;
    font-weight: 600;
    position: relative;
    text-align: right;
    line-height: 2.8em;
    white-space: nowrap;
}
.ch-syllabus-title span {
    padding: var(--spacing-unit);
}
.ch-report-key {
    display: flex;
    justify-content: space-around;
    font-size: 11px;
    margin: 0 0 5px 0;
}

.ch-report-key-item-title {
    font-weight: bold;
}

.ch-tab-scroller {
    overflow-y: hidden;
}
.ch-tab-scroller-area {
    -webkit-overflow-scrolling: touch;
    display: flex;
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.ch-tab-scroller-area::-webkit-scrollbar {
    display: none;
}
.ch-tab-scroller-content {
    position: relative;
    display: flex;
    flex: 1 0 auto;
    transform: none;
    will-change: transform;
}
.ch-tab-left-area {
    display: flex;
    flex: 1;
    align-items: center;
}
.ch-tab-right-area {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
}
.ch-tab-scroller-two-panel .ch-tab-scroller-content {
    flex-basis: 100%;
    flex: 1 1;
}
.ch-tab-bar {
    margin-left: -2px;
    padding: 0 2px;
    box-sizing: content-box;
}
.ch-tabs .ant-tabs-nav {
    display: flex;
    margin: 0;
}
.ch-tabs .ant-tabs-nav:before {
    /*display: none;*/
}
html .ui-tabs .ui-tabs-nav .ui-tabs-anchor,
.ch-tab-bar a,
.ntf .gen-sub-tab a {
    justify-content: center;
    white-space: nowrap;
}
html .ui-tabs .ui-tabs-nav .ui-tabs-anchor,
.ch-tab-bar .js-gen-tab,
.ntf .gen-sub-tab a,
.ch-tabs .ch-tab {
    background: transparent;
    border: none;
    color: var(--on-surface-colour) !important;
    display: flex;
    outline: none;
    align-items: center;
    justify-content: center;
    max-width: 360px;
    min-width: 90px;
    height: auto;
    min-height: 40px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    padding: 0 16px;
    position: relative;
    text-transform: none;
    border-radius: var(--component-radius);
}
.ch-tabs-fullWidth .ant-tabs-nav-list {
    width: 100%;
}
.ch-tabs-fullWidth .ant-tabs-tab {
    flex: 1;
    max-width: unset;
}
.ch-tabs-fullWidth .ant-tabs-nav-operations {
    display: none !important;
}
.ch-tab-content {margin: var(--spacing-unit) var(--spacing-unit) var(--spacing-unit) var(--spacing-unit);}
.ant-tabs-tab {
    margin: 0 !important;
    padding: 0 !important;
}
.ant-tabs-tab .ant-tabs-tab-btn,
.ant-tabs-tab .ch-tab {
    position: relative;
    height: 100%;
    width: 100%;
}

.ant-tabs-content {
    height: 100%;
    position: relative;
}

html .ui-tabs .ui-tabs-active .ui-tabs-anchor,
.ch-tab-bar .js-gen-tab.sel,
.ntf .gen-sub-tab.sel a,
.ch-tabs .ant-tabs-tab-active .ch-tab {
    color: var(--secondary-colour) !important;
    fill: var(--secondary-colour);
}
html .ui-tabs .ui-tabs-active .ui-tabs-anchor:after,
.ch-tab-bar .js-gen-tab.sel:after,
.ntf .gen-sub-tab.sel a:after {
    content: '';
    position: absolute;
    width: 100%;
    bottom: 0;
}
html .ui-tabs .ui-tabs-active .ui-tabs-anchor:after,
.ch-tab-bar .js-gen-tab.sel:after,
.ntf .gen-sub-tab.sel a:after,
.ch-tabs .ant-tabs-ink-bar {
    background: var(--secondary-colour);
    height: 2px !important;
}

html .ui-tabs .ui-tabs-active .ui-tabs-anchor:focus-visible,
.ch-tab-bar .js-gen-tab:focus-visible,
.ch-tabs .ant-tabs-ink-bar:focus-visible {
    box-shadow: 0 0 0 var(--input-borderless-focus-size) var(--focus-on-surface) inset;
}

.ch-tab-bar a.ch-tab-icon {
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: unset;
    margin: 4px;
}
.ch-tab-bar a.ch-tab-icon img {
    display: flex;
    height: 24px;
    width: 24px;
}
.ch-tab-bar a.ch-tab-icon:not(.ch-desmos-tab-icon) img {
    filter: invert(100%);
    opacity: .87;
}
@media (hover: hover) {
    .ch-tab-scroller-content a:hover,
    .ch-tabs .ch-tab:hover {
        background: var(--hover-on-surface);
        text-decoration: none;
    }
}

.ch-tab-scroller-content a.selected {
    background: var(--input-colour);
    filter: none;
}

.ch-tab-bar a.ch-tab-icon.selected img {
    filter: none;
    opacity: unset;
}

.ch-expand-box-blk {
    padding: 6px 0;
    border-bottom: 1px solid var(--border-colour);
}
.ch-expand-box-blk:last-child {
    border-bottom: unset;
}
.ch-expand-box-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    outline: none;
    font-weight: bold;
    cursor: pointer;
}
.ch-expand-box-body {
    overflow: hidden;
    max-height: 100vh;
    transition: max-height var(--ani-mid) var(--easing) 0s;
    padding-top: 4px;
}
.ch-expand-box-blk-closed .ch-expand-box-body {
    max-height: 0;
}
.ch-expand-box-blk-closed .ch-expand-box-indicator {
    transform: rotate(-90deg);
}

.ch-content-error {
    color: var(--error-colour);
    font-weight: bold;
    display: flex;
    justify-content: center;
}

.ch-content-main-error.ch-content-error {
    height: 100vh;
    align-items: center;
    flex: 1;
}

.ch-login-message-subject {
    margin: var(--small-spacing-unit) 0 0 0;
    font-weight: bold;
}

.ch-dashboard-welcome-notes {
    margin: var(--small-spacing-unit) 0;
}

.ch-dashboard-welcome-note {
    margin: var(--small-spacing-unit) 0;
}

.ch-dashboard-welcome-note-title {
    margin: var(--small-spacing-unit) 0 0 0;
    font-weight: 600;
}

.ch-menu-previous-next {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ch-menu-previous-next-text {
    font-weight: 600;
}

.ch-menu-previous-icon, .ch-menu-next-icon {
    font-size: 24px;
    width: 26px;
    height: 26px;
}

.ch-menu-previous-next a {
    padding: var(--small-spacing-unit) var(--small-spacing-unit);
    color: black;
    display: inline-flex;
    align-items: center;
}

.ch-menu-previous-next a.disabled {
    text-decoration: unset;
    opacity: var(--disabled-alpha);
    /*color: rgb(var(--on-surface-colour-RGB), var(--disabled-alpha));*/
    /*fill: rgb(var(--on-surface-colour-RGB), var(--disabled-alpha));*/
}

.compressed .ch-menu-previous-next a {
    padding: 0 0;
}

.ch-menu-previous-next a:hover:not(.disabled) {
    background-color: var(--borderless-hover-on-surface);
    border-radius: var(--input-radius);
    text-decoration: none;
}

.ch-menu-block {
    /*border-top: 1px solid var(--border-colour);*/
    border-bottom: 1px solid var(--border-colour);
    padding: var(--small-spacing-unit) var(--small-spacing-unit);
}

.ch-overflow-ellipse {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.reactNav .jq-icon-success {
    background-color: var(--primary-colour);
    color: white;
}

.reactNav .jq-icon-error {
    background-color: var(--error-colour);
    color: white;
}

.reactNav .ch-base .exam #examSectionTabs .ui-tabs-tab[aria-selected="false"] a {
    background-color: #fff !important;
    color: #000 !important;
}

.reactNav .ch-base .exam #examSectionTabs .ui-tabs-tab[aria-selected="true"] a {
    background-color: #fff !important;
    color: #000 !important;
}

.reactNav .ch-base .exam .ui-tabs-nav .ui-state-default, .reactNav .exam .ui-tabs-anchor {
    background-color: #fff !important;
    color: #000 !important;
}

.reactNav .ch-base .exam #examSectionTabs #section-a, .reactNav .exam #examSectionTabs #section-b{
    background-color: #fff !important;
}

.reactNav .ant-form-item-label {
    pointer-events: none;
    min-width: 90px;
    /*max-width: 90px;*/
}

.ch-search-items-blk {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.ch-search-items {
    flex-direction: column;
    display: flex;
    flex: 1;
    overflow: auto;
}
.ch-search-items li::marker {
    color: var(--link-colour);
}
.ch-snackbar-content {
    flex: 1;
    display: flex;
    flex-direction: row;
}

.ch-snackbar-title {
    font-weight: 600;
    font-size: 14px;
    padding: 0 var(--spacing-unit) 0 0;
}

.ch-snackbar-close-btn:focus-visible {
    outline-color: #fff !important;
}

#searchResourcesForm > div{
    width:100%
}

#searchResourcesForm .ant-form-item-label{
    min-width:120px;
}

.notistack-SnackbarContainer {
    right: 40px !important;
}
.link-url-in-bookmark-nav .ant-menu-title-content:hover {
    text-decoration: underline;
}
.link-url-in-bookmark-nav:not(:last-child) {
    height: 25px!important;
    line-height: 25px!important;
    /*margin-top:0!important;*/
    margin-bottom:0!important;
}
.link-url-in-bookmark-nav:last-child {
    height: 25px!important;
    line-height: 25px!important;
    /*margin-top:0!important;*/
    margin-bottom:4px!important;
}
/*end bookmarks nav menu*/

.reviewBlk {
    list-style: none;
    border-top: 1px solid var(--border-colour);
    margin-top: var(--spacing-unit);
    padding-top: var(--spacing-unit);
}
.reviewBlk:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}
.reviewBlk ul {
    font-size: 12px;
    margin-top: var(--spacing-unit);
    padding-left: calc(var(--spacing-unit) * 3);
}

.ch-card{
    border: 1px solid var(--border-colour);
}

.ch-card.medium-box-radius{
    box-shadow: 1px 2px 5px 1px var(--box-shadow-colour);
}

.ch-card.small-box-radius{
    box-shadow: 0 1px 4px 1px var(--box-shadow-colour);
}

.ch-card.extra-small-box-radius{
    box-shadow: 0 0 4px 0 var(--box-shadow-colour);
}

.ch-card.tiny-box-radius{
    box-shadow: 0 0 1px 0 var(--box-shadow-colour);
}

.ch-card-expandable{
    display: flex;
    flex-direction: row;
    cursor: pointer;
    padding:2px;
}

.ch-card.rounded, .ch-card.rounded .ch-card-expandable {
    border-radius: var(--component-radius);
}

.ch-card .ant-steps.ant-steps-small .ant-steps-item-title {
    font-size: 12px;
}

.ant-menu-submenu-title:focus-visible, .ant-menu:focus-visible {
    box-shadow: 0 0 0 var(--input-borderless-focus-size) var(--focus-on-surface) inset;
}

.ch-card.stepper-background {
    background: #F5F5F5;
}

/* table for jsps*/
.ch-general-table > thead > tr{
    background: var(--table-header-colour)!important;
    border-bottom: solid 2px var(--table-border-darkened-colour) !important;
}

.ch-general-table td{
    border-bottom: 1px solid var(--table-border-colour);
}
/* end table for jsps */

/* ag-grid table */
.ch-general-table-ag-grid .ag-header-cell {
    border-bottom: 3px solid var(--table-border-darkened-colour) !important;
    display: flex;
    align-items: center;
}
.ch-general-table-ag-grid .ag-cell {
    font-size: 12px;
    align-items: center;
}
.ant-checkbox-wrapper {
    display: flex;
    align-items: center;
    font-size: inherit;
}
.ant-checkbox-wrapper .ant-checkbox {
    top: 0;
}
.ant-checkbox-checked:after {
    animation: none !important;
}
.ant-checkbox-inner,
.ant-checkbox-inner:after {
    transition: none !important;
}

.ant-card {
    border-radius: var(--container-radius);
}

.ant-pagination {
    margin-top: 20px;
}

.ant-tabs-content select {
    cursor: pointer;
}

.ant-tabs-content select:disabled {
    cursor: default;
}

.ch-general-table-ag-grid {
    padding-bottom: 8px;
    border-color: var(--table-border-colour);
}

.ch-general-table-ag-grid .ag-pinned-left-header .ag-header-cell:last-child, .ch-general-table-ag-grid .pinned-left-border-right{
    border-right:3px solid var(--table-border-darkened-colour)!important;
}

.ch-general-table-ag-grid.height-156 .ag-pinned-left-header .ag-cell-label-container .ag-header-cell-label{
    top: 76px;
    left: 22px;
    position: absolute;
}

.ch-general-table-ag-grid.height-156 .ag-pinned-right-header .ag-cell-label-container .ag-header-cell-label{
    top: 76px;
    left: 38px;
    position: absolute;
}

.ch-general-table-ag-grid.aggregateV2 .ag-pinned-right-header .ag-cell-label-container .ag-header-cell-label{
    /*top: 150px;*/
    display:flex;
    justify-content: center;
    /*left: 38px;*/
    /*position: absolute;*/
}

.ch-general-table-ag-grid .ag-header {
    background: var(--table-header-colour)!important;
    border-bottom: solid 1px var(--table-border-darkened-colour) !important;
}

/*START for pinned columns right and left*/
/*.ch-general-table-ag-grid .ag-pinned-left-header .ag-header-group-cell:first-child {*/
/*    height:unset!important;*/
/*}*/
.ch-general-table-ag-grid .ag-pinned-right-header .ag-header-group-cell {
    height:unset!important;
}

.ch-general-table-ag-grid.height-156 .ag-pinned-right-header .ag-header-row.ag-header-row-column {
    top: -10px!important;
    height: 156px!important;
    border-left: 1px solid var(--table-border-darkened-colour)!important;
}

.ch-general-table-ag-grid.height-156 .ag-pinned-left-header .ag-header-row.ag-header-row-column {
    top: -10px!important;
    height: 156px!important;
    border-right: 3px solid var(--table-border-darkened-colour)!important;
}

/*.ch-general-table-ag-grid.aggregateV2 .ag-pinned-left-header .ag-header-row .ag-header-group-cell:first-child{*/
/*    border-top:none!important;*/
/*}*/

.ch-general-table-ag-grid.aggregateV2 .ag-header-row:not(:first-child) .ag-header-cell[col-id="studentName"],
.ch-general-table-ag-grid.aggregateV2 .ag-header-row:not(:first-child) .ag-header-cell[col-id="testTotal"]{
    border-top:none;
}

.ch-general-table-ag-grid.aggregateV2 .ag-pinned-left-header{
    border-right: 3px solid var(--table-border-darkened-colour)!important;
}

.ch-general-table-ag-grid.aggregateV2 .ag-pinned-right-header{
    border-left: 1px solid var(--table-border-darkened-colour)!important;
}

/* END for pinned columns right and left */

.ch-general-table-ag-grid .ag-header {
    background: var(--table-header-colour)!important;
}

.ch-general-table-ag-grid .ag-root-wrapper {
    border-top: 2px solid var(--table-border-colour)!important;
    border-bottom: 2px solid var(--table-border-colour)!important;
    border-right: 3px solid var(--table-border-colour)!important;
    border-left: 3px solid var(--table-border-colour)!important;
}
.ch-general-table-ag-grid.rounded-top .ag-root-wrapper {
    border-top-left-radius: var(--container-radius);
    border-top-right-radius: var(--container-radius);
}
/* end ag-grid table */

/* antd table */
.ch-general-table-antd {
    /*margin-top: var(--medium-spacing-unit);*/
    padding: var(--small-spacing-unit);
    width:100%;
}

.ch-general-table-antd.ant-table-wrapper .ant-table-cell-scrollbar {
    box-shadow:unset;
}

.ch-general-table-antd .editable-cell-expand-button{
    width: 28px;
    height: 28px;
    position: absolute;
    margin-top: 6px;
    cursor: pointer;
}

.ch-general-table-antd .ch-link{
    color: var(--hover-link-colour);
}

.ch-general-table-antd .ch-link:hover{
    color: var(--hover-link-colour);
    text-decoration: underline;
}

.ch-general-table-antd .row-title-highlight{
    background: var(--table-row-highlight-colour);
}

/* adds border to the end of the expanded tests */
.ch-general-table-antd .ant-table-row-level-1 + .ant-table-row-level-0 td{
    transition: none;
}

/* end antd table */

/* nested table, and table inside Collapse */
.ch-general-table-antd .ch-general-table-antd,
.ch-collapse .ant-collapse-item >.ant-collapse-content>.ant-collapse-content-box{
    padding:0;
}

.ch-collapse .ch-general-table-antd .ant-table-title{
    padding:var(--small-spacing-unit) 0 0 0!important;
}

.ch-collapse .ch-general-table-antd{
    padding:0;
}

.ch-general-table-antd .ch-general-table-antd table .ant-table-cell {
    font-size: .85em !important;
    padding: var(--medium-spacing-unit) var(--small-spacing-unit) !important;
}
/* end nested table */

.ch-btn-two-lines{
    padding:2px 8px;
}

.ch-center-elem {
    display:flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.ch-sml-font{
    font-size: .85em;
}

.ch-std-font{
    font-size: 1em;
}

.ch-med-font{
    font-size: 1.1em;
}

.ch-lrg-font{
    font-size: 1.3em;
}

.ch-xl-font{
    font-size: 1.7em;
}

.ch-xxl-font{
    font-size: 2em;
}

.ch-xxxl-font{
    font-size: 2.3em;
}

.ch-bold-small{
    font-weight:520;
}

.ch-bold{
    font-weight:bold;
}

.ch-italic{
    font-style:italic;
}
.ch-normal {
    font-weight: unset!important;
}

.ch-diag-progIcon-high {
    /*fill: rgba(var(--primary-colour-RGB), 1);*/
    fill: #A843FB;
}
.ch-diag-progIcon-mid {
    /*fill: rgba(var(--primary-colour-RGB), .54);*/
    fill: #DAADFF;
}
.ch-diag-progIcon-low {
    fill: transparent;
    stroke: var(--on-surface-colour);
    stroke-opacity: .75;
    stroke-width: .7;
}

.ch-dialog-title {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: var(--dialog-title-bg-colour);
    color: var(--dialog-title-font-colour);
    font-size: 1.2em;
}
.ch-dialog-title-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    width: 0;
}
.ch-dialog-title svg {
    margin-right: var(--spacing-unit);
}
.ch-dialog-content {
    padding: var(--spacing-unit) !important;
    margin: 0;
}
.ch-dialog-actions {
    padding-top: 0;
}

.ch-login-survey {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ch-check-feedback-assigned {
    fill: var(--success-colour);
}

.ch-non-expandable-row .ch-check-feedback-assigned {
    fill: #999;
}

.ch-expandable-row {
    cursor: pointer;
}

.ch-non-expandable-row {
    cursor: default;
    color: var(--focus-on-primary);
}

.ant-table-tbody > tr.ch-non-expandable-row:hover > td,
.ant-table-tbody > tr.ch-non-expandable-row > td.ant-table-cell-row-hover,
.ag-pinned-left-cols-container .ag-row-hover.no-hover {
    background: unset;
}

.second-color-highlight{
    background: rgba(var(--secondary-colour-RGB),.03)!important;
}

.ch-bg-hover-highlight:hover{
    background: var(--hover-bg-colour);
}

.ch-highlight {background-color:#ecefcf; padding: 4px 4px;border-radius: 4px}

.ch-letter-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    row-gap: var(--spacing-unit);
    margin: 1rem 0;
}

.ch-glossary-definition img{
    max-width: 720px; /*prevents image going outside of accordion in Search Resources and then in the Dictionary tab */
}

.akit-blk {width: 800px;display: flex;flex-direction: row;}
.akit-main-panel, .akit-options-panel {display: flex;}
.akit-main-panel {border: 1px solid rgba(0, 0, 0, 0.06);flex: 1;flex-direction: column;}
.akit-options-panel {margin-left: var(--spacing-unit);}
.akit-techer-options {display: flex;flex-direction: column;align-items: flex-end;}
.akit-head {background: rgba(0,0,0,.1);text-align: center;font-size: 18px;padding: var(--small-spacing-unit) 0;}
.akit-main, .akit-history {padding: calc(var(--spacing-unit) * 2);}
.akit-history {background: rgba(0,0,0,.03);text-align: center;}
.akit-main {}

.ch-text-emphasis {
    font-weight: bold;
    color: var(--secondary-colour);
}

.ch-icon {fill: var(--on-primary-colour); stroke: var(--primary-colour)}

.ch-paging {}
.ch-paging .ant-pagination-item, .ch-paging .ant-pagination-prev,.ch-paging .ant-pagination-next {border: 1px solid var(--border-colour);}
.ch-paging .ant-pagination-item-active {background: transparent;border: solid 2px var(--on-surface-colour);}
.ch-paging .ant-pagination-item-active:hover {background: var(--border-colour);border-color: var(--on-surface-colour);}
.ch-paging .ant-pagination-item-active a,
.ch-paging .ant-pagination-item-active:hover a {color: var(--on-surface-colour);line-height: calc(var(--ant-pagination-item-size) - 4px);}
.ch-paging .ant-pagination-prev,.ch-paging .ant-pagination-next {background: var(--button-colour);border: 2px solid var(--button-colour);}
.ch-paging .ant-pagination-prev:hover,.ch-paging .ant-pagination-next:hover {background: transparent;}
.ch-paging .ant-pagination-prev:hover button,.ch-paging .ant-pagination-next:hover button {background: transparent !important;}
.ch-paging .ant-pagination-prev svg,.ch-paging .ant-pagination-next svg {fill: var(--on-button-colour);}
.ch-paging .ant-pagination-prev:hover svg,.ch-paging .ant-pagination-next:hover svg {fill: var(--button-colour);}
.ch-paging .ant-pagination-disabled {background: transparent !important;border: 1px solid var(--border-colour) !important;}
.ch-paging .ant-pagination-disabled svg {fill: var(--border-colour) !important;}


.ch-disable-events {
    pointer-events:none;
}

.cont-non-template-html .ch-example-anchor {
    margin-bottom: var(--small-spacing-unit);
}

.ch-suggester-options-wrapper {
    overflow: hidden;
    position: fixed;
    border: 1px solid var(--border-colour);
    border-radius: var(--container-radius);
    background-color: white;
    z-index: 99;
}

.ch-suggester-options {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 120px;
}

.ch-suggester-options * {
    cursor: pointer;
    width: 100%;
    justify-content: left;
}

.recharts-surface{
    overflow:visible;
}

.ch-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

.cont-base .ch-desmos-wrapper {
    clear: both;
    font-size: 110%;
    background-color: #d1e5d9;
    padding: var(--spacing-unit);
    font-weight: bold;
    border-radius: calc(var(--component-radius) * 2);
}
.ch-desmos-header {display: flex;flex-direction: row;align-items: center}
.ch-desmos-name {color: #127a3d;font-weight: bold;display: inline-block;padding: var(--small-spacing-unit);}
.ch-desmos-description { color: #000; font-size: 80%; padding-top: 5px}
.ch-desmos-instructions {}
.ch-accessibility-label {display: none}
.ch-empty-name {font-style: italic}
.ch-hide {display: none !important;}

.ch-complete-indicator {color: var(--on-complete-colour) !important; background-color: var(--complete-colour) !important;}
.ch-skipped-indicator {color: #fff; background-color: #d9d9d9 !important;}
.ch-selected-indicator {color: var(--on-input-colour) !important; background-color: var(--input-colour) !important;}

.ch-correct-bg {background-color: var(--correct-colour) !important;}
.ch-incorrect-bg {background-color: var(--incorrect-colour) !important;}
.ch-unmarked-bg {background-color: var(--unmarked-colour) !important;}
.ch-complete-bg {background-color: var(--complete-colour) !important;}
.ch-selected .ch-complete-bg {background-color: var(--selected-complete-colour) !important;}
.ch-blank-bg {background-color: transparent;}
.ch-highlight-bg {
    background-color: #ecefcf;
    padding: var(--medium-spacing-unit) var(--medium-spacing-unit);
    border-radius: var(--component-radius);
}
.ch-highlight-new  {background:#f1c40f;color:#ffffff;padding:4px 6px;margin: 3px 3px;border-radius: 5px;}

.ch-tag-primary {color: var(--on-primary-colour); background-color: var(--primary-colour);}
.ch-tag-secondary {color: var(--on-secondary-colour); background-color: var(--secondary-colour);}

.ch-page-tabs {
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.ch-page-tab {
    cursor:pointer;
    flex: 1;
    background: #f0f0f0;
    color: var(--on-surface-colour);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-size: 14px;
    height: 44px;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    padding: 0 4px;
    margin: 0 1px;
    border: solid 1px var(--secondary-colour);
    border-radius: var(--component-radius);
}
.ch-page-tab:hover {
    color: var(--on-surface-colour);
    text-decoration: none;
}
.ch-page-tab.ch-selected {
    background: rgba(var(--secondary-colour-RGB), 0.6);
    color: var(--on-secondary-colour);
}
.ch-page-label {
    line-height: 34px;
    margin-bottom: 4px;
    text-decoration: none;
}
.ch-page {
    display: flex;
    gap: 2px;
    margin-bottom: 4px;
    width: 100%;
}
.ch-page-question-result {
    flex: 1;
    height: 5px;
    box-sizing: border-box;
}
.ch-result-blk {height: 8px; cursor: pointer;padding:0}
.ch-result-bar {padding: 0;margin: 0;list-style: none;display: flex;flex-wrap: nowrap;overflow-x: auto;cursor: pointer; gap:2px;}
.ch-result {height: 100%; background-color: var(--unmarked-colour)}
.ch-error-blk {margin: 0 auto;  width: fit-content}

.ch-video-player {
    margin: var(--large-spacing-unit);
}

.ch-carousel-controls {position:absolute;top:100%;left:50%;z-index:1}
.ch-carousel-controls .ch-button svg {color: #fff;opacity: 0;}
.ch-carousel-controls .ch-button:focus-visible svg, .ch-carousel-controls .ch-button:hover svg {opacity: 1; transition: opacity var(--ani-mid) var(--easing)}

.ant-carousel .slick-arrow {border-radius: var(--container-radius);}
.ant-carousel .slick-arrow:focus-visible {box-shadow: 0 0 0 var(--input-focus-size) var(--focus-on-surface);}
.ant-carousel .slick-dots button:focus, .ant-carousel .slick-dots button:focus-visible {box-shadow: 0 0 0 var(--input-focus-size) var(--focus-on-surface);}

.ant-table-column-sorter-up svg, .ant-table-column-sorter-down svg {width: 1.5em; height: 1.5em;}

.ant-table-filter-trigger:focus-visible {outline:none;}
.anticon-filter svg {width: 1.5em;height: 1.5em}

.ch-list-item span:focus-visible {box-shadow: 0 0 0 var(--input-focus-size) var(--focus-primary)}

.ch-drop-down-wrapper span+span {padding: 0}

.ch-question-input {
    field-sizing: content;
}

/* 576px is the width of ANTD xs size in Col scaling */
@media screen and (max-width: 576px) {
    .ch-responsive-row, .ch-responsive-col{
        min-width: 290px;
        width: 100vw;
    }
    .reactNav .ch-xxs-responsive{
        padding-left:2px!important;
    }

    .ch-dialog .MuiPaper-root{
        width: 95vw;
        margin:0;
    }

    #teacherTests .ant-tabs-content-holder {
        padding-left: 0;
    }

}


.ch-visually-hidden .ant-table-title, .ch-visually-hidden .ant-table-title * {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ch-general-list-antd .ch-list-item > *{
    width:100%;
}
.ch-general-list-antd .ch-list-item.no-bottom-border{
    border-bottom:none;
}

.ch-general-list-antd {
    --ant-list-item-padding:4px;
}

.ch-general-list-antd:focus-visible {
    outline: var(--input-focus-size) solid var(--focus-on-surface);
}

.ch-general-list-antd .ant-list-pagination, .ch-general-list-antd .ant-list-pagination .ant-pagination{
    margin-block-start:var(--medium-spacing-unit);
}

.ch-percentage-bar-graph > *{
    border-radius:4px;
    overflow: hidden;
    white-space: nowrap;
    /*min-width:fit-content;*/
    padding:4px;
    line-height: 16px;
}

.ch-percentage-bar-graph > *:not(:last-child){
    border-right:1px solid white;
}
.ch-width-100{
    width:100%;
}
.ui-dialog .ui-dialog-titlebar-close:focus-visible{
    outline: 2px solid var(--secondary-colour);
    outline-offset:2px;
}
.ch-competition-rank {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    text-align: center;
}

.ch-gold {
    background: radial-gradient(circle, #D7B354 0%, #D7B354 35%, #EFC75E 35%, #EFC75E 55%, #D7B354 55%, #D7B354 100%);
}

.ch-silver {
    background: radial-gradient(circle, #CDCFCF 0%, #CDCFCF 35%, #E4E7E7 35%, #E4E7E7 55%, #CDCFCF 55%, #CDCFCF 100%);
}

.ch-bronze {
    background: radial-gradient(circle, #B15B2B 0%, #B15B2B 35%, #D58D54 35%, #D58D54 55%, #B15B2B 55%, #B15B2B 100%);
}

.ch-table-filter-collapse {
    background-color: #f8f8ff;
    margin-bottom: 1rem;
}

.ch-table-filter-collapse-nostyle .ant-collapse-content-box {
    padding: 0 !important;
}

.ch-table-filter-collapse .ant-collapse-header, .ch-table-filter-collapse-nostyle .ant-collapse-header {
    display: none !important;
}

/* prevents jarring when tabbing with AntD tabs in Chrome */
.ant-tabs-tabpane:focus {
    scroll-margin-top: 50px;
}

.ch-pointer-events .ant-form-item-label {
    pointer-events: auto;
}

.ch-light-bg{
    background:var(--light-fill);
}
/* trail styles */
.ch-trail-steps .ant-steps-item-process .ant-steps-item-icon {
    background-color: #1890ff;
}

.ch-trail-steps.ant-steps-item-process .ant-steps-item-title {
    font-weight: 600;
    color: #1890ff;
}

.ch-trail-activity {
    display: flex; flex-direction: column;
    gap: var(--spacing-unit);
    padding: var(--spacing-unit) var(--spacing-unit);
    margin: var(--small-spacing-unit) var(--small-spacing-unit);
}

.ch-trail-end-activity {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-unit) var(--spacing-unit);
}

.ch-trail-steps .ant-steps-item-tail::before,
.ch-trail-steps .ant-steps-item-tail::after {
    border-top-width: 4px !important;
}

/* Question styles */
.ch-answer-button {
    margin-top: var(--small-spacing-unit);
}

.ch-correct-icon {
    color: var(--correct-colour);
    font-size: 20px;
    vertical-align: middle;
}

.ch-incorrect-icon {
    color: var(--incorrect-colour);
    font-size: 20px;
    vertical-align: middle;
}

.ch-question-feedback {
    background-color: #f6f8fa;
    border: 1px solid #d9d9d9;
    margin: var(--spacing-unit) 0;
    padding: var(--spacing-unit) var(--spacing-unit);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    outline: none;
}

.ch-question-feedback-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ch-question-feedback-buttons, .ch-question-feedback-result  {
    display: flex;
    gap: var(--spacing-unit);
    justify-content: center;
    width: 100%;
}

.ch-question-question-disabled {
    opacity: 0.6;
    pointer-events: none;
}

.ch-question-question-disabled input,
.ch-question-question-disabled button,
.ch-question-question-disabled select,
.ch-question-question-disabled textarea {
    pointer-events: none;
}

/* Trail Question styles */
.ch-answer-button {
    margin-top: var(--small-spacing-unit);
}

.ch-question-question-disabled {
    opacity: 0.6;
    pointer-events: none;
}

.ch-question-question-disabled input,
.ch-question-question-disabled button,
.ch-question-question-disabled select,
.ch-question-question-disabled textarea {
    pointer-events: none;
}

.ch-feedback-callout {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #d0d7de;
    border-radius: 8px;
    margin-top: calc(var(--spacing-unit) + 11px);
    margin-bottom: var(--spacing-unit);
    padding: 16px 24px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ch-feedback-callout:focus-visible  {
    box-shadow: 0 0 0 4px var(--focus-on-surface) inset;
}

.ch-feedback-callout::before {
    content: '';
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-bottom: 11px solid #d0d7de;
}

.ch-feedback-callout::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ffffff;
    filter: drop-shadow(0 -2px 1px rgba(0, 0, 0, 0.05));
}

.ch-feedback-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ch-feedback-icon {
    font-size: 24px;
    color: #333;
}

.ch-feedback-title {
    font-size: 1.25em;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.ch-feedback-body {
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.ch-feedback-body p {
    margin: 0 0 8px 0;
}
.ch-feedback-body p:last-child {
    margin-bottom: 0;
}

.ch-feedback-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

/* End question styles */

/* tinymce editor styles */
.ch-tiny-mce-editor-wrapper > div {
    border-radius: var(--container-radius);
    overflow: hidden;
}
.ch-tiny-mce-editor-wrapper.focused > div,
.ch-tiny-mce-editor-wrapper:hover > div {
    border-color: var(--secondary-colour);
}
.ch-tiny-mce-editor-wrapper.focused > div {
    box-shadow: 0px 0px 0px 2px rgba(var(--secondary-colour-RGB), .1);
}

/* Accessibility styles */
.ch-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Updated Filter Controls */
.ch-filter-form {
    display: flex;
    flex-direction: row;
    background-color: #f8f8ff;
    padding: 0.5rem;
    border-radius: 8px;
    align-items: center;
    margin: 0.5rem 0 2rem 0;
    gap: 0.75rem;
}

.ch-filter-form-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: center;
}

.ch-filter-form-buttons button {
    width: 100%;
}

.ch-filter-form-content {
    width: 100%;
}

.ch-filter-form-section {
    width: 100%;
    display: flex;
    gap: 0.5rem
}

.ch-filter-form-section > * {
    flex: 1;
    width: 100px;
}

.ch-filter-form label {
    font-size: 14px;
    font-weight: 600;
}

.ch-filter-form .ant-form-item-label {
    padding: 4px 0 !important;
}

.ch-table-controls button {
    padding: 0 0.25rem;
}

.ch-filter-form-button-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

@media (max-width: 800px) {
    .ch-filter-form-section {
        display: flex;
        flex-wrap: wrap;
    }

    .ch-filter-form-section > * {
        width: 49%;
        box-sizing: border-box;
        flex: unset;
    }
}

@media (max-width: 600px) {
    .ch-filter-form {
        flex-direction: column;
    }

    .ch-filter-form-section {
        display: flex;
        flex-wrap: wrap;
    }

    .ch-filter-form-section > * {
        width: 100%;
        box-sizing: border-box;
        flex: unset;
    }
}

.ch-focus-sentinel {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.ch-manage-bookmarks-wrapper {
    display: grid;
    grid-template-columns: 275px repeat(3, 1fr);
    grid-template-rows: 10% repeat(3, 1fr);
    gap: 1px;
    width: 100%;
    height: 100%;
    container-type: inline-size;
}

.ch-manage-bookmarks-heading {
    grid-area: 1 / 1 / 2 / 6;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border-bottom: 1px solid lightgrey;
}

.ch-manage-bookmarks-folders {
    grid-area: 2 / 1 / 6 / 2;
    max-width: 100%;
    width: 100%;
    min-width: 0;
    overflow: auto;
    background-color: white;
    padding: 8px;
    border-right: 1px solid lightgrey;
}

.ch-manage-bookmarks-bookmark-list {
    grid-area: 2 / 2 / 6 / 6;
    background-color: white;
}

.ch-manage-bookmarks-bookmark-list .ch-buttons-group {
    flex-wrap: unset;
}

.ch-manage-bookmarks-select-wrapper {
    display: flex;
    gap: .75rem;
    align-items: center;
    max-width: 100%;
    padding: 6px
}

.ch-manage-bookmarks-select-wrapper button {
    flex: 0;
}

.ch-bookmark-folder-header {
    background: #f7f7f7;
    border-bottom: 2px solid lightgrey;
}

.ch-manage-bookmarks-select-label-wrapper {
    display: flex;
    flex-direction: column;
}

.ch-manage-bookmarks-select-label-wrapper > label {
    padding-bottom: 4px;
    font-weight: 600;
}

.ch-manage-bookmarks-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid lightgrey;
}

/* Mobile styles for manage bookmarks */
@media screen and (max-width: 768px) {
    .ch-manage-bookmarks-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }

    .ch-manage-bookmarks-folders {
        padding-top: unset;
        background-color: #f7f7f7;
        border-bottom: 1px solid darkgrey;
    }

    .ch-bookmark-folder-header {
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .ch-manage-bookmarks-item {
        flex-direction: column;
        align-items: start;
        gap: 8px;
    }
}

.ch-accessible-clear-button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ch-accessible-clear-button:focus, .ant-input-clear-icon:focus {
    outline: var(--input-focus-size) solid var(--focus-on-surface);
    outline-offset: 1px;
    border-radius: 50%;
}

.ch-accessible-clear-button svg, .ant-input-clear-icon svg {
    fill: var(--input-colour);
    font-size: 20px;
}


@media screen and (max-width: 768px) {
    .ch-messages-wrapper {
        max-width: 98vw;
    }
}


.circle-before::before{
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 50%;
}
.quizScoreShape.circle-before::before{
    margin-right:0;
    top:3px;
    position:relative;
}
.quizScoreShape::before{
    margin-right:6px;
    top:2px;
    position:relative;
}
.triangle-before::before{
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 14px solid white;
}

.square-before::before{
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background: white;
}

.pentagon-before::before{
    content: '';
    display: inline-block;
    width: 16px;
    height: 15px;
    background: white;
    clip-path: polygon(
            50% 0%,
            100% 38%,
            82% 100%,
            18% 100%,
            0% 38%
    );
}
.ch-table-header-icon:focus-visible {
    outline: 1px solid black !important;
}
/* Only show outline if focused via keyboard */
.ch-table-header-icon:focus:not(:focus-visible) {
    outline: none;
}
.ch-general-table-antd .ant-table-column-sorter{
    display:none;
}
.ant-table-filter-column .ant-table-column-title{
    color:black;
}
.ant-table-filter-trigger:not(.ch-antd-filter) {
    visibility: hidden;
    width: 0;
    height: 0;
    overflow: hidden;
    display: inline-block;
}
.ch-antd-filter{
    color:black!important; /* overwrite grey icon for accessiblity contrast */
}
.ch-general-table-antd .ant-table-thead > tr:focus{
    outline:none !important; /* hide focus trap focus*/
}

@media screen and (max-width: 1024px) {
    .ch-test-wrapper {
        padding: 0 8px;
    }
}
