@media (min-width: 1200px) {
  .bd-sidebar {
    -ms-flex: 0 1 320px;
    flex: 0 1 320px;
  }
}

@media (min-width: 768px) {
  .bd-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 4.5rem;
    z-index: 1000;
    height: calc(100vh - 4.5rem);
  }
}

@media (min-width: 768px) {
  .bd-sidebar {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
  }
}

.bd-sidebar {
  -ms-flex-order: 0;
  order: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.bd-search {
  position: relative;
  padding: 1rem 15px;
  margin-right: -15px;
  margin-left: -15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .bd-links {
    display: block !important;
  }
}

@media (min-width: 768px) {
  .bd-links {
    max-height: calc(100vh - 9rem);
    overflow-y: auto;
  }
}

.bd-links {
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-right: -15px;
  margin-left: -15px;
}

.modal-max-width-80pct {
  max-width: 80%;
}

.nav-link {
  cursor: pointer;
  padding-left: 2rem;
}

.title-col {
  max-width: 200px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.title-col-min {
  max-width: 150px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.instructor-col {
  max-width: 100px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.text-align-right {
  text-align: right;
}

.ml-24 {
  margin-left: 24px;
}

.ml-48 {
  margin-left: 48px;
}

.expander {
  font-size: 0.5rem;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.disabled-row {
  color: #ddd;
}

.course-id-label {
  white-space: nowrap;
}

.oneline-minimized-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.max-w-40px {
  max-width: 40px;
}

.max-w-100px {
  max-width: 100px;
}

.max-w-150px {
  max-width: 150px;
}

.min-w-48px {
  min-width: 48px;
}

.mb-32px {
  margin-bottom: 32px;
}

.text-sm {
  font-size: 80%;
}

.text-align-center {
  text-align: center;
}

.text-align-right {
  text-align: right;
}

.flex-1 {
  flex: 1;
}

.divider-bottom {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hide {
  display: none;
}

.text-fade {
  color: #212529;
}

/* The sidebar menu */
.sidebar {
  height: calc(100% - 4.5rem); /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 4.5rem;
  left: 0;
  background-color: #fff; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
  border-right: 1px solid rgba(0, 0, 0, 0.1);

  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16),
    0 3px 6px rgba(0, 0, 0, 0.23);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

/* The sidebar links */
.sidebar .sidebar--navigators {
  padding: 24px 24px 8px 32px;
}

/* Position and style the close button (top right corner) */
.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* The button used to open the sidebar */
.openbtn {
  cursor: pointer;
  background-color: var(--primary);
  color: white;
  padding: 10px 15px;
  border: none;
  position: fixed;
  top: 120px;
  left: 0px;

  border-radius: 0 100px 100px 0;

  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16),
    0 3px 6px rgba(0, 0, 0, 0.23);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.highlight-header-row th {
  background: #ffffff;
  color: #6c757d;
  font-weight: 400;
}

.highlight-main-row {
  background: #d4f9e0;
}

.highlight-submain-row {
  background: #fafafa;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left 0.5s; /* If you want a transition effect */
  padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidebar {
    padding-top: 15px;
  }
  .sidebar a {
    font-size: 18px;
  }
}
