.h-100r {
  height: 1rem;
}

.h-150r {
  height: 1.5rem;
}

.h-200r {
  height: 2rem;
}

.h-300r {
  height: 3rem;
}

.h-400r {
  height: 4rem;
}

.lh-100 {
  line-height: 1em;
}

.lh-120 {
  line-height: 1.2em;
}

.bg-center-cover {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.mw-1920 {
  max-width: 1920px;
}

.xy-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.shadow-layer {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.text-muted-2 {
  color: rgba(41, 58, 71, 0.52) !important;
}

.page-link {
  cursor: pointer;
}

.page-item.active .page-link {
  font-weight: 700;
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation: portrait) {
  /* For portrait layouts only */
}
@keyframes jump-in {
  0% {
    opacity: 0.01;
    transform: scale(0.9) translateY(10%);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0%);
  }
}
@keyframes jump-out {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0%);
  }
  100% {
    opacity: 0;
    transform: scale(0.9) translateY(10%);
  }
}
.btn-primary {
  min-width: 100px;
}

.btn-custom {
  display: inline-block;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  border-radius: 0;
  min-width: 100px;
  cursor: pointer;
  outline: 0;
}

.btn-custom:hover {
  text-decoration: none;
}

@media (min-width: 1200px) {
  .btn-view-all {
    min-width: 217px;
  }
}
.block_calendar_month {
  font-size: 12px;
}
.block_calendar_month .header {
  padding: 0 !important;
}

.dropdown-menu {
  background-color: #1b1b1b;
  color: #fff;
}

.activity-item .activity-completion .completion-dialog {
  color: #ffffff;
}

span.meta.role {
  display: block;
}

.theme-generic-template-navbar {
  min-height: 100px;
  max-height: 100px;
}
.theme-generic-template-navbar .drawer-toggle-icon .nav-link {
  padding: 0.25rem;
}
.theme-generic-template-navbar .drawer-toggle-icon .nav-link .icon {
  color: white;
  font-size: 1.5rem;
  opacity: 0.8;
}
.theme-generic-template-navbar .navbar-brand {
  min-width: 150px;
  flex: 0 0 auto;
}
.theme-generic-template-navbar .navbar-brand .logo img {
  max-width: 100%;
}
.theme-generic-template-navbar .nav-list .nav-list__item {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  margin-right: 4.5rem;
  font-size: 0.8rem;
  position: relative;
  margin-bottom: 0.5rem;
  display: inline-block;
}
.theme-generic-template-navbar .nav-list .nav-list__item.active:after {
  content: " ";
  position: absolute;
  bottom: -7px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #fff;
}
.theme-generic-template-navbar .usermenu .usertext {
  color: white;
  text-transform: uppercase;
  font-weight: 700;
}
.theme-generic-template-navbar .usermenu .dropdown-toggle::after {
  color: white;
  margin-top: 2px;
  border-right: 0.4em solid transparent;
  border-bottom: 0;
  border-left: 0.4em solid transparent;
  vertical-align: 2px;
}
.theme-generic-template-navbar .usermenu .dropdown-item {
  font-size: 1rem;
}
.theme-generic-template-navbar .dropdown-item {
  font-size: 0.8rem;
}

#page-footer.theme-generic-template-footer {
  background-color: black;
  color: white;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
#page-footer.theme-generic-template-footer a {
  color: white;
  text-decoration: none;
}
#page-footer.theme-generic-template-footer .ma-logo {
  height: 2rem;
}
#page-footer.theme-generic-template-footer .social-links .social-logo {
  display: inline-block;
}
#page-footer.theme-generic-template-footer .social-links .social-logo img {
  width: 2rem;
  height: 2rem;
}

.form-filemanager div.filemanager {
  padding: 10px 10px 5px 10px;
  margin-bottom: 10px;
  border: 1px solid #000;
}

.ma-colourpicker .currentcolour {
  position: static !important;
  margin: 0px 4px 1px;
}

.coursebox,
.resource-box-container {
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  transition: 0.4s;
  animation: jump-in 0.4s;
}
.coursebox-exit,
.resource-box-container-exit {
  animation: jump-out 0.4s;
}
.coursebox-enter,
.resource-box-container-enter {
  animation: jump-in 0.4s;
}
.coursebox .img-wrapper,
.resource-box-container .img-wrapper {
  position: relative;
  padding-top: 85.36%;
}
.coursebox .course-progress,
.resource-box-container .course-progress {
  position: absolute;
  width: 100%;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
}
.coursebox .course-progress .bar-outter,
.resource-box-container .course-progress .bar-outter {
  width: 100%;
  height: 5px;
  margin-top: 10px;
}
.coursebox .course-progress .progress-text,
.resource-box-container .course-progress .progress-text {
  font-size: 1.2rem;
}
.coursebox .course-progress .bar-inner,
.resource-box-container .course-progress .bar-inner {
  width: 0%;
  height: 5px;
}
.coursebox .name,
.resource-box-container .name {
  height: 44px;
  overflow: hidden;
}
.coursebox .desc,
.resource-box-container .desc {
  height: 71px;
  overflow: hidden;
  color: #707070;
}
.coursebox:hover,
.resource-box-container:hover {
  transform: scale(1.05);
}

#settingsnav {
  padding: 0px !important;
  margin-bottom: 10px;
}
#settingsnav .list-group li {
  padding-left: 10px;
}
#settingsnav ul li > p {
  display: inline-block;
}
#settingsnav ul li hr {
  display: none;
}
#settingsnav li.type_siteadmin {
  border-top: 1px solid #f1f1f1;
  margin-top: 10px;
  padding: 10px 0px;
}

.block_settings .block_tree .tree_item.branch {
  padding-left: 0px;
}
.block_settings .block_tree .tree_item.branch ul {
  padding-left: 10px;
}

#nav-drawer #settingsnav {
  padding: 0px;
}
#nav-drawer #settingsnav ul {
  padding-left: 10px;
}
#nav-drawer #settingsnav > ul {
  padding-left: 0px;
}

#nav-drawer #settingsnav ul.block_tree ul ul {
  padding-left: 20px;
}

.banner-box #page-header {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 373px;
  display: flex;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
  position: relative;
}
.banner-box > .container {
  position: relative;
  flex: 1;
}
.banner-box .content-header {
  z-index: 1;
  padding: 0.5rem 1rem !important;
}
.banner-box .page-context-header {
  overflow: hidden;
  padding: 0.25rem;
  color: #fff;
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.banner-box .page-context-header h1 {
  font-size: 5rem;
  font-weight: 700;
}
.banner-box .card {
  border: none !important;
}

.modal-dialog-scrollable .modal-body {
  overflow-y: unset;
}

.modal-content {
  overflow: auto !important;
}

.pagelayout-standard [role=main], .pagelayout-reports [role=main] {
  background: #fff;
  padding: 1.5rem;
}

.pagelayout-standard .card {
  border: none !important;
}
.pagelayout-standard #region-main {
  border: none !important;
  padding-top: 0;
}
.pagelayout-standard #page-header {
  display: none;
}
.pagelayout-standard .content-header {
  padding: 1rem 1.25rem;
}

.pagelayout-standard [role=main],
.pagelayout-reports [role=main] {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background: #fff;
}

.pagelayout-reports [role=main] {
  padding-left: 3rem;
  padding-right: 3rem;
}

#page-theme-generic-pages-file_library .custom-control input[type=text] {
  border: 1px solid #f1f1f1;
  padding: 3px 10px;
  margin-left: 10px;
}

#page-course-search .course-search-result .coursebox {
  background: #fff;
  box-shadow: none;
}
#page-course-search .course-search-result .coursebox:hover {
  transform: scale(1.01);
}
#page-course-search #region-main h2 {
  margin-top: 20px;
}

.pagelayout-reports [role=main] {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background: #fff;
}

.pagelayout-reports [role=main] {
  padding-left: 3rem;
  padding-right: 3rem;
}

.pagelayout-reports .banner-box #page-header {
  background-image: url("../pix/reports/banner.svg");
}
.pagelayout-reports .banner-box #page-header .shadow-layer {
  display: block !important;
}
.pagelayout-reports table tr td:first-child {
  width: 1%;
  white-space: nowrap;
}

#course-filter-tree .dropdown-content i.toggle {
  margin-left: 3px;
  text-align: center;
  padding-top: 3px;
  padding-right: 3px;
  font-size: 17px;
}

.theme-generic-template-login #page-header {
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 5;
}
.theme-generic-template-login #page-footer {
  position: absolute;
  width: 100%;
  bottom: 0;
  z-index: 5;
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
}
.theme-generic-template-login #login-bg-carousel .carousel-item {
  background-position: center;
  background-size: cover;
}
.theme-generic-template-login #login-bg-carousel ol.carousel-indicators {
  bottom: 13px;
  height: 30px;
}
.theme-generic-template-login #login-bg-carousel ol.carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  opacity: 1;
}
.theme-generic-template-login .title {
  font-size: 2.6rem;
}
.theme-generic-template-login .form-control {
  padding: 0.8125rem 1.25rem;
  line-height: 1rem;
  height: 2.625rem;
}
.theme-generic-template-login #main-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.theme-generic-template-login .main-overlay__left {
  position: relative;
  background-color: rgba(0, 0, 0, 0.5);
}
.theme-generic-template-login #region-main {
  color: white;
  border: none;
  position: absolute;
  max-width: 522px;
  width: 80%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
  background: transparent;
  padding: 0;
}
.theme-generic-template-login .modal-dialog {
  color: #444;
}

.theme-generic-template-signup .main-overlay__left {
  position: relative;
  background-color: rgba(0, 0, 0, 0.5);
}
.theme-generic-template-signup .main-overlay__right {
  position: relative;
  background-color: white;
}
.theme-generic-template-signup #signup-form-wrapper {
  max-width: 640px;
}
.theme-generic-template-signup #signup-form-wrapper .card {
  border: none;
}

@media (max-width: 575px) {
  .theme-generic-template-login #login-bg-carousel ol.carousel-indicators {
    bottom: 56px;
  }
}
.theme-generic-template-signup #main-overlay {
  flex: 1;
}

#mount-react-course-intro .course-intro .course-image {
  height: 450px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#mount-react-course-intro .course-intro .rate-info {
  font-size: 0.8rem;
}
#mount-react-course-intro .course-intro .star-ratings {
  bottom: 3px;
}
#mount-react-course-intro .course-intro .your-rate {
  font-size: 0.8rem;
}
#mount-react-course-intro .course-intro .fullname {
  font-size: 1.5rem;
}
#mount-react-course-intro .course-intro .summary {
  color: #707070;
}

#page-enrol-index .generalbox.info {
  display: none;
}

.pagelayout-course .banner-box #page-header .shadow-layer {
  display: block !important;
}
.pagelayout-course .banner-box .dropdown-toggle {
  color: #fff;
}
.pagelayout-course .btn-link:focus {
  box-shadow: none;
}

@media (min-width: 576px) {
  .context-header-settings-menu,
  .region-main-settings-menu {
    margin-top: 4rem;
  }
}
.content .activity-information {
  position: relative;
  float: right;
  margin: 10px;
  top: -15px;
}

section[id=region-main] div[role=main] {
  position: relative;
}
section[id=region-main] div[role=main] .activity-information {
  position: absolute;
  top: 0;
  right: 1.5%;
  border: none;
}
section[id=region-main] .nav {
  margin-top: 2rem;
}

.rate i {
  display: inline-block;
  width: 20px;
  height: 15px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../pix/icons/star-grey.svg);
}
.rate i.full {
  background-image: url(../pix/icons/star-full.svg);
}
.rate i.half {
  background-image: url(../pix/icons/star-half.svg);
}

#page-theme-generic-pages-file_library .banner-box #page-header {
  background-image: url("../pix/resources/banner.svg");
}
#page-theme-generic-pages-file_library .banner-box #page-header .shadow-layer {
  display: block !important;
}
#page-theme-generic-pages-file_library #input-kewword {
  float: left;
  width: calc(100% - 100px);
  height: 36px;
  border: none;
  background-color: #eee;
  background-image: url("../pix/search.png");
  background-position: 10px center;
  background-size: 20px;
  background-repeat: no-repeat;
  padding-left: 40px;
}
#page-theme-generic-pages-file_library #btn-search {
  width: 100px;
  float: right;
  color: #fff;
}
#page-theme-generic-pages-file_library .section-body {
  background-color: #eee;
}
#page-theme-generic-pages-file_library #checkbox-lms-only {
  width: 20px;
  height: 20px;
  border-radius: 0px;
}
#page-theme-generic-pages-file_library .searchin.selected {
  border-bottom: 2px solid #4d90fa;
  padding-bottom: 1px;
}
#page-theme-generic-pages-file_library .category-list .category.top {
  padding: 0.5rem 0;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #444;
  cursor: pointer;
}
#page-theme-generic-pages-file_library .category-list .category .name-wrapper {
  font-weight: bold;
  padding: 2px 0;
  font-size: 16px;
  text-transform: capitalize;
}
#page-theme-generic-pages-file_library .category-list .category .arrow {
  width: 1rem;
  height: 1rem;
  background-size: 80%;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("../pix/icons/down-chevron.png");
  vertical-align: text-top;
  cursor: pointer;
}
#page-theme-generic-pages-file_library .category-list .category .arrow.collapsed {
  background-image: url("../pix/icons/right-thin-chevron.png");
}
#page-theme-generic-pages-file_library .category-list .category.no-children > .name-wrapper > .arrow {
  background-image: none;
}
#page-theme-generic-pages-file_library .count-msg {
  border-bottom: 1px solid #aaa;
}
#page-theme-generic-pages-file_library .no-reslut-wrapper {
  font-size: 2.5rem;
  line-height: 2.75rem;
  text-align: center;
}
#page-theme-generic-pages-file_library .no-reslut-wrapper img {
  max-width: 120px;
}
#page-theme-generic-pages-file_library .no-reslut-wrapper span {
  color: #4d90fa;
}
#page-theme-generic-pages-file_library .no-reslut-wrapper .text-2 {
  font-size: 1rem;
  color: #aaa;
}
#page-theme-generic-pages-file_library .resource-list-item {
  border-bottom: 1px solid #aaa;
  cursor: pointer;
}
#page-theme-generic-pages-file_library .resource-list-item .file-type-img img {
  width: 60px;
}
#page-theme-generic-pages-file_library .resource-list-item .info {
  width: calc(100% - 80px);
}
#page-theme-generic-pages-file_library .resource-list-item .desc {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#page-theme-generic-pages-view_resource {
  border-top: 1px solid #707070;
}
@media (min-width: 576px) {
  #page-theme-generic-pages-view_resource #region-main {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}
#page-theme-generic-pages-view_resource #region-main {
  background-color: #fff;
}
#page-theme-generic-pages-view_resource .banner-box #page-header {
  background-image: url("../pix/resources/view-resource-banner.png");
}
#page-theme-generic-pages-view_resource .banner-box #page-header .shadow-layer {
  display: block !important;
}
#page-theme-generic-pages-view_resource [role=main] {
  padding: 1.5rem 3rem;
}
#page-theme-generic-pages-view_resource #page-wrapper {
  margin-top: -1px;
}
#page-theme-generic-pages-view_resource .resource-icon {
  width: auto;
  height: 3rem;
  float: right;
}
#page-theme-generic-pages-view_resource .back-link-wrapper {
  border-bottom: 2px solid #707070;
}
#page-theme-generic-pages-view_resource .date-uploader .date {
  color: grey;
}
#page-theme-generic-pages-view_resource .date-uploader .uploader {
  color: #707070;
}
#page-theme-generic-pages-view_resource .attachment {
  background-color: grey;
}
#page-theme-generic-pages-view_resource .attachment .preview .preview-img {
  width: 100%;
}

@media only screen and (max-width: 768px) {
  #page-theme-generic-pages-view_resource .resource-icon {
    max-height: 50px;
    width: 50px;
  }
}
td.completion-progresscell .icon {
  width: unset;
}

.autocompletion .icon {
  height: auto;
  width: 200px;
}

.path-course-view li.activity form.togglecompletion .ajaxworking {
  width: 33px;
  height: 33px;
  right: 9px;
  top: 2px;
  background-size: cover;
}
.path-course-view li.activity form.togglecompletion .icon {
  width: 200px;
  height: auto;
}

.sr-search-ctrl {
  background-color: rgba(112, 112, 112, 0.09);
  padding-left: 10px !important;
}

.sr-search-input-ctrl {
  background-color: transparent;
  border: none;
  outline: none;
}

.manage-resource {
  color: black;
  text-decoration: none;
}

.hidden-menu-ctrl {
  position: absolute !important;
  margin-top: 50px !important;
  width: 100% !important;
  margin-left: -5px !important;
}

.hidden-menu-item-text-ctrl {
  padding-left: 10px !important;
}

#page-course-index-category .card,
#page-course-view-topics .card,
#page-theme-generic-pages-file_library .card,
#page-course-search .card,
#page-theme-generic-pages-mybadges .card,
.pagelayout-reports .card,
.pagelayout-admin .card {
  border: none !important;
}
#page-course-index-category #region-main,
#page-course-view-topics #region-main,
#page-theme-generic-pages-file_library #region-main,
#page-course-search #region-main,
#page-theme-generic-pages-mybadges #region-main,
.pagelayout-reports #region-main,
.pagelayout-admin #region-main {
  border: none !important;
}
#page-course-index-category .page-header-headings h1,
#page-course-view-topics .page-header-headings h1,
#page-theme-generic-pages-file_library .page-header-headings h1,
#page-course-search .page-header-headings h1,
#page-theme-generic-pages-mybadges .page-header-headings h1,
.pagelayout-reports .page-header-headings h1,
.pagelayout-admin .page-header-headings h1 {
  font-weight: bold;
}

#page-blocks-resources-viewer #page-header {
  display: none;
}

@media only screen and (max-width: 768px) {
  #block-leaderboard {
    margin-top: 40px;
    display: none;
  }
}
#region-main {
  overflow: visible;
}

.resource-icon {
  width: 5rem;
  height: 5rem;
}
.resource-icon img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.resource-box {
  flex: 1;
  transition: 0.4s;
}
.resource-box:hover {
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}
.resource-box:hover .resource-img {
  transform: scale(1.2);
}
.resource-box .img-wrapper {
  padding-top: 60.5%;
  overflow: hidden;
}
.resource-name {
  min-height: 2.75rem;
  max-height: 2.75rem;
  overflow: hidden;
  text-overflow: clip;
}
.resource-desc {
  text-overflow: clip;
  min-height: 2.5rem;
  height: 2.5rem;
  overflow: hidden;
}
.resource-view-link {
  text-decoration: underline;
}
.resource-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
}

.content-header {
  padding: 0 1rem 1rem 1rem;
}

#nav-drawer .card {
  background-color: #fff;
}

#fitem_id_moodlenetprofile {
  display: none;
}

.pagelayout-resources #region-main,
.pagelayout-coursecategory #region-main,
.pagelayout-reports #region-main {
  background-color: transparent;
  padding: 0;
}

.form-control::-ms-clear {
  width: 0;
  height: 0;
}

.changecompl > .icon {
  width: 100px;
}

.navbar {
  min-height: 76px !important;
}

.navbar.fixed-top {
  border-bottom: none !important;
}

.nav-content-ctrl {
  max-width: 1640px;
}

@media (max-width: 575px) {
  .theme-generic-template-navbar .navbar-brand,
  .theme-generic-template-navbar .navbar-brand .logo {
    max-width: 180px;
  }
  .banner-box .page-context-header h1 {
    font-size: 3rem;
  }
}
.userloggedinas .usermenu .usertext .meta {
  display: block !important;
}

span.tagpill {
  background: #f1f1f1;
  padding: 3px 10px;
  margin: 0px 2px;
  border-radius: 3px;
}

.indeterminate-progress-bar {
  background-color: #d1d5db;
  border-radius: 9999px;
  height: 0.5rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
  margin-top: -10px;
}

.indeterminate-progress-bar__progress {
  background-color: #f6b53b;
  border-radius: 9999px;
  position: absolute;
  bottom: 0;
  top: 0;
  width: 50%;
  /* Move the bar infinitely */
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-name: indeterminate-progress-bar;
}

@keyframes indeterminate-progress-bar {
  from {
    left: -50%;
  }
  to {
    left: 100%;
  }
}
#category-dropdown.dropdown-menu {
  background-color: #1b1b1b !important;
  color: #fff;
}
