html {
  overflow: hidden;
}

html,
body {
  height: 100%;
}
body {
  position: relative;
}

blockquote {
  padding: 10px 20px;
  margin: 0 0 20px;
  font-size: 17.5px;
  border-left: 5px solid #eee;
}

pre {
  display: block;
  padding: 9.5px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.42857143;
  color: #333;
  word-break: break-all;
  word-wrap: break-word;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.section-heading {
  padding: 16px;
  font-size: 1.2em;
  background-color: var(--erie-black);
  color: #ffffff;
  margin-bottom: 0;
}

.section-list {
  text-decoration: none;
  margin: 0;
  padding: 0;
  list-style-type: none;
  /* border-top: 1px solid #d7dadb; */
  border-bottom: 1px solid #d7dadb;
}

.current-item a {
  border-right: 10px solid hsl(139deg 53% 74%);
  color: var(--color-celadon);
  /* font-weight: bold; */
  background-color: hsl(0deg 0% 0% / 50%);
}

.section-item:not(:last-child) {
  /* border-bottom: 1px solid #ccc; */
  border-bottom: 1px solid rgb(230 232 233 / 25%);
}

.section-item__link {
  padding: 10px 16px;
  display: block;
  /* color: var(--color-dark); */
  color: #ffffff;
  border-right: 10px solid var(--erie-black);
}

.section-item__link:hover {
  color: var(--color-celadon);
  text-decoration: none;
  background-color: hsl(0deg 0% 0% / 50%);
}
.lecture-name {
  max-width: 80%;
  display: inline-block;
}

.lecture {
  display: flex;
  flex-direction: row;
  /* flex-wrap: wrap; */
  width: 100%;
  min-height: unset;
  height: calc(100vh - 72px);
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .lecture {
    flex-direction: column;
  }
}

.lecture__title {
  margin-bottom: 1em;
  font-weight: bold;
}

.lecture__section h2 {
  font-size: 1.625rem;
  font-weight: 600;
}

.lecture__section h3 {
  font-size: 1.3rem;
  line-height: 1.3;
}

.course-main {
  padding: 1rem 2.5rem 4rem !important;
  overflow-y: auto;
  width: 100%;
  background: var(--light);
}

@media (max-width: 425px) {
  .course-main {
    padding: 1rem 0.85rem 4rem !important;
  }
}

.course-sidebar {
  border-right: 1px solid #d7dadb;
  width: 350px;
  box-shadow: 0px 6px 20px rgb(32 39 45 / 15%);
  background-color: #f6f6f7;
  padding-left: 0px;
  padding-right: 0px;
  position: -webkit-sticky;
  position: sticky;
  display: inline-block;
  flex: 0 0 auto;
  height: 100%;
  top: 0;
  overflow-y: auto;
  transition: 0.3s height ease-in-out;
}

@media screen and (max-width: 767px) {
  .course-sidebar {
    height: 0;
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .course-sidebar.is-open {
    display: inline-block;
    height: 60vh;
  }
}

.course-section {
  padding: 0;
  background-color: #747c92;
}
.lecture__section {
  max-width: 780px;
}

.lecture__section-heading {
  border-top: 1px dotted #34344a;
  padding-top: 1.25em;
  margin-top: 1.25em;
}

/** Code Example **/
code {
  padding: 2px 4px;
  font-size: 90%;
  color: #c7254e;
  background-color: #f9f2f4;
  border-radius: 4px;
}
.code-viewer {
  margin-bottom: 1em;
}
.code-viewer .hljs {
  padding: 0.5em 1em;
}
.code-viewer code {
  white-space: pre;
}
.code-viewer-label {
  background: var(--charcoal);
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  color: var(--color-celadon);
  font-size: 11px;
  margin-bottom: -3px;
  padding: 0.5em 1em;
  text-transform: uppercase;
}
.hljs {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  /* color: var(--light-periwinkle);
  background: var(--charcoal); */
}
.hljs-section,
.hljs-name,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst {
  color: #ff848e;
}
.hljs-comment,
.hljs-quote {
  color: #63bd54;
}
/** **/
.practice-callout {
  padding: 1em;
  background: #f7f7f7;
  border: 3px solid var(--color-celadon);
  border-radius: 8px;
  font-size: 17px;
  font-weight: normal;
  line-height: 30px;
}
.course-main a,
.practice-callout a {
  color: var(--charcoal);
  border-bottom: 1.25px dotted;
  text-decoration: none;
}
.course-main a:hover,
.practice-callout a:hover {
  border-bottom-style: solid;
}

.course-main .attachment .btn,
.course-main .attachment a {
  color: #ffffff;
}

.course-main .btn-continue {
  padding: 0.375rem 0.75rem;
  background-color: #98dfaf;
  border-color: #98dfaf;
}

.course-main .btn-continue:hover {
  background-color: #a1edb9;
  border-color: #a1edb9;
}

[data-pdfviewer] {
  height: 80vh;
  height: calc(100vh - 100px);
}

.sidebar-header {
  background-color: var(--color-celadon);
}

.sidebar-header h2 {
  font-size: 1.5em;
  font-weight: bold;
}

@media screen and (orientation: landscape) {
  .lecture {
    height: calc(100vh - 43px);
  }

  footer.p-4 {
    padding: 5px !important;
  }
}

.row.attachment {
  padding: 12px 16px 0;
}
