/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/
.book, .newspaper, .magazine, .courtcase, .albumtitle, .math, .film, .foreign, .album, .tv {
	font-style: italic;
}

.math {
	white-space: pre;
}

.book .book {
	font-style: normal;
}

.strikethrough {
	text-decoration: line-through;
}

dt {
	margin-left: 1em;
}

dd {
	margin-left: 2em;
	margin-bottom: .5em;
}

.insetleftborder, .insetrightborder, .border {
	border: 1px solid black;
}

.insetright, .insetrightborder {
	float: right;
	margin-left: .75em;
}

.insetleft, .insetleftborder {
	float: left;
	margin-right: .75em;
}

pre {
	margin-bottom: 1em;
	line-height: 200%;
}

li p {
	list-style-type: decimal;
	margin-top: 1em;
}

#linkcat-2 li {
	margin-left: 1em;
	text-indent: -1.5em;
}

code, pre {
	white-space: pre-wrap;
	line-height: 140%;
	background-color: white;
}

.amazonsidebar {
	float: right;
	margin-top: 6em;
}

table.bordered, table.bordered td, table.bordered th {
	border: solid thin;
	border-collapse: collapse;
	padding: .3em;
}

#menu {
	padding-top: 14.4px;
}

cite {
	font-style: italic;
	font-weight: normal;
}

.post-content cite {
	text-transform: none;
}

cite:before {
	content: none !important;
}

.footnotes {
	margin-block-start: 2.5rem;
	font-size: .9em;
	line-height: 1.55;
}

.footnotes li + li {
	margin-block-start: .65em;
}

.footnotes li:target {
	background-color: color-mix(in srgb, currentColor 8%, transparent);
}

.footnotes .footnote-back {
}

.post-content button.footnote-trigger,
.post-content button.footnote-trigger:hover,
.post-content button.footnote-trigger:focus {
  appearance: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  color: #b33a3a;
  font: inherit;
  cursor: pointer;
}

.footnote-popover {
  position-area: block-end span-inline-end;
  position-try-fallbacks: flip-inline, flip-block, flip-block flip-inline;
  inset: auto;
  margin: 0.35rem 0;
  box-sizing: border-box;
  inline-size: max-content;
  max-inline-size: min(28rem, calc(100vi - 1.5rem));
  max-block-size: min(20rem, 60vh);
  overflow: auto;
  overflow-wrap: anywhere;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 0.35rem;
  background: #fff;
  color: #333;
  box-shadow: 0 0.2rem 0.8rem rgb(0 0 0 / 15%);
  font-size: 0.9em;
}

.post-content .footnote-popover > :last-child {
  margin-block-end: 0;
}