/* Cascading style sheet for TvA's blog
 *   Last rev 2023-12-07
 */

/* 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 {
	background-color: #FFFFEF; /* the color of the universe */
	color: #222;
 	margin-left: 1%; margin-right: 1%;
	font: 90%/1.5 verdana, arial, sans-serif;
}

/* 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;
}
/* img zoom 2x, in place; box in a div */
.zoom2x560 { transition: 0.2s; width: 560px; }
.zoom2x560:hover { transform: scale(2.0); }

.pull {	/* use with <div> for a pull-out quote in a box */
	float: right;
	width:25%;
	padding: 0px 5px 5px 5px;
	border: #700 dotted 2px;
	margin-left: 15px;
}

h1 {
	color: #700;
	margin-top: 1em;
	font-size: 1.2em; font-weight: bold; 
}
h2, h3, h4 {
	color: #444;
	margin-top: 1em;
	margin-left: 2%;
	font-weight: bold;
}
h2 { font-size: 1.15em; }
h3 { font-size: 1.1em; }
h4 { font-size: 1.05em; }
th,b { color: #000; }
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%; }

/* inner elements margin */
p { margin-left: 2%; margin-right: 10%; }
ol, ul { margin-left: 4em; margin-right: 10%; }
ol.A {	list-style-type: upper-alpha; }
ol.a {	list-style-type: lower-alpha; }
ol.d {	list-style-type: decimal; }
ul {	list-style-type: square; }
blockquote {
	margin: 0.2em 5% 0.2em 5%;
	font-family: "times new roman", times, serif;
	font-size: 1.1em;  /* Serif text needs to be bigger */
}
abbr { border-bottom: #700 dotted 1px; }
p {	text-indent: 2em; }
p.new {
	text-indent: 0;
}
p.short, p.break {
	margin-top: 1.5em;
	text-indent: 0;
}
/* 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; }
p.sig {
	color: #400;
	font-size: 0.85em;
}
p.ptr {	/* BOF blog-to-blog link */
	text-align: right;
	margin-top: 0.4em;
	margin-bottom: 0.2em;
	font-size: 0.85em;
}
cite { font-style: italic; }
pre { margin-left: 5%; margin-right: 5%; }
.firstletter {
	float:left;
	color:rgb(128,0,0);
	font-size:4em;
	line-height:60%;
	padding-top:2px;
	font-family: Times, Georgia, serif;
}
.ctr {	text-indent: 0; text-align: center; }
.dotbox { border: #700 dotted 1px; }
.dropcap {
	float: left;
	padding: 0;
	margin: 0 0.1em 0 0;
	/* different letters have different widths eh */
	/* width: 0.7em; */
	font-size: 4.5em;
	line-height: 83%;
	background-color: #600;
	color: #FCFCF6; 
	font-family: "Gothic Demi", "Grizzly BT",
		"Arial Black", arial, sans-serif;
}

/* logo and top nav div */
#topline { font-size: 0.8em; }
#topline img { padding-right: 3em; }
#topline a, #topline b { padding-left: 1em; }
#topline b { color: #700; }

/* sidebar now right */
/* pseudo menu toggle for small screens */
div#rtsidebox {
	float: right;
	border: 1px dotted rgb(127,0,0);
	margin: 5px; padding: 2px 6px;
	font-size: 50%; color: rgb(127,0,0);
}
div#ahide { margin-bottom: 1em; }
@media screen and (min-width: 768px) {
	div#rtside { display: block; }
	div#rtsidebox { display: none; }
	div#ahide { display: none; }
}
@media screen and (max-width: 767px) {
	div#page { width: 98%; }
	div#rtside { display: none; }
	div#rtsidebox { display: block; }
	p { margin-right: 4%; }
}
div#rtside {
	float: right; width: 15%;
	margin: 40px 5px 0 5px;
	background-color: #FFFFEF;	/* ensure opacity */
	color: #222;
	line-height: 1.3;	/* relax leading, but less */
	font-size: 0.85em;
	font-family: verdana, arial, sans-serif;
	text-align: right;
}
div#rtside p {	margin-left: 0; margin-right 0; }
div#rtside .bar {
	background-color: #700;	/* reversed, for graphic trim */
	font-size: 0.3em;	/* to make &nbsp; small */
	color: #FFFFEF;
}
/* 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; }

/* 40 year retro */
div.xc76 {
	border: #700 dotted 1px;
	margin-top: 1em;
	background-image: url(/images/xc76/divBorder.gif);
	background-repeat: no-repeat;
	background-position: top center;
	color: #333;
	padding-bottom: 1em;
}
div.xc76 h3 { font-variant: small-caps; }
div.xc76 span.likeh3 {	/* but inline */
	color: #444;
	font-weight: bold;
	font-variant: small-caps;
	text-decoration: underline;
}

/* Flexible layout and images */
#page {
	margin: 1% auto;
	width: 94%;
}
img { max-width: 100%; }
.ie6 img { width: 100%; }

/* more is less at some point */
@media screen and (min-width: 851px) {
	#page { width: 800px; }
}

