/* Web design copyright 2005-2022 Sam Trenholme
 * 
 * This design depends on modern (Clear Type, etc.) font rendering and
 * uses 100% open source fonts.  It is designed to be compatible across 
 * many PC and tablet browsers; it works on Firefox 3.6 (2010), Internet 
 * Explorer 9 (2011) and higher.
 *
 */

/*
 * The following fonts are used as a basis for the web fonts here:
 *
 * A modified Adobe Source Sans Pro (called Caulixtla) is used for the 
 * headings and bold text:
 *
 * https://www.google.com/fonts/specimen/Source+Sans+Pro
 *
 * http://sourceforge.net/projects/sourcesans.adobe/
 *
 * https://typekit.com/fonts/source-sans-pro
 *
 * A modified Bitstream Charter (with the infinity symbol coming from 
 * Source Serif Pro) is used for the body text:
 *
 * http://practicaltypography.com/charter.html
 *
 * The fonts as used on this webpage can be downloaded here (True Type,
 * EOT, and WOFF):
 * 
 * http://samiam.org/fonts/CaulixtlaFonts-2019-09-26.zip
 *
 * I also true type versions of the fonts, as well as a delta hinted
 * monospace font and a bitmap font in that zip file.
 *
 * As an aside, a non-free opentype version of Bitstream Charter is here:
 *
 * http://www.myfonts.com/fonts/bitstream/charter-bt-pro/
 * 
 */

@import url('/resume/resume-fonts.css');

@font-face {
    font-family: Amargo;
    src: url('fonts/Amargo/Amargo.woff')
         format('woff');
}
@font-face {
    font-family: Amargo;
    font-style: italic;
    src: url('fonts/Amargo/Amargo-Italic.woff')
         format('woff');
}

html {
	overflow-y: scroll;
	overflow: -moz-scrollbars-vertical;
	font-synthesis: none;
	height: 95%;
}

body {
	font-family: Amargo, Caulixtla, Cambria, 
                "Liberation Serif", Georgia, "Times New Roman",
                sans-serif;
	/*color: #000;*/
	/*background-color: #cae6c7;*/
	color: #333;
	background-color: #fff;
	padding: 0;
	margin: 0;
	height: 100%;
	font-size: 14.5pt;
	text-decoration-skip-ink: auto;
	text-decoration-skip: ink; 
}

b { font-family: Caulixtla, Cambria,
	"Liberation Serif", Georgia, "Times New Roman", sans-serif;
}

table {
	color: #222;
}

.support {
	font-family: SmallCaps, Calibri, sans-serif;
	font-style: normal;
}

.s {
	font-family: CaulixtlaB, Calibri,
                "Liberation Serif", "Times New Roman",
                sans-serif;
	font-weight: bold;
}

.sc {
        font-family: SmallCaps, Calibri, sans-serif;
        font-weight: Bold;
}

.iframe {
	/*background: #cae6c7;*/
	background: #fff;
	color: #333;
	font-family: Amargo, Caulixtla, Cambria, 
                "Liberation Serif", Georgia, "Times New Roman",
                sans-serif;
	font-size: 12pt;
	border: 0;
	margin: 0;
	padding: 2px;
	/* Note that the CSS below doesn't work in IE11 or Firefox 56,
         * so we still use the image so that users of older browers get
         * a fade effect.  We use CSS for the fade so that dark mode
         * extensions like "Dark reader" do (mostly) the right thing
         * when making the web site dark ("Dark reader" by default won't
         * invert the colors of an image)
         * Note also we need three of these, since Chrome *still* doesn't
         * support mask-image *wihout* the -webkit- prefix here in mid-2022,
         * while older browsers need the -webkit- prefix for the linear
         * gradient 
         */
        mask-image: 
           linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 1),
                                      rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
	-webkit-mask-image: 
           linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 1),
                                      rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
        -webkit-mask-image:
           -webkit-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 1),
                                      rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.iframe b {
	font-family: Caulixtla, Calibri, 
                "Liberation Serif", "Times New Roman",
                sans-serif;
	font-size: 15pt;
	font-weight: bold;
}

.iframe img {
	display: block;
	position: absolute;
	left: 0px;
	top: 504px;
	height: 96px;
	width: 160px;
}
/* Maybe someday this will work across all browsers; until then,
   the current hacks make things look OK in Dark Reader */
@media (prefers-color-scheme: dark) {
	.iframe img {
		display: none;
	}
}

h1 {
	font-size: 24.5pt;
	padding-top: 5px;
	margin-top: 0;
	font-family: Caulixtla, Calibri, 
                "Liberation Serif", "Times New Roman",
                sans-serif;
	font-weight: bold;
}

.hh3 {
	margin-bottom: 0px;
}

.hh3r {
	text-align: right;
	margin-bottom: 0px;
	padding-top: 0px;
	line-height: normal;
}

h2 {
	font-family: Caulixtla, Calibri, 
                "Liberation Serif", "Times New Roman",
                sans-serif;
	font-size: 16.7pt;
	font-weight: bold;
}

.h2month {
	border-bottom: 1px solid #888;
	text-align: right;
}

.h2monthi {
	border-bottom: 1px solid #888;
	text-align: right;
}

h3 {
	font-family: Caulixtla, Calibri, 
                "Liberation Serif", "Times New Roman",
                sans-serif;
	font-size: 16pt;
	font-weight: bold;
}

.iframe ul {
	list-style: none;
	margin-top: 2px;
	margin-left: 0;
	margin-bottom: 0;
	border: 0;
	padding: 0;
}

.iframe li {
	border-top: 1px solid black;
	margin-top: 1px;
}

.iframe a {
	font-family: Caulixtla, Calibri, 
                "Liberation Serif", "Times New Roman",
                sans-serif;
        text-decoration: none;
        color: #222;
        font-size: 13pt;
        font-weight: bold;
}

.iframe a:hover {
        color: #202020;
        background-color: #ffff99;
	text-decoration: none;
}

@media screen and (min-width: 680px) {
	.leftpic {
	       	 float: left;
		margin-right: 5px;
	}

}

@media screen and (min-width: 640px) {
	.rightpic {
		float: right;
		margin-left: 5px;
		width: 280px;
	}
}

.blogpiclx {
	float:left;
	margin-left: 5px;
	margin-right: 5px;
	box-shadow: 0 0 2px #888;
	height: 120px; /* IE9 bug */
	border-radius: 8px;
}
.blogpiclx img {
	border: 0px;
	width: 224px;
	height: 126px;
	border-radius: 8px;
}
.blogpicl {
	float:left;
	margin-left: 5px;
	margin-right: 5px;
	box-shadow: 0 0 2px #888;
	height: 120px; /* IE9 bug */
	border-radius: 8px;
}
.blogpicl img {
	border: 0px;
	border-radius: 8px;
}
.blogpic {
	float:right;
	margin-left: 5px;
	margin-right: 5px;
	border: 1px solid #888;
	height: 120px; /* IE9 bug */
}
.blogpic img {
	border: 0px;
}

.blogtable {
        margin-top: 10px;
        margin-bottom: 10px;
}
.blogtable table {
        border: 1px solid black;
        border-collapse: collapse; 
        font-size: 10pt;
}
.blogtable td {
        border: 1px solid black;
        padding: 2px;
}

.blogentries  {
	list-style: none;
	margin-left: 0;
	bargin-bottom: 0;
	border: 0;
	padding: 0;
}

.m8 a {
        color: #258723;
	background: transparent;
	text-decoration: none;
}	
.m8 a:hover {
	text-decoration: underline;
}

.blogmor {
	font-family: SmallCaps, Caulixtla, Cambria, 
                "Liberation Serif", Georgia, "Times New Roman",
                sans-serif;
	font-size: 14pt;
	font-weight: normal;
	text-decoration: none;
	color: #222;
}

.blogmorx {
	font-family: SmallCaps, Caulixtla, Cambria, 
                "Liberation Serif", Georgia, "Times New Roman",
                sans-serif;
}

.blogmor:hover {
	text-decoration: none;
}
	
.blogx {
	font-family: Amargo, Caulixtla, Cambria, 
                "Liberation Serif", Georgia, "Times New Roman",
                sans-serif;
	font-size: 14pt;
	border-top: 1px solid #555;
	background: #cae6c7;
	padding-bottom: 3px;
	line-height: 1.2;
}

.blogx a {
	font-family: Amargo, Caulixtla, Calibri, 
                "Liberation Serif", "Times New Roman",
                sans-serif;
	font-size: 14pt;
	font-weight: bold;
	text-decoration: none;
	color: #222;
	background: #cae6c7;
}

.blogy {
	font-family: Amargo, Caulixtla, Cambria, 
                "Liberation Serif", Georgia, "Times New Roman",
                sans-serif;
	font-size: 14pt;
	border-top: 1px solid #555;
	background: #bad4b8;
	color: #222;
	padding-bottom: 3px;
	line-height: 1.2;
}

.blogy a {
	font-family: Amargo, Caulixtla, Calibri, 
                "Liberation Serif", "Times New Roman",
                sans-serif;
	font-size: 14pt;
	font-weight: bold;
	text-decoration: none;
	color: #222;
	background: #bad4b8;
}

.blogtaglist {
	font-family: Amargo, Caulixtla, Cambria, 
                "Liberation Serif", Georgia, "Times New Roman",
                sans-serif;
	font-size: 14pt;
}

.blogtaglistr {
	font-family: SmallCaps, Caulixtla, Cambria, 
                "Liberation Serif", Georgia, "Times New Roman",
                sans-serif;
	font-size: 11pt;
	text-align: right;
}

.n {
	font-family: Caulixtla, Cambria, 
                "Liberation Serif", Georgia, "Times New Roman",
                sans-serif;
	font-weight: bold;
}

.blogtitleb {
	font-family: Caulixtla, Calibri, 
                "Liberation Serif", "Times New Roman",
                sans-serif;
	font-weight: bold;
	font-size: 16.7pt;
}

.blogtitlebr {
	font-family: Caulixtla, Calibri, 
                "Liberation Serif", "Times New Roman",
                sans-serif;
	font-weight: bold;
	font-size: 16.7pt;
	text-align: right;
}

.blogtitle {
	font-family: Caulixtla, Calibri, 
                "Liberation Serif", "Times New Roman",
                sans-serif;
	font-weight: bold;
	font-size: 16.7pt;
	margin-top: 1.2em;
}

.blogtitlem {
	font-family: Caulixtla, Calibri, 
                "Liberation Serif", "Times New Roman",
                sans-serif;
	font-weight: bold;
	font-size: 16.7pt;
	margin-top: 1.2em;
	text-align: right;
}

.blogtitle b {
	font-weight: bold;
}

.blogmonth {
	font-family: Caulixtla, Calibri, 
                "Liberation Serif", "Times New Roman",
                sans-serif;
	font-weight: bold;
	font-size: 16pt;
}

.blogmonthr {
	font-family: Caulixtla, Calibri, 
                "Liberation Serif", "Times New Roman",
                sans-serif;
	font-weight: bold;
	font-size: 16pt;
	text-align: right;
}

.blogmonth b {
	font-weight: bold;
}

.wall {
	color: #222;
	/*border: 4px solid #cae6c7;*/
	/*border-top: 10px solid #cae6c7;*/
	/*border-right: 2px solid #cae6c7;*/
	border: 4px solid #fff;
	border-top: 10px solid #fff;
	border-right: 2px solid #fff;
	
	margin-bottom: 2px;
	text-align: left;
	min-width: 25em;
}
@media screen and (min-width: 800px) {
	.wall { width: 634px; }
}
.wtext {
	display: none;
	font-size: 0;
	color: #c0a080;
}
.whead {
	border-radius: 8px 8px 0 0;
	background: #c0a080 url(me/Clouds-bg-8.jpg);
	background-size: 287px 102px;
	padding: 4px;
}
@media screen and (max-width: 800px) {
	.wtext {
		display: inline;
		font-size: large;
		font-weight: bold;
		font-family: Caulixtla, Calibri, 
                	"Liberation Serif", "Times New Roman",
                	sans-serif;
		text-shadow: 2px 2px #777, -2px -2px #777, -2px 2px #777, 2px -2px #777;
		color: #fff;
	}
	.wimage {
		display: none;
	}
	.whead {
		padding-left: 6px;
	}
	iframe { display: none; }
}
@media screen and (min-width: 800px) {
	.whead {
		background: #c0a080 url(me/Clouds-bg-ie8.jpg) top left 
			no-repeat;
		background: /*url(me/2024.png) right bottom 
			no-repeat,*/ #c0a080
			url(me/Clouds-bg-8.jpg) top repeat;
		background-size: /*99px 100px,*/ 287px 102px;
		padding-left: 6px;
		padding-bottom: 2px;
	}
}
@media  only screen and (min-device-pixel-ratio: 1.5) 
	and (min-width: 800px) {
	.whead { background: url(me/lifetouch.png) right bottom 
                        no-repeat, #c0a080
                        url(me/Clouds-bg-8-ret.jpg) top repeat;
		background-size: 99px 100px, 287px 102px;
		}
}


.wlinks {
        background: #cae6c7;
	color: #222;
	padding-left: 6px;
	border-radius: 0 0 8px 8px;
	font-family: SmallCaps, Caulixtla, Calibri, 
                "Liberation Serif", "Times New Roman",
                sans-serif;
	font-weight: bold;
	font-size: 14pt;
	word-spacing: .1em;
	letter-spacing: .5px;
}
.wlinks a {
	text-decoration: none;
	color: #333;
}
.wlinks a:hover {
       	color: #202020;
       	background-color: #ffff99;
}

.moyet {
	display: none;
}

.up { margin-top: -8px; }

.ql { border-bottom: 2px solid black; 
      padding: 1px 2px 1px 2px;
      }

.qlp { 
padding: 2px 2px 2px 5px; }

.stuff { margin: 2px;
	 }

#tbl { padding: 0px; }

#tbl td { 
          border: solid #c0c0c0;
          border-width: 1px 0px 0px 0px;
          padding: 0px; }

.nocss { display: none; }

.m8 {
	padding: 5px;
	min-width: 25em;
	line-height: 1.5;
}
.bloghead {
	line-height: normal;
}

	.m8b { 
		/*color: #000;*/
     		/*background-color: #cae6c7;*/
		color: #333;
		background-color: #fff;
		padding: 3px;
      		padding-left: 2px;
      		padding-right: 5px;
		padding-top: 0px;
		margin-top: -32px;
		width: 165px;
		border-radius: 0px;
		text-align: center;
	}

head:first-child+body .m8 a:hover {
	text-decoration: underline;
}

tt { font-family: monospace; font-size: 11pt; }
code { font-family: monospace; font-size: 11pt; }
pre { font-family: monospace; font-size: 11pt; line-height: normal; }

.usenet {
	max-width: 590px;
	overflow: visible;
}
.usenet pre {
	font-family: monospace;
	font-size: 9.5pt;
}
.usenet a:visited {
	color: #c00080;
}
.lside {
	display: table-cell;
	direction: ltr;
	vertical-align: top;
	padding: 1px;
	text-align: left;
}
html>/**/body .lside {
	width: 640px;
}
.rside {
	vertical-align: top;
	direction: ltr;
	width: 187px;
	padding: 1px;
}
.stable {
	margin-left: auto;
	margin-right: auto;
	vertical-align: top;
	height: 100%;
	padding-left: 10px;
	/*color: #000*/
	/*background: #cae6c7;*/
	color: #333;
	background: #fff;
}
@media screen and (max-width: 849px) {
	.m1 {margin-top: 30px;}
	.m1r {margin-top: 30px;}
	.m1b {margin-top: 30px;}
	.stable {direction: ltr !important;}
}
/* Remove blog right align flash at just the wrong window width */
@media screen and (min-width: 849px) and (max-width: 851px) {
	.stable {direction: ltr !important;
                 display: inline !important;}
	.rside {display: none !important;}
}
@media screen and (min-width: 850px) {
	.rside {
		display: table-cell;
	}
	.stable {
		display: table;
		padding-right: 10px;
		/*border-right: 2px solid #444;
		border-left: 2px solid #444;
		border-bottom: 2px solid #444;*/
		margin-bottom: 10px;
		border-radius: 0 0 8px 8px;
	}
	.m1r { margin-top: 42px; }
	.m1  { margin-top: 42px; }
}
@media screen and (min-width: 852px) {
	body {
		background-color: #fff;
	}
}

/*
.black-3c85d {
        background-image: url(blog/chess/BlackSquare.png);
}
.white-1e1d7 {
        background-image: url(blog/chess/WhiteSquare.png); 
}
*/

/* Maybe someday this will work across all browsers; until then,
   the current hacks make things look OK in Dark Reader */
@media (prefers-color-scheme: dark) {
	.black-3c85d {
		background-image: none;
		background-color: #7c6949 !important;
	}
	.white-1e1d7 {
		background-image: none;
		background-color: #a48f6e !important;
		color: #000 !important;
	}
	body {
		background-color: #131516;
		color: #d8d4cf;
	}
	a {
		color: #78dc78;
	}
	.m8 a { color: #78dc78; }
	.heading { color: #d8d4cf; background: #131516 !important; }
	.blogx a { color: #78dc78; background-color: #131516; }
	.blogy a { color: #78dc78; background-color: #131516; }
	.blogmor { color: #78dc78; background-color: #131516; }
	.blogmor a { color: #78dc78; background-color: #131516; }
	.blogx {
		background-color: #131516;
		color: #d8d4cf;
		border-top: 1px solid #d8d4cf;
	}
	.blogy {
		background-color: #131516;
		color: #d8d4cf;
		border-top: 1px solid #d8d4cf;
	}
	.stable {
		background-color: #131516;
		color: #d8d4cf;
	}
	.m8b {
		background-color: #131516;
		color: #d8d4cf;
	}
	.wlinks {
		background-color: #364e35;
		color: #d8d4cf;
	}
	.wlinks a {
		background-color: #364e35;
		color: #d8d4cf;
	}
	.iframe {
		background-color: #131516;
		color: #d8d4cf;
	}
	.iframe a {
		background-color: #131516;
		color: #d8d4cf;
	}
	.iframe li {
		border-top: 1px solid #d8d4cf;
	}
	.wall {
		border: 4px solid #000;
		border-top: 10px solid #000;
		border-right: 2px solid #000;
	}
}

