Your IP : 216.73.217.79


Current Path : /var/www/cesa.co.za/css/
Upload File :
Current File : /var/www/cesa.co.za/css/shared.css

@import url("/js/jqueryui-1-13/jquery-ui.min.css");

/* Shared portal styles: cceadmin, cceconvenors, cesanet — see documentation/specs/cce-portal-shared-css.md */

select[multiple] {
    height: 150px;
    overflow-y: auto;
}

.alert {
    border-radius: 4px;
    font-weight: bold;
    margin: 4px;
    padding: 8px;
}

.alert-info {
    background-color: #01b9ff;
}

.borderless,
.borderless * {
    border: none !important;
}

.ChangeAnswerDialog ul li {
    list-style-type: disc;
}

.ewHeaderRow {
    background-color: #38498e;
}

.form-control {
}

.form-group > .row {
    border-bottom: solid 1px #CCCCCC;
    margin-bottom: 4px;
    padding-bottom: 4px;
}

.image img {
    max-width: 50vw;
    height: auto;
    cursor: pointer;
}

.select2-field {
    width: 95% !important;
}

.table-no-border, .table-no-border tr, .table-no-border th, .table-no-border td {
    border: none !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    border-color: transparent !important;
    border-style: none !important;
    border-width: 0 !important;
    border-radius: 0 !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* jQuery UI dialog close button: show visible cross (×); shared.css loads after theme so this overrides empty block */
.ui-dialog-titlebar-close {
    text-indent: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    border: 1px solid #ccc !important;
}

.ui-dialog-titlebar-close .ui-icon,

.ui-dialog-titlebar-close .ui-button-icon {
    display: none !important; /* hide default empty icon block */
}

.ui-dialog-titlebar-close:before {
    content: "×";
    display: inline-block;
    font-size: 1.3em;
    line-height: 1;
    font-weight: bold;
}

.well {
    border: solid 1px;
    border-radius: 2px;
    margin: 2px;
    padding: 4px;
}

/* CCE message display (CCEMessages.php — cstUnreadMessages, readmessage) */
.cce-message-body {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    line-height: 1.5;
    white-space: normal;
}

.cce-message-segment {
    padding: 8px 0;
}

.cce-message-segment + .cce-message-segment {
    border-top: 1px solid #bbb;
    margin-top: 8px;
    padding-top: 12px;
}

.cce-message-segment-reply {
    background-color: #f7f7f7;
    padding-left: 10px;
    padding-right: 10px;
    border-left: 3px solid #ccc;
    color: #222;
}

.cce-message-reply-header {
    font-weight: bold;
    color: #555;
    margin-bottom: 6px;
    font-size: 0.95em;
}

.cce-message-segment-body {
    line-height: 1.4;
}

td.cce-message-cell {
    vertical-align: top;
    white-space: normal;
    min-width: 280px;
    color: #222;
}

/* PHPMaker row select uses white text; keep message bodies readable */
tr.ewTableSelectRow td.cce-message-cell,
tr.ewTableSelectRow td.cce-message-cell .cce-message-body,
tr.ewTableSelectRow td.cce-message-cell .cce-message-segment,
tr.ewTableSelectRow td.cce-message-cell .cce-message-segment-body,
tr.ewTableSelectRow td.cce-message-cell .cce-message-reply-header {
    color: #222 !important;
}

tr.ewTableSelectRow td.cce-message-cell .cce-message-segment-reply {
    background-color: #f7f7f7 !important;
    color: #222 !important;
}

tr.ewTableSelectRow td.cce-message-cell a {
    color: #0066cc !important;
}


.style2 {
    color: #FFFFFF;
}


/* Assignment summary (assigsummary.php) + wide portal tables (examsreport.php) */

/* Stop the wide grid from stretching the portal layout (page scroll) */
body:has(.assig-summary-wrapper),
body:has(.exams-report-scroll),
.portal-wide-table-page,
.assig-summary-layout-page {
    overflow-x: hidden;
    max-width: 100%;
}

.ewLayout:has(.assig-summary-wrapper),
.ewLayout:has(.exams-report-scroll),
.portal-wide-table-page,
.assig-summary-layout-page {
    overflow-x: hidden;
    max-width: 100%;
}

table.ewContentTable:has(.assig-summary-wrapper),
table.ewContentTable:has(.exams-report-scroll),
.portal-wide-table-layout,
.ewContentTable.assig-summary-layout {
    table-layout: fixed;
    width: 100%;
}

td.ewContentColumn:has(.assig-summary-wrapper),
td.ewContentColumn:has(.exams-report-scroll),
.portal-wide-table-content,
td.assig-summary-content {
    width: 100%;
    max-width: 0;
    overflow: visible;
}

.assig-summary-filters {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: #fff;
    padding: 0 0 8px;
    margin-bottom: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.assig-summary-filters-table {
    width: 100%;
    margin-bottom: 0;
}

/* Only this box scrolls horizontally; sticky name/avg columns use it as the scrollport */
.assig-summary-wrapper {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    contain: inline-size;
    -webkit-overflow-scrolling: touch;
}

/* Full table width inside the scrollport (enables sticky left columns) */
.assig-summary-scroll {
    display: inline-block;
    min-width: 100%;
    vertical-align: top;
}

.assig-summary-table {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    width: max(100%, var(--assig-table-min-width, 100%));
    min-width: var(--assig-table-min-width, 100%);
}

.assig-summary-table .assig-col-module-avg {
    width: 48px;
    min-width: 48px;
    max-width: 48px;
    box-sizing: border-box;
}

.assig-summary-table .assig-col-assignment {
    width: 76px;
    min-width: 76px;
    max-width: 76px;
    box-sizing: border-box;
}

.assig-summary-table .assig-col-module-avg {
    overflow: hidden;
    text-overflow: ellipsis;
}

.assig-summary-table .headingcell.assig-col-assignment {
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip;
    text-align: center;
    line-height: 1.2;
}

.assig-summary-table td.assig-col-assignment:not(.headingcell) {
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.assig-summary-table .mod-cell-filter-hidden {
    display: none !important;
}

.assig-summary-table .assig-col-filler {
    width: auto !important;
    min-width: 0;
    max-width: none;
    padding: 0;
    border: none !important;
    background: transparent !important;
    overflow: hidden;
}

.assig-summary-table .sticky-col {
    position: sticky;
    z-index: 2;
    background-clip: padding-box;
}

.assig-summary-table td.sticky-col.lightcell {
    background-color: #F2DCDB !important;
}

.assig-summary-table td.sticky-col.darkcell {
    background-color: #DA9694 !important;
}

.assig-summary-table .sticky-col-name {
    left: 0;
    width: 160px;
    min-width: 160px;
    max-width: 160px;
}

.assig-summary-table .sticky-col-avg {
    left: 160px;
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    box-shadow: 4px 0 6px -2px rgba(0, 0, 0, 0.15);
}

.assig-summary-table col.sticky-col-name {
    width: 160px;
}

.assig-summary-table col.sticky-col-avg {
    width: 40px;
}

.assig-summary-table col.assig-col-module-avg {
    width: 48px;
}

.assig-summary-table col.assig-col-assignment {
    width: 76px;
}

.assig-summary-table col.assig-col-filler {
    width: auto;
}

.assig-summary-table tr:first-child .sticky-col,
.assig-summary-table .module-group-header-row .sticky-col {
    z-index: 4;
}

.assig-summary-table .module-group-header-row td {
    text-align: center;
    font-weight: bold;
    font-size: 10px;
    vertical-align: bottom;
    padding: 4px 2px !important;
}

.assig-summary-table .mod-group-start {
    border-left: 3px solid #333 !important;
}

@media print {
    body:has(.assig-summary-wrapper),
    .assig-summary-layout-page {
        overflow-x: visible;
    }

    .assig-summary-filters {
        position: static;
        box-shadow: none;
    }

    .assig-summary-wrapper {
        overflow: visible;
        width: 100%;
        contain: none;
    }

    .assig-summary-scroll {
        display: block;
        min-width: 0;
    }

    .assig-summary-table .sticky-col {
        position: static;
        box-shadow: none;
    }

    .ewMenuColumn {
        display: none;
    }

    .ewHeaderRow {
        display: none;
    }

    @page {
        size: landscape
    }
}

.table {
        padding: 0px;
        color: black;
        text-align: general;
        vertical-align: bottom;
        border: none;
        white-space: nowrap !important;
    }

    .cell {
        padding: 4px !important;
        color: black !important;
        text-align: left;
        vertical-align: middle;
        border: .5pt solid windowtext;
        white-space: nowrap !important;
    }

    .cell a {
        color: black !important;
        text-decoration: none !important;
    }

    /* Green: submitted but not yet marked; no score shown yet */
    .notevaluated {
        background: #92D050 !important;
    }

    /* Green: marked and score shown, but feedback not yet released to student (convenor-only view of score) */
    .markedpendingfeedback {
        background: #92D050 !important;
    }

    /* Blue: marked and feedback released; score is the final achieved score visible to student */
    .achieved {
        background: #0070C0 !important;
    }

    .notsubmitted {
        background: #feade3 !important;
    }

    .resubmitted {
        background: yellow !important;
    }

    .missing {
        background: #C5D9F1 !important;
    }

    /* Red: assignment marked for resubmission (student must resubmit); white text for contrast */
    .notachieved {
        background: red !important;
        color: white !important;
    }

    .hardcopy {
        background: #FABF8F !important;
    }

    .darkcell {
        background: #DA9694 !important;
    }

    .lightcell {
        background: #F2DCDB !important;
    }

    .whitetext {
        color: white !important;
    }

    .headingcell {
        height: 69px !important;
        overflow: hidden !important;
    }

    .module-marks-summary {
        font-size: 10px;
        line-height: 1.2;
        text-align: center;
    }

    .module-marks-exam,
    .module-marks-total {
        font-size: 9px;
    }

    .cell a {
        color: black;
        text-decoration: none;
    }

    .whitetext a {
        color: white !important;
    }

/* Exam results report (examsreport.php) */

span.highlight {
            display:block;
            text-align:center;
        }
        .excel {
            background-color:greenyellow;
        }
        .warn {
            background-color:yellow;
        }
        .fail {
            background-color:tomato;
        }
        .exams-report-scroll {
            display: block;
            width: 100%;
            max-width: 100%;
            overflow-x: auto;
            overflow-y: visible;
            contain: inline-size;
            -webkit-overflow-scrolling: touch;
        }
        .exams-report-scroll-inner {
            display: inline-block;
            min-width: max(100%, var(--exams-report-table-min-width, 100%));
            vertical-align: top;
        }
        table.exams-report-results {
            border-collapse: separate;
            border-spacing: 0;
            table-layout: fixed;
            width: 100%;
            min-width: var(--exams-report-table-min-width, 100%);
        }
        table.exams-report-results col.exams-report-col-year { width: 52px; }
        table.exams-report-results col.exams-report-col-student { width: 140px; }
        table.exams-report-results col.exams-report-col-organisation { width: 240px; }
        table.exams-report-results col.exams-report-col-mentor { width: 64px; }
        table.exams-report-results col.exams-report-col-module { width: 88px; }
        table.exams-report-results col.exams-report-col-avg { width: 96px; }
        table.exams-report-results tbody td.exams-report-module-cell,
        table.exams-report-results tfoot th.exams-report-module-cell {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        table.exams-report-results td.exams-report-sticky-student,
        table.exams-report-results td.exams-report-organisation {
            overflow: visible;
            text-overflow: clip;
            white-space: normal !important;
            word-break: break-word;
            vertical-align: top;
        }
        table.exams-report-results td.exams-report-sticky-student {
            position: sticky;
            left: 0;
            z-index: 2;
            background-color: #fff;
            background-clip: padding-box;
            box-shadow: 2px 0 4px -2px rgba(0, 0, 0, 0.12);
        }
        table.exams-report-results tr:first-child td.exams-report-sticky-student {
            background-color: #EEEEEE;
            z-index: 3;
        }
        /* Header row: show full column titles (overrides .table nowrap) */
        table.exams-report-results tr:first-child td,
        table.exams-report-results td.exams-report-module-header {
            overflow: visible;
            text-overflow: clip;
            white-space: normal !important;
            line-height: 1.2;
            vertical-align: bottom;
        }
        table.exams-report-results td.exams-report-module-cell,
        table.exams-report-results th.exams-report-module-header {
            text-align: center;
        }

        @media print {
            .exams-report-scroll {
                overflow: visible;
                contain: none;
            }

            .exams-report-scroll-inner {
                display: block;
                min-width: 0;
            }

            table.exams-report-results td.exams-report-sticky-student {
                position: static;
                box-shadow: none;
            }
        }

/* Assignment marking / DataTables overrides (markassignments.php) */

.style2 {
        color: #FFFFFF
    }

    .smallerEdit {
        font-size: 10px;
    }

    /* Compact assignment marking table columns */
    #dataTables-assig {
        table-layout: fixed;
    }

    #dataTables-assig thead tr:last-child th {
        padding: 6px 4px;
        text-align: center;
        vertical-align: middle;
        white-space: nowrap;
    }

    #dataTables-assig thead tr:last-child th .vertical-heading-up {
        display: inline-block;
        writing-mode: vertical-rl;
        transform: rotate(180deg);
        white-space: nowrap;
        line-height: 1;
    }

    #dataTables-assig tbody td {
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    /* Keep short-status columns as compact one-line cells */
    #dataTables-assig tbody td:nth-child(5),
    #dataTables-assig tbody td:nth-child(6),
    #dataTables-assig tbody td:nth-child(7),
    #dataTables-assig tbody td:nth-child(8),
    #dataTables-assig tbody td:nth-child(9) {
        white-space: nowrap;
        text-align: center;
    }

    /* Feedback is allowed to grow and wrap naturally */
    #dataTables-assig tbody td:nth-child(10) {
        font-size: 10px;
        line-height: 1.3;
    }

    /*
     * Table styles
     */
    table.dataTable {
        width: 100%;
        margin: 0 auto;
        clear: both;
        border-collapse: separate;
        border-spacing: 0;
        /*
         * Header and footer styles
         */
        /*
         * Body styles
         */
    }

    table.dataTable thead th,
    table.dataTable tfoot th {
        font-weight: bold;
    }

    table.dataTable thead th,
    table.dataTable thead td {
        padding: 10px 18px;
        border-bottom: 1px solid #111111;
    }

    table.dataTable thead th:active,
    table.dataTable thead td:active {
        outline: none;
    }

    table.dataTable tfoot th,
    table.dataTable tfoot td {
        padding: 10px 18px 6px 18px;
        border-top: 1px solid #111111;
    }

    table.dataTable thead .sorting,
    table.dataTable thead .sorting_asc,
    table.dataTable thead .sorting_desc,
    table.dataTable thead .sorting_asc_disabled,
    table.dataTable thead .sorting_desc_disabled {
        cursor: pointer;
        *cursor: hand;
        background-repeat: no-repeat;
        background-position: center right;
    }

    table.dataTable thead .sorting {
        background-image: url("/images/sort_both.png");
    }

    table.dataTable thead .sorting_asc {
        background-image: url("/images/sort_asc.png") !important;
    }

    table.dataTable thead .sorting_desc {
        background-image: url("/images/sort_desc.png") !important;
    }

    table.dataTable thead .sorting_asc_disabled {
        background-image: url("/images/sort_asc_disabled.png");
    }

    table.dataTable thead .sorting_desc_disabled {
        background-image: url("/images/sort_desc_disabled.png");
    }

    table.dataTable tbody tr {
        background-color: #ffffff;
    }

    table.dataTable tbody tr.selected {
        background-color: #b0bed9;
    }

    table.dataTable tbody th,
    table.dataTable tbody td {
        padding: 8px 10px;
    }

    table.dataTable.row-border tbody th,
    table.dataTable.row-border tbody td,
    table.dataTable.display tbody th,
    table.dataTable.display tbody td {
        border-top: 1px solid #dddddd;
    }

    table.dataTable.row-border tbody tr:first-child th,
    table.dataTable.row-border tbody tr:first-child td,
    table.dataTable.display tbody tr:first-child th,
    table.dataTable.display tbody tr:first-child td {
        border-top: none;
    }

    table.dataTable.cell-border tbody th,
    table.dataTable.cell-border tbody td {
        border-top: 1px solid #dddddd;
        border-right: 1px solid #dddddd;
    }

    table.dataTable.cell-border tbody tr th:first-child,
    table.dataTable.cell-border tbody tr td:first-child {
        border-left: 1px solid #dddddd;
    }

    table.dataTable.cell-border tbody tr:first-child th,
    table.dataTable.cell-border tbody tr:first-child td {
        border-top: none;
    }

    table.dataTable.stripe tbody tr.odd,
    table.dataTable.display tbody tr.odd {
        background-color: #f9f9f9;
    }

    table.dataTable.stripe tbody tr.odd.selected,
    table.dataTable.display tbody tr.odd.selected {
        background-color: #acbad4;
    }

    table.dataTable.hover tbody tr:hover,
    table.dataTable.display tbody tr:hover {
        background-color: #f6f6f6;
    }

    table.dataTable.hover tbody tr:hover.selected,
    table.dataTable.display tbody tr:hover.selected {
        background-color: #aab7d1;
    }

    table.dataTable.order-column tbody tr>.sorting_1,
    table.dataTable.order-column tbody tr>.sorting_2,
    table.dataTable.order-column tbody tr>.sorting_3,
    table.dataTable.display tbody tr>.sorting_1,
    table.dataTable.display tbody tr>.sorting_2,
    table.dataTable.display tbody tr>.sorting_3 {
        background-color: #fafafa;
    }

    table.dataTable.order-column tbody tr.selected>.sorting_1,
    table.dataTable.order-column tbody tr.selected>.sorting_2,
    table.dataTable.order-column tbody tr.selected>.sorting_3,
    table.dataTable.display tbody tr.selected>.sorting_1,
    table.dataTable.display tbody tr.selected>.sorting_2,
    table.dataTable.display tbody tr.selected>.sorting_3 {
        background-color: #acbad5;
    }

    table.dataTable.display tbody tr.odd>.sorting_1,
    table.dataTable.order-column.stripe tbody tr.odd>.sorting_1 {
        background-color: #f1f1f1;
    }

    table.dataTable.display tbody tr.odd>.sorting_2,
    table.dataTable.order-column.stripe tbody tr.odd>.sorting_2 {
        background-color: #f3f3f3;
    }

    table.dataTable.display tbody tr.odd>.sorting_3,
    table.dataTable.order-column.stripe tbody tr.odd>.sorting_3 {
        background-color: whitesmoke;
    }

    table.dataTable.display tbody tr.odd.selected>.sorting_1,
    table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_1 {
        background-color: #a6b4cd;
    }

    table.dataTable.display tbody tr.odd.selected>.sorting_2,
    table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_2 {
        background-color: #a8b5cf;
    }

    table.dataTable.display tbody tr.odd.selected>.sorting_3,
    table.dataTable.order-column.stripe tbody tr.odd.selected>.sorting_3 {
        background-color: #a9b7d1;
    }

    table.dataTable.display tbody tr.even>.sorting_1,
    table.dataTable.order-column.stripe tbody tr.even>.sorting_1 {
        background-color: #fafafa;
    }

    table.dataTable.display tbody tr.even>.sorting_2,
    table.dataTable.order-column.stripe tbody tr.even>.sorting_2 {
        background-color: #fcfcfc;
    }

    table.dataTable.display tbody tr.even>.sorting_3,
    table.dataTable.order-column.stripe tbody tr.even>.sorting_3 {
        background-color: #fefefe;
    }

    table.dataTable.display tbody tr.even.selected>.sorting_1,
    table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_1 {
        background-color: #acbad5;
    }

    table.dataTable.display tbody tr.even.selected>.sorting_2,
    table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_2 {
        background-color: #aebcd6;
    }

    table.dataTable.display tbody tr.even.selected>.sorting_3,
    table.dataTable.order-column.stripe tbody tr.even.selected>.sorting_3 {
        background-color: #afbdd8;
    }

    table.dataTable.display tbody tr:hover>.sorting_1,
    table.dataTable.order-column.hover tbody tr:hover>.sorting_1 {
        background-color: #eaeaea;
    }

    table.dataTable.display tbody tr:hover>.sorting_2,
    table.dataTable.order-column.hover tbody tr:hover>.sorting_2 {
        background-color: #ececec;
    }

    table.dataTable.display tbody tr:hover>.sorting_3,
    table.dataTable.order-column.hover tbody tr:hover>.sorting_3 {
        background-color: #efefef;
    }

    table.dataTable.display tbody tr:hover.selected>.sorting_1,
    table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_1 {
        background-color: #a2aec7;
    }

    table.dataTable.display tbody tr:hover.selected>.sorting_2,
    table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_2 {
        background-color: #a3b0c9;
    }

    table.dataTable.display tbody tr:hover.selected>.sorting_3,
    table.dataTable.order-column.hover tbody tr:hover.selected>.sorting_3 {
        background-color: #a5b2cb;
    }

    table.dataTable.no-footer {
        border-bottom: 1px solid #111111;
    }

    table.dataTable.nowrap th,
    table.dataTable.nowrap td {
        white-space: nowrap;
    }

    table.dataTable.compact thead th,
    table.dataTable.compact thead td {
        padding: 4px 17px;
    }

    table.dataTable.compact tfoot th,
    table.dataTable.compact tfoot td {
        padding: 4px;
    }

    table.dataTable.compact tbody th,
    table.dataTable.compact tbody td {
        padding: 4px;
    }

    table.dataTable th.dt-left,
    table.dataTable td.dt-left {
        text-align: left;
    }

    table.dataTable th.dt-center,
    table.dataTable td.dt-center,
    table.dataTable td.dataTables_empty {
        text-align: center;
    }

    table.dataTable th.dt-right,
    table.dataTable td.dt-right {
        text-align: right;
    }

    table.dataTable th.dt-justify,
    table.dataTable td.dt-justify {
        text-align: justify;
    }

    table.dataTable th.dt-nowrap,
    table.dataTable td.dt-nowrap {
        white-space: nowrap;
    }

    table.dataTable thead th.dt-head-left,
    table.dataTable thead td.dt-head-left,
    table.dataTable tfoot th.dt-head-left,
    table.dataTable tfoot td.dt-head-left {
        text-align: left;
    }

    table.dataTable thead th.dt-head-center,
    table.dataTable thead td.dt-head-center,
    table.dataTable tfoot th.dt-head-center,
    table.dataTable tfoot td.dt-head-center {
        text-align: center;
    }

    table.dataTable thead th.dt-head-right,
    table.dataTable thead td.dt-head-right,
    table.dataTable tfoot th.dt-head-right,
    table.dataTable tfoot td.dt-head-right {
        text-align: right;
    }

    table.dataTable thead th.dt-head-justify,
    table.dataTable thead td.dt-head-justify,
    table.dataTable tfoot th.dt-head-justify,
    table.dataTable tfoot td.dt-head-justify {
        text-align: justify;
    }

    table.dataTable thead th.dt-head-nowrap,
    table.dataTable thead td.dt-head-nowrap,
    table.dataTable tfoot th.dt-head-nowrap,
    table.dataTable tfoot td.dt-head-nowrap {
        white-space: nowrap;
    }

    table.dataTable tbody th.dt-body-left,
    table.dataTable tbody td.dt-body-left {
        text-align: left;
    }

    table.dataTable tbody th.dt-body-center,
    table.dataTable tbody td.dt-body-center {
        text-align: center;
    }

    table.dataTable tbody th.dt-body-right,
    table.dataTable tbody td.dt-body-right {
        text-align: right;
    }

    table.dataTable tbody th.dt-body-justify,
    table.dataTable tbody td.dt-body-justify {
        text-align: justify;
    }

    table.dataTable tbody th.dt-body-nowrap,
    table.dataTable tbody td.dt-body-nowrap {
        white-space: nowrap;
    }

    table.dataTable,
    table.dataTable th,
    table.dataTable td {
        box-sizing: content-box;
    }

    /*
     * Control feature layout
     */
    .dataTables_wrapper {
        position: relative;
        clear: both;
        *zoom: 1;
        zoom: 1;
    }

    .dataTables_wrapper .dataTables_length {
        float: left;
    }

    .dataTables_wrapper .dataTables_length select {
        border: 1px solid #aaa;
        border-radius: 3px;
        padding: 5px;
        background-color: transparent;
        padding: 4px;
    }

    .dataTables_wrapper .dataTables_filter {
        float: right;
        text-align: right;
    }

    .dataTables_wrapper .dataTables_filter input {
        border: 1px solid #aaa;
        border-radius: 3px;
        padding: 5px;
        background-color: transparent;
        margin-left: 3px;
    }

    .dataTables_wrapper .dataTables_info {
        clear: both;
        float: left;
        padding-top: 0.755em;
    }

    .dataTables_wrapper .dataTables_paginate {
        float: right;
        text-align: right;
        padding-top: 0.25em;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button {
        box-sizing: border-box;
        display: inline-block;
        min-width: 1.5em;
        padding: 0.5em 1em;
        margin-left: 2px;
        text-align: center;
        text-decoration: none !important;
        cursor: pointer;
        *cursor: hand;
        color: #333333 !important;
        border: 1px solid transparent;
        border-radius: 2px;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button.current,
    .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
        color: #333333 !important;
        border: 1px solid #979797;
        background-color: white;
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, white), color-stop(100%, #dcdcdc));
        /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, white 0%, #dcdcdc 100%);
        /* Chrome10+,Safari5.1+ */
        background: -moz-linear-gradient(top, white 0%, #dcdcdc 100%);
        /* FF3.6+ */
        background: -ms-linear-gradient(top, white 0%, #dcdcdc 100%);
        /* IE10+ */
        background: -o-linear-gradient(top, white 0%, #dcdcdc 100%);
        /* Opera 11.10+ */
        background: linear-gradient(to bottom, white 0%, #dcdcdc 100%);
        /* W3C */
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
    .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
    .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
        cursor: default;
        color: #666 !important;
        border: 1px solid transparent;
        background: transparent;
        box-shadow: none;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
        color: white !important;
        border: 1px solid #111111;
        background-color: #585858;
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111111));
        /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #585858 0%, #111111 100%);
        /* Chrome10+,Safari5.1+ */
        background: -moz-linear-gradient(top, #585858 0%, #111111 100%);
        /* FF3.6+ */
        background: -ms-linear-gradient(top, #585858 0%, #111111 100%);
        /* IE10+ */
        background: -o-linear-gradient(top, #585858 0%, #111111 100%);
        /* Opera 11.10+ */
        background: linear-gradient(to bottom, #585858 0%, #111111 100%);
        /* W3C */
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button:active {
        outline: none;
        background-color: #2b2b2b;
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));
        /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
        /* Chrome10+,Safari5.1+ */
        background: -moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
        /* FF3.6+ */
        background: -ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
        /* IE10+ */
        background: -o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
        /* Opera 11.10+ */
        background: linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);
        /* W3C */
        box-shadow: inset 0 0 3px #111;
    }

    .dataTables_wrapper .dataTables_paginate .ellipsis {
        padding: 0 1em;
    }

    .dataTables_wrapper .dataTables_processing {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 40px;
        margin-left: -50%;
        margin-top: -25px;
        padding-top: 20px;
        text-align: center;
        font-size: 1.2em;
        background-color: white;
        background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(25%, rgba(255, 255, 255, 0.9)), color-stop(75%, rgba(255, 255, 255, 0.9)), color-stop(100%, rgba(255, 255, 255, 0)));
        background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
        background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
        background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
        background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
        background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 25%, rgba(255, 255, 255, 0.9) 75%, rgba(255, 255, 255, 0) 100%);
    }

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter,
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_processing,
    .dataTables_wrapper .dataTables_paginate {
        color: #333333;
    }

    .dataTables_wrapper .dataTables_scroll {
        clear: both;
    }

    .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody {
        *margin-top: -1px;
        -webkit-overflow-scrolling: touch;
    }

    .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>th,
    .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>td,
    .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>th,
    .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td {
        vertical-align: middle;
    }

    .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>th>div.dataTables_sizing,
    .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>td>div.dataTables_sizing,
    .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>th>div.dataTables_sizing,
    .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td>div.dataTables_sizing {
        height: 0;
        overflow: hidden;
        margin: 0 !important;
        padding: 0 !important;
    }

    .dataTables_wrapper.no-footer .dataTables_scrollBody {
        border-bottom: 1px solid #111111;
    }

    .dataTables_wrapper.no-footer div.dataTables_scrollHead table.dataTable,
    .dataTables_wrapper.no-footer div.dataTables_scrollBody>table {
        border-bottom: none;
    }

    .dataTables_wrapper:after {
        visibility: hidden;
        display: block;
        content: "";
        clear: both;
        height: 0;
    }

    .DTE_Field_InputControl {
        background-color: #f0f0f0;
        padding: 5px;
        border-radius: 5px;
        border: 1px solid #ccc;
        margin-bottom: 10px;
        width: auto;
        box-sizing: border-box;
    }

    @media screen and (max-width: 767px) {

        .dataTables_wrapper .dataTables_info,
        .dataTables_wrapper .dataTables_paginate {
            float: none;
            text-align: center;
        }

        .dataTables_wrapper .dataTables_paginate {
            margin-top: 0.5em;
        }
    }

    @media screen and (max-width: 640px) {

        .dataTables_wrapper .dataTables_length,
        .dataTables_wrapper .dataTables_filter {
            float: none;
            text-align: center;
        }

        .dataTables_wrapper .dataTables_filter {
            margin-top: 0.5em;
        }
    }

    /* Centred modal bubble with side-by-side fields and vertical scroll */
    div.DTE_Bubble.marking-feedback-modal {
        position: fixed !important;
        top: 5vh !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        z-index: 10050;
        width: min(920px, 95vw);
        max-width: 95vw;
        height: 90vh !important;
        max-height: 90vh !important;
        margin-top: 0 !important;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    div.DTE_Bubble.marking-feedback-modal div.DTE_Bubble_Liner {
        position: relative !important;
        bottom: auto !important;
        left: 0 !important;
        width: 100%;
        height: 100%;
        max-height: 100%;
        margin-left: 0 !important;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        box-sizing: border-box;
    }

    div.DTE_Bubble.marking-feedback-modal div.DTE_Bubble_Liner div.DTE_Header {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        min-height: 52px;
        flex-shrink: 0;
    }

    div.DTE_Bubble.marking-feedback-modal div.DTE_Bubble_Liner div.DTE_Header + div.DTE_Bubble_Table {
        padding-top: 0;
    }

    div.DTE_Bubble.marking-feedback-modal div.DTE_Bubble_Liner div.DTE_Bubble_Table {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
    }

    div.DTE_Bubble.marking-feedback-modal div.DTE_Bubble_Liner div.DTE_Bubble_Table > form {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
    }

    div.DTE_Bubble.marking-feedback-modal div.DTE_Bubble_Liner div.DTE_Bubble_Table > form div.DTE_Form_Content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 1em;
        row-gap: 0.5em;
        overflow-y: auto;
        overflow-x: hidden;
        flex: 1 1 auto;
        min-height: 0;
        max-height: calc(90vh - 8.5rem);
        scrollbar-gutter: stable;
        -webkit-overflow-scrolling: touch;
        border-bottom: 1px solid #ddd;
        box-sizing: border-box;
    }

    div.DTE_Bubble.marking-feedback-modal div.DTE_Form_Content div.DTE_Field {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 0.5em;
        margin-bottom: 0;
        min-width: 0;
        box-sizing: border-box;
    }

    div.DTE_Bubble.marking-feedback-modal div.DTE_Form_Content div.DTE_Field.bubble-full-width-field,
    div.DTE_Bubble.marking-feedback-modal div.DTE_Form_Content div.DTE_Field.bubble-comment-field {
        grid-column: 1 / -1;
    }

    div.DTE_Bubble.marking-feedback-modal div.DTE_Form_Content div.DTE_Field > label {
        flex: 0 0 32%;
        max-width: 32%;
        margin: 0;
        padding-top: 0.35em;
        text-align: right;
        box-sizing: border-box;
    }

    div.DTE_Bubble.marking-feedback-modal div.DTE_Form_Content div.DTE_Field > div {
        flex: 1 1 68%;
        min-width: 0;
        padding: 0;
        box-sizing: border-box;
    }

    div.DTE_Bubble.marking-feedback-modal div.DTE_Form_Content textarea,
    div.DTE_Bubble.marking-feedback-modal div.DTE_Form_Content input[type="text"],
    div.DTE_Bubble.marking-feedback-modal div.DTE_Form_Content .DTE_Field_InputControl {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    div.DTE_Bubble.marking-feedback-modal div.DTE_Form_Content textarea {
        min-height: 2.5em;
        height: 8em;
        resize: vertical;
    }

    div.DTE_Bubble.marking-feedback-modal a.marking-file-download-link,
    div.DTE_Bubble.marking-feedback-modal div.editor_upload div.rendered a {
        color: #0563c1 !important;
        text-decoration: underline !important;
        cursor: pointer !important;
    }

    div.DTE_Bubble.marking-feedback-modal a.marking-file-download-link:hover,
    div.DTE_Bubble.marking-feedback-modal a.marking-file-download-link:focus,
    div.DTE_Bubble.marking-feedback-modal div.editor_upload div.rendered a:hover,
    div.DTE_Bubble.marking-feedback-modal div.editor_upload div.rendered a:focus {
        color: #034694 !important;
        text-decoration: underline !important;
    }

    div.DTE_Bubble.marking-feedback-modal a.marking-file-download-link:visited,
    div.DTE_Bubble.marking-feedback-modal div.editor_upload div.rendered a:visited {
        color: #551a8b !important;
        text-decoration: underline !important;
    }

    div.DTE_Bubble.marking-feedback-modal div.DTE_Bubble_Liner div.DTE_Bubble_Table div.DTE_Form_Buttons {
        flex-shrink: 0;
        background: #fcfcfc;
        padding-top: 0.75em;
        margin-top: 0;
    }

    div.DTE_Bubble.marking-feedback-modal div.DTE_Bubble_Triangle {
        display: none;
    }

    @media screen and (max-width: 760px) {
        div.DTE_Bubble.marking-feedback-modal div.DTE_Bubble_Liner div.DTE_Bubble_Table > form div.DTE_Form_Content {
            grid-template-columns: 1fr;
        }
    }

    /* Ensure the background overlay covers the whole screen */
    div.DTE_Bubble_Background {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 10040;
    }

/* Marketing event calendar resend wait screen */
.marketing-calendar-resend-wait {
    max-width: 720px;
    margin: 1.5em auto;
    padding: 1.5em;
}

.marketing-calendar-resend-wait-intro {
    margin-bottom: 1em;
}

.marketing-calendar-resend-progress-wrap {
    margin: 1.5em 0;
}

.marketing-calendar-resend-status {
    font-weight: bold;
    margin: 1em 0;
}

.marketing-calendar-resend-errors {
    color: #a94442;
    margin: 0 0 1em 1.2em;
}

.marketing-calendar-resend-complete {
    margin-top: 1.5em;
}

/* CCEDocuments: remove weekly session link (cceadmin) */
.cce-remove-weekly-session-link {
    margin-left: 0.5em;
    vertical-align: middle;
    cursor: pointer;
}

/* ==========================================================================
   SCE Weeks/Courses dashboard (echasl23 embed) — sticky panes
   Pattern matches CCEConvenors assignment summary scrollport.
   ========================================================================== */

.sce-wc-dash {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
}

.sce-wc-dash .sce-wc-filters {
    margin: 0 0 12px;
    padding: 8px;
    background: #f5f5f5;
    border: 1px solid #ddd;
}

.sce-wc-dash .sce-wc-filters label {
    margin-right: 6px;
}

.sce-wc-dash .sce-wc-filters input[type="text"],
.sce-wc-dash .sce-wc-filters input[type="date"],
.sce-wc-dash .sce-wc-filters select,
.sce-wc-dash .sce-wc-filters input[type="number"] {
    margin-right: 12px;
}

.sce-wc-dash .sce-wc-meta {
    color: #666;
    margin-bottom: 8px;
}

.sce-wc-dash .sce-wc-defaults-note {
    color: #666;
    font-style: italic;
    margin: 0 0 8px;
}

.sce-wc-dash .sce-wc-empty {
    padding: 12px;
    border: 1px solid #ddd;
    background: #fffbe6;
}

.sce-wc-dash .sce-wc-pager {
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.sce-wc-dash .sce-wc-pager a,
.sce-wc-dash .sce-wc-pager span {
    margin-right: 4px;
}

.sce-wc-dash .sce-wc-num {
    text-align: right;
    white-space: nowrap;
}

.sce-wc-dash .sce-wc-profit-neg {
    color: #c00;
    font-weight: bold;
}

.sce-wc-dash .sce-wc-export {
    margin-left: 12px;
    display: inline-block;
}

.sce-wc-dash table.sce-wc-table th a {
    color: inherit;
    text-decoration: underline;
}

.sce-wc-dash .sce-wc-cancelled-y {
    color: #a00;
    font-weight: bold;
}

/* Horizontal (+ vertical) scrollport — sticky Event Name / headers use this box */
.sce-wc-table-wrapper {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    max-height: calc(100vh - 280px);
    contain: inline-size;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #ccc;
    background: #fff;
}

.sce-wc-table-scroll {
    display: inline-block;
    min-width: 100%;
    vertical-align: top;
}

.sce-wc-dash table.sce-wc-table {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
    width: max-content;
    min-width: 100%;
    margin: 0;
}

.sce-wc-dash table.sce-wc-table th,
.sce-wc-dash table.sce-wc-table td {
    border: 1px solid #ccc;
    padding: 4px 6px;
    vertical-align: top;
    background: #fff;
    background-clip: padding-box;
}

.sce-wc-dash table.sce-wc-table th {
    background: #e8e8e8;
    white-space: nowrap;
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 3;
}

.sce-wc-dash table.sce-wc-table tbody tr:nth-child(even) td {
    background: #f7f7f7;
}

.sce-wc-dash table.sce-wc-table .sce-wc-sticky-col {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 220px;
    max-width: 280px;
    width: 240px;
    box-shadow: 4px 0 6px -2px rgba(0, 0, 0, 0.15);
}

.sce-wc-dash table.sce-wc-table th.sce-wc-sticky-col {
    z-index: 5;
    background: #e8e8e8 !important;
}

.sce-wc-dash table.sce-wc-table td.sce-wc-sticky-col {
    background: #fff !important;
}

.sce-wc-dash table.sce-wc-table tbody tr:nth-child(even) td.sce-wc-sticky-col {
    background: #f7f7f7 !important;
}

@media print {
    .sce-wc-table-wrapper {
        overflow: visible;
        max-height: none;
    }

    .sce-wc-dash table.sce-wc-table .sce-wc-sticky-col,
    .sce-wc-dash table.sce-wc-table th {
        position: static;
        box-shadow: none;
    }
}