/* @font-face { */
/*   font-family: PPInconsolata; */
/*   font-weight: normal; */
/*   font-style:  normal; */
/*   src:         url(../fonts/Inconsolata-dz.otf); */
/* } */
/* @font-face { */
/*   font-family: Droid Sans Mono; */
/*   font-weight: normal; */
/*   font-style:  normal; */
/*   src:         url(../fonts/DroidSansMono.ttf); */
/* } */
/* @font-face { */
/*   font-family: Droid Sans ; */
/*   font-weight: normal; */
/*   font-style:  normal; */
/*   src:         url(../fonts/DroidSans.ttf); */
/* } */
/* @font-face { */
/*   font-family: Droid Sans ; */
/*   font-weight: bold; */
/*   font-style:  normal; */
/*   src:         url(../fonts/DroidSansBold.ttf); */
/* } */


/** reset **/
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  font-family: Droid Sans, Verdana, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 170%;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  color: #599;
  clear: both;
  text-align: left;
  font-weight: bold;
  text-wrap: balance;
}

#root, #__next {
  isolation: isolate;
}




body {
  font-family: Droid Sans, Verdana, Helvetica, Arial, sans-serif;
  margin: 0pt 1em;
  padding: 0pt;
  font-size: 1rem;
  line-height: 170%;
}

.container {
  max-width: 42rem;
  margin: 0 auto;
}


tt, code, kbd, samp {
  font-family:  PPInconsolata, Monaco, Courier New, Courier, -webkit-monospace;
  font-size: 80%;
}

h1.part-title {
 text-align: center;
}

h1.part-title .part-number{
  font-size: 80%;
}


.partintro {
    border-top: 3px solid #aaaadd;
    border-bottom: 3px solid #aaaadd;
    padding-top: 3px;
    padding-bottom: 3px;
    margin-top:  2em;
    margin-left: 20%;
    margin-right: 20%;
    font-style: italic;
}

h1 {
  font-size: 180%;
  line-height: 1.5;
  margin-top: 3em;
  margin-bottom: 1ex;
}

h1.chapter-title {
  text-align: right;
  position: relative;
  z-index: 1;
  &:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 5px;
    bottom: 0.5ex;
    z-index: -1;
    background-color: #ccc;
  }
}

h1.chapter-title .chapter-number {
  color:     #999999;
  font-weight: bold;
  display: block;
  font-size: 90%;
}

h1.chapter-title .chapter-name {
  display: block;
  font-size: 120%;
  margin-bottom: 1ex;
}

h2 {
 font-size: 140%;
 line-height: 1.5;
 margin-top:  2ex;
 margin-bottom: 1ex !important;
}

h3 {
 font-size: 110%;
 line-height: 1.5;
 margin-top:  1em;
 margin-bottom: 1ex;
}

h4 {
 font-size: 100%;
 line-height: 1.5;
 clear:  both;
 margin-top:  0.8em;
 margin-bottom: 0.8ex;
}

p {
  margin-top: 0pt;
  margin-bottom: 1rem;
  text-wrap: pretty;
}

.contribution {
  font-size: smaller;
  color:     #888;
  padding-left: 10%;
  padding-right: 10%;
}

.acronym {
  font-weight:  bold;
  font-variant: small-caps;
  color:        #333333;
}


.author {
  margin-top:  1em;
  text-align:  right
}

.authorname {

}

.authoraffiliation {
  font-style:  italic;
}

.authors {
  margin-top:   3em;
  font-size:   18pt;
  color:       #666666;
}

div.authorq {
  margin: 1em 0;
  padding: 1em;
  background: #dddddd;
  font-size: smaller;
}

div.authorq .the-author-asks {
  font-weight: bold;
  display: inline;
}

.b {
  font-weight: bold;
}

.bad-xref {
  color: red;
}

dl.bibliography  {
  margin-left: 0pt;
}

dl.bibliography dt {
    float: left;
    clear: left;
    width: 3.5em;
    text-align: left;
    font-size: 90%;
    font-weight: bold;
}

dl.bibliography dd {
    margin-bottom: 8px;
    margin-left: 4em;
    padding: 0 0 0 0;
  }

dl.bibliography dd em {
  color: #223388;
  font-weight: bold;
}

.unused-bookinfo {
  margin-top:       2em;
  margin-bottom:    4em;
  padding:          3em;
  border-width: 8px;
  border-style: dotted;
  border-color: #dddddd;
}

.titlepage
{
  margin-left: 10%;
  margin-right: 10%;
  text-align: center;
}

.tp-title {
  display: block;
  margin-top: 50px;
  padding-top: 10px;
  padding-bottom: 10px;
  color:        #777777;
  border-width: 3px;
  border-style: solid none;
  border-color: #888888;
}

.tp-subtitle {
  display: block;
  margin-top: 10px;
  color:        #777777;
}

.tp-authors
{
  display: block;
  color: #777;
  margin-top: 20px;
}

.tp-copyright
{
  margin-top: 5px;
  font-size: x-small;
  border-top: 1px solid #bbb;
  color: #444;

}

.tp-docinfo
{
  margin-top: 30px;
  font-size: small;
  color: #777;
}

.booksectname {
  font-style: italic;
}

/* these are inline code. We make them all include the cf class */

.cf {
  color: #227;
  font-weight: bold;
}

.classname,
.commandname,
.commandoption,
.constant,
.dirname,
.fileextension,
.filename,
.inlinecode,
.keystroke,
.keyword,
.methodname,
.parametername,
.sqlcolumn,
.sqltable,
.string,
.variablename,
.xmlattrval {
}

.stringinfile {
  font-style:  italic;
}


.emph {
  font-style: italic;
}

.epigraph {
  width:         60%;
  position:      relative;
  left:          30%;
  padding-top:   0px;
  padding-top:   0px;
  padding-left:  8px;
  padding-right: 8px;
  border-style:  solid;
  text-align:    left;
  border-width:  6px;
  border-color:  #dddddd;
  font-size:     small;
  font-style:    italic;
  margin-bottom: 0.7em;
}

.episign {
  padding:       2px;
  border-style:  solid;
  text-align:    right;
  border-width:  2px 0px 0px 0px;
  border-color:  #dddddd;
  font-size:     small;
}

.episignname {
}
.episigntitle {
  font-style:    italic;
}
.episigndate {
}


.figure {
  padding:       7px;
  border-style:  dotted;
  text-align:    center;
  border-width:  3px;
  border-color:  #dddddd;
  margin-top:    1em;
  margin-bottom: 1em;
}


.firstuseinline {
  font-style:italic;
}

.firstusemargin {
  position: absolute;
  top:auto;
  left:       1em;
  font-style:italic;
  font-size: x-small;
  float:     left;
  width:     1in;
  text-align: right;
}

.flag {
  color:    red;
}

.flagadvanced {
  float: left;
  margin-right: 1em;
}

.footnotes {
  margin-top:   2em;
  border-width: 2px 0 0 0;
  border-style: solid none none none;
  border-color: #888888;
  font-size: smaller;
}

.footnotes td.footnote-number {
  white-space: nowrap;
  width: 1.5em;
}

div.highlight {
  border-top: 3px solid #acc;
  border-bottom: 3px solid #acc;
  width: 20%;
  float: left;
  margin-right: 2em;
}

div.highlight p {
  margin-bottom: 0.2em;
}

.initials {
  font-weight:  bold;
  font-variant: small-caps;
  color:        #333333;
}


.example {
 border: 2px solid #88d;
 background: #ccf;
 padding-left: 1em;
 padding-rightt: 1em;
 margin-left: 0pt;
 border-radius: 15px;
 -moz-border-radius: 15px;

}

.marginnote {
  position: absolute;
  top:auto;
  left:       1em;
  font-weight: bold;
  font-size: x-small;
  float:     left;
  width:     1in;
  text-align: right;
  line-height: 100%;
}


.missing {
  position: absolute;
  top:auto;
  left:       1em;
  font-weight: bold;
  font-size: x-small;
  float:     left;
  width:     1in;
  text-align: right;
  line-height: 100%;
}

.prefacesignoff a {
  font-style: italic;
}

.prefacesignoffdate {
  font-size: small;
}

span.shade-fg-white {
  color: white;
}
span.shade-fg-black {
  color: black;
}
span.shade-fg-light {
  color: rgb(220,220,180);
}
span.shade-fg-dark {
  color: rgb(50,50,100);
}

span.shade-bg-white {
  background-color: white;
}
span.shade-bg-black {
  background-color: black;
}
span.shade-bg-light {
  background-color: rgb(220,220,180);
}
span.shade-bg-dark {
  background-color: rgb(50,50,100);
}

table.processedcode {
  margin: 0.7em 0px;
  font-size: 120%;
  background: #f0f0f0;
  width: 100%;
}

.processedcode tr {
  margin-top: 0px;
  margin-bottom: 0px;
}

.processedcode tr td {
  padding-top: 0px;
  padding-bottom: 0px;
}

td.codeline {
  white-space: pre;
  /* font-family: PPInconsolata, Monaco, Courier New, Courier, -webkit-monospace; */
}


.codeprefix {
  font-weight: bold;
  font-size: 70%;
}

.codeline {
  line-height: 1.2;
  font-size: 80%;
}

.codeline code {
  font-family:  PPInconsolata, Monaco, Courier New, Courier, -webkit-monospace;
}

.codeline pre {
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: bold;
}


.codecalloutnumber {
  font-size:  80%;
}

tr.livecodelozenge {
}

tr.livecodelozenge td a {
  color: #eee8f0;
}

tr.livecodelozenge td {
  font-size: 70%;
  padding-left: 1em;
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  background: #98a0a8;
}

span.callout-number {
  font-size: 80%;
  color: green;
}

dl {
}

dl dt.force-newline {
  clear: left;
  width: 100%;
  display: block;
}

dl dt {
  float: left;
  clear: left;
  width: 3em;
  display: block;
}

dl dd {
  margin-left: 3.5em;
  padding-left: 5px;
  margin-bottom: 5px;
}



dl.calloutlist  {
  margin-left: 0pt;
}

dl.calloutlist dt {
    float: left;
    clear: left;
    width: 1em;
    text-align: left;
    font-size: 70%;
}

dl.calloutlist dd {
    margin: 0 0 0 1.5em;
    padding: 0 0 0 0;
  }

.simpletable {
  margin-top:    1em;
  margin-bottom:  2em;
  border-collapse: collapse;
}

.simpletable th {
  font-weight: bold;
  background: #ddddff;
}

table.outerlines, table.hlines {
  padding: 2px;
  border: 2px solid #aaaadd;
}

th.outerlines, th.hlines {
  border-bottom: 2px solid #aaaadd;
  background: #ddddff;
}

.simpletable td, .simpletable th {
  text-align: left;
  vertical-align:      top;
  padding-left: 0.5em;
  padding-right: 0.5em;
  border-bottom: 0.5px dottedi #aaaadd;
}


.simpletable p.last-para-in-cell {
  margin-bottom: 0pt;
}

.simpletable tr.zebra {
  background: #ddffdd;
}

.simpletable tr.line-on-top td {
  border-top: 1px solid #aaaadd;
}

.standin {
   font-style:  italic;
   font-weight: bold;
   color:       #444444;
}


.tabletitle {
  font-weight: bold;
  padding:      2px;
  border-width: 0px 0 2px 0;
  border-style: none none solid none;
  border-color: #888888;
}

.xmltag {
  font-weight: bold;
   color:       #444444;
}

.comment {
  color:   #115511;
  font-style: italic;
}

.kw {
  color:  #111199;
  font-weight: bold;
}

.string {
  color:   #555511;
  font-style: italic;
}


.sidebar {
  margin-top: 2em;
  margin-bottom: 2em;
  padding: 0em 1em 1em 1em;
  line-height: 1.4;
  font-family: serif;
  border: 3px solid #ccc;
}

.sidebar .sidebar-title {
  color: #599;
  padding: 0.2rem 0;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: bold;
  font-size: 120%;
  border-bottom: 1px solid #8bb;
}

.underline {
  text-decoration: underline;
}

div.webresources .title {
  font-weight: bold;
  margin-bottom: 0pt;
}

div.webresources .url {
  font-weight: bold;
  margin-top: 0pt;
  margin-bottom: 0pt;
}

div.webresources .desc {
  margin-top: 0px;
  margin-left: 2em;
}

div.webresources .desc p {
  margin-top: 0px;
}

.xref-title {
  font-style: italic;
}

div.xxxsays {
  font-size: small;
  margin: 1em 0;
  padding: 1em;
  border:  2px #aaaaaa solid;
}

div.xxxsays .heading {
  padding-bottom: 0.5em;
  margin-bottom: 1em;
  border-bottom:  2px #aaaaaa solid;
}

div.xxxsays .heading  .persons-picture {
  float: left;
  margin-right: 2em
}

div.xxxsays .heading  .label {
  font-weight: bold;
  color:       #999999;
  margin-bottom: 0.2em;
}

div.xxxsays .heading  .title {
  font-weight: bold;
  font-size: larger;
  color:       #555555;
}


.copyright {

   font-size: x-small;
   color:       #335555;
   background:  #aabbbb;
   margin-top:  3em;
   padding-top:  3px;
   padding-bottom:  3px;
   text-align:   center;
   border-top:   1px #335555 solid;
}

.full-chapter-html-header, .full-chapter-html-footer {
  margin-top: 2em;
  margin-bottom: 2em;
  padding: 1rem 2rem;;
  line-height: 1.4;
  font-family: serif;
  border: 3px solid #eee;

  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 100%;
  resize: both;
  overflow: auto;
  background-color: #e9e0e9;
  .hdr-cover {
    width: 100%;
    img {
      height: auto;
      border: 0.4px solid #aaa;
    }
  }
  .hdr-info {
    position: relative;
    width: 100%;
    word-break: break-word;
    .copyright {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      text-align: center;
    }
  }
}
