
/* Raw SCSS theme_boost | scss */
/* Raw SCSS theme_boost | scss */

/* Edit without affecting secondary nav bar */
/* Existing styles for .primary-navigation */
.primary-navigation .navigation .nav-link {
  color: #005D7D;
  font-weight: bold;
}

/* Change hover color in top nav bar */
.primary-navigation .navigation .nav-link:hover,
html #moremenu-672e2750ced28-navbar-nav .nav-link:hover {
  background-color: #005D7D !important;
  color: #fff !important;
  border-radius: 5px !important;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out !important;
}
.moremenu .nav-link.active {
  background-color: #005D7D !important;
  color: #fff !important; /* Optional: Change text color for better contrast */
  border-radius: 5px; /* Optional: Adds rounded corners */
}

/* Exclude styles from applying to #moremenu-672e326a8b019-nav-tabs */
#moremenu-672e326a8b019-nav-tabs .nav-link,
#moremenu-672e326a8b019-nav-tabs .nav-link:hover {
  background-color: inherit !important; /* Revert background */
  color: inherit !important; /* Revert text color */
  font-weight: normal !important; /* Revert to normal font weight */
  border-radius: 0 !important; /* Revert rounded corners */
}

/*Hide nav items*/
.nav-item[data-key="home"][role="none"][data-forceintomoremenu="false"],
.nav-item[data-key="mycourses"][role="none"][data-forceintomoremenu="false"] {
  display: none !important;
}

/*Hide nav items from list view*/
#theme_boost-drawers-primary > div.drawercontent.drag-container > div > a:nth-child(1) {display: none !important;}
#theme_boost-drawers-primary > div.drawercontent.drag-container > div > a:nth-child(3) {display: none !important;}


/* Hide Competency */
li[data-key="competencies"] {
  display: none !important;
} 

/* Hide quiz nav block */
#mod_quiz_navblock {
  display: none !important;
}

/*Hide info next to questions in quizzes*/
.que .info {
  display: none !important;
}

/*Fit question content to container after hiding info*/
.que .content {margin: 0 !important;}

/*Change question container background colour to white*/
.que .formulation {background-color: white !important; }

/*Database feedback margin*/
.row.my-6 { margin-top: 1rem !important; margin-bottom: 1rem !important; }

/*Hide Review Mode*/
#page-mod-scorm-player #scormtop {display: none !important;}

/*Resize SCORM package content*/
.course-9#page-mod-scorm-player #scormpage #scorm_content {max-width:830px; margin:0 auto; height:80%;}
.course-9#page-mod-scorm-player #scormpage #scorm_content iframe {width:100%;}
@media (max-width:767px) {
.course-9#page-mod-scorm-player #scormpage #scorm_content {height:70%;}
}
@media only screen  and (max-device-width: 932px)  and (orientation: landscape) {
.course-9#page-mod-scorm-player #scormpage #scorm_content {height:50%;}
}
/*Hide Unnecessary Quiz and Feedback lines*/
.path-mod-quiz .quizinfo {
  display: none !important;
}
.path-mod-feedback .feedback_mode {
  display: none !important;
}
.path-mod-quiz .completion-info {
  display: none !important;
}
.path-mod-feedback .completion-info {
  display: none !important;
}

/*Change quiz specific feedback colour*/
.specificfeedback {background: transparent !important;}

/*Quiz Outcome feedback appearance*/
.que .outcome, .que .comment {color: black; background-color: transparent; border-color: transparent; }

/*Edit the feedback after submission message overflow*/
.feedback_after_submit .no-overflow {
  overflow: visible;
}

.no-overflow {
  overflow: visible; 
}

/*Hide Exit Activity from scorm view*/
#page-mod-scorm-player a[title="Exit activity"] {
display: none;
}

/*Hide subheader course overview from Dashboard*/
.block_myoverview .card-title {
  display: none !important;
}

.course-content .collapsesections {
  display: none !important;
}

.alert.alert-danger {
  background-color: #005D7D !important;
  color: white !important;
}

div.popover-region.collapsed[data-region="popover-region-messages"] {
  display: none !important;
}

/*Hide preferences under user menu item*/
#user-action-menu #carousel-item-main a:first-child {
display: none !important;
}
/*Hide Collapse All button*/
a.section-collapsemenu {
  display: none !important;
}

/*Hide right drawer*/
#page.drawers .drawer-right-toggle {display: none !important;}
/*Style fix on enrollment duration display*/
#enrol-duration-target em { font-style:normal; }
#enrol-duration-target br {display: none !important;}
#enrol-duration-target strong:before { content:" "; }

/* make continue button color to primary */
.login-identityprovider-btn, .login-identityprovider-btn:hover { color: #fff; background-color: #005D7D; font-weight:bold;}

/*Remove category from course card*/
.block .block-cards span.categoryname, .block .block-cards .btn-link {display: none; }

/*Hide question mark support*/
#page-footer > div:nth-child(1) > button {display: none;}

/* increase the font size for the course name in course cards */
.card .course-info-container .coursename .multiline { font-size:1.3rem; }

/* make whole course card clickable */
.card-link { position:absolute; z-index:99999; top:0; right:0; bottom:0; left:0; }

/*remove border for cards on dashboard*/
.pagelayout-mydashboard  .block_htmlcno.block.card { border:none; padding:0;
.card-body { padding:0 !important; }
}

/*Hide clear my choice*/
.qtype_multichoice_clearchoice {display: none;}

/*Change the completion icon*/
span.completioninfo.completion_complete i.fa::before {
content: "\f00c"; /* Font Awesome "fa-check" */
font-family: "FontAwesome", "Font Awesome 5 Free", "Font Awesome 6 Free";
font-weight: 900; /* Required for solid style in FA 5+ */
color: green;
font-size: 1.4em; 
line-height: 1;
vertical-align: middle; /* Align better with text */
text-shadow:
  -.5px -.5px 0 green,
   .5px -.5px 0 green,
  -.5px  .5px 0 green,
   .5px  .5px 0 green; /*mimic stroke for bolding*/
}

/*Hide Duplicate Feedback Section*/
#page-mod-quiz-view .generalbox#feedback {display: none !important; }

/* Hide the mobile footer popover trigger */
#page-footer {display: none !important;}

/* Hide course link, peer coach, and continue button on self enrol page. */
#page-enrol-index .coursename,
#page-enrol-index .teachers,
#page-enrol-index .continuebutton { display:none; }

/* #1064 Fix for retry buttons in web service report */
.retry-button i,
.retry-button svg {
pointer-events: none;
}



/* Within HEAD additionalhtmlhead */
/* Within HEAD additionalhtmlhead */

.path-mod-assign [data-region='grade-panel']{
left: 50%;
width:53%;
}

/* Hide the right drawer immediately before rendering */
body.path-mod-quiz #theme_boost-drawers-blocks,
body.path-mod-quiz .drawer.drawer-right {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
}
body.path-mod-quiz #page {
    margin-right: 0 !important;
}

/*Hide review column from feedback screen*/
    .generaltable.quizattemptsummary th.c2,
    .generaltable.quizattemptsummary td.c2 {
        display: none !important;
    }


  /* hides the Course overview filter/search bar */
  div[role="search"][data-region="filter"] {
    display: none !important;
  }
