article p, article li {
  font-family: "Lora", serif;
  /* font-family: "Lato", serif; */
  line-height: 1.7em;
}
article p.admonition-title {
  font-family: "Roboto";
}

.md-typeset h1, .md-typeset h2 {
  font-weight: bold;
  color: black;
}

s {
  color: #900;
}

p {
  text-align: justify;
  text-justify: inter-word;
}

p a {
  text-decoration-style: dashed !important;
  text-decoration: underline;
  color: #5356FF !important;
}

.blocker {
  display: block ruby;
}
.col25 {
  width: 25%;
}
.col33 {
  width: 33%;
}
.col50 {
  width: 50%;
}
.col75 {
  width: 75%;
}

.output {
	padding: 20px 20px 0px 20px;
	margin-top: -35px;
	border-width: 1px;
	border-color: #f5f5f5;
	border-style: solid;
}

.tabbed-content .output {
	padding: 20px 20px 0px 20px;
	margin-top: -20px;
	border-width: 1px;
	border-color: #f5f5f5;
	border-style: solid;
}

/*nav.md-nav.md-nav--secondary {
  border-left: .4rem solid #990033;
}

@media only screen and (max-width: 76.1875em) {
  html .md-nav--primary .md-nav__title--site {
    background-color: #990033;
  }
}

@media only screen and (max-width: 59.9375em) {
  .md-nav__source {
    background-color: #880022;
  }
}
*/

/* CSS for kbd: taken from https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd */
/* by Mozilla Contributors is licensed under CC-BY-SA 2.5. */
.md-typeset kbd {
	background-color: #eee;
	border-radius: 2px;
	border: 1px solid #b4b4b4;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 2px 0 0 rgba(255, 255, 255, .7) inset;
	color: #333;
	display: inline-block;
	font-size: .70em;
	font-weight: 700;
	line-height: 1;
	padding: 3px 4px;
	white-space: nowrap;
}


/* Change the color scheme of admonition */
:root {
  --md-admonition-icon--announcement: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M576 240c0-23.63-12.95-44.04-32-55.12V32.01C544 23.26 537.02 0 512 0c-7.12 0-14.19 2.38-19.98 7.02l-85.03 68.03C364.28 109.19 310.66 128 256 128H64c-35.35 0-64 28.65-64 64v96c0 35.35 28.65 64 64 64h33.7c-1.39 10.48-2.18 21.14-2.18 32 0 39.77 9.26 77.35 25.56 110.94 5.19 10.69 16.52 17.06 28.4 17.06h74.28c26.05 0 41.69-29.84 25.9-50.56-16.4-21.52-26.15-48.36-26.15-77.44 0-11.11 1.62-21.79 4.41-32H256c54.66 0 108.28 18.81 150.98 52.95l85.03 68.03a32.023 32.023 0 0019.98 7.02c24.92 0 32-22.78 32-32V295.13C563.05 284.04 576 263.63 576 240zm-96 141.42l-33.05-26.44C392.95 311.78 325.12 288 256 288v-96c69.12 0 136.95-23.78 190.95-66.98L480 98.58v282.84z"/></svg>');
  --md-admonition-icon--idlerepl: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M9.25 12a.75.75 0 0 1-.22.53l-2.75 2.75a.75.75 0 0 1-1.06-1.06L7.44 12 5.22 9.78a.75.75 0 1 1 1.06-1.06l2.75 2.75c.141.14.22.331.22.53Zm2 2a.75.75 0 0 0 0 1.5h5a.75.75 0 0 0 0-1.5h-5Z"></path><path d="M0 4.75C0 3.784.784 3 1.75 3h20.5c.966 0 1.75.784 1.75 1.75v14.5A1.75 1.75 0 0 1 22.25 21H1.75A1.75 1.75 0 0 1 0 19.25Zm1.75-.25a.25.25 0 0 0-.25.25v14.5c0 .138.112.25.25.25h20.5a.25.25 0 0 0 .25-.25V4.75a.25.25 0 0 0-.25-.25Z"></path></svg>');
  --md-admonition-icon--coding: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M3 3a2 2 0 0 1 2-2h9.982a2 2 0 0 1 1.414.586l4.018 4.018A2 2 0 0 1 21 7.018V21a2 2 0 0 1-2 2H4.75a.75.75 0 0 1 0-1.5H19a.5.5 0 0 0 .5-.5V8.5h-4a2 2 0 0 1-2-2v-4H5a.5.5 0 0 0-.5.5v6.25a.75.75 0 0 1-1.5 0Zm12-.5v4a.5.5 0 0 0 .5.5h4a.5.5 0 0 0-.146-.336l-4.018-4.018A.5.5 0 0 0 15 2.5Z"></path><path d="M4.53 12.24a.75.75 0 0 1-.039 1.06l-2.639 2.45 2.64 2.45a.75.75 0 1 1-1.022 1.1l-3.23-3a.75.75 0 0 1 0-1.1l3.23-3a.75.75 0 0 1 1.06.04Zm3.979 1.06a.75.75 0 1 1 1.02-1.1l3.231 3a.75.75 0 0 1 0 1.1l-3.23 3a.75.75 0 1 1-1.021-1.1l2.639-2.45-2.64-2.45Z"></path></svg>');
  --md-admonition-icon--review: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M11.998 2.5A9.503 9.503 0 0 0 3.378 8H5.75a.75.75 0 0 1 0 1.5H2a1 1 0 0 1-1-1V4.75a.75.75 0 0 1 1.5 0v1.697A10.997 10.997 0 0 1 11.998 1C18.074 1 23 5.925 23 12s-4.926 11-11.002 11C6.014 23 1.146 18.223 1 12.275a.75.75 0 0 1 1.5-.037 9.5 9.5 0 0 0 9.498 9.262c5.248 0 9.502-4.253 9.502-9.5s-4.254-9.5-9.502-9.5Z"></path><path d="M12.5 7.25a.75.75 0 0 0-1.5 0v5.5c0 .27.144.518.378.651l3.5 2a.75.75 0 0 0 .744-1.302L12.5 12.315V7.25Z"></path></svg>');
  --md-admonition-icon--hints: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"><rect fill="none" height="24" width="24" y="0"></rect><path d="M7,20h4c0,1.1-0.9,2-2,2S7,21.1,7,20z M5,19h8v-2H5V19z M16.5,9.5c0,3.82-2.66,5.86-3.77,6.5H5.27 C4.16,15.36,1.5,13.32,1.5,9.5C1.5,5.36,4.86,2,9,2S16.5,5.36,16.5,9.5z M21.37,7.37L20,8l1.37,0.63L22,10l0.63-1.37L24,8 l-1.37-0.63L22,6L21.37,7.37z M19,6l0.94-2.06L22,3l-2.06-0.94L19,0l-0.94,2.06L16,3l2.06,0.94L19,6z"></path></svg>');
  --md-admonition-icon--hint: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px"><path d="M0 0h24v24H0z" fill="none"></path><path d="M9 21c0 .5.4 1 1 1h4c.6 0 1-.5 1-1v-1H9v1zm3-19C8.1 2 5 5.1 5 9c0 2.4 1.2 4.5 3 5.7V17c0 .5.4 1 1 1h6c.6 0 1-.5 1-1v-2.3c1.8-1.3 3-3.4 3-5.7 0-3.9-3.1-7-7-7z"></path></svg>');
}
.md-typeset .admonition.announcement,
.md-typeset details.announcement {
  border-color: rgb(33, 173, 168);
}
.md-typeset .announcement > .admonition-title,
.md-typeset .announcement > summary {
  background-color: rgba(33, 173, 168, 0.1);
}
.md-typeset .announcement > .admonition-title::before,
.md-typeset .announcement > summary::before {
  background-color: rgb(33, 173, 168);
  -webkit-mask-image: var(--md-admonition-icon--announcement);
          mask-image: var(--md-admonition-icon--announcement);
}
.md-typeset .admonition.idlerepl,
.md-typeset details.idlerepl {
  border-color: rgb(100, 100, 100);
}
.md-typeset .idlerepl > .admonition-title,
.md-typeset .idlerepl > summary {
  background-color: rgba(100, 100, 100, 0.1);
}
.md-typeset .idlerepl > .admonition-title::before,
.md-typeset .idlerepl > summary::before {
  background-color: rgb(100, 100, 100);
  -webkit-mask-image: var(--md-admonition-icon--idlerepl);
          mask-image: var(--md-admonition-icon--idlerepl);
}
.md-typeset .admonition.coding,
.md-typeset details.coding {
  border-color: rgb(100, 100, 100);
}
.md-typeset .coding > .admonition-title,
.md-typeset .coding > summary {
  background-color: rgba(100, 100, 100, 0.1);
}
.md-typeset .coding > .admonition-title::before,
.md-typeset .coding > summary::before {
  background-color: rgb(100, 100, 100);
  -webkit-mask-image: var(--md-admonition-icon--coding);
          mask-image: var(--md-admonition-icon--coding);
}
.md-typeset .admonition.review,
.md-typeset details.review {
  border-color: rgb(45, 149, 150);
}
.md-typeset .review > .admonition-title,
.md-typeset .review > summary {
  background-color: rgb(45, 149, 150, 0.1);
}
.md-typeset .review > .admonition-title::before,
.md-typeset .review > summary::before {
  background-color: rgb(45, 149, 150);
  -webkit-mask-image: var(--md-admonition-icon--review);
          mask-image: var(--md-admonition-icon--review);
}
.md-typeset .admonition.hints,
.md-typeset details.hints {
  border-color: rgb(40, 129, 78);
}
.md-typeset .hints > .admonition-title,
.md-typeset .hints > summary {
  background-color: rgb(40, 129, 78, 0.1);
}
.md-typeset .hints > .admonition-title::before,
.md-typeset .hints > summary::before {
  background-color: rgb(40, 129, 78);
  -webkit-mask-image: var(--md-admonition-icon--hints);
          mask-image: var(--md-admonition-icon--hints);
}
.md-typeset .admonition.hint,
.md-typeset details.hint {
  border-color: rgb(159, 193, 74);
}
.md-typeset .hint > .admonition-title,
.md-typeset .hint > summary {
  background-color: rgb(159, 193, 74, 0.1);
}
.md-typeset .hint > .admonition-title::before,
.md-typeset .hint > summary::before {
  background-color: rgb(159, 193, 74);
  -webkit-mask-image: var(--md-admonition-icon--hint);
          mask-image: var(--md-admonition-icon--hint);
}

/* Make fonts larger */
.md-typeset .admonition,
.md-typeset table:not([class]),
.md-typeset details {
  font-size: .75rem;
}
.highlighttable .linenos,
.md-typeset code {
  font-size: .7rem;
}
.col25 .highlighttable .linenos,
.md-typeset .col25 code {
  font-size: .55rem;
}


/* Fix arithmatex scrolling behavior */
.md-typeset div.arithmatex {
	overflow-x: visible;
	overflow-y: visible;
}
.md-typeset div.arithmatex > *{
	padding: .8rem .8rem;
}

@media screen and (max-width: 76.2344em) {
  .md-search {
    padding-right: 35px;
  }
}


/* Styling for quizzes */
.quiz {
  border: 0px solid black !important;
}

.inputPreview input[type="radio"] { position: absolute; overflow: hidden; clip: rect(0 0 0 0); height: 1px; width: 1px; margin: -1px; padding: 0; border: 0; }
.inputPreview input[type="radio"] + label { position: relative; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; height: 22px; color: rgb(0, 0, 0); }
.inputPreview input[type="radio"] + label::before { content: " "; display: inline-block; vertical-align: middle; margin-right: 3px; width: 20px; height: 20px; border-width: 1px; border-style: solid; border-radius: 20px; box-shadow: none; }
.inputPreview input[type="radio"]:checked + label::after { content: " "; background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNMTczLjg5OCA0MzkuNDA0bC0xNjYuNC0xNjYuNGMtOS45OTctOS45OTctOS45OTctMjYuMjA2IDAtMzYuMjA0bDM2LjIwMy0zNi4yMDRjOS45OTctOS45OTggMjYuMjA3LTkuOTk4IDM2LjIwNCAwTDE5MiAzMTIuNjkgNDMyLjA5NSA3Mi41OTZjOS45OTctOS45OTcgMjYuMjA3LTkuOTk3IDM2LjIwNCAwbDM2LjIwMyAzNi4yMDRjOS45OTcgOS45OTcgOS45OTcgMjYuMjA2IDAgMzYuMjA0bC0yOTQuNCAyOTQuNDAxYy05Ljk5OCA5Ljk5Ny0yNi4yMDcgOS45OTctMzYuMjA0LS4wMDF6Ii8+PC9zdmc+"); background-repeat: no-repeat; background-size: 12px 12px; background-position: center center; position: absolute; display: flex; justify-content: center; align-items: center; margin-left: 0px; left: 0px; top: 0px; text-align: center; background-color: transparent; font-size: 10px; height: 22px; width: 22px; }

.inputPreview input[type="checkbox"] { position: absolute; overflow: hidden; clip: rect(0 0 0 0); height: 1px; width: 1px; margin: -1px; padding: 0; border: 0; }
.inputPreview input[type="checkbox"] + label { position: relative; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; height: 22px; color: rgb(0, 0, 0); }
.inputPreview input[type="checkbox"] + label::before { content: " "; display: inline-block; vertical-align: middle; margin-right: 3px; width: 20px; height: 20px; border-width: 1px; border-style: solid; border-radius: 2px; box-shadow: none; }
.inputPreview input[type="checkbox"]:checked + label::after { content: " "; background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNMTczLjg5OCA0MzkuNDA0bC0xNjYuNC0xNjYuNGMtOS45OTctOS45OTctOS45OTctMjYuMjA2IDAtMzYuMjA0bDM2LjIwMy0zNi4yMDRjOS45OTctOS45OTggMjYuMjA3LTkuOTk4IDM2LjIwNCAwTDE5MiAzMTIuNjkgNDMyLjA5NSA3Mi41OTZjOS45OTctOS45OTcgMjYuMjA3LTkuOTk3IDM2LjIwNCAwbDM2LjIwMyAzNi4yMDRjOS45OTcgOS45OTcgOS45OTcgMjYuMjA2IDAgMzYuMjA0bC0yOTQuNCAyOTQuNDAxYy05Ljk5OCA5Ljk5Ny0yNi4yMDcgOS45OTctMzYuMjA0LS4wMDF6Ii8+PC9zdmc+"); background-repeat: no-repeat; background-size: 12px 12px; background-position: center center; position: absolute; display: flex; justify-content: center; align-items: center; margin-left: 0px; left: 0px; top: 0px; text-align: center; background-color: transparent; font-size: 10px; height: 22px; width: 22px; }

.inputPreview input[type="radio"] + label::before,
.inputPreview input[type="checkbox"] + label::before {
  background-color: #67C6E3;
  border-color: #5356FF;
}

.inputPreview .wrong input[type="radio"] + label::before,
.inputPreview .wrong input[type="checkbox"] + label::before {
  background-color: #FF204E;
  border-color: #A0153E;
}

.inputPreview .correct input[type="radio"] + label::before,
.inputPreview .correct input[type="checkbox"] + label::before {
  background-color: #A8CD9F;
  border-color: #496989;
}