@media screen, print {
  body {
    font: 12.5pt georgia, palatino, serif;
    line-height: 160%;
    width: auto;
    margin-left: 10%;
    margin-right: 10%;
    color: black;
    background-color: white;
  }
  .hide {
    display: none;
  }

  /* IMAGES AND FIGURES */

  img {
    max-width: 100%;
    display: inline;
    margin-right: 5px;
  }
  img.thumb {
    display: inline;
    margin-right: 5px;
    padding: 5px;
    border: solid thin #d9d9d9;
  }
  div.columns {
    margin-top: -20px;
  }
  div.columns section.column {
    display: inline-block;
    vertical-align: top;
    width: 50%;
  }
  div.figure {
    margin-right: 10px;
    padding: 5px;
    border: solid thin #d9d9d9;
    max-width: 100%;
    text-align: center;
  }
  div.figure img {
    max-height: 400px;
    max-width: 100%;
  }
  div.caption p, p.caption {
    margin-top: 20px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  section.level1#schedule > section.level2 > h2 {
    text-align: right;
    text-decoration: underline;
    margin-bottom: -1.5em;

  }
  span.centerimage img {
    padding: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  span.leftimage img {
    float: left;
  }
  span.rightimage img {
    float: right;
  }
  iframe,
  video {
    display: block;
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
  }

  /*PROSE STRUCTURES*/

  aside {
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
    padding-left: 5px;
/*    background-color: #f0ffff;*/
    border: solid thin #d9d9d9;
  }
  p {
    margin-top: 0.8em;
    margin-bottom: 0.6em;
  }
  pre {
    margin-left: 2em;
    font-family: monospace;
    background-color: #e6e6fa;
  }
  blockquote,
  div.quotation,
  p.Quote {
    font-size: 100%;
    margin-left: 2em;
    font-style: normal;
    padding-left: 1em;
    border: 1px dotted #f3d9ff;
  }
  p.QuoteLead {
    margin-left: 1em;
    font-size: 100%;
    font-style: italic;
  }
  dt,
  dd {
    margin-top: 0;
    margin-bottom: 0;
  }

  dt {
    font-weight: bold;
  }
  sup,
  sub {
    height: 0;
    line-height: 1;
    vertical-align: baseline;
    position: relative;
  }
  sup {
    bottom: 1ex;
  }
  sub {
    top: 0.5ex;
  }
  .archive {
    font-size: 600%;
    position: fixed;
    top: 50px;
    right: 10px;
    opacity: 0.5;
    z-index: 99;
  }
  .highlight {
    background-color: #ffff00;
  }
  .solid {
    border: solid 2px green;
  }
  .a {
    border: solid 2px green;
  }
  .dotted {
    border: dotted 2px red;
  }
  .b {
    border: dotted 2px red;
  }
  .double {
    border: double 3px purple;
  }
  .c {
    border: double 3px purple;
  }
  .dashed {
    border: dashed 2px orange;
  }
  .d {
    border: dashed 2px orange;
  }
  .inset {
    border: inset 2px violet;
  }
  .e {
    border: inset 2px violet;
  }

  /* LINKS */

  a {
    text-decoration: none;
    word-wrap: break-word;
  }
  a:link {
    padding-bottom: 2px;
    border-bottom: 1px dotted #cee7ff;
  }
  a:visited {
    color: purple;
    border-bottom: 1px dotted #f3d9ff;
  }
  a:active {
  }
  a:hover {
    color: blue;
    background-color: #cee7ff;
  }

  /* HEADERS */

  header#title-block-header {
    padding-bottom: 10px;
  }
  nav#TOC {
    display: none;
    font-size: 90%;
    column-count: 2;
    border: 1px solid gray;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: -10px;
    margin-bottom: 10px;
  }
  nav#TOC:before {
    display: none;
    font-size: 120%;
    padding-top: 10px;
    margin-left: 10px;
  }
  header#title-block-header:hover + nav#TOC,
  nav#TOC:hover {
    display: block;
    position: absolute;
    background-color: inherit;
    right: 0px;
  }

  /* nav#TOC>ul {

         transition: all .2s ease-in-out;
    }
     nav#TOC>ul:hover{
         transform: scale(1.1);
    }
     */
  h1,
  h2,
  h3,
  h4,
  h5 {
    color: black;
    font-family: "Arial", sans-serif;
    font-weight: lighter;
    line-height: 100%;
  }
  h1 {
    font-size: 190%;
  }
  h2 {
    font-size: 160%;
    font-style: italic;
  }
  h3 {
    font-size: 140%;
  }
  h4 {
    font-size: 120%;
    font-style: italic;
  }
  h5 {
    font-size: 100%;
  }
  header,
  div#header {
    text-align: center;
    margin-left: 15%;
    margin-right: 15%;
  }

  /* LISTS */

  /* check lists */

  div.checklist ul {
    list-style-type: circle;
  }

  /* recursive lists */

  ol li {
    list-style-type: decimal;
    margin: 5px;
  }
  ol ol li {
    list-style-type: lower-alpha;
  }
  ol ol ol li {
    list-style-type: lower-roman;
  }

  /* TABLES */

  table {
    /*should all tables be like #infobox?*/

    table-layout: auto;
    border-collapse: collapse;
  }
  th,
  td {
    border: 1px solid #d8d8d8;
    padding: 2px 6px 2px 6px;
    vertical-align: top;
  }
  td p,
  td p {
    margin: 0px;
    padding: 2px;
  }
  td ul {
    margin: 0px;
    line-height: 130%;
  }

  /*top of syllabi*/
  div#infobox table {
    width: 100%;
    margin: 0 auto;
    text-align: left;
  }

  /* NUMBERING */

  span.paranum {
    font-size: 11pt;
    position: absolute;
    left: 35px;
    text-align: left;
    color: #d3d3d3;
  }
  p.noindent span.paranum {
    margin-left: 25px;
  }
  span.paranum a {
    color: #d3d3d3;
  }
  span.headingnum {
    font-size: 11pt;
    position: absolute;
    left: 35px;
    text-align: left;
  }
  span.headingnum a {
    color: #d3d3d3;
  }

  /* SYLLABUS */

  .assignment {
    border: 1px dotted red;
    padding-left: 10px;
    padding-right: 5px;
  }
  div#schedule {
    margin-left: 20px;
  }
  div#schedule h1 {
    margin-left: -20px;
  }
  div#schedule h2 {
    font-size: 140%;
    margin-left: -20px;
  }
  div#schedule h3 {
    font-size: 110%;
    margin-left: -10px;
  }

  input:not(:checked) {
      border: none;
      outline: 2px solid yellow;
  }

  /* FREEPLANE */

  div#base ul {
    padding-left: 1em;
    list-style-type: none;
  }
  div#base li {
    margin-top: 5px;
    margin-left: 0px;
  }
  span.c9 {
    font-size: 100%;
    font-style: italic;
  }
  span.c8 {
    font-size: 100%;
  }
  span.c7 {
    color: #ff33b8;
  }
  span.c6 {
    color: #090f6b;
  }
  span.c5 {
    color: #338800;
  }
  span.c4 {
    color: #ff33b8;
    font-size: 100%;
  }
  span.c3 {
    color: #090f6b;
    font-size: 100%;
  }
  span.c2 {
    color: #338800;
    font-size: 100%;
  }
  span.c1 {
    font-size: 100%;
    font-weight: bold;
  }
  span.mm-author {
    font-style: italic;
  }
  span.mm-title {
    font-style: italic;
  }
  span.mm-bib {
    font-style: italic;
  }
}

@media print {
  body {
    font: 11pt georgia, palatino, serif;
    line-height: 160%;
  }

  /* begin header type */

  h1 {
    font-size: 150%;
  }
  h2 {
    font-size: 140%;
    font-style: italic;
  }
  h3 {
    font-size: 115%;
  }
  h4 {
    font-size: 100%;
    font-style: italic;
  }
  h5 {
    font-size: 100%;
  }
  h1.title,
  p.DocumentTitle {
    font-size: 160%;
    text-align: center;
  }

  /* end header */

  div.figure {
    page-break-inside: avoid;
  }
  td,
  li > p,
  ol > li {
    page-break-inside: avoid;
  }
  a,
  a:link {
    color: black;
    text-decoration: none;
    border-bottom: none;
  }
  div.archive {
    display: none;
  }
}
@page {
  margin-top: 23mm;
  margin-bottom: 25mm;
  margin-left: 5mm;
  margin-right: 5mm;
}
