/* === C:\Users\deane\Dropbox\_sites\dbn\content\assets\css\aside.css === */

aside {
  padding: 1.5rem;
  background: rgb(240, 240, 240);
  border-radius: 0.5rem;
  font-size: 1rem;
    line-height: 1.4rem;
}

aside p {
  margin-top: 0;
  margin-bottom: 0.5rem;
}


aside p:last-of-type {
  margin-bottom: 0;
}/* === C:\Users\deane\Dropbox\_sites\dbn\content\assets\css\header.css === */
/* === C:\Users\deane\Dropbox\_sites\dbn\content\assets\css\article.css === */
article {
 x-font-family: georgia;
  font-size: 1.2rem;
  line-height: 2rem;
  color: rgb(50,50,50);
}


article.list-view {
  clear: both;
  margin-bottom: 1em;
}

article.list-view img {
  float: right;
  margin-left: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
}

article a {
  text-decoration: underline;
  text-decoration-style: dotted !important;
}

a[href*="//"]:not([href*="deanebarker.net"]):not([href^="/"]):after
{
  content: "\279A";
}/* === C:\Users\deane\Dropbox\_sites\dbn\content\assets\css\article-header.css === */
.article-header .label {
  font-weight: bold;
  margin-top: 0.5rem;
}
.article-header div > p:last-of-type {
  margin-bottom: 0;
}
.article-header {
  font-family: sans-serif;
  font-size: 1rem;
  padding: 1rem;
  margin-left: 0;
  margin-right: 0;
  border: solid 1px rgb(230, 230, 230);
  box-shadow: 5px 5px 5px rgb(210, 210, 210);
  margin-bottom: 2rem;
  line-height: 1.6rem;
}
.article-header:has(.delimited) div.label:first-of-type {
  margin-top: 1rem;
}
.meta-section {
  padding-left: 40px;
  margin-left: 10px;
}

.meta-section p:first-of-type {
  margin-top: 0;
}

.prescript {
  background: url(/assets/icons/icon-note.svg);
  background-repeat: no-repeat;
  background-position: 0 3px;
  background-size: 20px 20px;
}

.ai-description {
  background: url(/assets/icons/icon-gear.svg);
  background-repeat: no-repeat;
  background-position: 0 3px;
  background-size: 20px 20px;
}

.explicit-description {
  background: url(/assets/icons/icon-aside.svg);
  background-repeat: no-repeat;
  background-position: 0 3px;
  background-size: 20px 20px;
}

.canonical-description {
  background: url(/assets/icons/icon-resource.svg);
  background-repeat: no-repeat;
  background-position: 0 3px;
  background-size: 20px 20px;
}

.delimited {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.5em;
}

.delimited > :last-of-type {
  display: none;
}/* === C:\Users\deane\Dropbox\_sites\dbn\content\assets\css\layout.css === */
body {
  padding: 0;
  padding-top: 50px;
  margin: 0;
  padding-bottom: 4rem;
}

main.global
 {
  max-width: 700px !important;
  min-width: 350px !important;
  margin-left: auto;
  margin-right: auto;
}

nav.global {
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1em 0;
  background-color: rgb(230, 230, 230);
  border-bottom: solid 1px rgb(200, 200, 200);
}
#main {
  padding: 0;
  margin: 0;
}

main.global {
  padding: 1em;
}

#hamburger-container {
  display: none;
  /* hide on mobile */
  padding: 1em;
}

#hamburger {
  display: inline-block;
  position: relative;
  width: 1.25em;
  height: 0.8em;
  margin-right: 0.3em;
  border-top: 0.2em solid #000;
  border-bottom: 0.2em solid #000;
}

#hamburger:before {
  content: "";
  position: absolute;
  top: 0.3em;
  left: 0px;
  width: 100%;
  border-top: 0.2em solid #000;
}

@media only screen and (max-width: 480px) {
  body {
    padding-top: 80px;
  }
  header {
    padding: 0;
    /* we're going to get the hamburger click zone take up the entire space */
  }

  #hamburger-container {
    display: block;
  }

  #main {
    display: none;
    /* hide the main menu on mobile */
    margin: 1em;
    margin-top: 0;
  }

  #main.show {
    display: block;
    /* show when the hamburger icon is clicked */
  }

  #main.show li {
    display: block;
    border-top: solid 1px rgb(200, 200, 200);
  }

  #main.show li a {
    padding: 8px 0 8px 0;
    font-size: 90%;
  }
}

#main li {
  display: inline-block;
  padding-right: 15px;
  list-style: none;
  margin: 0;
}

#main li a {
  text-decoration: none;
  color: rgb(60, 60, 60);
  display: block;
}
/* === C:\Users\deane\Dropbox\_sites\dbn\content\assets\css\typography.css === */
html {
  font-family: sans-serif;
  font-size: 13px;
  line-height: 1.6rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: sans-serif;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 3rem;
}

h2 {
  margin-top: 2rem;
  line-height: 2.2rem;
}

hgroup {
    margin-bottom: 2rem;
}

p,
aside,
li {
  margin-top: 0;
  margin-bottom: 1rem;
}

nav {
  background: rgb(240, 240, 240);
  padding: 1rem;
  font-size: 0.9rem;
  line-height: 1rem;
  margin-bottom: 1rem;
}

label {
  font-weight: bold;
}

a {
  color: #006adb;
}/* === C:\Users\deane\Dropbox\_sites\dbn\content\assets\css\blockquote.css === */
blockquote {
  margin-left: 0.5rem;
  padding-left: 1rem;
  border-left: solid 3px rgb(200, 200, 200);
  box-sizing: content-box;
}

blockquote {
  font-size: 1.1rem;
  margin-left: 0.5rem;
}

blockquote p:first-of-type {
  margin-top: 0.5rem;
}

blockquote p:last-of-type {
  margin-bottom: 0.5rem;
}
/* === C:\Users\deane\Dropbox\_sites\dbn\content\assets\css\next-prev.css === */
/* Next and Previous Links */
.next-prev {
  /* width: 100%; */
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  font-size: 12px;
  align-items: center;
  margin-top: 2em;
  clear: both;
}

.next-prev > div {
  width: 45%;
}

.next-prev span {
  font-size: 16px;
  /* font-weight: bold; */
  width: 3%;
  position: relative;
  top: -1px;
}

/* .next-prev > span:first-of-type:before {
    content: '←'
}
.next-prev > span:last-of-type:after {
    padding-left: 5px;
    content: '→'
} */
.next-prev > div:last-of-type {
  text-align: right;
}

.no-prev > span:first-of-type,
.no-prev > div:first-of-type {
  visibility: hidden;
}

.no-next > span:last-of-type,
.no-next > div:last-of-type {
  visibility: hidden;
}

.next-prev-instructions {
  margin-top: 5px;
  font-size: 85%;
  font-family: sans-serif;
  font-style: italic;
  text-align: center;
}
/* === C:\Users\deane\Dropbox\_sites\dbn\content\assets\css\context-box.css === */
div.context {
  font-size: 12px;
  font-family: sans-serif;
  margin: 0.5em;
  line-height: 125%;
  border-left: solid 2px rgb(200, 200, 200);
}

div.context div {
  margin-bottom: 3px;
  padding-left: 5px;
  margin-left: 2px;
}

div.context div:last-of-type {
  margin-bottom: 0;
}

div.context label {
  padding-right: 5px;
}

div.context label:after {
  content: ":";
}/* === C:\Users\deane\Dropbox\_sites\dbn\content\assets\css\code.css === */
pre {
  margin-left: 1em;
  line-height: 100%;
  font-family: consolas, monospace;
}

pre > code {
  background: rgb(80, 80, 80);
  display: block;
  color: white;
  padding: 1.5em;
  border-radius: 0.5em;
  line-height: 150%;
  font-size: 1rem;
}

code {
  background-color: rgb(240, 240, 240);
  font-size: 0.9rem;
}

p code,
li code {
  font-size: 11pt;
  color: black;
}
/* === C:\Users\deane\Dropbox\_sites\dbn\content\assets\css\toc.css === */
table-of-contents {
  background-color: rgb(240, 240, 240);
  display: inline-block;
  padding: 1.25em;
  border-radius: 0.5em;
  font-family: sans-serif;
  margin-bottom: 1em;
}

table-of-contents + h2 {
  margin-top: 0;
}

table-of-contents header {
  font-family: sans-serif;
  font-weight: bold;
  font-size: 110%;
  margin-bottom: 1em;
}

table-of-contents div {
  font-size: 0.8rem;
  margin-left: 1em;
  padding-left: 0.5em;
  display: list-item;
}

.tocItemH3 {
  padding-left: 1em;
  font-size: 95%;
}/* === C:\Users\deane\Dropbox\_sites\dbn\content\assets\css\images.css === */
div.image {
  background: rgb(240, 240, 240);
  padding: 1em;
  margin-bottom: 1.5em;
  border-radius: 0.5em;
  font-size: 90%;
}

div.image.right {
  float: right; 
  margin: 0 0 1.5rem 1.5rem;
}

div.image.left {
  float: left; 
  margin: 0 1.5rem 1.5rem 0;
}


div.image img {
  display: block;
  margin-bottom: 1em;
  max-width: 100%;
  height: auto;
}

div.image p:last-child {
  margin-bottom: 0;
}


div.image-right,
img.right {
  float: right;
  max-width: 40%;
  height: auto;
  margin: 0 0 1em 1.5em;
  border-radius: 3px;
}

div.image-left,
img.left {
  float: left;
  max-width: 40%;
  height: auto;
  margin: 0 1.5em 1em 0;
  border-radius: 3px;
}

p.center img,
img.center {
  display: block;
  margin: auto;
  margin-bottom: 2em;
  max-width: 90%;
  height: auto;
}

div.image-right img,
div.image-left img {
  display: block;
  margin-bottom: 0.5em;
  max-width: 100%;
  border-radius: 3px;
}

div.image-right,
div.image-left {
  background-color: rgb(240, 240, 240);
}

div.image-right p,
div.image-left p {
  font-size: 80%;
  text-align: center;
  padding: 0 1em 0 1em;
}

p.credit {
  font-style: italic;
  font-size: 11px;
  line-height: 13px;
}

img.allow-magnify {
  cursor: -moz-zoom-in;
  cursor: -webkit-zoom-in;
  cursor: zoom-in;
}

dialog.magnified-image img {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}

dialog.magnified-image {
  border: solid 1px black;
  border-radius: 5px;
  padding: 1em;
  box-shadow: 2px 0 14px 5px rgba(0, 0, 0, 0.8);
}

p > img {
  position: relative;
  top: 0.4em;
  /* Make it even with the top of the words. */
}
/* === C:\Users\deane\Dropbox\_sites\dbn\content\assets\css\tip.css === */
div.tip {
  padding: 1em;
  background-color: #333;
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
  white-space: normal;
  outline: 0;
  max-width: 300px;
}
/* === C:\Users\deane\Dropbox\_sites\dbn\content\assets\css\footnotes.css === */

footnote-ref {
  font-style: italic;
  cursor: pointer;
  text-decoration: underline;
  color: blue;
  background: rgb(240, 240, 240);
  font-weight: bold;
}

footnote-content {
  display: none;
  position: fixed;
  bottom: 1em;
  background-color: #333;
  color: #fff;
  border-radius: 10px;
  font-size: 90%;
  line-height: 1.4;
  white-space: normal;
  outline: 0;
  transition-property: display;
  padding: 15px 19px;
  border: solid 1px #fff;
  border-bottom: none;
  width: 80%;
  max-width: 600px;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}

.footnote-displayed {
  display: block !important;
}

footnote-content header {
  font-weight: 700;
  margin-bottom: 1em;
}

footnote-content a {
  color: #fff;
}

footnote-content .close {
  position: absolute;
  right: 1em;
  top: 0.5em;
  font-size: 20px;
  color: white;
  padding: 0 5px;
}

footnote-content .close:hover {
  background-color: white;
  color: #333;
}/* === C:\Users\deane\Dropbox\_sites\dbn\content\assets\css\hero.css === */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  background: rgb(240, 240, 240);
  border: solid 1px rgb(200, 200, 200);
  margin-bottom: 1.5em;
  border-radius: 0.7em;
}

.hero .info {
  padding: 1em;
}

.hero .title {
  margin-bottom: 0.25em;
}

.hero {
  font-style: italic;
  font-size: 1rem;
    line-height: 1.4rem;
}

.hero img {
  border-top-right-radius: 0.5em;
  border-bottom-right-radius: 0.5em;
  height: 150px;
  width: 150px;
  object-fit: cover;
  object-position: 50% 0;
}
/* === C:\Users\deane\Dropbox\_sites\dbn\content\assets\css\spoiler.css === */
.spoiler.hidden p {
  background-color: rgb(50,50,50);
  display: inline-block;
}

.spoiler {
  font-style: italic;
  border-radius: 5px;
}

.spoiler-label {
  font-style: italic;
  font-weight: bold;
  margin-bottom: 0.5em;
}/* === C:\Users\deane\Dropbox\_sites\dbn\content\assets\css\form.css === */
main input {
  border-radius: 3px;
  border: solid 1px rgb(200, 200, 200);
  padding: 3px;
}
/* === C:\Users\deane\Dropbox\_sites\dbn\content\assets\css\htmx.css === */
.loading {
  display: none;
  margin-bottom: 1em;
  font-weight: bold;
  font-style: italic;
}

.htmx-request .loading {
  display: block;
}

.htmx-request #results-container {
  display: none;
}

.loading:after {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  -webkit-animation: ellipsis steps(4, end) 1000ms infinite;
  animation: ellipsis steps(4, end) 900ms infinite;
  content: "\2026";
  /* ascii code for the ellipsis character */
  width: 0px;
}/* === C:\Users\deane\Dropbox\_sites\dbn\content\assets\css\tables.css === */
table {
  border-collapse: collapse;
  margin-bottom: 1em;
  width: 100%;
}

th,
td {
  padding: 4px;
  border-bottom: solid 1px rgb(240, 240, 240);
  text-align: left;
  vertical-align: top;
}

tr:last-child td {
  border-bottom: none;
}

th.pad-left,
td.pad-left {
  padding-left: 15px;
}

th.numeric,
td.numeric {
  text-align: right;
}

th:not(.numeric),
td:not(.numeric) {
  padding-right: 1em;
}

th {
  font-family: sans-serif;
  font-size: 90%;
}

th.sortable {
  text-decoration: underline;
  color: #006adb;
  cursor: pointer;
}