@charset "UTF-8";
/* montserrat-regular - latin-ext_latin */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: local("Montserrat Regular"), local("Montserrat-Regular"), url("../webfonts/montserrat-v14-latin-ext_latin-regular.woff") format("woff");
}
/* montserrat-italic - latin-ext_latin */
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 400;
  src: local("Montserrat Italic"), local("Montserrat-Italic"), url("../webfonts/montserrat-v14-latin-ext_latin-italic.woff") format("woff");
}
/* montserrat-700 - latin-ext_latin */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  src: local("Montserrat Bold"), local("Montserrat-Bold"), url("../webfonts/montserrat-v14-latin-ext_latin-700.woff") format("woff");
}
/* montserrat-700italic - latin-ext_latin */
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 700;
  src: local("Montserrat Bold Italic"), local("Montserrat-BoldItalic"), url("../webfonts/montserrat-v14-latin-ext_latin-700italic.woff");
}
html,
body {
  height: 100%;
  margin: 0;
  background-color: var(--background) !important;
  color: var(--text) !important;
  font: var(--font) !important;
  line-height: 1.5rem !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
}

blockquote {
  border-left: 4px solid #ddd;
  padding-left: 10px;
}

.wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#content-header {
  font: var(--hdr_font) !important;
  height: var(--hdr-height);
  display: flex;
  background-color: var(--hdr_background);
  color: var(--hdr_color);
  white-space: nowrap;
  border-bottom: var(--hdr_border);
}
#content-header > div {
  line-height: var(--hdr-height);
}
#content-header img {
  margin: 2px 10px;
}
#content-header #title {
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
}
#content-header #userinfo {
  flex: 0;
  font-size: 0.8em;
}
#content-header #userinfo #welcome, #content-header #userinfo #student-pw-wrapper {
  display: inline-block;
  font-style: italic;
  text-align: right;
  font-size: 0.8rem;
}
#content-header button {
  margin: 0 10px;
  font-size: 0.8rem;
}

#button-bar {
  border-bottom: var(--border);
}

#content-footer {
  font: var(--ftr_font) !important;
  background-color: var(--ftr_background);
  color: var(--ftr_color);
  white-space: nowrap;
  border-top: var(--hdr_border);
  padding: 2px 10px;
  text-align: center;
}
#content-footer button {
  float: right;
  font-size: 0.9em;
  padding: 0 0.3rem;
  border: none;
}

#content-main {
  flex: 1;
  overflow: hidden;
  display: grid;
  grid-template-rows: 100%;
}

a {
  color: var(--link_text);
  background: var(--link_hover_background) !important;
}
a:hover {
  color: var(--link_hover_text) !important;
  text-decoration: var(--link_hover_decoration) !important;
}

hr {
  border-top: var(--hr_border) !important;
}

#content-splitter {
  background-color: var(--splitter_background) !important;
  border-left: 1px solid var(--splitter_border) !important;
  border-right: 1px solid var(--splitter_border) !important;
  cursor: col-resize;
}
#content-splitter:before {
  content: "|";
  top: 50%;
  position: absolute;
  font-size: 1.5rem;
  margin-left: -1px;
  color: #888;
}

#content-sidebar {
  direction: rtl;
  overflow-y: auto;
  line-height: 1rem;
  background-color: var(--sb_background);
  color: var(--sb_text);
  padding: 0 10px;
  font-size: var(--sb_text_size);
}
#content-sidebar button {
  text-align: left;
}
#content-sidebar * {
  direction: ltr;
  text-overflow: ellipsis;
  overflow: hidden;
}
#content-sidebar h1, #content-sidebar h2, #content-sidebar h3, #content-sidebar h4, #content-sidebar h5 {
  font-weight: bold;
}
#content-sidebar h1,
#content-sidebar h2 {
  font-size: calc(var(--sb_text_size) * 2);
}
#content-sidebar h3 {
  font-size: calc(var(--sb_text_size) * 1.5);
}
#content-sidebar h4 {
  font-size: calc(var(--sb_text_size) * 1.1);
}
#content-sidebar h5 {
  font-size: var(--sb_text_size);
}
#content-sidebar ul {
  padding-inline-start: 5px;
}
#content-sidebar p, #content-sidebar dl, #content-sidebar ol, #content-sidebar ul {
  margin-bottom: 0.5rem;
}
#content-sidebar a {
  display: inline-block;
  width: 100%;
  color: var(--sb_link_text);
}
#content-sidebar a:hover {
  background: var(--sb_link_hover_background) !important;
  color: var(--sb_link_hover_text) !important;
  text-decoration: var(--sb_link_hover_decoration) !important;
}
#content-sidebar hr {
  border-top: var(--sb_hr_border) !important;
}

#content-right {
  margin-left: 0;
  overflow-y: auto;
  position: relative;
  height: 100%;
}
#content-right .content {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 calc(100% - 1100px) 0 10px;
  overflow-x: hidden;
}

/* a toggle icon depending on the setting of "aria-expanded" */
.toggle:before {
  content: "▾";
  padding-right: 5px;
}
.toggle[aria-expanded=false]:before {
  content: "▸";
  padding-right: 5px;
}

button.toggle {
  font-size: 0.7rem;
  color: inherit;
  text-decoration: none !important;
}

.toc {
  position: absolute;
  right: 0;
  background-color: var(--toc_background);
  color: var(--toc_text);
  border-left: var(--toc_border);
  border-bottom: var(--toc_border);
  z-index: 1000;
}
.toc button {
  width: 100%;
  text-align: right;
}
.toc ul {
  font-size: 0.9em;
  line-height: 1.6em;
  padding-inline-start: 15px;
  padding: 0 10px;
  margin-bottom: 0.5em;
  list-style: none;
}
.toc ul [href] {
  cursor: pointer;
}
.toc ul > li > a {
  color: var(--toc_text) !important;
}
.toc ul > li > a:hover {
  color: var(--toc_link_hover_text) !important;
  text-decoration: var(--toc_link_hover_decoration) !important;
}

#toc {
  max-height: 300px;
  overflow-y: auto;
}

.pdf {
  width: 100%;
  border: none;
}

#login-form {
  width: 100%;
}
#login-form #code {
  text-transform: uppercase;
}

@media (max-width: 575px) {
  #title, #welcome {
    flex: 0;
    display: none !important;
  }
  #content-main {
    display: flex !important;
    flex-direction: column;
  }
  #content-sidebar {
    direction: ltr;
    border-bottom: var(--border);
    margin-top: -1px;
  }
}
@media (min-width: 576px) {
  #content-sidebar {
    padding-top: 10px;
  }
  #sb-collapse {
    display: block !important;
  }
}
@media print {
  html, body {
    height: auto;
  }
  .wrapper {
    display: block;
  }
  #content-main {
    display: block !important;
    overflow: visible;
  }
  #content-header, #content-footer,
  #content-splitter,
  #content-sidebar,
  #button-bar,
  .toc {
    display: none !important;
  }
  #content-right .content {
    position: unset;
    max-width: calc(100% - 2cm);
    margin-left: 2cm;
  }
  a {
    color: var(--text) !important;
    text-decoration: none !important;
  }
}
#search-result a {
  color: var(--text) !important;
  text-decoration: none !important;
}
#search-result a:hover {
  color: var(--text) !important;
  text-decoration: none !important;
}
#search-result h5 {
  font-size: 1rem;
}
#search-result p {
  margin-bottom: 0;
  font-size: 0.8em;
  line-height: 1.3em;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
#search-result .modal-body {
  overflow-y: auto !important;
  max-height: 85vh !important;
}

span.txt-hilite {
  background-color: var(--search-found-background);
  padding: 2px;
}

.preview {
  display: none;
  font-size: 15vw;
  font-weight: bold;
  color: rgba(192, 192, 192, 0.5);
  position: absolute;
  top: 50%;
  transform: translate(-50%, 50%) rotate(-40deg);
  left: 50%;
  white-space: nowrap;
  z-index: -1;
}

a.not-free {
  color: #ccc !important;
  cursor: initial;
  pointer-events: none;
}

a.not-free:hover {
  color: #ccc !important;
}

@media print {
  .preview {
    top: 35%;
  }
}
.preview-popup {
  z-index: 10002;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  position: absolute;
  left: 100px;
  right: 100px;
  top: 100px;
  background-color: white;
}

.preview-backdrop1, .preview-backdrop2 {
  z-index: 10001;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.preview-backdrop1 {
  opacity: 0.99;
  -webkit-backdrop-filter: blur(4px);
  -o-backdrop-filter: blur(4px);
  -moz-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.preview-backdrop2 {
  background-color: black;
  opacity: 0.5;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
   supported by Chrome, Edge, Opera and Firefox */
}

/*# sourceMappingURL=styles.css.map */