/* Cascading style sheet for fortboise home page and essays
 * Last revised 2021-07-30
 */

/* reset */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,
p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,
kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,
fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,
time,mark,audio,video {
 margin:0;padding:0;border:0;outline:0;font-size:100%;
 vertical-align:baseline;background:transparent; } 
body { line-height:1; }
ol,ul { list-style:none; }
blockquote,q { quotes:none; }
blockquote:before,blockquote:after,q:before,q:after { content:'';content:none; }
ins { text-decoration:none; }
del { text-decoration:line-through; }
table { border-collapse:collapse;border-spacing:0; }

body {
	margin: 1ex 5%;
	color: black;
   	background-color: rgb(255,255,239);
   	font-family: verdana,arial,sans-serif;
	line-height: 140%; }

/* floating images, usually; use with <span> for captioning */
.pix {
	float: right;
	padding: 0px 10px 5px 10px;
	border-style: hidden;
	border-width: 0;	/* MSIE hard of hearing */
}
div.pix {	/* for unstyled img, and a caption */
		/* set width to img width + 20px for padding */
	text-align:center;
	font-style:italic;
}
.lpix {
	float: left;
	padding: 0px 10px 5px 0px;
	border-style: hidden;
	border-width: 0;
}
.poppix {
	float: right;
	margin: 0 10px 5px;
	padding: 0;
	border: #700 dotted 1px;
}
.lpoppix {
	float: left;
	margin: 0 10px 5px 0px;
	padding: 0;
	border: #700 dotted 1px;
}
.pull {	/* use with <span> for a pull-out quote in a box */
	float: right;
	width:25%;
	padding: 0px 5px 5px 5px;
	border: #600 dotted 2px;
	margin-left: 15px;  /* applied within the containing element? */
}

h1 {
	color: #600;
	margin-top: 0em; margin-bottom: 0.5em;
	text-align: right;
	font-size: 1.8em;
	font-family: "Gothic Demi", "Grizzly BT", "Arial Black", arial, sans-serif }
h2 {
	color: black;
	font-size: 1.1em; font-weight: bold; 
	font-family: garamond, "times new roman", times, serif}
h3 {
	color: black;
	font-size: 0.9em; font-weight: bold; font-variant: small-caps; }
h4 { color: black; font-size: 1em }
table, td { font-size: 90%; }
th,b { color: #600 }
/* Not sure where/when this seemed salutary. blog3.css doesn't do td */
td {
	background-color: #FCFCF6; 
	color: #000;
	font-family: "times new roman", times, serif }
u, a:link, a:visited { text-decoration: underline; }
a:active { text-decoration: none }
sub { vertical-align: sub; font-size: 80%; }
sup { vertical-align: super; font-size: 80%; }

ul {
	margin-top: 0.5em; margin-bottom: 0.5em;
	margin-left: 5%; margin-right: 5% }
blockquote {
	margin-left: 5%; margin-right: 5% }
p {
	margin-top: 0.2em;	/* split the 140% leading */
	margin-bottom: 0.2em;
	text-indent: 2em }
p.new {
	margin-top: 0em;
	margin-bottom: 0.2em;
	text-indent: 0; }
p.short, p.break {
	margin-top: 1.5em;
	margin-bottom: 0.2em;
	text-indent: 0; }
p.list {	/* non-bulleted list making */
	margin-top: 0.4em;
	margin-bottom: 0em;
	margin-left: 3em;
	margin-right: 2em;
	text-indent: -1em }
p.list2 {
	margin-top: 0.4em;
	margin-bottom: 0em;
	margin-left: 4em;
	text-indent: -1em }
p.list3 {
	margin-top: 0.4em;
	margin-bottom: 0em;
	margin-left: 1em;
	text-indent: -1em }
p.ptr {
	margin-top: 0.8em;
	margin-bottom: 0em;
	text-align: right;
	font-size: 0.8em }
p.sig {
	color: #400;
	margin-top: 1.2em;
	margin-bottom: 0em;
	text-align: center;
	font-size: 0.8em }
p.nav {
	margin-left: 0%; margin-right: 0%;
	text-align: center }
p.nav a {
	padding-right: 1.5em; }
p.tags {
	margin-top: 0.2em;
	margin-bottom: 0em;
	text-align: left;
	font-style: italic; font-size: 0.8em }
/* for block quoting p, ul, ol */
.bq, .bqp, .bqr, .bqrp {
	margin-left: 5%;
	border: #700 dotted 1px;
}
/* left-side border for right-side pictures */
.bq, .bqp {
	padding-left: 1em;
	margin-right: 10%;
	border-width: 0 0 0 2px;
}
/* right-side border for left-side pictures */
.bqr, .bqrp {
	padding-right: 1em;
	margin-right: 20%;
	border-width: 0 2px 0 0;
	text-align: right;
}
p.bq, p.bqr { text-indent: 0em; }
p.bqp, p.bqrp { text-indent: 2em; }
.bq li, .bqr li { margin-left: 2em; }
cite { font-style: italic }

div#footer {
	clear: both;
	margin-top: 2ex;
	font-size:0.9em;
	text-align:center; }
.ctr {	text-indent: 0; text-align: center; }
.dotbox { border: #700 dotted 1px; }
.dropcap {
	float: left;
	padding: 0;
	margin: 0 0.1em 0 0;
	font-size: 4.5em;
	line-height: 83%;
	background-color: #600;
	color: rgb(255,255,239);
	font-family: "Gothic Demi", "Grizzly BT",
		"Arial Black", arial, sans-serif;
}

/* center embedded tweets in their container */
.twitter-tweet { margin-left: auto; margin-right: auto; }

/* insert noise a/r to break miscreants */
span.obfus { display: none; }

/* Flexible layout (for div#page wrapped body) and images */
img { max-width: 100%; }
#page {
	margin: 1% auto;
	width: 94%;
}
/* more is less at some point */
@media screen and (min-width: 951px) {
	#page { width: 900px; }
}
