@charset "utf-8";

/* --- Universal style adjustments --- */

/* makes sure images don't overflow their containers or stretch to fit */
img {
  max-width: 100%;
  height: auto;
}

/* corrects link text tree exapansion crowding in blocks */
.block_tree ul {
  padding-left: 5px;
}

/* adds space between main nav bar items to improve visibility */
.nav .nav-item {
  margin-right: 5px;
}

/* makes site background color darker for improved contrast with content areas */
#page {
  background-color: #f1f1f1;
}

/* makes drawer background color lighter/darker for improved contrast with site background and blocks */
.drawer {
  background-color: #f9f9f9;
}

/* hides the services and support link in the footer */
footer .footer-support-link a[href*="moodle.com/help"]{
display: none;
}

/* hides the data retention summary link in the footer */
footer .tool_dataprivacy a[href*="admin/tool/dataprivacy/summary.php"]{
display: none;
}

/* corrects img tag auto height conflict with user profile pic in grading interface */
div [data-region="grading-navigation-panel"] img.img-rounded {
  max-height: 70px !important;
}

/* Adjust width of grading filter modal with custom language */
#page-mod-assign-grader .moodle-dialogue-base .moodle-dialogue-wrap {
  margin-left: 20%;
  margin-right: 20%;
}

/* Chrome and Edge scrollbar style - decrease border to increase visual width */
.drag-container::-webkit-scrollbar-thumb {
  border: 2px solid #f5f5f5 !important;
}

/* Firefox scrollbar style - adjust colors for higher contrast when scrolling */
.drag-container {
  scrollbar-color: #777 #e9e9e9 !important;
}

/* Resize icons in the Recently Accessed Items block */
.block_recentlyaccesseditems .activityiconcontainer img.icon {
  max-width: none;
  padding: .7rem;
}

/* Resize icons in the Upcoming Events block */
.block_calendar_upcoming .activityiconcontainer img.icon {
  max-width: none;
  padding: .7rem;
}

/* darkens and lessens blur on drawer buttons shadow */
.drawer-toggles .drawer-toggler .btn {
  box-shadow: 0 .1rem .1rem rgba(0,0,0,.2);
}

/*removes right margin from label area on course page*/
.section .label .contentwithoutlink {
  padding-right: 0px;
}

/* Makes main menu block link text break to next line at words instead of characters */
.block_site_main_menu .instancename {
  word-break: break-word;
}

/* Makes tags in question bank table stack in cell instead of being cut off */
div #questionscontainer.categoryquestionscontainer .table-responsive .d-inline-flex.flex-nowrap {
  flex-wrap: wrap !important;
  padding-top: 5px;
  padding-bottom: 5px;
}

/* For unread forum post highlight, increases thickness and contrast of bottom border */
.forumpost.unread .row.header {
  border-bottom: 2px solid #757575;
}

/* Fixes forum move dropdown menu from extending beyond the screen from long item titles */
.movediscussionoption .custom-select {
  width: 100%;
}

/* Hide the doubling of the description on H5P activities */
body#page-mod-hvp-view div#hvpintro.box.mod_introbox .no-overflow {
  display: none;
}

/* Hide the doubling of the description on Panopto activities */
body#page-mod-panoptosubmission-view div.box.generalbox .no-overflow {
  display: none;
}

/* Creates a globally-usable css class to mimic hanging indent behavior */
.engage-hanging-indent {
    padding-left: 30px;
    text-indent: -30px;
}

/* Adds the ability to resize text area height on forum gradebook feedback for grader */
body#page-mod-forum-view .grader-grading-panel textarea[data-auto-rows] {
  resize: vertical !important;
}

/* Increases text area height on forum gradebook feedback for grader  */
body#page-mod-forum-view .grader-grading-panel textarea.form-control {
  min-height: 80px;
}

/* Adds the ability to resize text area height on forum gradebook feedback for student */
body#page-mod-forum-view .modal-content textarea[data-auto-rows] {
  resize: vertical !important;
}

/* Increases text area height on forum gradebook feedback for student */
body#page-mod-forum-view .modal-content textarea.form-control {
  min-height: 80px;
}

/* Ensures sticky user column in gradebook stays on top of the table as it slides. This fixes issue with smaller windows. */
.path-grade-report-grader .gradeparent th.header {
  z-index: 1;
}

/* Makes the OneTopic course format hidden module tab text opacity darker. */
.format-onetopic ul.nav-tabs.format_onetopic-tabs li.dimmed a {
  color: #999;
  opacity: 1;
}

/* Displays a Home icon next to the main course page link in the top-of-course breadcrumbs */
.breadcrumb-item a[href*="course/view.php?id="]::before { 
  font: var(--fa-font-solid);
  content: "\f015" / "Home Icon";
  display: inline-block;
  padding-right: 5px;
  color: black;
}

/* Displays the word Close before the X button for Bulk actions on a course page */
.bulkcancel button::before { 
  content: "Close";
  display: inline-block;
}

/* Displays clarifying functionality text after Select all for Bulk actions on a course page */
.form-check-input:disabled ~ .form-check-label::after { 
  content: "(Select an item to enable)";
  display: inline-block;
}

/* Displays the word Close before the X button for Bulk actions on an Assignment Submissions page */
button[data-action="bulkcancel"]::before { 
  content: "Close";
  display: inline-block;
}

/* Displays clarifying directions after Show All for Bulk actions on an Assignment Submissions page */
#page-mod-assign-grading .sticky-footer-content .col-auto label::after { 
  content: "Select users for bulk actions";
  display: inline-block;
  padding-left: 10px;
}

/* Hides duplicate clarifying directions after Notify students for Bulk actions on an Assignment Submissions page */
#page-mod-assign-grading .sticky-footer-content .col-auto label[for*="send-student-notifications"]::after { 
  content: "";
  display: none;
}

/* Displays clarifying directions after Draggable Items section title on Ordering Question Type */
#page-question-type-ordering fieldset#id_answersheader h3::after { 
  content: "Click 'Save changes and continue editing' to reflect editor format change.";
  font-size: .9rem;
  margin: 6px 0px 0px 10px;
  display: block;
  font-weight: 500;
}

/* Hides on collapse: clarifying directions after Draggable Items section title on Ordering Question Type */
#page-question-type-ordering fieldset#id_answersheader.collapsed h3::after { 
  display: none;
}

/* Draggable Items section title on Ordering Question Type dropdown spacing */
#page-question-type-ordering select[id*="menuanswer"] { 
  margin: 10px 0px;
}

/* Displays clarifying directions on the User report page for using search instead of dropdown */
#page-grade-report-user-index .container-fluid.tertiary-navigation.full-width-bottom-border::after { 
  content: "Type in the search bar to select a user or choose 'View all results' at the bottom of the list to display all users.";
  display: inline-block;
  padding: 0px 0px 0px 10px;
}

/* Displays clarifying directions on the Calculating grades page */
#page-course-modregrade .progressbar_container::after { 
  content: "The 'Recalculating grades' progress bar is an expected behavior when adjusting or adding graded content in the course. This process is an attempt to bring transparency to the loading times involved with updating courses and to reduce instances where a session times out.";
  display: block;
  padding-top: 10px;
}

/* Displays clarifying directions about course selection behavior on Calendar page */
#page-calendar-view .calendarwrapper::before {
  content: "Refresh the page to confirm course calendar selection.";
  padding-left: 10px;
}

/* Displays clarifying directions about course selection behavior on Calendar for Dashboard page */
#page-my-index .calendarwrapper::before {
  content: "Refresh the page to confirm course calendar selection.";
  padding-left: 10px;
}

/* Displays clarifying directions before Question bank filters */
#page-question-edit div[data-filterregion="filters"]::before { 
  content: "You must select 'Apply filters' for options to be reflected in the question table. Leaving the page may reset filters.";
  display: inline-block;
  padding-top: 5px;
}

/* Removes default border radius on course headers */
.course-section .summarytext img {
  border-radius: calc(0.5rem - 1px);
}

/* hides unenrollself menu option in course more */
.dropdown-menu a[href*="enrol/manual/unenrolself.php?enrolid"]{
  display: none;
}

/* hides unenrollself menu option in admin block */
.block_tree a[href*="enrol/manual/unenrolself.php?enrolid"]{
  display: none;
}

/* Adds the overridden grade table cell highlight color back in */
td.gradecell.grade.overridden {
  background-color: #F5E5C2;
}

/* resizes the chevron icons for the exapndable categories on the adhoc report page */
.csql_category.csql_categoryhidden .categoryname {
  background-size: 12px;
}

/* resizes the chevron icons for the exapndable categories on the adhoc report page */
.csql_category.csql_categoryshown .categoryname {
  background-size: 20px;
}

/* resizes the chevron icon spacing for the exapndable categories on the adhoc report page */
.csql_category .categoryname {
  padding-left: 24px;
}

/* removes extra space added after questions in a quiz */
.qtext .clearfix::after {
  display: none;
}



/* --- BEGIN Rubric Visual Changes --- */

/* Rubric table cell width */
.gradingform_rubric .criterion .levels .level {
    min-width: 250px;
    max-width: 250px;
    word-break: break-word;
}

/* Rubric table cell - first column */
.gradingform_rubric .criterion .description {
    min-width: 200px;
    max-width: 200px;
    word-break: break-word;
    position: sticky;
    left: 0px;
    background-color: #f7f7f7;
    z-index: 1;
    outline: 1px solid #bbb;
    box-shadow: 1px 3px 5px rgba(0,0,0,0.3);
}

/* Rubric table cell - first column (in grading interface) */
.path-mod-assign [data-region="grade-panel"] .gradingform_rubric .criterion .description {
    min-width: 200px;
    max-width: 200px;
    word-break: break-word;
    position: sticky;
    left: 0px;
    background-color: #f7f7f7;
    z-index: 1;
    outline: 1px solid #bbb;
    box-shadow: 1px 3px 5px rgba(0,0,0,0.3);
}

/* Rubric table cell - text entry (in grading interface) */
.path-mod-assign [data-region="grade-panel"] .gradingform_rubric .criterion .remark textarea {
    min-width: 250px;
    max-width: 250px;
    word-break: break-word;
}

/* Adjusts delete X button location/hitbox when editing criteria */
.gradingform_rubric .criterion .level .delete {
  width: 24px;
  height: 24px;
  margin-top: 0px;
}

/* Ensures table border lines extend to bottom of row */
.gradingform_rubric .criterion td.levels{
    height: 100%;
}

/* Reduces padding around rubric area in grading interface for additional screen space */
#fitem_id_advancedgrading {
  padding: .25rem;
}

/* Reduces padding around rubric area in grading interface for additional screen space */
.path-mod-assign [data-region="grade-panel"] .mform .fitem .felement[data-fieldtype="grading"] {
  padding-left: .25rem;
  padding-right: .25rem;
}

/* Rubric table width on submission page */
.path-mod-assign .gradingform_rubric {
    max-width: 1200px;
}

/* Text size in rubric */
.gradingform_rubric .criterion .levels{
     font-size: 14px;
} 

/* Text size in rubric */
.gradingform_rubric .criterion .description {
    font-size: 14px;
}


/* Rubric fullscreen mode window size in grading interface */
.path-mod-assign [data-region="grade-panel"] .fitem.popout {
    left: 5%;
    right: 5%;
    top: 5%;
    bottom: 5%;
}

/* Grading interface pdf area width */
.path-mod-assign [data-region="review-panel"] {
    right: 40%;
}

/* Grading interface feedback area width */
.path-mod-assign [data-region="grade-panel"] {
    left: 60%;
    width: 40%;
}

/* Grading interface expanded review panel width */
.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: 90%;
}

/* Media breakpoint for smaller screens - removes sticky on first column */
@media (max-width: 767px) {
 .path-mod-assign [data-region="grade-panel"] {width: 100%; }
 .gradingform_rubric .criterion .description {position: inherit;}
 .path-mod-assign [data-region="grade-panel"] .gradingform_rubric .criterion .description {position: inherit;}
}

/* darkens background color of grader interface to contrast scrollbar */
.assignfeedback_editpdf_widget .drawingregion {
  background-color: #c0c0c0;
}

/* adds overflow to grading interface rubric popout*/
.path-mod-assign [data-region="grade-panel"] .fitem.popout {
  overflow: auto;
}

/* --- END Rubric Visual Changes --- */




/* --- BEGIN Topics Course Format Visual Changes --- */

/* for the Topics format only: hides section details on the main course page */
.course-content .topics .section-summary-activities {
  display: none;
}

/* for the Topics format only: hides section summaries on the main course page when show one is selected. the duplicates account for up to 20 sections in a course. */
.course-content .topics #section-1[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}
.course-content .topics #section-2[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}
.course-content .topics #section-3[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}
.course-content .topics #section-4[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}
.course-content .topics #section-5[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}
.course-content .topics #section-6[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}
.course-content .topics #section-7[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}
.course-content .topics #section-8[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}
.course-content .topics #section-9[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}
.course-content .topics #section-10[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}
.course-content .topics #section-11[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}
.course-content .topics #section-12[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}
.course-content .topics #section-13[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}
.course-content .topics #section-14[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}
.course-content .topics #section-15[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}
.course-content .topics #section-16[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}
.course-content .topics #section-17[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}
.course-content .topics #section-18[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}
.course-content .topics #section-19[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}
.course-content .topics #section-20[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: none;
}

/* for the Topics format only: shows section summaries on the main course page when show all is selected. the duplicates account for up to 20 sections in a course. */
.course-content .topics #section-1[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-2[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-3[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-4[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-5[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-6[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-7[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-8[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-9[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-10[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-11[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-12[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-13[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-14[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-15[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-16[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-17[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-18[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-19[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-20[data-sectionreturnid="0"] .collapse .course-description-item.summarytext {
  display: initial;
}

/* for the Topics format only: shows section summaries on the main course page when editing is on when show all or one is selected. the duplicates account for up to 20 sections in a course. */
.course-content .topics #section-1.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-2.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-3.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-4.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-5.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-6.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-7.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-8.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-9.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-10.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-11.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-12.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-13.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-14.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-15.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-16.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-17.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-18.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-19.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}
.course-content .topics #section-20.dropready[data-sectionreturnid="0"] .course-description-item.summarytext {
  display: initial;
}

/* for the Topics format only: hides Home section on individual section pages. the duplicates account for up to 20 sections in a course. */
.course-content .topics #section-0[data-sectionreturnid="1"] {
  display: none;
}
.course-content .topics #section-0[data-sectionreturnid="2"] {
  display: none;
}
.course-content .topics #section-0[data-sectionreturnid="3"] {
  display: none;
}
.course-content .topics #section-0[data-sectionreturnid="4"] {
  display: none;
}
.course-content .topics #section-0[data-sectionreturnid="5"] {
  display: none;
}
.course-content .topics #section-0[data-sectionreturnid="6"] {
  display: none;
}
.course-content .topics #section-0[data-sectionreturnid="7"] {
  display: none;
}
.course-content .topics #section-0[data-sectionreturnid="8"] {
  display: none;
}
.course-content .topics #section-0[data-sectionreturnid="9"] {
  display: none;
}
.course-content .topics #section-0[data-sectionreturnid="10"] {
  display: none;
}
.course-content .topics #section-0[data-sectionreturnid="11"] {
  display: none;
}
.course-content .topics #section-0[data-sectionreturnid="12"] {
  display: none;
}
.course-content .topics #section-0[data-sectionreturnid="13"] {
  display: none;
}
.course-content .topics #section-0[data-sectionreturnid="14"] {
  display: none;
}
.course-content .topics #section-0[data-sectionreturnid="15"] {
  display: none;
}
.course-content .topics #section-0[data-sectionreturnid="16"] {
  display: none;
}
.course-content .topics #section-0[data-sectionreturnid="17"] {
  display: none;
}
.course-content .topics #section-0[data-sectionreturnid="18"] {
  display: none;
}
.course-content .topics #section-0[data-sectionreturnid="19"] {
  display: none;
}
.course-content .topics #section-0[data-sectionreturnid="20"] {
  display: none;
}

/* --- END Topics Course Format Visual Changes --- */