/*  */
/* */
/* Accessible link finder styles */
/* */
/* */
a.rhlinknotice:after, a.rhlinknotice_external:after {
    font-family: var(--fa-style-family,"Font Awesome 6 Free");
    padding-right: 5px;
    padding-left: 5px;
    padding-top: 2px;
}
a.rhlinknotice:after {
    position: relative;
    display: inline-block;
    transform: rotate(180deg);
    content: "\f14c";
}
a.rhlinknotice_external:after {
    position: relative;
    content: "\f08e";
}
a.rhlinknotice, a.rhlinknotice_external {
    font-weight: bold;
}

/*  */
/* */
/* Musichelper */
/* */
/* */
.unicodehelper input {
    margin: 2px 2px 2px 0px;
    padding: 0 0 40px 0 !important;
    font-size: 25px;
    width: 40px !important;
    height: 40px !important;
}

.unicodehelper_copynotice {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    background-color: rgb(0,0,0,.78);
    z-index: 999999;
    color: white;
    padding-top: 50vh;
    font-size: 2em;
    font-weight: bold;
}

#available_shortcuts_popup {
  display: inline-block;
  position: fixed;
  background-color: #800000;
  color: white;
  font-weight: bold;
  border: 1px solid black;
  right: 0px;
  bottom: -100%;
  -webkit-transition-duration: 1s;
  -moz-transition-duration: 1s;
  -o-transition-duration: 1s;
  transition-duration: 1s;
}
#available_shortcuts_tab {
  position: fixed;
  display: inline-block;
  background-color: #800000;
  color: white;
  right: 0px;
  bottom: 0px;
  padding: 2px 10px;
}
#available_shortcuts_inner {
  position: relative;
  background-color: #800000;
  padding: 10px;
}
#available_shortcuts_inner a:hover{
  color: white !important;
}
.available_shortcuts_items {
  white-space: nowrap;
}
#available_shortcuts_popup:hover {
  right: 0px;
  bottom: 0px;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.btn-footer-popover {
    bottom: 0.5rem;
    left: 0.5rem;
}

.drawer-left, .drawer-right {
    top: 75px !important;
}

.drawerheader button {
    padding: 2px 4px;
}

.drawerheader {
    height: 35px !important;
}

/* Smartphones ----------- smaller than 550px */
@media only screen and (max-width: 550px) {
    .primary-navigation {
        display: none !important;
    }
}

/* Smartphones ----------- smaller than 1080px */
@media only screen and (max-width: 1080px) {
  #available_shortcuts_popup { display: none; }

  .navbar-brand {
    background: unset !important;
    width: 50px !important;
  }
  .navbar-brand.d-none {
    display: inline !important;
  }
  .primary-navigation {
    display: inline-block;
  }
}

/* Smartphones ----------- larger than 1080px */
@media only screen and (min-width: 1080px) {
    #page.drawers .main-inner {
        margin-top: .8rem !important;
    }
    .d-none .logo {
        display: none !important;
    }

    .navbar-brand.d-none {
        display: inline !important;
    }

    .pagelayout-standard #page.drawers .main-inner, body.limitedwidth #page.drawers .main-inner {
        max-width: 1080px !important;
    }

    .activity-item:not(.activityinline) {
        padding: .5rem !important;
    }

    #page.drawers .main-inner {
        padding-top: 0 !important;
    }
}

/*  */
/* */
/* General theme overrides */
/* */
/* */

.search-input-wrapper.nav-link {
     margin-top: 4px;
}

.primary-navigation .navigation {
    height: 100px;
}

.navbar {
    height: 68px !important;
}

.primary-navigation .navigation .nav-link {
    height: 66px;
}

.navbar-brand .logo {
    position: relative;
    top: 6px;
}

.navbar-brand {
    background: url('pluginfile.php/1/core_admin/logo/0x150/1685573379/2%20color%20combo%20logo-feb2023.png') no-repeat 0 0;
    display: inline-block;
    width: 555px;
    height: 65px;
    background-size: cover;
    margin-top: 1px !important;
}

#searchform-navbar {
    border-bottom: 2px solid black;
}

.activity-item.activityinline {
    padding: 0.25rem 0 !important;
}

.moremenu .nav-link.active:focus:not(:hover) {
    background-color: unset !important;
}

.path-mod-assign [data-region="grade-panel"] .fitem.has-popout {
    overflow: auto;
}

.gradingform_rubric {
    max-width: 100%;
}

.custom-switch .custom-control-input:checked~.custom-control-label::before {
    border-color: #8f959e !important;
    /* background-color: #fff; */
}

.breadcrumb-nav .breadcrumb {
     padding: .75rem;
}

.bg-inverse {
     background-color: rgba(211, 211, 211, 0.8) !important;
}

.generalbox a:not(.btn-primary), .contentwithoutlink a, .contentafterlink a, a.autolink, .posting a {
    font-weight: bold;
}

.courseindex .courseindex-item {
    padding: 0.3rem 0.3rem !important;
    border-radius: 0.3rem !important;
}

a.dropdown-item:active {
    text-decoration: none;
}

a.dropdown-item:hover {
    text-decoration: none;
    color: white !important;
}

.navbar .popover-region-container {
    top: 67px !important;
}

.nav-link .fa-comment {
    margin-top: 5px;
}

.aalink.focus, #page-footer a:not([class]).focus, .arrow_link.focus, a:not([class]).focus, .activityinstance>a.focus,
.aalink:focus, #page-footer a:not([class]):focus, .arrow_link:focus, a:not([class]):focus, .activityinstance>a:focus {
    -webkit-box-shadow: 0 -0.2rem #929292, 0 0.2rem #929292;
    box-shadow: 0 -0.2rem #929292, 0 0.2rem #929292;
}

.que.multichoice .answer div.r0 input, .que.multichoice .answer div.r1 input {
    min-width: 14px;
}

.activity-item .activity-basis {
    width: calc(100% - 30px);
}
.activity-item:not(.activityinline) {
    padding: 0.5rem !important;
}

ul.buttons li.section .activityiconcontainer.content.courseicon {
    margin: 0 1rem 0 0 !important;
}

.printable_question .answer > div {
    display: inline-block;
    margin: 0px 20px;
}

@media print {
    #available_shortcuts_popup {
        display: none !important;
    }

    .printable_question {
        page-break-inside: avoid;
    }
}

.aalink.focus, #page-footer a:not([class]).focus, .arrow_link.focus, a:not([class]).focus, .activityinstance>a.focus, 
.aalink:focus, #page-footer a:not([class]):focus, .arrow_link:focus, a:not([class]):focus, .activityinstance>a:focus {
    background-color: #cecece;
    -webkit-box-shadow: 0 -0.2rem #929292, 0 0.2rem #929292;
    box-shadow: 0 -0.2rem #929292, 0 0.2rem #929292;
}

.panopto-flexible-container {
    position:relative;
    width:100%;
    padding-top:min(56.25%,405px);
}

.panopto-flexible-iframe {
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    max-width:720px;
    max-height:405px;
}

/* Groupselect display cleanup */
.groupselect-table th.header.c0 {
    width: 25%;
}
.groupselect-table th.header.c1 {
    width: 40%;
}
.groupselect-table th.header.c2 {
    width: 10%;
}
.groupselect-table th.header.c3 {
    width: 25%;
}
.mod_groupselect td.cell.c3 {
    color: rgb(0,0,0,0);
}
.groupselect-table a.d-inline-block.aabtn {
    width: 15%;
}
.groupselect-table a.d-inline-block.aabtn + a {
    width: 80%;
    display: inline-block !important;
}

/*  */
/* */
/* Inline toggle classes */
/* */
/* */
.rh_toggler {
    background-repeat: no-repeat; 
    padding-right: 26px; 
    font-family: sans-serif !important;
    font-size: 1.1em !important;
    padding-left: 0;
} 
.rh_toggler:hover {
    cursor: pointer;
}
.rh_toggler:before {
    font-family: var(--fa-style-family,"Font Awesome 6 Free");
    padding: 0.25rem;
}
.rh_toggler_hide {
    padding-left: 30px;
}