a.bordered img,
img.bordered
{
  border: 3px solid #ccc;
  -moz-border-radius: 4px; border-radius: 4px;
}

a.liteup-noborder img
{
  border: none;
  padding: 3px;
}

/* NOTE: liteup-noborder means:
 * "it's a link to a larger version, but it only shows a border on hover".
 */
a:hover.bordered img,
a:hover.liteup-noborder img
{
  padding: 0;
  border: 3px solid #f90;
  -moz-border-radius: 4px; border-radius: 4px;
}

* {
  margin: 0;
  padding: 0;
  font-family: Calibri, 'Gill Sans', Optima, 'Times New Roman', Times, sans-serif;
}

/* This is for Macs: */
body h1,
body h2,
body h3,
body h1 *,
body h2 *,
body h3 *
{
  font-family: Calibri, Optima, 'Gill Sans', 'Times New Roman', Times, sans-serif;
}


body {
  background: #fff;
}

a {
  text-decoration: none;
}

a:link,
a:visited {
  color: #f30;
}

a:hover {
  color: #f90 !important;
}

.summary a:link,
.summary a:visited {
  color: #b00;
  font-weight: bold;
}

.summary a:hover {
  color: #d60 !important;
}

#main {
  position: absolute;

  top: 35px;
  left: 280px;

  width: 680px;
}

#main h1 {
  font-size: 31px;
  font-weight: normal;
  line-height: 34px;
  letter-spacing: -1px;
}

#main p {
  margin: 20px 0;
  font-size: 15px;
  line-height: 20px;
}

#main ul,
#main ol
{
  margin: 20px 0 20px 20px;
}

#main ul li {
/*  list-style-type: square; */
  font-size: 15px;
  line-height: 20px;
}

#main ol li {
  list-style-type: decimal;
}

#sidebar {
  position: absolute;
  z-index: 10;
  top: 40px;
  left: 20px;
  width: 200px;
  padding: 60px 20px 0 0;
  border-right: 1px solid #ccc;
  text-align: right;
}

#sidebar h2,
#sidebar h3
{
  text-transform: uppercase;
  font-size: 16px;
  color: #333;
  letter-spacing: 1px;
  line-height: 20px;
}

#sidebar h2
{
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 16px;
  border-top: 1px solid #ccc;
  padding-top: 6px; 
}

#sidebar h3
{
  font-size: 13px;
  letter-spacing: 0;
}

#sidebar ul {
  list-style-type: none;
  margin: 10px 0 20px 0;
}

#sidebar li {
  font-size: 14px;

  line-height: 20px;
}

pre
{
  padding: 8px;
  border: 1px solid #ccc;
  background-color: #eee;
  overflow: auto;
  -moz-border-radius: 6px; border-radius: 6px;
  margin: 20px 0;
}

code
{
  font-family: 'courier new', consolas, courier, 'monotype.com', proportional !important;
  font-size: 12px;
}

h1 code,
h2 code,
h3 code,
h4 code
{
  font-size: inherit;
}

p code, li code, td code, th code
{
  border: 1px solid #ccc;
  background-color: #eee;
  padding: 1px 3px;
  white-space: nowrap;
  -moz-border-radius: 4px; border-radius: 4px;
}

#markdown-toc li code,
#main pre code
{
  border: none;
  background-color: inherit;
  padding: 0;
  white-space: inherit;
  -moz-border-radius: 0; border-radius: 0;
}

a.thumb img
{
  border: 3px solid #ccc;
  -moz-border-radius: 8px; border-radius: 8px;
  padding: 8px;
}

h3
{
  font-style: italic;
}

p.list-major
{
  font-size: 110% !important;
  font-weight: bold;
}

#main p.overview
{
  font-style: italic;
  font-size: 18px;
  color: #333;
  border: 1px solid #c90;
  background-color: #ffc;
  padding: 10px 15px;
  line-height: 150%;
  -moz-border-radius: 8px; border-radius: 8px;
  /*
  width: 50%;
  margin-left: 20px;
  float: right;
  */
}

.left
{
  float: left;
}

.left-pic-wrapper .left,
.leftup-pic-wrapper .leftup,
.right-pic-wrapper .right,
.rightup-pic-wrapper .rightup
{
	float: none;
}

#main h2,
#main h3,
#main h4
{
  clear: both;
}

.post h2,
.post h3,
.post h4
{
	margin: 1em 0;
}

.post h3
{
	font-size: 20px;
}

.post h4
{
	font-size: 17px;
}

#main li ul,
#main li ol
{
  margin-top: 0;
  margin-bottom: 0;
}

#main p.summary,
#main p.note,
#main p.warning,
#main p.alert
{
  font-style: italic;
  padding: 8px 12px;
  -moz-border-radius: 8px; border-radius: 8px;
  background-color: #ddf;
  box-shadow: inset 0 0 65px rgba(0, 0, 0, 0.25);
}

#main p.alert
{
	background-color: #d00;
	box-shadow: inset 0 0 40px rgba(255, 64, 0, 0.5);
	border: 1px solid #c00;
	color: #fff;
}

#main p.alert em,
#main p.alert i
{
	font-weight: bold;
	color: #ffc;
}

#main p.alert strong,
#main p.alert b
{
	font-weight: bold;
	color: #ff6;
}

#main p.warning
{
	background-color: #ffc;
	box-shadow: inset 0 0 32px rgba(255, 128, 0, 0.33);
	border: 1px solid #f96;
	color: #600;
}

#main p.warning em,
#main p.warning i
{
	color: #900;
	font-weight: bold;
}

#main p
{
  line-height: 150%;
  text-align: justify;
}

#main p.post-time
{
  margin-bottom: 0;
  margin-top: 0;
  text-transform: upcase;
}

#masthead
{
	z-index: 20;
	position: absolute;
	width: 200px;
	height: 57px;
	left: 20px;
	top: 35px;
	background: url(/images/amclogo2.png) top right no-repeat;
}

#masthead h1 a
{
	display: block;
	text-indent: -10000pt;
	font-size: 10px;
	width: 186px;
	height: 57px;
	text-decoration: none;
}

.post-summary
{
	padding: 11px 17px 13px 12px;
	-moz-border-radius: 8px; border-radius: 8px;
	margin-bottom: 32px;
/*	box-shadow: 0 5px 30px rgba(0, 0, 0, 0.25); */
}



#main .post-summary .summary p
{
	font-size: 14px;
  margin-top: 18px;
}

.cat-tech { background-color: #dfc; }
.cat-tech a { color: #090; }
.cat-tech a:hover { color: #6c3; }

.cat-art { background-color: #fdc; }

.cat-water { background-color: #def; }
.cat-water a { color: #00f; }
.cat-water a:hover { color: #69f; }

.category-head.cat-art
{
	background-color: #fff;
	border: 3px solid #fdc;
}

.category-head.cat-water
{
	background-color: #fff;
	border: 3px solid #def;
}

.category-head.cat-tech
{
	background-color: #fff;
	border: 3px solid #dfc;
}



.post-summary-guts
{
	position: relative;
}

.post-summary h2,
.post-summary .summary
{
	margin-right: 180px;
}

.post-summary h2
{
	font-size: 20px;
	line-height: 20px;
  margin: 0 180px 6px 0;
  line-height: 120%;
}
.post-summary.cat-tech  { border: 1px solid #9c9; border-left: 12px solid #9c9; }
.post-summary.cat-art   { border: 1px solid #d88; border-left: 12px solid #d88; }
.post-summary.cat-water { border: 1px solid #9ac; border-left: 12px solid #9ac; }

/*
.post-summary h2
{
	font-size: 20px;
}
*/

.post-summary .category a
{
	color: #c00;
}

.post-summary .post-time
{
	font-weight: bold;
}

#sidebar .featured h3
{
	font-style: normal;
}

#sidebar .featured h3 a
{
	color: #700;
	text-decoration: none;
        font-style: italic;
}

#sidebar li
{
	margin-bottom: 4px;
	line-height: 15px;
}

#sidebar li a
{
	display: block;
	padding: 2px 8px;
	border-right: 4px solid #ccc;
	background-color: #f8f6f4;
}

#sidebar li a:hover
{
	border-right: 4px solid #c00;
	background-color: #fff6f6;
}

.post-summary .post-thumb
{
	width: 160px;
	height: 120px;
	background: #ccc url(/images/filler-thumb.jpg) center center no-repeat;
	border: 1px solid #999;
	border-radius: 4px;
	-moz-border-radius: 4px; border-radius: 4px;
	box-shadow: 0 0 3px #aaa;
	position: absolute;
	right: 0;
	top: 0;
	margin-top: 4px;
}

.post-summary.cat-tech .post-thumb
{
	border: 1px solid #080;
	box-shadow: 0 0 3px #393;
}

.post-summary.cat-art .post-thumb
{
	border: 1px solid #800;
	box-shadow: 0 0 3px #933;
}

.post-summary.cat-water .post-thumb
{
	border: 1px solid #048;
	box-shadow: 0 0 3px #369;
}

#main h1#home-head em
{
	font-style: normal;
	font-weight: bold;
	color: #f0c;
}

.read-more
{
	float: right;
}

.read-more a
{
	font-weight: bold;
}

.tags span
{
	color: #999;
	margin-left: 4px;
}

.post-info .post-time,
.post-info .post-category
{
	font-weight: bold;
}

h1#home-head
{
	font-weight: normal;
	font-size: 31px;
	margin: 10px 0 30px 0;
}

.xxpost-head
{
	padding: 12px 15px 15px 15px;
	-moz-border-radius: 8px; border-radius: 8px;
}

.post-head
{
	padding: 12px 15px 15px 15px;
	-moz-border-radius: 8px 8px 0 0; border-radius: 8px 8px 0 0;
}

.category-head
{
	padding: 10px 15px 12px 15px;
	-moz-border-radius: 8px; border-radius: 8px;
	margin-bottom: 20px;
	margin-top: -12px;
	font-style: italic;
	color: #666;
}

.post-head .tags
{
	margin-top: 8px;
}

#main p.overview
{
	margin-top: 0;
	border: none;
	-moz-border-radius: 0 0 8px 8px; border-radius: 0 0 8px 8px;
}

#main .xcat-tech p.overview
{
	border-top: 1px solid #9d9;
	background-color: #bea;
}

#main .xcat-art p.overview
{
	border-top: 1px solid #d99;
	background-color: #eba;
}

#main .xcat-water p.overview
{
	border-top: 1px solid #9ad;
	background-color: #cdf;
}



.cat-tech h1 { color: #040; }
.cat-art h1 { color: #400; }
.cat-water h1 { color: #024; }

#contact-form
{
	width: 530px;
	padding: 30px;
	background-color: #eed;
	-moz-border-radius: 10px; border-radius: 10px;
	border-radius: 10px;
}

#contact-form div
{
	margin: 7px 0;
}

#contact-form div.required label
{
	background: url(/images/star.png) right 4px no-repeat;
}

#contact-form label
{
	display: block;
	width: 134px;
	float: left;
	clear: both;
	padding-right: 10px;
}

#contact-form form div.multi label
{
	display: block;
	padding-left: 23px;
	padding-bottom: 4px;
	background: url(/images/star.png) left 2px no-repeat;
}

#contact-form div input
{
	width: 362px;
	margin-left: 10px;
	font-size: 18px;
	border: 1px solid #369;
	-moz-border-radius: 3px; border-radius: 3px;
	padding: 2px 4px;
	box-shadow: inset 0 0 3px #bbb;
}

#contact-form textarea
{
	width: 100%;
	-moz-border-radius: 3px 3px 0 3px; border-radius: 3px 3px 0 3px;
	box-shadow: inset 0 0 3px #bbb;
	border: 1px solid #369;
	clear: both;
	display: block;
}

#contact-form #form-submit
{
	font-size: 20px;
	padding: 6px 9px;
	font-weight: bold;
}

.form-error-your-name #contact-form .form-row-your-name label
{
	color: #c00;
	font-weight: bold;
}
.form-error-your-name #contact-form .form-row-your-name input
{
	border: 1px solid #c00;
}

.form-error-email-address #contact-form .form-row-email-address label
{
	color: #c00;
	font-weight: bold;
}
.form-error-email-address #contact-form .form-row-email-address input
{
	border: 1px solid #c00;
}

.form-error-subject #contact-form .form-row-subject label
{
	color: #c00;
	font-weight: bold;
}
.form-error-subject #contact-form .form-row-subject input
{
	border: 1px solid #c00;
}

.form-error-message #contact-form .form-row-message label
{
	color: #c00;
	font-weight: bold;
}
.form-error-message #contact-form .form-row-message textarea
{
	border: 1px solid #c00;
}

#contact-form-flash
{
	font-weight: bold;
	font-size: 17px;
	color: #c00;
	margin: 1em 0;
}

#id-end
{
	display: block;
	height: 20px;
	background: url(/images/amicon.png) right center no-repeat;
}

/*
.xcat-tech  #id-end { border-right: 20px solid #080; }
.xcat-art   #id-end { border-right: 20px solid #c00; }
.xcat-water #id-end { border-right: 20px solid #039; }
*/

#id-comments
{
	background: url(/images/commentshade.png) top center no-repeat;
	font-size: 31px;
	font-weight: normal;
	letter-spacing: -1px;
	padding: 20px 0;
	margin: 10px 0;
	border-top: 1px dotted #999;
}

#main #comments-section #dsq-content ul,
#main #comments-section #dsq-content li
{
	list-style-type: none;
}

a.attachment
{
	font-weight: bold;
}

a img
{
	border: none;
  border-radius: 3px;
}

#main .pic-with-caption span
{
	display: block;
	font-style: italic;
	font-size: 90%;
	color: #999;
}

.right-pic-wrapper
{
	float: right;
	margin: 6px 0 10px 25px;
  text-align: right;
}

.rightup-pic-wrapper
{
	float: right;
	margin: 0 0 10px 25px;
}

.left-pic-wrapper
{
	float: left;
	margin: 6px 25px 10px 0;
}

.leftup-pic-wrapper
{
	float: left;
	margin: 0 25px 10px 0;
}


.center-pic-wrapper
{
	text-align: center;
}

.MathJax_MathML,
.MathJax_Display,
span.MathJax
{
	font-size: 18px;
	color: #069;
}

.badmacro
{
	background-color: #f00;
	color: #ff0;
	font-weight: bold;
}

blockquote
{
	padding-left: 1em;
	border-left: 4px solid #ccc;
}

blockquote.quote
{
	padding: 0;
	border-left: none;
	margin-left: 100px;
	margin-right: 100px;
  font-size: 110% !important;
}

blockquote.quote p
{
	text-align: center !important;
	color: #666;
	font-style: italic;
}

blockquote.quote p:before
{
	content: '\201C\00A0';
	font-size: 110% !important;
	font-weight: bold;
  font-style: normal !important;
}

blockquote.quote p:after
{
	content: '\00A0\201D';
	font-size: 110% !important;
	font-weight: bold;
  font-style: normal !important;
}

.footnotes
{
	padding-top: 10px;
	margin-top: 10px;
	border-top: 1px dotted #999;
	font-style: italic;
	font-size: 14px;
}


/*.footnotes *:target p
{
  transition: all 1s ease-in 0s;
	margin: 0;
	padding: 0 8px;
	background-color: #fcf;
	border: 2px dotted red;
}
*/

.footnotes li:target
{
	background-color: #fed;
}

.footnotes p
{
	font-size: 14px;
}

.footnotes p a
{
	font-style: normal;
}

*:target
{
  transition: all 1s ease-in 0s;
	text-decoration: underline;
	text-shadow: 0 0 10px #ff0;
	color: #009;
}

*:target:before
{
  transition: all 1s ease-in 0s;
	background-color: #ff0;
	border: 1px solid red;
	-moz-border-radius: 4px; border-radius: 4px;
	padding: 2px 4px;
	margin: 2px 4px 2px 0;
	content: "\25ba";
	color: #000;
}

sup:target
{
  background-color: #ff0;
}

sup:target:before
{
  transition: all 1s ease-in 0s;
  content: none;
  border: none;
  -moz-border-radius: 0; border-radius: 0;
  padding: 0;
  margin: 0;
  color: inherit;
  background-color: inherit;
}

/* Alternative for anchor marker that places it in the LHS margin:;
*:target:before
{
	background-color: #FFFF00;
	border: 2px solid red;
	-moz-border-radius: 4px; border-radius: 4px;
	color: #000000;
	content: "\25ba";
	font-size: 18px;
	left: -33px;
	line-height: 100%;
	padding: 2px;
	position: absolute;
} */

.obar
{
	text-decoration: overline;
}

#main .post table
{
	border: 3px solid #ccc;
	border-radius: 3px;
	border-collapse: collapse;
	font-size: 90%;
}

#main .post table td,
#main .post table th
{
	border: 1px solid #ddd;
	padding: 2px 4px;
	vertical-align: top;
}

#main .post table th
{
  background-color: #edc;
  border: 1px solid #cba;
}

img.rounded,
.rounded img
{
	-moz-border-radius: 8px !important;
	border-radius: 8px !important;
}
