/* 2023 */

/* theme 4 fix quiz drag and drop answers */
.que.ddwtos .group1 {
    background-color: inherit; 
}

/* alter table height to ensure pop up menu does not get hidden */
table#categoryquestions {
	min-height:400px;
}

.dropdown-item:not(.text-truncate) {
    white-space: nowrap;
}
.dropdown-menu {
	/*margin:0px;*/
} 

.tii_checkagainstnote, .tii_anonblindmarkingnote, .tii_genspeednote {
	background-color:inherit;
}

.block-massaction-action>div:hover {
	background-color:inherit;
	text-decoration:underline;
}
a.dimmed, a.dimmed:link, a.dimmed:visited, a.dimmed_text, a.dimmed_text:link, a.dimmed_text:visited, .dimmed_text, .dimmed_text a, .dimmed_text a:link, .dimmed_text a:visited, .usersuspended, .usersuspended a, .usersuspended a:link, .usersuspended a:visited, .dimmed_category, .dimmed_category a,
#block-massaction-control-section-list-moveto option, #block-massaction-control-section-list-duplicateto option, block-massaction-control-section-list-moveto, #block-massaction-control-section-list-select, #block-massaction-control-section-list-moveto, #block-massaction-control-section-list-duplicateto,
.custom-select:disabled {
	color:inherit!important;
}

.modchooser .modal-body .optionsummary .content .heading .icon {
-webkit-filter: invert(1);
   filter: invert(1);
}
.close {
	opacity: 1;
}

.editing .activity-item:hover .description .course-description-item, .editing .activity-item:hover .activityiconcontainer, .editing .activity-item:hover .badge {
	mix-blend-mode: initial;
}

.activity-item .automatic-completion-conditions {
	background-color: #f5f9fc!important;
}

/* border on modal dialog box */
.modal.show .modal-dialog {
	border: 2px solid #fafafa;
}
.modal-content {
	padding:5px;
}


/* remove footer from activity chooser */
.modchooser .modal-footer {
	display:none;
}

/* activity chooser colours */
.modchoosercontainer .optionscontainer .option .optioninfo a, .modchoosercontainer .searchresultitemscontainer .option .optioninfo a, .modchooser .modal-body .optionsummary {
	color:inherit;
}

/* style 4 cannot see add activty/resoure link*/
.activity-add, .block-add , .activity-add:hover, .block-add:hover {
	background-color: inherit;
}

/* Peer Work - highlighted text on settings wheel under Grade on right hand side */
.dropdown-item.active a, .dropdown-item:active a, .dropdown-item:hover a, .dropdown-item:focus a, .dropdown-item:focus-within a {
	color: inherit;
}

/* stop question bank table overflowing horizontally and pvide permanent scroll bar. */
table#categoryquestions {
	overflow-x: scroll;
}

/* forum text box with description now obscured by top buttons */
div[id^='discussion-list'] {
	padding-top:2rem;
}

/* Main module page link on module pages is too close to top changing global p */
p { margin-top: 14px; }

.container-fluid .tertiary-navigation,
.tertiary-navigation .row {
/*
	float:right;
*/
}
#action_bar.container-fluid {
	width:auto;
}
.tertiary-navigation {
	padding-top: 6px;
}

.modal-header h4 {
	padding-top: 1rem;
}

body[id^='page-grade'] .container-fluid .tertiary-navigation,
body[id^='page-grade'] .tertiary-navigation .row {
	float:none;
}
body[id^='page-grade'] .tertiary-navigation {
	padding-top:10px;
}


/* sort out search box that has magically appeared at the top of the admin section in moodle now */
body[id^='page-admin'] #page-header div.d-flex.align-items-center {
	float:right;
}

/* sort out top spacing when upgrading */
body#page-admin-index {
	/*padding-top:0px;*/
}
#plugins-check-page #plugins-check .status-missing td, #plugins-check-page #plugins-check .status-downgrade td,
#plugins-check-page .pluginupdateinfo, #plugins-control-panel .pluginupdateinfo {
	background-color:inherit;
}

/* sort out spacing on module page for boxes */
.section .activity {
    padding: 0 0 1rem 0;
}
/* grid box spacing */
.format-grid .thegrid {
    gap: 1.5rem;
}
.format-grid .thegrid .grid-image img {
	height: 256px;
	width:252px;
	background-color: #b70062;
        border-color: #361163;	
}
/* test for modules lists (full catalogue) */
.coursebox {
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    margin-bottom: 0.5rem;
    border-radius: 0.25rem;
}

/* padding for new drop down menus in settings and admin pages */
.container-fluid .tertiary-navigation {
	/*padding-left: 5px;*/
}

.tertiary-navigation>div.urlselect {
    margin-bottom: 10px;
}

/* colour styling for mini dropdowns such as on the User Report page or the GRader Report page */
.select-menu ul[role="group"] li:first-child,
.dropdown-menu,
.dropdown-item {
	color:inherit;
}

/* grade report heading fix for new dropdown nav manu */
.btn, .btn:hover, .search-widget .dropdown-menu .dropdown-item:hover span, .search-widget .dropdown-menu .dropdown-item:active span
{ color: inherit; }
.tertiary-navigation .navitem, .tertiary-navigation .navitem-divider {
	margin-bottom: 10px;
}
.tertiary-navigation.full-width-bottom-border {
	margin-bottom:0px;
}
/* grade overview report for students */
.path-grade-report-user .user-report-container, .grade-report-user .user-report-container,
.path-grade-report-user .user-grade thead th, .grade-report-user .user-grade thead th,
.path-grade-report-user .user-grade td.category, .grade-report-user .user-grade td.category,
.path-grade-report-user .user-grade tbody tr, .grade-report-user .user-grade tbody tr,
.path-grade-report-user .user-grade td, .grade-report-user .user-grade td,
.path-grade-report-user .user-grade td.item, .grade-report-user .user-grade td.item,
.path-grade-report-user .user-grade tbody tr:hover, .grade-report-user .user-grade tbody tr:hover {
	background-color: inherit;
}
.path-grade-report-grader .gradepass, .path-grade-report-user .gradepass {
	color: inherit;
}
/* my modules card view */

.block .block-cards span.categoryname, .block .block-cards .btn-link {
	color:inherit;
}

/* mark as done buttons */
.path-mod .activity-header:not(:empty) {
	padding-left: 0px;
}

.btn-outline-secondary:hover {
	color: inherit;
	/*
	background-color:inherit;
	border-color:inherit;
	*/
}

/* hr tags in vairous places */
[role="treeitem"][aria-expanded="true"].focus>*:first-child, [role="treeitem"][aria-expanded="true"]:focus>*:first-child
, [role="treeitem"]:not([aria-expanded="true"]):focus
{
	box-shadow: 0 0 0 0.2rem rgb(15 108 191 / 75%);
	box-shadow: 0 0 0 0 rgb(15 108 191 / 75%);
}

.mt-0, .my-0 {
	xborder-top: 1px solid transparent;
}

/* notifications popup */
.popover-region-container {
	color:#333;
}
.popover-region-container a {
	color:inherit!important;
}

/*tii table*/
.mod_turnitintooltwo .table-responsive .btn, .mod_turnitintooltwo .table-responsive .btn:hover { 
	color:inherit; 
}

.mod_turnitintooltwo .ui-widget-header {
	background:inherit!important;
	border:0!important;
	margin-bottom:0px!important;
}

.mod_turnitintooltwo .table-responsive {
	overflow-x:inherit;
}

#mod_turnitintooltwo_course_browser_table .odd, .mod_turnitintooltwo_submissions_data_table .odd {
	#background:inherit!important;
}
#mod_turnitintooltwo_course_browser_table .even, .mod_turnitintooltwo_submissions_data_table .even {
	background:inherit!important;
}

/* dimmed badges */
.activity-item.hiddenactivity .description .course-description-item, .activity-item.hiddenactivity .activityiconcontainer, .activity-item.hiddenactivity .badge {
	mix-blend-mode:initial;
}
.badge-warning {
	color:#000;
	background-color:#ffc100;
}

/* category links */

.course_category_tree .category>.info>.categoryname {
	font-size:1.6rem;
	margin:10px;
}

.coursebox>.info>.coursename {
        font-size:1.4rem;
        margin:5px;
}


/* moreactionsmenu dropdown overflowing out of page*/
div#moreactionsmenu.dropdown-menu.show {
	left:auto!important;
	right:0!important;
	transform:translate3d(0px, 2.2rem, 0px)!important;
}




/* footer seems to have lost it's color ref for a tags */
#page-footer a {
    color: #fff;
    text-decoration: underline;
}

#page-footer a:not([class]):focus {
    outline:0px;
    color: #fff;
    background-color:inherit!important;
    -webkit-box-shadow: 0 0rem #330066, 0 0rem #330066;
    box-shadow:0 0rem #330066, 0 0rem #330066;
}

section#region-main > div h2.header:first-child { margin-bottom: 0px; }
h3.sectionname {margin-bottom:0px!important}
/* grid format cardheacer adjustments */
.card-header { background-color:inherit; }
.format-grid .thegrid .grid-section {
	margin: 0 auto;
	/*width:260px!important;*/
}
.grid-section a:not([class]):focus { 
	border-radius:0.25rem;
	-webkit-box-shadow: 0 0rem #330066, 0 0rem #330066; 
	box-shadow:0 0rem #330066, 0 0rem #330066; 
}
.stateready a:first-child:focus {
	/*color:inherit!important;*/
}

/* grid format not centering headings on linked pages from box clicks */
ul.grid .course-section-header.d-flex {
	display:inherit!important;
}
/* to fix the padding for the buttons when viwing assignment details */
/* greg changed 6.6.23 .container-fluid .tertiary-navigation, .container-fluid .mb-4 {*/
.container-fluid .mb-4 {
	padding-left:0px;
	padding-top:15px;
}

/* to fix the pop up table menu in the view assignments table */
.generaltable .dropdown-menu.show, .userenrolment .dropdown-menu.show {
/* .generaltable .dropdown-menu.show { */
    position: static!important;
    transform: inherit!important;
}

/* to remove the fixed 16px font-size for tables */
table { font-size:inherit; }

.m-1 {
	margin:0!important;
}

.dropdown-menu {
	min-width: 15rem;
}

#page-content.blocks-pre .region-main #region-main {
	border: 0px;
	padding: 0px;
}

div[role=main] > div.simplesearchform {
	margin-top:1rem;
	margin-bottom:1rem;
}

/* 2022 */

/* allow textarea to be dragged horizontally as well as vertically #334188 */
textarea { resize: both; }

/* remove background colors for quiz */
table.quizreviewsummary th.cell, table.quizreviewsummary td.cell {
	background: inherit;
}

/* remove background color for scheduler */
.path-mod-scheduler div.commandbar {
	background-color:inherit;
}

.path-mod-scheduler .maildisplay {
	background: inherit;
}

/* remove panopto background-color for date */
.block_panopto .listItemAlt {
	background: inherit;
}

/* 2019 */

/* to remove the background colour with My Modules panels */

.block .block-cards .course-summaryitem {
	background-color: inherit;
}

/* Make coursework plugin more readable RT case 80296 */
.gradingform_guide .criteriondescriptionmarkers {
  width: auto;
}

/* 2018 */

/* to modify the student table column width so it's more user friendly */
table.feedback td.cleft {
    width: 15%;
}

/* to expand the grading rubric */

.gradingform_rubric {
	max-width:100%;
}

/* To make the moodle online grading form stretch large than 800px (for bigger marking screens!) */
.path-mod-assign [data-region="review-panel"].collapsed+[data-region="grade-panel"] [data-region="grade"], .path-mod-assign [data-region="grade-panel"].fullwidth [data-region="grade"] {
max-width: 2000px !important;
}

/* 2017 */

.changemsg { 
	text-align:center;
}

#page-mod-assign-grader .changemsg { display:none; }

/* to fix the turnitin icons to wrap onto the correct line */
.partDetails .editable-click:before { top: inherit; bottom: 0; } 

/* to make the banner bg color fixed when logging in as someone else */
.topbgloggedinas {
	background-color:#fff;
}

/* to fix the grid boxes so the text wraps */
.course-content ul.gridicons li p.icon_content {
        height: 40px;
        white-space: inherit;
}

/* to center the book left-right arrows */
.path-mod-book .navbottom, .path-mod-book .navtop {
        text-align: center;
}
