/* css/styles.css for dom.bauska.org */
/** from 2ndbook */
@import url(https://fonts.googleapis.com/css?family=Crimson+Text:400,700,900,400italic,700italic,900italic|Playfair+Display:400,700,900,400italic,700italic,900italic|Rock+Salt:400);

table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  padding: 3px;
  text-align: left;
  border-bottom: 1px solid #dddddd;  /* very light gray */
}

img.displayed {
  display: block;
  margin: 0 auto;
}
.border {
  border-width: 1px;
  border-color: #778899;  /* dark grayish blue */
  border-style: solid; 
}
.img-container {
  display: block;
  text-align: center;
}
.lighter {
  font-weight: 100;
}

blockquote {
  font-size: 13px;  /* 35px; */
  line-height:32px;  /* 52px; */
  margin: 14px 0;  /* 28px */
  overflow: hidden;
  padding: 0 0 0 13px;  /* 0 0 0 26px; */
  font-weight: 500;  /* 100 */
  color: #ffffff;  /* white */
  position: relative;
}
blockquote:before {
  content: "";
  border-left: 2px solid #39348f;  /* dark moderate blue */
  position: absolute;
  bottom: 7px;  /* 14px; */
  top: 7px; /* 13px; */
  left: 15px;  /* 0 */
}

font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", 
  "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;

p { 
  font-size: 13px;
  font-family: Bahnschrift, Inter, Helvetic, sans-serif;
  text-align: left; 
  margin-left: 5px; 
}
p.em1 {
  margin-left: 1em; 
}
p.em2 {
  margin-left: 2em; 
}
p.em3 {
  margin-left: 3em; 
}
p.em4 {
  margin-left: 4em; 
}

background: linear-gradient(34deg, #5cc0fb 0%, transparent 48.18%, #83d8ff 56.429%, rgba(134,252,212,0.36) 100%);

a {
  font-size: 14.5px;
  text-decoration: none; 
}
a[href]:hover {
  color: #000000;  /* black */
  background-color: #ffff00;  /* pure (or mostly pure) yellow */
  text-decoration: underline; 
}
a.three:link {color:#ffff00;}  /* pure yellow */
a.three:visited {color:#000000;}  /* black */
a.three:hover {background:#ee7ee7;}  /* soft yellow */

h1 { 
  font-size: 21px;
  font-family: Inter, Georgia, BahnSchrift, sans-serif, Consolas; 
}
h2 { 
  font-size: 21px;
  font-family: Inter, Georgia, BahnSchrift, sans-serif, Consolas; 
}
h3 { 
  font-size: 19px;
  font-family: Inter, Georgia, BahnSchrift, sans-serif, Consolas; 
}
h4 { 
  font-size: 18px;
  font-family: Inter, Georgia, BahnSchrift, sans-serif, Consolas; 
}
h5 { 
  font-size: 17px;
  font-family: Bahnschrift, Inter, Helvetic, sans-serif; 
}
h6 { 
  font-size: 15px;
  font-family: Consolas, Inter, Bahnschrift, Inter, Helvetic, sans-serif; 
}

body {
  font-family: Bahnschrift, Inter, Helvetic, sans-serif;
  font-size: 14.5px;   /* 1.2rem; */
  background-color: #f5f5f5;  /* very light gray, mostly white */
  color: #ffffff;  /* white */
  text-align: left;
  padding: 10px;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 13px;  /* 10 */
  border: none;
  outline: none;
  background-color: #8b0000;  /* dark red */
  color: #ffcccc;  /* very pale red (pink tone) */
  cursor: pointer;
  padding: 5px;  /* 15px */
  border-radius: 1px;  /* 4px */
}
#myBtn:hover {
  background-color: #ffe7e7;  /* very pale red */
  color: #000000;  /* black */
}

details {
  font: 11px Inter, sans-serif, Bahnschrift, Calibri;
  width: min-content;  /* 75%; */
}
details > summary {
  padding: 2px 6px;
  width: max-content;  /* 12em */
  background-color: #eeeeee;  /* very light gray */
  border: none;
  box-shadow: 3px 3px 4px #00008b;  /* dark blue */
  cursor: pointer;
}
details > p {
  border-radius: 0 0 10px 10px;
  background-color: #ffffff;  /* white */
  padding: 2px 6px;
  margin: 0.2;
  box-shadow: 3px 3px 4px #0008b;  /* dark blue */
  cursor: pointer;
}
details[open] > summary {
  background-color: #ffff00;  /* pure (or mostly pure) yellow */
}

pre, code {
  font-family: monospace, monospace;
  font-size: 11px;
  margin-left: 10px;
  }
pre {
  overflow: auto;
}
pre > code {
  display: block;
  margin-left: 10px;
  padding: .2rem;
  word-wrap: normal;
}
pre[href]:hover {
  text-decoration: none;
}
pre:hover, pre:focust { width: min-content; }

/* line numbers */
.editor {
  display: inline-flex;
  gap: 10px;
  font-family: monospace;
  line-height: 21px;
  background: #282a3a;  /* very dark grayish blue */
  border-radius: 2px;
  padding: 20px 10px;
  height: 200px;
  overflow-y: auto;
}
.line-numbers {
  width: 20px;
  text-align: right;
  height: 9999px;
}
.line-numbers span {
  counter-increment:  linenumber;
}
.line-numbers span::before {
  content: counter(linenumber);
  display: block;
  color: #506882;  /* mostly desaturated dark blue */
}
textarea {
  height: 9999px;
  line-height: 21px;
  overflow-y: hidden;
  padding: 0;
  border: 0;
  background: #282a3a;  /* very dark grayish blue */
  color: #ffffff;  /* white */
  min-width: 500px;
  outline: none;
  resize: none;
}

*,
:before,
:after {
  box-sizing: border-box;
}

body {
  background-color: #ffffff;  /* white */
  color: #000000;  /* black */
  font: 14px/1.25 'Crimson Text', sans-serif;
  margin-left: 15px;;
}

/* was font: 16px */
#wrapper {
  margin-left: 15px;
  margin-right: 25px;
  max-width: 80em;
}

#container {
  float: left;
  padding: 1em;
  width: 100%;
}

/*** MEDIA QUERIES ends line 366 ***/
@media only screen and ( min-width: 50em ) {
  .open-book {
    margin: 1em;
    position: relative;
  }
  .open-book:before {
    background-color: #8B4513;  /* dark orange [brown tone] */
    border-radius: 0.25em;
    bottom: -1em;
    content: '';
    left: -1em;
    position: absolute;
    right: -1em;
    top: -1em;
    z-index: -1;
  }
  .open-book:after {
    background: linear-gradient(to right, transparent 0%,rgba(0,0,0,0.2) 46%,rgba(0,0,0,0.5) 
	  49%,rgba(0,0,0,0.6) 50%,rgba(0,0,0,0.5) 51%,rgba(0,0,0,0.2) 52%,transparent 100%);
    bottom: -1em;
    content: '';
    left: 50%;
    position: absolute;
    top: -1em;
    transform: translate(-50%,0);
    width: 4em;
    z-index: 1;
  }
  .open-book > * {
    column-count: 2;
    column-gap: 6em;
    position: relative;
    z-index: 1;
  }
  /* Header/Footer */
  .open-book header:before,
  .open-book header:after,
  .open-book footer:before,
  .open-book footer:after {
    background: #fff;  /* white */
    border-radius: 25%;
    content: '';
    height: 2em;
    position: absolute;
    z-index: -1;
    width: calc(50% + 2em);
  }
  .open-book header:before,
  .open-book footer:before,
  .open-book footer:after {
    border-top-left-radius: 0;
  }
  .open-book header:after,
  .open-book footer:before,
  .open-book footer:after {
    border-top-right-radius: 0;
  }
  .open-book header:before,
  .open-book header:after,
  .open-book footer:after {
    border-bottom-right-radius: 0;
  }
  .open-book header:before,
  .open-book header:after,
  .open-book footer:before {
    border-bottom-left-radius: 0;
  }
  .open-book header:before,
  .open-book header:after {
    top: -2.65em;
  }
  .open-book header:before,
  .open-book footer:before {
    right: 50%;
  }
  .open-book header:before {
    transform: rotate(-2deg);
  }
  .open-book header:after,
  .open-book footer:after {
    left: 50%;
  }
  .open-book header:after {
    transform: rotate(2deg);
  }
  .open-book footer:before,
  .open-book footer:after {
    bottom: -2.65em;
  }
  .open-book footer:before {
    transform: rotate(2deg);
  }
  .open-book footer:after {
    transform: rotate(-2deg);
  }
  .open-book header > *:last-child,
  .open-book footer > *:last-child {
    text-align: right;
  }
  .open-book footer #page-numbers {
    display: block;
  }
  /* Chapter Title */
  .open-book .chapter-title {
    font-size: 3em;
  }
  .open-book .chapter-title:before,
  .open-book .chapter-title:after {
    height: 0.125em;
  }
  /* Body Copy */
  .open-book article p {
    text-indent: 3em;
  }
  .open-book article > ul,
  .open-book article > ol {
    padding-left: 4em;
  }
}
