body {
	padding: 2ex 5ex 4ex;
	color: #666;
}

body.artpage {
	background: #eee;
}

h1, h2, h3 {
	font-size: 1.4em;
	font-weight: bold;
	color: #333;
}
h2 {
	font-size: 1.2em;
}
h3 {
	font-size: 1.0em;
}
p {
	max-width: 700px;
}
acronym {
	text-transform: lowercase; /* so that the next line does something */
	font-variant: small-caps;
}

a { text-decoration: underline; color: #448; }
a:link { }
a:visited { color: #668; }
a:active { }
a:hover { text-decoration: none; }

a img {
	border: none;
}

img {
	display: block;
	margin-top: 2ex;
	margin-bottom: 2ex;
}
.artpage img {
  max-width: 100%;
}

[title] {
	cursor: help;
	/* border-bottom: 1px dotted #444; */
}

code.block {
	display: block;
	margin: 2ex;
	padding: 1ex;
	background: white;
}

table {
  margin: 1ex;
  background: #ccc;
}
td {
  background: white;
  margin: 1px;
  padding: .5ex 1ex 0 1ex;
}
.transparenttable,
.transparenttable td {
  background-color: transparent;
}
.caption {
        font-size: .9em;
        font-style: italic;
}
.linkhere {
	font-size: .8em;
        font-style: italic;
	font-weight: normal;
	margin-left: 1ex;
}

/* I owe gallery/thumbnail to
http://www.huddletogether.com/projects/lightbox/screen.css */


.gallery {
	margin-top: 2ex;
	padding: 20px;
	background: #eee;
	max-width: 780px;
}
.gallery:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.gallery div {
	float: left;
	margin: 10px;
	padding: 1ex 1ex .5ex;
	/* border: 1px solid gray; */
	text-align: center;
	height: 180px;
	max-width: 200px;
}
.gallery div p {
	font-size: .5em;
	color: gray;

	max-width: 120px;
	margin-left: 15px;
	margin-right: 15px;

	position: relative;
	top: 0px;
	left: 0px;
	background: #fff;
	padding: 1ex;
	border: none;
}
.gallery .picklinks {
	display: block;
	clear: both;
	float: left;
	font-size: .8em;
	margin-bottom: -10px;
	margin-top: 20px;
}

// Show alternates on mouseover; for example:
//	http://www.markfickett.com/stuff/artPage.php?id=373
// Similar implementation on Umbrella.

.mouseover700v img {
        position: relative;
        top: 0px;
        margin: 0;
}
.mouseover700v {
        height: 700px;
        overflow: hidden;
	padding: 0;
}
.mouseover700v:hover img {
        position: relative;
        top: -700px;
        margin: 0;
}

.imagerow img {
  display: inline-block;
}
